PDA

View Full Version : "Thread Information" In A Table On Top Of The Showthread


organik81
09-04-2005, 10:00 PM
With this small modification, you can add some thread informations (title, vews, replies ...) at top pf the thread page.. I put a screenshot below...

- In SHOWTHREAD template find ;
$navbar
Add below ;
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>

<td class="tcat"><span class="smallfont"><b><center>Thread Informations</center></b></span></td></tr>

<tr valign="middle"><td class="alt1">
<br />
<center><h3>$thread[title]</h3>
<h4>$vbphrase[views] : $thread[views]</h2>
<b>$vbphrase[replies] : $thread[replycount]</b><br /><br />
<b>Users Viewing This Thread : $activeusers</b></center>
</td>
</tr>
</table>
<br />

And make these settings below ;

- vBulletin Options >> Server Settings and Optimization Options >> Update Thread Views Immediately >> Yes

- vBulletin Options >> Thread Display Options (showthread) >> Show Users Browsing Threads >> Yes

guv2000
09-04-2005, 11:21 PM
Cool ; different idea.. just installed. Thanx ;)

turksengel
09-05-2005, 05:14 AM
yea thx a lot :) clicked install

HaYLaZ
09-05-2005, 09:51 AM
thanks organik kardeşim:D

Tony G
09-05-2005, 11:36 AM
Thank you for sharing your mod. Could you please also attach your instructions in a .txt file? Thank you.

organik81
09-05-2005, 06:22 PM
Could you please also attach your instructions in a .txt file? Thank you.
O.K.. I added... :squareeyed:

mikehawk
11-22-2005, 12:06 AM
Ohhh.. I wish this was Big Title hack... like vbulletin.org used to have.

Good work though.

cbr929rrerion
11-24-2005, 09:35 PM
I have the big title hack I think.. Forget where I found it.. but it shows thread title really big and shows replies and views too

Patria
11-24-2005, 10:02 PM
The thread title on the top is enough information for me but thank you for the suggestion. :)

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b><center>$vbphrase[thread]</center></b></span></td></tr>
<tr valign="middle"><td class="alt1">
<br />
<center><h3>$thread[title]</h3>
</center>
</td>
</tr>
</table>
<br />

KubiNetCafe
12-03-2005, 11:32 PM
Thank You For Sharing This

GuaRRand
12-30-2005, 07:47 AM
HOw can i change the fontsizes etc??
(sorry, not that big on codig myself :P )

GuaRRand
12-30-2005, 08:38 AM
nvm, got it...

The <h2> etc.. :P

firstrebel
12-30-2005, 10:23 AM
Nice *clicks install*

Bob

sistem73
02-17-2006, 09:04 PM
thanks sağol adamım

Zowners
03-08-2006, 08:56 PM
To get just a thread title like I did here: http://www.computercreators.com/showthread.php?t=448

Find:
$navbar

Add After


<center><h1>$thread[title]</h1></center>

silurius
03-16-2006, 10:19 PM
Great idea! Can someone help me with the syntax for using an <if> statement to make this only show up for a particular forum?

Freesteyelz
03-16-2006, 10:52 PM
Try something like this:


<if condition="in_array($forumid, array(x, y, z))">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>

<td class="tcat"><span class="smallfont"><b><center>Thread Informations</center></b></span></td></tr>

<tr valign="middle"><td class="alt1">
<br />
<center><h3>$thread[title]</h3>
<h4>$vbphrase[views] : $thread[views]</h2>
<b>$vbphrase[replies] : $thread[replycount]</b><br /><br />
<b>Users Viewing This Thread : $activeusers</b></center>
</td>
</tr>
</table>
<br />
</if>


I placed an "array" in case you wanted to add more forums. Where "x", "y" and "z" just replace them with the forumids. See if that works.

silurius
03-16-2006, 11:40 PM
Works like a charm. Needed that for a few other hacks as well, so thank you very much!

Freesteyelz
03-16-2006, 11:54 PM
Glad to have helped. :)