HOW TO: Making some changes

MindBuster

2[H]4U
Joined
Jan 6, 2002
Messages
3,115
How to make some changes people have been asking about.

Changing thread preview.
Adding thread starter column and remove threadstarter from below actual threadlink.
Removing "Threads in forum: blablabla" text.

All changes to be applied from admin control panel in the templates.
_________________________________________
Changing thread preview (java popup) from threadview to only show when hovering over the actual threadlink, not when pointing anywhere on the screen:

Edit threadbit template:

Find and REMOVE the text in red:

<td class="alt1Active" id="t$thread[threadid]" title="$thread[preview]">

Find and ADD the text in red (also in threadbit):

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread" title="$thread[preview]">

An example can be seen here...
http://forums.hitman2.net/forumdisplay.php?f=14
(Just hover the mouse over the threadlinks and the preview popup shows, not when pointing anywhere else)
__________________________________________

Removing the "Threads in forum" and "Thread starter" and adding a thread starter column:

Removing the "Threads in forum" text:
Edit the FORUMDISPLAY template and REMOVE the code in red. It may be beneficial to add the code in blue.
<td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal">: $foruminfo[title]</span>&nbsp;</td>

Removing the "thread starter" text:
Edit the FORUMDISPLAY template, find and REMOVE the code in red:
<a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a>$sortarrow[title] /<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a>$sortarrow[postusername]
</td>

Adding a thread starter column and remove the thread starter from below actual thread link:
Read this thread over at vbulletin.com, read Jake Bunce's second post in this thread...
http://www.vbulletin.com/forum/showthread.php?t=97655

An example can be seen here:
http://forums.hitman2.net/forumdisplay.php?f=14

______________________________________________
 
That was already taken care of, but thanks.
 
Back
Top