vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Simplest and proper way to make the sticky thread subject BOLD? (https://vborg.vbsupport.ru/showthread.php?t=102436)

jdebler 12-07-2005 03:52 PM

Simplest and proper way to make the sticky thread subject BOLD?
 
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....33&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:

PHP Code:

if ($thread['sticky'])
{
    
$thread['threadtitle'] = '<strong>' $thread['threadtitle'] . '</strong>';



Chris M 12-10-2005 03:13 PM

Quote:

Originally Posted by Alan @ CIT
Add a plugin at location threadbit_display with the following content:

PHP Code:

if ($thread['sticky'])
{
    
$thread['threadtitle'] = '<strong>' $thread['threadtitle'] . '<strong>';



I think you mean
Code:

</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

1 Attachment(s)
Did mine a lil different...

I edited the phrase for the sticky itself.

Code:


<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:
HTML Code:

<img src="http://www.orderofronin.com/vb/images/misc/sticky.gif" alt="" /><span style="color: #FFFF00; font-weight: bold;">Sticky:&nbsp;</span>
That is XHTML compliant :)

Chris

|oR|Greg 12-13-2005 01:30 PM

I'll try it later.


All times are GMT. The time now is 07:28 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.01302 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete