Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 06-17-2004, 04:01 PM
WoodiE WoodiE is offline
 
Join Date: May 2002
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #12  
Old 06-17-2004, 04:14 PM
WoodiE WoodiE is offline
 
Join Date: May 2002
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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.
Reply With Quote
  #13  
Old 06-17-2004, 04:52 PM
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Location: Tooele, UT
Posts: 756
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #14  
Old 06-20-2004, 02:04 PM
WoodiE WoodiE is offline
 
Join Date: May 2002
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #15  
Old 08-28-2004, 06:20 PM
pran's Avatar
pran pran is offline
 
Join Date: Dec 2001
Location: Caloocan, PH
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>'
Reply With Quote
  #16  
Old 01-21-2005, 12:29 AM
paulmjno paulmjno is offline
 
Join Date: Sep 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #17  
Old 01-21-2005, 12:44 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 01-21-2005, 12:51 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #19  
Old 01-21-2005, 05:40 PM
Sooner95 Sooner95 is offline
 
Join Date: Apr 2003
Location: I don't know
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Amy.. works like a champ
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 04:03 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.05584 seconds
  • Memory Usage 2,253KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete