The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Threa title on the top of the page
Hey there...
I've noticed in this forum when open any threa, you find on the top of the page the name of the thread in a larg font. And this is very cute :classic: How can I do such thing??? thank you in advance |
#2
|
||||
|
||||
you dont need a hack.. it's a simple template modification.. Modify your relevant template and put your thread title between
<font size="5"><b>Titlevariable</b></font> tags.. |
#3
|
|||
|
|||
Thank you Logician so much...
I did what you told me, unfortunatily, I couldn't get rid of the forums name as well as other extensions. So, How can I get rid of those and just make the thread title there??? I have found that variable in navbar template. So, any help in that??? |
#4
|
||||
|
||||
sorry my bad. I think it requires hacking. Anyway here you go:
1- Edit your showthread.php and find: -- cut -- $threadid = intval($threadid); $thread = verifyid("thread",$threadid,1,1); -- cut -- After that add: -- cut -- $logtitle=$thread['title']; -- cut -- 2- Edit template "showthread", find: -- cut -- <!-- breadcrumb, nav links --> <table cellpadding="2" cellspacing="0" border="0" width="100%" align="center"> <tr> <td>$navbar</td> $ratingdisplay </tr> </table> -- cut-- After that add: -- cut-- <table cellpadding="2" cellspacing="0" border="0" width="100%" align="center"> <tr> <td><h2><div align="center">$logtitle</div><h2></td> </tr></table> -- cut --- (Alternative: replace "$navbar" with "$logtitle") That's it.. Enjoy.. |
#5
|
|||
|
|||
Sorry LogicianI tried this but nothing happened
I did everything you told me but when I go to any thread it shows nothing on the top. Just the table when I make the border = 1 Maybe you forgot to mention something. I'm sure you did it and I DO appreciate your help to me, but would you mind helping me a little more |
#6
|
||||
|
||||
Quote:
$threadid = intval($threadid); $thread = verifyid("thread",$threadid,1,1); lines in showthread.php Add the line BEFORE: if ($wordwrap!=0) { line.. This should work.. This hack is tested and sure it's running! |
#7
|
||||
|
||||
This does not require a single line of hacking logician
midad just use this. place it in your showthread template whereever you want it to show up. PHP Code:
|
#8
|
||||
|
||||
Quote:
But this is not working.. It gives an error and I think it's because "eval" command does not like "$thread[title]" array, dont know.. Anyway hack is working for sure.. |
#9
|
||||
|
||||
This is not a hack and it will work perfectly with all versions Like mine, this sites and so on.
|
#10
|
||||
|
||||
i've had this working on my forums for a few months now,
just with the template change that neo indicated. so. yeah! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|