vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Make stickies BOLD and in RED... (https://vborg.vbsupport.ru/showthread.php?t=66229)

WoodiE 06-17-2004 04:01 PM

Quote:

Originally Posted by ChuanSE
you could go to vbulletintemplates.com ;)

You're right I could, but from what I'm seeing this ISN'T a template change.

Yahhoon23 - Thanks for the reply but that's not what I'm wanting. I want to make the Title of the thread BOLD and in red, not the word sticky, in fact if I can get the title to be BOLD and in RED then I'll be removing the word Sticky all together.


-Michael

WoodiE 06-17-2004 04:14 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=49946&highlight=sticky+bold" target="_blank">THIS</a> is why I don't think it's a template change as so many of you keep telling me to goto vbulletintemplates.com - I requested this for vB2 and it was a code change in forumdisplay.php I look for that code in vB3 and it doesn't find it and I can't find anything that's similar, that or I'm just over looking it.

KTBleeding 06-17-2004 04:52 PM

Quote:

Originally Posted by WoodiE
You're right I could, but from what I'm seeing this ISN'T a template change.

Yahhoon23 - Thanks for the reply but that's not what I'm wanting. I want to make the Title of the thread BOLD and in red, not the word sticky, in fact if I can get the title to be BOLD and in RED then I'll be removing the word Sticky all together.


-Michael

Ohhh, I completely misunderstood what you meant.
I thought you were talking about just the "Sticky" too.

Hmm, would this be able to be done with conditionals at all guys?

WoodiE 06-20-2004 02:04 PM

bump

pran 08-28-2004 06:20 PM

Go to line 156 in includes/functions_forumdisplay.ph and edit this line:

PHP Code:

$thread['typeprefix'] = $vbphrase['sticky_thread_prefix']; 

And add the following changes:

PHP Code:

$thread['typeprefix'] = '<b>'.$vbphrase['sticky_thread_prefix'].'</b>'


paulmjno 01-21-2005 12:29 AM

Quote:

Originally Posted by pran
Go to line 156 in includes/functions_forumdisplay.ph and edit this line:

PHP Code:

$thread['typeprefix'] = $vbphrase['sticky_thread_prefix']; 

And add the following changes:

PHP Code:

$thread['typeprefix'] = '<b>'.$vbphrase['sticky_thread_prefix'].'</b>'


Thanks for that. ;)

amykhar 01-21-2005 12:44 AM

This actually COULD be done with a template edit. Use a conditional when you show the thread title. If the thread is sticky, make the title bold and red.

amykhar 01-21-2005 12:51 AM

Here's how to do it. (I just did it on my board)

in the threadbit template, find:
Code:

<if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if>
Replace with:
Code:

<if condition="$show[sticky]"><font color="red"><b></if> <if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if><if condition="$show[sticky]"></font></b></if>

Sooner95 01-21-2005 05:40 PM

Thanks Amy.. works like a champ


All times are GMT. The time now is 08:39 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.01043 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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