vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need this, please help!! (https://vborg.vbsupport.ru/showthread.php?t=127799)

raiderlax 09-28-2006 09:21 PM

Need this, please help!!
 
Hello I need to have the mod where the title of the thread is in bold in the center of the page just under "user cp, faq, site rules, modifications, etc.."

Does this make sense?

I need this because people are complaining that they can't see the title of the thread and would like something a little more larger to see.

Thanks in advance.:)

For example when your looking at this thread , you can see "Need this, please help!!" just over the entire thread and its in bold and is big. This is what I need done.

ZacUSNYR 09-29-2006 03:12 PM

The information is already there and already being generated.

Put this in the end of your navbar template
Code:

<div align="center" style="font-size:24px; font-weight:bold">$navbits[lastelement]</div>
Edit : you can modify it using normal css in the style - right now it's a 24px font that is bold.

raiderlax 09-29-2006 07:43 PM

Oh thankyou so much, thats awesome it worked. I just have one question. How do you get rid of it when in the main index of a forum. So for example I go to www.site.com and click the CODING forum. How do you get rid of it there and only have it on threads?

Thanks so much once again. :)

raiderlax 10-02-2006 01:38 AM

bump

Mythotical 10-02-2006 07:30 AM

You would have to use an if condition.

Replace:
HTML Code:

<div align="center" style="font-size:24px; font-weight:bold">$navbits[lastelement]</div>
With:
HTML Code:

<if condition="(THIS_SCRIPT == 'forumdisplay') OR
(THIS_SCRIPT == 'showthread')"
>


<else />
<div align="center" style="font-size:24px; font-weight:bold">$navbits[lastelement]</div></if>

Hope thats what you want
Steve

raiderlax 10-03-2006 01:34 AM

Hey thanks man, but instead it is now not showing on the threads and is now showing only on members list, calendar, faq, etc..

Thanks for all the helping man.

Paul M 10-03-2006 01:45 AM

Forget the above completely, that's a very messy way to do an easy job. :)

Just edit the SHOWTHREAD template and put this line between the $navbar and $poll lines ;

HTML Code:

<div style="font-size: 150%; text-align: center;">$thread[title]</div>

raiderlax 10-03-2006 02:43 AM

Quote:

Originally Posted by Paul M
Forget the above completely, that's a very messy way to do an easy job. :)

Just edit the SHOWTHREAD template and put this line between the $navbar and $poll lines ;

HTML Code:

<div style="font-size: 150%; text-align: center;">$thread[title]</div>

Awesome man it works and shows in the thread only, just what I needed. Thankyou so much, I appreciate it alot. One question though, how do you make it the size and boldness of this forums? I need exactly this ones size.

Thanks:)


All times are GMT. The time now is 10:31 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.01010 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_html_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