vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Separate Sticky and Normal Threads (https://vborg.vbsupport.ru/showthread.php?t=228036)

djbaxter 03-28-2010 11:14 PM

Quote:

Originally Posted by wayne.richards@ (Post 2011910)
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.

justasiam 03-29-2010 03:59 AM

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?

patrick91 03-29-2010 08:17 AM

Thxn works great!!! mark as installed:)

abdulbasitsaeed 03-29-2010 06:13 PM

Quote:

Originally Posted by metalguy639 (Post 2010757)
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.

metalguy639 03-29-2010 06:26 PM

no prob :D

metalguy639 03-29-2010 06:30 PM

Quote:

Originally Posted by justasiam (Post 2012041)
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.

justasiam 03-29-2010 10:23 PM

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.

syrn 03-30-2010 06:16 AM

simple, cool , installed , 5*

Thanx

badawidollah 03-30-2010 11:22 AM

cool
installed

Debbi 04-01-2010 05:05 AM

Very helpful. Thanks and installed.


All times are GMT. The time now is 08:26 PM.

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.01306 seconds
  • Memory Usage 1,753KB
  • 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
  • (22)bbcode_code_printable
  • (3)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