Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
SR Classifieds 1.0.5 Light Details »»
SR Classifieds 1.0.5 Light
Version: 1.0.5, by Quarterbore Quarterbore is offline
Developer Last Online: Aug 2020 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.4 Rating:
Released: 01-07-2007 Last Update: 02-02-2007 Installs: 134
DB Changes Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

**Background**

This is a reposting of SR Classifieds 1.0.2 Posted by Gio~logist. I purchased the rights to this script as well as the premium version.

**Copyright**

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:

Powered by SR Classifieds
Copyright ? 2007, vBClassified.com


**Before Making An Add on **

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.

**DEMO **
http://www.vbclassified.com/sr_classifieds.php

What features does this hack provide?
  • 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.

http://www.vbclassified.com/sr_class...inalthread.zip

**UPDATES**

Feb 1 2007 3:30 PM EST
Version 1.0.4.

Changes:

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.

Comments
  #52  
Old 02-04-2007, 03:37 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merriweather View Post
It's not a shopping cart, it's a classified system. As in Craigslist or eBay, you contact the person and arrange payment offline. The PayPal button is just a nice addition to facilitate the process. If they don't have PayPal, then they have to handle payment another way.
Ah ok, that put's me in a completely different frame of mind for this.
Thanks alot!
Reply With Quote
  #53  
Old 02-04-2007, 07:48 PM
Merriweather Merriweather is offline
 
Join Date: Nov 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem.
Reply With Quote
  #54  
Old 02-04-2007, 11:24 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merriweather View Post
I am liking this so far! Is there a way to not show any classified as stats on the member profile if the user doens't have access to the classifieds?
I am sorry, I don't understand your question.
Reply With Quote
  #55  
Old 02-05-2007, 02:10 AM
Merriweather Merriweather is offline
 
Join Date: Nov 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used your template changes to show their Classified ratings on their profile. But not all of my usergroups have access to the Classifieds, so a user without access would obviously have a rating of 0. What I want to do is if the user is in a group that does not have permission to use the classifieds, can the profile field be set to not show the stats?
Reply With Quote
  #56  
Old 02-05-2007, 02:35 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just finished installing this... Awesome job!! I am using this one plus the vbay script. They are both great to have for a wide variety of thing...

A year ago I was dreaming of a mod like this! Now I install 2 perfect examples in 15 minutes time....... Gotta love this whole plug in system...

Thanks again..

Feel free to take a look here if you have not installed it.. http://www.talkandmore.net/sr_classifieds.php?
Reply With Quote
  #57  
Old 02-05-2007, 04:20 AM
Merriweather Merriweather is offline
 
Join Date: Nov 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just "bought" an item via my ads (using Paypal) but the ad is still active. Did I miss a step of the setup, or did I misunderstand something? i thought once Paypal was used, the ad was removed from the DB. But now that I think about it, that would require Paypal IPN, so I am probably wrong in my assumptions and the seller has to remove the ad once it's been sold -- correct?
Reply With Quote
  #58  
Old 02-05-2007, 05:06 AM
swiss swiss is offline
 
Join Date: Apr 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an option to only allow set user groups to list ?

Yet still let other groupd view only?
Reply With Quote
  #59  
Old 02-05-2007, 08:07 AM
Glynn58 Glynn58 is offline
 
Join Date: Jul 2006
Location: Barnsley UK
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent add on just 1 problem for us is that the paypal is a .com

we are UK based and would like .co.uk so we are using our own currency is there a way to change this

thanks
Reply With Quote
  #60  
Old 02-05-2007, 06:18 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merriweather View Post
I used your template changes to show their Classified ratings on their profile. But not all of my usergroups have access to the Classifieds, so a user without access would obviously have a rating of 0. What I want to do is if the user is in a group that does not have permission to use the classifieds, can the profile field be set to not show the stats?
The feedback is kept in the user table so as the script is written there is no special query needed to show this. To make it so that the database would be searched for rights to use the classifieds would add an extra process that is not in the script (as you mentioned).

Quote:
Originally Posted by Merriweather View Post
I just "bought" an item via my ads (using Paypal) but the ad is still active. Did I miss a step of the setup, or did I misunderstand something? i thought once Paypal was used, the ad was removed from the DB. But now that I think about it, that would require Paypal IPN, so I am probably wrong in my assumptions and the seller has to remove the ad once it's been sold -- correct?
The lite version does not have IPN... IPN is built into the vBClassified script however... The process of interacting with the payment processor requires a lot of extra work such as creating a unique invoice, passing the values to paypal, and getting the result back from paypal. Then, there is the issue of dealing with uncleared payments (e-checks). The premium version does all of this but the lite one does not.

Quote:
Originally Posted by swiss View Post
Is there an option to only allow set user groups to list ?

Yet still let other groupd view only?
Not currently... the lite version allows you to disable access but when they have access they can sell.

Quote:
Originally Posted by Glynn58 View Post
excellent add on just 1 problem for us is that the paypal is a .com

we are UK based and would like .co.uk so we are using our own currency is there a way to change this

thanks
The PayPal code is in the ViewAd template so you can edit this to what you need. You would need to verify that the rest of the data sent to paypal matches the layout in the template as written but I would not expect that you would have problems.

Now, I assume your UK paypal addresses would work with the paypal.com domain, right?
Reply With Quote
  #61  
Old 02-06-2007, 08:47 AM
Glynn58 Glynn58 is offline
 
Join Date: Jul 2006
Location: Barnsley UK
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

many thanks paypal all sorted now to a UK account :up:
Reply With Quote
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05954 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete