Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Separate Sticky and Normal Threads Details »»
Separate Sticky and Normal Threads
Version: 4.01, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.0 Beta 5 Rating:
Released: 11-14-2009 Last Update: 12-12-2009 Installs: 2665
Uses Plugins Template Edits Auto-Templates
Re-useable Code Translations  
No support by the author.

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-eparate.xml' from your computer then press 'Import'

Separate Sticky and Normal Threads Setting

Go to your admin cp, then:
vBulletin Options -> Forum Display Options (forumdisplay) ->
Separate Sticky and Normal Threads (Yes/No)

1.0.4 Initial Version.
1.0.5 fix bug.
2.0.0 vbulletin 3.7.0 release
3.0.0 vbulletin 3.8.0 release
4.0.0 vbulletin 4.0.0 release
4.0.1 style change (Thanks BBR-APBT)

Download Now

File Type: xml product-eparate.xml (4.1 KB, 9674 views)

Screenshots

File Type: png Main Forum_1260698621594.png (30.3 KB, 0 views)

Show Your Support

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

Comments
  #142  
Old 03-28-2010, 11:14 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wayne.richards@ View Post
I will just have to disable it when i need to mass move threads as its a very handy mod, it also seemed to stop me deleting a forum from the admincp
Yes. That's the compromise I adopted as well, since I also find the add-on useful.
Reply With Quote
  #143  
Old 03-29-2010, 03:59 AM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is awesome. I wanted to change the text "Stick Threads" to "IMPORTANT!!" so I edited the "delim_sticky" phrase. Works perfectly.

Question: The space between the "Sticky Thread" area and the "Normal threads" is too close. Is there a way to increase the space? Maybe add another table row between them?
Reply With Quote
  #144  
Old 03-29-2010, 08:17 AM
patrick91 patrick91 is offline
 
Join Date: Aug 2009
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thxn works great!!! mark as installed
Reply With Quote
  #145  
Old 03-29-2010, 06:13 PM
abdulbasitsaeed's Avatar
abdulbasitsaeed abdulbasitsaeed is offline
 
Join Date: Mar 2009
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by metalguy639 View Post
For all those of you who want to change the color of the font & the bar behind the font, do the following edits....

I'm assuming that you know where to find the templates and how to open them to edit them....

Change font color:

Open the FORUMDISPLAY_Separate template and replace

Code:
<li class="threadbit" id="cat1">
With This:

Code:
<li class="threadbit" id="cat1" style="color:#000000;">
NOTE: You will need to change the color in red to the font color to what you want it to be either use a hex color or use a color like Red, Blue etc.

Now to change the background color Find:

Code:
<div class="icon0 nonsticky">
And Replace it with

Code:
<div class="icon0 nonsticky" style="background:#D2BF7B;">
Again you will need to change the color in red to the hex color you want to use or the actual color.

save the template.

Now open FORUMDISPLAY_Separate2 And Find:

Code:
<li class="threadbit" id="cat1">
Replace With:

Code:
<li class="threadbit" id="cat1" style="color:#000000;">
Change the red to the color you want.

Find:

Code:
<div class="icon0 nonsticky">
Replace with:

Code:
<div class="icon0 nonsticky" style="background-color:#D2BF7B;">
Again change the red to what you want it to be.
Thank you very much for sharing this, metalguy639.

Hopefully, I'd like to make these changes soon on my forum.
Reply With Quote
  #146  
Old 03-29-2010, 06:26 PM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no prob
Reply With Quote
  #147  
Old 03-29-2010, 06:30 PM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by justasiam View Post
This is awesome. I wanted to change the text "Stick Threads" to "IMPORTANT!!" so I edited the "delim_sticky" phrase. Works perfectly.

Question: The space between the "Sticky Thread" area and the "Normal threads" is too close. Is there a way to increase the space? Maybe add another table row between them?
One way is to place some padding as a css code into your template.

Open both templates - FORUMDISPLAY_Separate & FORUMDISPLAY_Separate2 and edit the following line:

Find:

Code:
<div class="icon0 nonsticky">
Replace With:

Code:
<div class="icon0 nonsticky" style="padding:10px;">
You can increase the number in red or decrease it. Then save the template. Do this to both templates.
Reply With Quote
  #148  
Old 03-29-2010, 10:23 PM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, if you want to add a separation between the "Sticky Threads" and "Normal Threads", just add a
Code:
<br>
just before the
Code:
<div class="icon0 nonsticky">
statement. in the "FORUMDISPLAY_Separate" template and the "FORUMDISPLAY_Separate2" template.

I found that the text for "Sticky Threads" and "Normal Threads" were a bit cramped in that cell, so I added a space around the phrases. To do this, just add a little html code.

In the "FORUMDISPLAY_Separate" template, find
Code:
<p><b>&nbsp; $vbphrase[delim_normal]
. Replace
Code:
<p>
with
Code:
<table><tr><td  height="25">
. Find
Code:
</p>
and replace it with
Code:
</td></tr></table>
.

In the "FORUMDISPLAY_Separate2" template, find
Code:
<p><b>&nbsp; $vbphrase[delim_sticky]
. Replace
Code:
<p>
with
Code:
<table><tr><td  height="25">
. Find
Code:
</p>
and replace it with
Code:
</td></tr></table>
.

Note: You can replace the number "25" in the "<td height="25"> statement with a larger or smaller number to increase or decrease the space in that cell.
Reply With Quote
  #149  
Old 03-30-2010, 06:16 AM
syrn's Avatar
syrn syrn is offline
 
Join Date: Mar 2010
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

simple, cool , installed , 5*

Thanx
Reply With Quote
  #150  
Old 03-30-2010, 11:22 AM
badawidollah badawidollah is offline
 
Join Date: Nov 2008
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool
installed
Reply With Quote
  #151  
Old 04-01-2010, 05:05 AM
Debbi Debbi is offline
 
Join Date: Aug 2004
Location: KY
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very helpful. Thanks and installed.
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:26 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.04806 seconds
  • Memory Usage 2,363KB
  • Queries Executed 26 (?)
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
  • (22)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
  • (10)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete