vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Prevent threads from rising to the top (https://vborg.vbsupport.ru/showthread.php?t=48909)

incarnus 05-05-2003 08:39 AM

Hi Zed, Elmer told me about this hack and I decided it was really cool and we had to have it on our little site. Only thing I changed was
Quote:

if($thread[slippery] == 1) {
$thread[icon]='<img src="images/drop.gif" border="0" alt="">';
$thread[movedprefix] = "$thread[movedprefix] Slippery: ";
}
to
Quote:

if($thread[slippery] == 1 and $bbuserinfo[usergroupid] == 6) {
$thread[icon]='<img src="images/drop.gif" border="0" alt="">';
$thread[movedprefix] = "$thread[movedprefix] Slippery: ";
}
so that only admins can see that the tread is slippery. I must say, you have some evil hacks. I love em!

Thanks, Chris (still stuck in an LT1 ;) )

Zzed 05-05-2003 05:19 PM

incarnus, Thank you for your kind words. https://vborg.vbsupport.ru/

Elmer speaks very highly of you. So I am quite honored that you replied to one of my hacks. :)

incarnus 05-06-2003 08:08 PM

My pleasure! Thank you for your awesome hacks. Woe to anyone who misbehaves at LS1.com, LOL!

So when are we gonna get you back in an F-body? :p

JustAskJulie 03-31-2004 11:52 PM

Is it possible to do this without replacing the icon? The only time I would really use this is on some of the game type threads that people start. I currently have a word association thread that is running at about 1500 posts and won't die. I don't really want to lock it because the users enjoy it but I think if it fell and wasn't at the top of the page constantly they'd forget about it.

Zzed 04-01-2004 07:07 PM

Julie, You can just omit the code where I assign the thread a new icon. ;)


All times are GMT. The time now is 03:59 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.00983 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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