View Full Version : Simplest and proper way to make the sticky thread subject BOLD?
jdebler
12-07-2005, 03:52 PM
I know this worked for previous versions, but either I am looking in the wrong place or the code changes are not compatible for 3.5 releases.
I just want to do something like this code change for VB2...
https://vborg.vbsupport.ru/showpost.php?p=364133&postcount=2
...but I cannot locate the code to change in VB3.5.
Can someone tell me how to make sticky thread title bold?
Thanks!
-Jason
Alan @ CIT
12-10-2005, 03:04 PM
Add a plugin at location threadbit_display with the following content:
if ($thread['sticky'])
{
$thread['threadtitle'] = '<strong>' . $thread['threadtitle'] . '</strong>';
}
Chris M
12-10-2005, 03:13 PM
Add a plugin at location threadbit_display with the following content:
if ($thread['sticky'])
{
$thread['threadtitle'] = '<strong>' . $thread['threadtitle'] . '<strong>';
}
I think you mean
</strong>
for the closing tag :D
Chris
Alan @ CIT
12-10-2005, 03:17 PM
Ooops, quite right Chris - first post edited :)
jdebler
12-12-2005, 12:02 PM
Thanks! That works much better than the older style of code.
|oR|Greg
12-12-2005, 10:28 PM
Did mine a lil different...
I edited the phrase for the sticky itself.
<strong><img src="http://www.orderofronin.com/vb/images/misc/sticky.gif"><font color=#FFFF00> Sticky: </font></strong>
Chris M
12-12-2005, 11:26 PM
Your code is incorrect:
It should be:
<img src="http://www.orderofronin.com/vb/images/misc/sticky.gif" alt="" /><span style="color: #FFFF00; font-weight: bold;">Sticky: </span>
That is XHTML compliant :)
Chris
|oR|Greg
12-13-2005, 01:30 PM
I'll try it later.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.