68 Classifieds Forums  

Go Back   68 Classifieds Forums > v3.0.x Help & Support > v3.0 Modifications
Register Projects FAQ Members List Calendar Search Today's Posts Mark Forums Read

v3.0 Modifications Post any modifications you have done to 68 Classifieds Source. Please note these are not supported by 68 Classifieds, and may make future updates more difficult.

 
Thread Tools Display Modes
  #21  
Old 08-10-2006, 10:07 AM
juven14's Avatar
juven14 juven14 is offline
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 1,900
Default

Be sure you have packages that have these package ids. If you don't have a package it will give you a price of 0.

Setup all the packages you want then pull the package ids and replace those in the code.

I've replied to your email as well.
__________________
Regards,

John
mods.auscity.com

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote
  #22  
Old 08-10-2006, 11:32 AM
juven14's Avatar
juven14 juven14 is offline
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 1,900
Default

I used view source from the browser to pick the right package ids and inserted them in the code.

Please test and let me know if that solved your problem.
__________________
Regards,

John
mods.auscity.com

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote
  #23  
Old 10-14-2007, 07:27 PM
Greg H Greg H is offline
Member
 
Join Date: Jul 2007
Posts: 83
Default

Ive tried this in 3.1.10 and it does not seen to work. Should this work the same way in 3.1.10?

EDIT:It works fine in 3.1.10. The problem for me was the interface between my chair and my keyboard.
__________________
Greg

Version 3.1.9 Developer

Last edited by Greg H : 10-16-2007 at 01:48 AM.
Reply With Quote
  #24  
Old 12-02-2007, 05:07 PM
Greg H Greg H is offline
Member
 
Join Date: Jul 2007
Posts: 83
Default

I have found two problems with this method.

1- It does not seem to work when a user pays for the ad listing using a package/membership.

2- There is nothing stopping a user from modifying the price once the ad has been placed.

I would love a fix for Number 1
I could live with number 2 ,I guess.

I am using the first, simplest method as suggested by SuzKaw..

if($productid==1 && $listingprice > 500)
{
$listingprice=500;
}

Any ideas anyone ?
__________________
Greg

Version 3.1.9 Developer
Reply With Quote
  #25  
Old 12-03-2007, 12:19 AM
juven14's Avatar
juven14 juven14 is offline
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 1,900
Default

This is because you have to add this code to the membercheckout.php and usermodifylisting.php. I don't have access to the code right now, but it should be more or less the same code you applied to usercheckout.php
__________________
Regards,

John
mods.auscity.com

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote
  #26  
Old 12-03-2007, 05:48 AM
Greg H Greg H is offline
Member
 
Join Date: Jul 2007
Posts: 83
Default

John,

Thank you,that worked, it seems logical now you have said it.

Now to get it working in usermodifylisting.php so users cant change the price in their ad listing.

My first attempt failed, but I will persevere.

Cheers
__________________
Greg

Version 3.1.9 Developer
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User: See's Membership listing package garysr v3.1 Questions & Support 23 11-04-2006 02:08 PM
MOD: Price Descriptor Chaslie v3.1 Modules 2 09-13-2006 03:23 PM
Listing package - 0.00 where I can delete this???? akm v3.1 Questions & Support 3 06-25-2006 09:30 PM
Delete Listing Package ... what happens to listings? hppenterprises v3.1 Questions & Support 2 06-02-2006 06:08 PM
Large price field entry causes listing to be hidden in admincp civ v3.0 Questions & Support 1 04-07-2006 11:04 AM


All times are GMT -4. The time now is 04:12 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.