Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
How To Separate Sticky and Normal Threads Details »»
How To Separate Sticky and Normal Threads
Version: 1.01, by Xplorer4x4 Xplorer4x4 is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 08-07-2005 Last Update: 08-08-2005 Installs: 264
Template Edits
 
No support by the author.

This tiny template modification will allow you to separate sticky threads from normal threads.

Go to your:
Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Forum Display Templates -> FORUMDISPLAY
Find this code:
PHP Code:
<if condition="$show['threads']">
<!-- 
show threads -->
<if 
condition="$show['stickies']">
$threadbits_sticky
</if>
$threadbits 
<!-- end show threads --> 
Below $threadbits_sticky add this code:
PHP Code:
<tr><td class="thead" colspan="<if condition="$show['threadicons']">7<else />6</if>">&nbsp;</td></tr
Time to Install: 60 Seconds
Templates to modify: 1
Difficulty: 0

If this was useful please click install.

Version1.01
Thanks to Boofo for the corection to add the moderation check box on end.

Show Your Support

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

Comments
  #52  
Old 12-03-2005, 10:31 PM
SoulForge SoulForge is offline
 
Join Date: Jun 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It dont work for me no bar shows up between my sticky and normal posts.

Code:
<if condition="$show['threads']">
	<!-- show threads -->
	<if condition="$show['stickies']">
	$threadbits_sticky
<tr><td class="thead" colspan="<if condition="$show['threadicons']">7<else />6</if>">&nbsp;</td></tr>  
	</if>
	$threadbits	
	<!-- end show threads -->
Thats the code in my ForumDisplay template, ive tried multiply times with multiply bits of code thru out this thread and none work any help would be great thanks.
Reply With Quote
  #53  
Old 12-05-2005, 09:11 AM
ayaam ayaam is offline
 
Join Date: Aug 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

install

good idea !!
Reply With Quote
  #54  
Old 12-15-2005, 01:17 AM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great, thanks for this simple hack

*clicks install
Reply With Quote
  #55  
Old 12-19-2005, 05:35 PM
kau kau is offline
 
Join Date: Jul 2002
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why does this hack not work in some forums?

All the forums use the same templates but in some forums it works and some it doesn't work.
Reply With Quote
  #56  
Old 01-08-2006, 09:48 PM
Gehanna Gehanna is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.

Very Nice, Thank You!
Reply With Quote
  #57  
Old 01-14-2006, 08:55 AM
HO3R HO3R is offline
 
Join Date: Jul 2004
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great !!

Installed this one with some own edit
Great work

Greetz
Reply With Quote
  #58  
Old 01-17-2006, 04:36 PM
YOimYO YOimYO is offline
 
Join Date: Oct 2005
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BamaStangGuy
http://www.mustangevolution.com/foru...splay.php?f=99

Using the thin one and it works great
thin also .... thx

thx to everyone who contributed. and all the screenshots that helped me decide
Reply With Quote
  #59  
Old 02-02-2006, 02:20 AM
Strat Strat is offline
 
Join Date: Jan 2006
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to change the FORUMDISPLAY template, my admincp just starts doing something as I see my browser's activity icon turning (FireFox 1.5), but nothing ever happens. It just continues doing so. Tried a few times with the same result.

I can change every other template. Ideas?

EDIT : fixed it myself.
Reply With Quote
  #60  
Old 02-12-2006, 07:25 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dreamer81
i NEVER install anything if there is no screenshot....
your loss...
Reply With Quote
  #61  
Old 02-13-2006, 09:02 PM
nufc fan nufc fan is offline
 
Join Date: Nov 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ive installed this no probs looks wicked

www.totalfmforums.co.uk
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 05:02 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.05573 seconds
  • Memory Usage 2,310KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_php
  • (2)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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