Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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

Quote:
Originally Posted by PBX1 View Post
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?
As indicated above, the e-mail is a vBulletin function and in the lite version of the premium version you could edit the templates. Now, if a user sets vBulletin so they do not receive e-mails... BOTH of the classifieds scripts honor this! Everything in both scripts is permission based!

As for the time left, I have received this as a request for the premium version but I have not worked out how to do this yet due to the complexity of that script.
Reply With Quote
  #33  
Old 02-01-2007, 06:46 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I looked at the script and made a number of changes including:

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

This was updated in the ZIP package and released as version 1.0.4.

Please reupload all of the files again and revert any customized templates or you will not see the newest versions!

Demo of latest version is running here:

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


Thanks,
Ken
Reply With Quote
  #34  
Old 02-01-2007, 09:16 PM
TruthElixirX's Avatar
TruthElixirX TruthElixirX is offline
 
Join Date: Sep 2004
Location: Oklahoma
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this right after you changed out the zip, everythign looks great, except when I go to delete an ad, nothing happens. In the status bar on my browser is says "javascript deletead();".

If I go into my page's source and look at the JS code I can find the link to delete it, I put it in my address bar hit enter and it deletes it. Any ideas?
Reply With Quote
  #35  
Old 02-01-2007, 11:23 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TruthElixirX View Post
I just installed this right after you changed out the zip, everythign looks great, except when I go to delete an ad, nothing happens. In the status bar on my browser is says "javascript deletead();".

If I go into my page's source and look at the JS code I can find the link to delete it, I put it in my address bar hit enter and it deletes it. Any ideas?
I couldn't find it on your site... can you set up a member account and pm me the username and password? I need to see your page but I have the same code installed on my site and I just confirmed it is working there:

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

You are welcome to join and test on my site to see that it works (unless you have a browser issue)
Reply With Quote
  #36  
Old 02-01-2007, 11:36 PM
TruthElixirX's Avatar
TruthElixirX TruthElixirX is offline
 
Join Date: Sep 2004
Location: Oklahoma
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Quarterbore View Post
I couldn't find it on your site... can you set up a member account and pm me th eusername and password? I need to see your page but I have the same code installed on my site and I just confirmed it is working there:

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

You are welcome to join and test on my site to see that it works (unless you have a browser issue)
I fixed it... somehow. Not sure. It wasn't on my site either, was on another site I help with.

I think there is an extra space somewhere I took out if I remember right.

Code:
<a href=javascript deletead(); >
was there but I took out the space and it made it work? Or maybe it was just coincadence and I did something else.
Reply With Quote
  #37  
Old 02-01-2007, 11:40 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What browser do you use (I've learned to ask as more often then not when people have issues I can't see they are using firefox)...

Cheers!

EDIT:

Pretty strange...

The template with the download is this:

Quote:
<div><a href=javascript:deletead(); >Delete This Ad</a></div>
This calls the following function:

Quote:
<SCRIPT language=JavaScript>
function deletead()
{
var answer = confirm ("Are you sure you want to delete this ad?")
if (answer) {
window.location="http://www.DOMAIN.com/sr_classifieds.php?do=deletead&adid=5"
} else {
alert ("The ad has not been deleted");
}
}
</SCRIPT>
I just don't see an error here ?
Reply With Quote
  #38  
Old 02-02-2007, 12:11 AM
TruthElixirX's Avatar
TruthElixirX TruthElixirX is offline
 
Join Date: Sep 2004
Location: Oklahoma
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know. Its working now. I am using Firefox 2.0 on XP and also tried it on Safari on Mac OS X. Working on both now though. Sorry for the issue.
Reply With Quote
  #39  
Old 02-02-2007, 12:37 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 updated, But I still see only 2 classifieds usergroup permissions, Is there new ones?
Reply With Quote
  #40  
Old 02-02-2007, 01:00 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my members are wanting to be able to post comments to adds,as ive said i'd have to pay for that version so for the time being i have disabled this hack till i can come up with some spare $$ but thankyou anyway its a great system
Reply With Quote
  #41  
Old 02-02-2007, 01:46 AM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
I updated, But I still see only 2 classifieds usergroup permissions, Is there new ones?
No, there are only two usergroup specific settings in SR Classifieds Lite. May I ask why would you assume that would have changed? vBClassified, which I saw you looking at, has 18 usergroup settings plus a lot more AdminCP settings.

Quote:
Originally Posted by Rickie3 View Post
my members are wanting to be able to post comments to adds,as ive said i'd have to pay for that version so for the time being i have disabled this hack till i can come up with some spare $$ but thankyou anyway its a great system
I wish I could advise you to use the lite version and I would help you upgrade later but the database structure to the lite script is completely different then the premium script so it has been a real challange. I hope to have something that will work in the future but as of now I have not been able to transfer my SR Classifieds site data to the new script (so I just close it to new ads and have everybody repost or their old ads were lost).
Reply With Quote
Reply


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 01:07 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.06626 seconds
  • Memory Usage 2,329KB
  • 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
  • (1)bbcode_code
  • (7)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