Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
SR Classifieds 1.0.2 Light Details »»
SR Classifieds 1.0.2 Light
Version: 1.0.2, by Gio~Logist Gio~Logist is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Major Additions - Version: 3.5.4 Rating:
Released: 04-08-2006 Last Update: 04-18-2006 Installs: 146
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.


Brought to you by:
DopeGFX
-----------------------------------------------------------------
LOGOS | WEBSITES | SKINS | HTML | PHP(Limited) | AND MUCH MUCH MORE!
-----------------------------------------------------------------
In Conjunction With
SiteResort

**Attention**
This hack is now being released as a "Lite" version. All existing features are still there, do not worry. However, a premium version is comming soon and will have even more features. This hack will continue to be supported. The only difference is that a premium version is comming shortly with more features.

**Copyright**
This script cannot be redistributed, reproduced, or published in any way unless given permission my the author (me). 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:

SR Classifieds, By www.siteresort.com

**Before Making An Add on **
Please consult with me before making an add on to this hack. As it is my work and such, the add ons that you are trying to make for it may be in the next release and/or premium version.


[high]Changelog:[/high]
4-13-06
* Security patch while editing ads (there was a little hole) All that needs to be done is reuploading sr_classifieds.php

[high]Changelog:[/high]
4-11-06
* Admins can delete feedback
* User profile fixed (minor template issues)
* Ad type shown in adbit
* No more error message when saving field

[high]Changelog:[/high]
4-9-06
* There was a problem with a code that made it so that if you didn't have an image in an ad and then edited that ad to include an image, it overwrote noimage.gif (which is not good!). This was fixed!
* Ad ID Number now shows in an ad
* Price now shows in an ad

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.

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

[high]6 Easy Steps[/high]
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.

[high]F.A.Q[/high]
Q. How can i reserve the premium version?
A. Send me a message here on the forums or email me at gio@dopegfx.com


Don't forget to click INSTALL

[high]As always, feel free to make a donation to:[/high]
gio@dopegfx.com

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 04-11-2006, 11:42 AM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Da Drgon
found a bug in the sr_classifieds_feedbit template....

Code:
<td class="alt2"><if condition="$show[editcomment]"><a href="sr_classifieds.php?do=editfeedback&rateid=$feed[rateid]">
($vbphrase[sr_classifieds_edit])</a></if>
<a href="sr_classifieds.php?do=ad&adid=$feed[adid]">$feed[comment]</a></td>
where sr_classifieds.php?do=ad&adid= should be sr_classifieds.php?do=ad&id= instead... if you click on the ad link in the user feedback, it gives you an error saying the ad doesn't exist... that's because the URL is not correct.... I manually edited the template and corrected it
Thanks, I was looking for that too!

Also, I noticed there is a limit to the number of items that can be added to the drop down list. I need and want to have dropdowns with COUNTRY and STATE as that way I can build searches to allow members to only look for items in specific countries or states...

If someone figures that out I would love to know!

Also, I would like to suggest a differerent layout... would it be possible to move the latest X-classifieds to the center with the categories being listed on the right margin (obviously it is possible)... Then I would personally like to see the last classifieds listed in the layout like when we go into the categories... I know this is personal preferences and I can hack that later...

Also, I would like to be able to reorder the Custom fields directly in the "Extra Fields Manager" as having to open each field and set the display order is a major PITA.

Please add me to your list and I may need your help with a couple specific mods that I will need in the finished product but there is no sense in me coding that in this Beta version...
Reply With Quote
  #193  
Old 04-11-2006, 11:50 AM
Da Drgon Da Drgon is offline
 
Join Date: Apr 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe those things you want will be in the premium version.... gio~logist is the best person to answer that obviously
Reply With Quote
  #194  
Old 04-11-2006, 01:02 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SkyCatcher
BTW - I've noticed it's hard to distinguish between buyers and sellers.... is it possible to add a prefix dropdown list to the title of the ad (Wanted | Selling) or something to that extent?
Yes.

Edit the template: sr_classifieds_adbit

Search for:
<if condition="$ad[active] == '2'"><b>$vbphrase[closed]:</b></if>

After that add:
<b>$ad[type]</b>

