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
  #12  
Old 01-08-2007, 08:27 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am working to identify the problems with the lite version. There were a few code fixes (template issues) that were made and a few people had problems with this hack when installed in 3.6.x. but I have not been able to reproduce the errors. I do not think there are any security issues.

As for comparing the two products, SR Classifieds is a lite version that allows Ad Types of BUY and SELL in one level of categories. With SR Classifieds there is no way to charge to list an item.

vBClassified is a much more diverse product and has a completely different operating database. It uses a concept of Ad Nature and an Admin can add as many Ad Types as they would like that use the basic nature codes. The current Nature codes include NO PRICE, FIXED PRICE, and INCREASING BIDS. vBClassified also allows multiple images with lightbox, private offers system, public comments, bid retraction logging, Commit to Buyer options, Deal Pending and Deal Done systems, and more. It also features an incremental bid system like ebay and sellers or site staff can delete bids. You can compare the two on my site at http://www.vbclassified.com and as you can see you can have both run on the same website as they do not use ANY of the same phrases, templates, or database tables/fields. vBClassified uses a system of credits that can be purchased with $Money or vBBux points and these credits can be set to various costs per category (including FREE). Credits are also optionally used to feature ads.

I am just starting to try to address the issues with SR CLASSIFIEDS lite. One issue I have noticed is that the whitespace is not preserved and I had to fix that in another of my projects but I need more time to trace the code to find the error.

If you join my site at vbclassified you can try the LITE version and see what it does and you can try the premium version as well. Both work quite well, it just depends on your needs.
Reply With Quote
  #13  
Old 01-09-2007, 09:08 AM
Greek Wizard Greek Wizard is offline
 
Join Date: Jun 2006
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am a little confused about the version numbers.

Gio's was 1.02 and you said a a while back NOT to install it as you will be releasing a newer version when you got a chance to look at it.

Now you created this post here but the file is 1.03, however on your own site you say that this was gio's last version and again, don't install it as it needs alot of fixing.

I am confused.

Basically, is this a new version, or not?

If not, can you maybe give us a basic time frame (no hurry of course) as I have taken your advice and not installed it.

[edit]I downloaded it and read that it only has minor changes, so I guess I will still wait[/edit]
Reply With Quote
  #14  
Old 01-09-2007, 10:58 AM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the confusion. There is a bug in the message area code that I am trying to find and fix in that if you use the standard editor the whitespace is preserver but if you use the "advanced" editor the formatting is messed up. The code that does this is in the sr_classifieds.php file as I looked at the template files and I did not see the error there.

I will update the product file when I find a fix with directions on how to move up to the new release.

This script can be installed and it should work fine. If anybody has problems, just let me know and I'll fix them.
Reply With Quote
  #15  
Old 01-17-2007, 04:18 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added this to my site, I wanted to test this before I buy the vbclassified. But I dont see
a paypal button,message box,users own page, And much much more! Any ideas?
Reply With Quote
  #16  
Old 01-17-2007, 04:40 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I figured out where to comment, but on any site when you click on a persons name you are sent to their profile. This is the same in vbClassified. Also the paypal button should be inside the add, not outside. I am not a coder nor am I trying to be one, but I am a firm believer in making site navigation as user friendly as possible. Can this be done?
Reply With Quote
  #17  
Old 01-17-2007, 06:23 AM
Champster Champster is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Out of couriosity. Could this addon be customized in such a way for purpose of job listings and personals?

I'm about to purchase photopost classifieds however if vbclassifieds can be set up for the above mentioned purposes, then I will buy your (vbclassifieds) addon today.

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

blind-eddie:

I do still plan to rework SrClassifieds and I agree the paypal link is in the wrong place on Sr Classifieds but I don't have the time to recode this at this time as I am busy with other projects at the moment. I will try to work on it in the next couple weeks but I reposted this because in the old thread members here had install errors which seem to have been fixed now (at least I am not seeing any complaints).

As for the other issues, SR Classifieds and vBClassifieds work like most any vBulletin hack where if you click on the user's name you will see info about the user. This is not a bug, it's the way it should work?

As for the PayPal button in vBClassified, that is only inside the Ad and it is only available after you commit to the seller to buy the item. Once you commit, you can pay via paypal and once paid the seller can no longer edit their ad or reset you as a buyer. If you send money via the poney express, then the seller has a "MARK PAID" link that will allow them to indicate you paid for the item.

Champster:

SR CLASSIFIEDS is limited by a database structure and code with what it can do. You could modify it but it would be a lot of work. vBClassified on the other hand will allow you to post items without a price like job listings, personals, etc. The system is completely compatable but I have not coded the script to not give the "Commit to Buy" for these types of ads as I am actively coding the script and I don't want these conditionals in the final product users install!

Just the same, here is an example of a personals listing:

http://www.vbclassified.com/vbclassified.php?do=ad&id=3

The ViewAd template could be hacked with conditionals so that if the Type of ad is a "Job Listing" that the Commit button would not be shown... I just can't do that with a production website that I use to export the product files from.
Reply With Quote
  #19  
Old 01-27-2007, 03:08 PM
PBX1 PBX1 is offline
 
Join Date: Mar 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do any of the classified add ons you offer have the ability to remove the Time Left column and the ability to send the user a PM rather than an email?
Reply With Quote
  #20  
Old 01-30-2007, 07:42 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PBX1 View Post
the ability to send the user a PM rather than an email?
I to would like it to be able to PM the user,as a lot of my members dont allow their email to be exposed,also is it possible to add a block on forumhome that randomize photo's of what is in classifieds?
Reply With Quote
  #21  
Old 01-30-2007, 10:21 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok ive had a play,this is for those that dont want the email user function,but want the abilty to be able to use PM instead this is what i did
Open product-sr_classifieds.xml with a text editor
scroll down to around line 858 and find
Code:
<tr>

<td class="alt1">Email</td>

<td class="alt2"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$user[userid]" rel="nofollow"><phrase 1="$user[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></td>

</tr>
and replace with then save
Code:
<tr>

<td class="alt1">PM:</td>

<td class="alt2"><a href="private.php?$session[sessionurl]do=newpm&u=$user[userid]" rel="nofollow"><phrase 1="$user[username]">$vbphrase[send_private_message_to_x]</phrase></a></td>

</tr>
re-import the product and select yes to overwrite
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 04:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14241 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
  • (2)bbcode_code
  • (1)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
  • (3)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