Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #202  
Old 04-11-2006, 03:19 PM
tfw2005 tfw2005 is offline
 
Join Date: Sep 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed on test site, working perfectly except one thing...

My uploaded images are not readable. Getting CHMODDED to 600. Thumbs are fine. Those are CHMODDED at 644 and show up.

Images are there on server, in both places, just not viewable in full item listing.

If I manually CHMOD the files to 644 or 777, they show up in ad listing.

/uploaded and /uploaded/thumbnails directories are CHMOD to 777. Double checked that.

Any idea what's triggering this?

Using the 1.0.2 version released today.

Thanks!
Reply With Quote
  #203  
Old 04-11-2006, 04:26 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 tfw2005
Just installed on test site, working perfectly except one thing...

My uploaded images are not readable. Getting CHMODDED to 600. Thumbs are fine. Those are CHMODDED at 644 and show up.

Images are there on server, in both places, just not viewable in full item listing.

If I manually CHMOD the files to 644 or 777, they show up in ad listing.

/uploaded and /uploaded/thumbnails directories are CHMOD to 777. Double checked that.

Any idea what's triggering this?

Using the 1.0.2 version released today.

Thanks!
It sounds like a problem with your ftp/CHMOD.

Double check that both the uploaded/ and uploaded/thumbnails are 777. Everything should be fine if they both are. It has nothing to do with the script itself.
Reply With Quote
  #204  
Old 04-11-2006, 04:37 PM
tfw2005 tfw2005 is offline
 
Join Date: Sep 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They are.

Must have uploaded 1000 files over last couple days, all VB related. (installing a test upgrade forum). Installed about 15 hacks, some of which include CHMOD requirements. Did those, those work.

Have 4 other browser based image upload scripts running in various non-VB programs, all similar to yours, plus the VB attachment features running in a file system on my main and on my test. Same server, same domain/folders. Those work.

Ill keep checking on my end, Im just letting you know that all things here point toward a script issue.

Edit:

Are there any CHMOD requirements for functions_sr_classifieds_upload.php ?
Reply With Quote
  #205  
Old 04-11-2006, 04:44 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 tfw2005
They are.

Must have uploaded 1000 files over last couple days, all VB related. (installing a test upgrade forum). Installed about 15 hacks, some of which include CHMOD requirements. Did those, those work.

Have 4 other browser based image upload scripts running in various non-VB programs, all similar to yours, plus the VB attachment features running in a file system on my main and on my test. Same server, same domain/folders. Those work.

Ill keep checking on my end, Im just letting you know that all things here point toward a script issue.

Edit:

Are there any CHMOD requirements for functions_sr_classifieds_upload.php ?
No there aren't. Can you link me to your site so i can take a look?

Provide a test account if possible as well.
Reply With Quote
  #206  
Old 04-11-2006, 04:51 PM
tfw2005 tfw2005 is offline
 
Join Date: Sep 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PMmed with info.
Reply With Quote
  #207  
Old 04-11-2006, 04:56 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

I have replied to your PM.
Reply With Quote
  #208  
Old 04-11-2006, 05:18 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here are a couple more code hacks RE the WTS, WTT, etc...

If you want these to show on the default home page:

Open template: sr_classifieds_main:

find:

Code:
<div><b>$randomad[title]</b></a></div>
<div class="smallfont">by $randomad[username]</div>
Replace with:

Code:
<div><b>$randomad[type] $randomad[title]</b></a></div>
<div class="smallfont">by $randomad[username]</div>
Open template: sr_classifieds_newadbit

find:

Code:
<div><b><a href="sr_classifieds.php?do=ad&id=$newad[classifiedid]">$newad[title]</b></a></div>
Replace with:

Code:
<div><b><a href="sr_classifieds.php?do=ad&id=$newad[classifiedid]">$newad[type] $newad[title]</b></a></div>
I have moved this to my public forum now that I am more comfortable with the script and you can see it running on my website here:

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

Also note, I added WTR (RENT) and LTR (Looking to Rent) as like my suggestion posted above.
Reply With Quote
  #209  
Old 04-11-2006, 05:19 PM
tfw2005 tfw2005 is offline
 
Join Date: Sep 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fatal error: Call to undefined function: imagegif() in ......./sr_classifieds/functions_sr_classifieds_upload.php on line 80

Also getting that error when attempting to upload Gifs. PNGs worked fine for upload, but same permission issues for full sized pngs.
Reply With Quote
  #210  
Old 04-11-2006, 05:23 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 tfw2005
Fatal error: Call to undefined function: imagegif() in ......./sr_classifieds/functions_sr_classifieds_upload.php on line 80

Also getting that error when attempting to upload Gifs. PNGs worked fine for upload, but same permission issues for full sized pngs.
That's probably because of that authorization issue you're having.
Reply With Quote
  #211  
Old 04-11-2006, 05:29 PM
tfw2005 tfw2005 is offline
 
Join Date: Sep 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT

My bad, previous comment came off rude. Not intentinon. However, that doesnt make any sense why one file type would not be defined while others are and work within the same exact file, and why only one folder on entire server has file creation issues, the one that stores the images created from this upload script.
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 01:50 PM.


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.07907 seconds
  • Memory Usage 2,310KB
  • 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
  • (4)bbcode_code
  • (3)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