View Full Version : Show Thread Title On Top of the Page =)
Mone'
05-29-2002, 12:49 PM
Show Thread Title On Top of the Page =)
I've been looking around the hack forum for a easy way to show the title of the thread at the top of the page like here at vb.org
Only way that i found was with the forum intro hack wich added more function then i needed so i came out with a template modification that work 100%
1 open showthread template
and look for:
<!-- spacer -->
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
<!-- /spacer -->
after the code you just found, add:
<center><normalfont><font SIZE=5><b>$thread[title]</B></font></normalfont><center>
Finish !
Mone'
Boofo
05-29-2002, 01:41 PM
The code you posted was basically the same code I redid from that hack. The only difference is, with the way I did it, if you wanted to change the Title for the thread, you could do it without changing the actual thread title itself. Use it for announcements or whatever. If you wanted the original thread title to show, all you would have to do is erase the thread intro and the title would reappear. It is alot more flexible the way I did it. :) Plus the code you just did, was already posted in the Thread Intro thread. :)
Mone'
05-29-2002, 01:49 PM
all I'm saying is for what I wanted there was no need of hacking any .php files
this is a simple template modification
the code is inserted in a different position so it doesn't broke the tables like the Thread Intro hack did :)
This is just a easy way to achieve the same result as your modification just without hacking :)
Mone
Boofo
05-29-2002, 01:55 PM
I understand what you are saying here. And, yes, it is a simple modification if all you want is the same thread title to show just in bigger letters in the center. But if you'll look at the file (the part where I modified the code for my site) it doesn't mess with the table like the full thread intro hack would. It does the same thing as the code you posted does but gives you the flexibility to change it if you ever needed or wanted to. I bypassed the box altogether because I wanted what you did here but the ability to modify it too. :) I am looking for a way to do the same thing with the forum intro, but the table in that is really different and hard to get around. :)
DudeSicko
05-29-2002, 03:30 PM
Thx, sure was a easy way to do it :)
Boofo
05-29-2002, 10:04 PM
This is just a easy way to achieve the same result as your modification just without hacking :)
Mone
Sorry, they are not even close to being the same. Mine can read whatever I want it to and be changed and still leave the thead title in tact. All this does is read the same thread title that you already have. :)
Rapdis
06-01-2002, 03:26 PM
I LOVE THA EASY WAYS... lol
Thanks alot...
it works however i pasted it before the !-- spacer -->
<table bgcolor="#0E3652" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="https://vborg.vbsupport.ru/images/space.gif" alt=""></td><td width="100%">
<!-- /spacer -->
and now it looks perfect!
Thanks
Boofo
06-01-2002, 03:52 PM
I have to admit, putting it below the second table does make it looked more evenly spaced. Great suggestion! :)
Originally posted by Rapdis
I LOVE THA EASY WAYS... lol
Thanks alot...
it works however i pasted it before the !-- spacer -->
<table bgcolor="#0E3652" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="https://vborg.vbsupport.ru/images/space.gif" alt=""></td><td width="100%">
<!-- /spacer -->
and now it looks perfect!
Thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.