$ad[type] works pretty much anywhere there's an ad. I just didn't make it automatic because i figured some didn't want that.
Reply With Quote
  #195  
Old 04-11-2006, 01:04 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Quarterbore
Thanks, I was looking for that too!

Also, I noticed there is a limit to the number of items that can be added to the drop down list. I need and want to have dropdowns with COUNTRY and STATE as that way I can build searches to allow members to only look for items in specific countries or states...

If someone figures that out I would love to know!

Also, I would like to suggest a differerent layout... would it be possible to move the latest X-classifieds to the center with the categories being listed on the right margin (obviously it is possible)... Then I would personally like to see the last classifieds listed in the layout like when we go into the categories... I know this is personal preferences and I can hack that later...

Also, I would like to be able to reorder the Custom fields directly in the "Extra Fields Manager" as having to open each field and set the display order is a major PITA.

Please add me to your list and I may need your help with a couple specific mods that I will need in the finished product but there is no sense in me coding that in this Beta version...
In phpmyadmin, go to sr_classifieds and then go to fieldx, where x is the id of the field you want to make longer. Then change it to mediumtext and take off the limit

You've been added to the list.
Reply With Quote
  #196  
Old 04-11-2006, 01:05 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Da Drgon
found a bug in the sr_classifieds_feedbit template....

Code:
<td class="alt2"><if condition="$show[editcomment]"><a href="sr_classifieds.php?do=editfeedback&rateid=$feed[rateid]">
($vbphrase[sr_classifieds_edit])</a></if>
<a href="sr_classifieds.php?do=ad&adid=$feed[adid]">$feed[comment]</a></td>
where sr_classifieds.php?do=ad&adid= should be sr_classifieds.php?do=ad&id= instead... if you click on the ad link in the user feedback, it gives you an error saying the ad doesn't exist... that's because the URL is not correct.... I manually edited the template and corrected it
Good catch. I will fix that and then edit the zip.
Reply With Quote
  #197  
Old 04-11-2006, 01:25 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gio~logist
In phpmyadmin, go to sr_classifieds and then go to fieldx, where x is the id of the field you want to make longer. Then change it to mediumtext and take off the limit

You've been added to the list.
Sorry, I wasn't clear... My issue isn't the length of the variable (set at 100-char) but an issue with how many items I can add to the pick list (I didn't count but say 30-states as opposed to 50)...

Now, when I go into the database I see that the way this is set up that the table "classifieds_fields" has the type defined as "SELECT" and options type is set as varchar(200). I think I need to change this to mediumtext....

The problem is it looks like that would requre that I change all the fields to Mediumtext which will make this pretty large (size wise)...

EDIT: Changing it to MEDIUMTEXT fixed my problem
Reply With Quote
  #198  
Old 04-11-2006, 01:32 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, I have not found this yet but when I update a custom field I am getting an error that says...

Could not find phrase 'sr-classifieds_x_fieldsaved'.
Reply With Quote
  #199  
Old 04-11-2006, 01:32 PM
DeeperImage DeeperImage is offline
 
Join Date: Nov 2001
Location: Kennesaw, GA
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, will install when I get home.
Reply With Quote
  #200  
Old 04-11-2006, 01:59 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gio~logist
Yes.

Edit the template: sr_classifieds_adbit

Search for:
<if condition="$ad[active] == '2'"><b>$vbphrase[closed]:</b></if>

After that add:
<b>$ad[type]</b>

$ad[type] works pretty much anywhere there's an ad. I just didn't make it automatic because i figured some didn't want that.
Thanks! I also am in the process of updating my templates with the option values for yje "Buy, Sell, Looking, Offering" to say:

Code:
<option value="WTB">Buy</option>
<option value="WTS">Sell</option>
<option value="WTT">Trade</option>
<option value="FREE">Free</option>
I think these were the only two I had to modify:

sr_classifieds_edit
sr_classifieds_new

Looks much better with these changed!
Reply With Quote
  #201  
Old 04-11-2006, 02:06 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]Changelog:[/high]
4-11-06
* Admins can delete feedback
* User profile fixed (minor template issues)
* Ad type shown in adbit
* No more error message when saving field

ZIP UPDATED!!
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 09:33 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.05096 seconds
  • Memory Usage 2,330KB
  • 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
  • (3)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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