vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - SR Classifieds 1.0.2 Light (https://vborg.vbsupport.ru/showthread.php?t=112504)

Quarterbore 04-13-2006 02:33 AM

I think we need more people to verify as I get negative times even when logged out of my site.. It shows three active ads but there are five shown and two have negative time...

http://www.timeshareforums.com/sr_cl...y&categoryid=1

Now, I have hacked my code to all heck learning how this works... I got your PM and I'll buy the premium with the upgrade as soon as you are ready to release... I have asked my members what else we would want so that I can help you improve this OR I can evaluate what I need to do on my end to customize it...

glorify 04-13-2006 04:35 AM

Quote:

Originally Posted by gio~logist
I believe it's because of the vb version. Try editing sr_classifieds.php and search for:
Code:

        if($permissions['sr_classifieds'] & $vbulletin->bf_ugp['sr_classifieds']['canedit'] OR $bbuserinfo[userid] == $user[userid]){
Change that to:

Code:

        if($permissions['sr_classifieds'] & $vbulletin->bf_ugp['sr_classifieds']['canedit'] OR $vbulletin->userinfo[userid] == $user[userid]){

Nope--doesn't work. Still get the same error. Any other ideas? Remember, this error occurs when you are trying to save permissions of usergroups in the admincp.

Jon_Simmonds 04-13-2006 05:31 AM

Quote:

Originally Posted by gio~logist
That's the same as a drop down, except a different look. Is that what you meant?

Yeah, since these can allow for multiple choices if the multiple="multiple" option is used in the html, I may have a shot at adding it myself

Da Drgon 04-13-2006 07:05 AM

Quote:

Originally Posted by gio~logist
The negative times shows when the time is up. When the time is up i believe it's only viewable to admins anyways. Also, i will be able to make your page look like that. Contact me via PM for more info.

speaking of which, will there be a way to relist expired items to the user? or how about an "infinite" time option during initial listing?

Quarterbore 04-13-2006 10:41 AM

Quote:

Originally Posted by Da Drgon
speaking of which, will there be a way to relist expired items to the user? or how about an "infinite" time option during initial listing?

I also think we will want some method to delete the old ads and attachments, say after the ad is expired by X-days & defined in Admin CP... I would want to set them seperately in case I wanted an archive of old classified listings however....

I use Photopost pro and I have debated changing the images so that members leave the image in their member directory so it counts towards their total image limit... that way they can take care of the space issue themselves...

Gio~Logist 04-13-2006 02:14 PM

Quote:

Originally Posted by glorify
Nope--doesn't work. Still get the same error. Any other ideas? Remember, this error occurs when you are trying to save permissions of usergroups in the admincp.

Ah yes, i remember your erorr now. Like i said before, i would need ftp information or something in order to look into it due to the fact that your vb is outdated and i may just need to see if perhaps it's just that they use a different code when saving permissions and such. Also, if i remember correctly, i tried disabling the hack on your site and still got that error.

Oh and by the way, you forgot to click install :p

Gio~Logist 04-13-2006 02:15 PM

Quote:

Originally Posted by Jon_Simmonds
Yeah, since these can allow for multiple choices if the multiple="multiple" option is used in the html, I may have a shot at adding it myself

I see. What i'm saying though is that multiple choices are available when using the checkbox feature. Have you tried that?

Gio~Logist 04-13-2006 02:16 PM

Quote:

Originally Posted by Quarterbore
I also think we will want some method to delete the old ads and attachments, say after the ad is expired by X-days & defined in Admin CP... I would want to set them seperately in case I wanted an archive of old classified listings however....

I use Photopost pro and I have debated changing the images so that members leave the image in their member directory so it counts towards their total image limit... that way they can take care of the space issue themselves...

This will be looked into.

Gio~Logist 04-13-2006 05:36 PM

[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

ZIP UPDATED!!!

Gio~Logist 04-13-2006 05:46 PM

Oops. The zip didn't upload right. Fixed. Redownload if you downloaded it previous to this post.


All times are GMT. The time now is 12:43 AM.

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.01401 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete