This script cannot be redistributed, reproduced, or published in any way unless given written permission by myself. Modifying this script and sharing your modification elsewhere without the author's knowledge is not allowed as well. The following text on the script is not to be taken off:
Please visit the forum for SR Classifieds at vBClassified.com. The forum is open to discuss issues as well as to provide a place for coders to share their work. By posting there, it will make it easiser for me to monitor the logic and try to ensure that hacks being posted are as safe as possible.
**About This Script **
What does this do?
This hack gives you a classified ad system. Multiple categories can be created and users can post ads in these categories. Other users can then rate them and give them feedback accordingly.
Main page with statistics, categories, recent activity, etc.
Ability to arrange ads in categories
Categories can have their own images
See how many total, closed, and open ads are in each category.
Ratings and category counts are automatically rebuilt
After the timeframe of the ad is up, the ad is closed
Add new classified ads with images, description, title, and more!
Users have their own page where feedback and such shows.
Paypal button is automatically generated if the user enters a paypal email address. Clicking this button will allow the user to buy whatever the other user is selling.
Add extra fields to ads
Ability to edit and delete ads
Control everything from the amount of results showing per page in searches, to the size of thumbnails.
GIF, JPG, and PNG images are supported.
Search through ads
And much much more!
What does this hack require?
Template Edits: 3
Products Imported: 1
6 Easy Steps Step 1. Import the following product: product-sr_classifieds.xml
Step 2. Upload the files in the upload folder.
Step 3. CHMOD the sr_classifieds/uploaded folder and sr_classifieds/uploaded/thumbnails folder to 777 Step 4. Do the edits located below Step 5. Update newly added usergroup permissions and options Step 6. Enjoy the hack.
**THE ORIGINAL THREAD**
I have asked that the old thread be removed because I can not update that thread and it is impossible for me to support the product there. I have made a PDF file which is at the following PATH that hs all of the information from Gio's original thread in case anyone needed to see old issues that were reported.
Replaced Paypal payment forms in category and search listings and replaced it with icon.
Added code to allow seller or Admin to CLOSE and REOPEN ADS
Added new PayPal button along with paypal FORM to inside the listing
Made Paypal link so it is only visable when the listing is open
Cached 'sr_classifieds_viewad_extra_fields' template
Added code to send PRIVATE MESSAGE in addition to e-mail to seller
Feb 3 2007 1:00 AM EST
Version 1.0.5.
Changes:
Fixed Cron, sr_classifieds.php, and templates so that CLOSED ads is always "0" (Script used 0 and 2 before)
Fixed code to Open and Close ads to update category counts
Fixed layout of category display
Made closed Ads show "CLOSED" in time column instead of negative numbers.
Fixed layout issues in View Ad template
Added NEW Cron that will delete listings, uploaded images, and image table from database after ad has been closed for 90-days
NOTE - Webmasters can edit 90-days in the new CRON FILE (Line is adequately commented!)
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.