Log in

View Full Version : Need this, please help!!


raiderlax
09-28-2006, 09:21 PM
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

<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:
<div align="center" style="font-size:24px; font-weight:bold">$navbits[lastelement]</div>

With:
<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 ;

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

raiderlax
10-03-2006, 02:43 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 ;

<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:)