Yo folx,
recently i found a nice effect on UBB, thought it might be cool to have that one on vB either.
Version: 0.9.1
What it does:
When you hover over any Forum, Thread or Post (as well as Last Poster etc.), the color of the table changes as you desire and goes back to default (or any other color you set) when moving out of that field.
Also, on the Forum and Thread Fields, you may just click inside the table and you'll be routed to the proper Forum/Thread without actually hitting the original link.
Example: Click here to see in action
How-To:
Note: Remove all spaces between the brackets and the variable names of { timecolor } , { firstaltcolor } and { secondaltcolor } . I had to seperate them because otherwise you'd see the colors used by this vbulletin.
Step 1: Add 2 new Replacement Variables:
Name: {firstalthovercolor}
Value: #colorcode
Name: {secondalthovercolor}
Value: #colorcode
Step 2: Edit template "forumdisplaybit"
**find
**replace with
**find
**replace with
**find
**replace with
**find
**replace with
Still with me? Good
Step 3: Edit template "forumdisplay_forumbit_level1_post"
**find
**replace with
**find
**replace with
Step 4: Edit template "forumdisplay_forumbit_level2_post"
**find
**replace with
**find
**replace with
Step 5: Edit template "forumhome_forumbit_level1_post"
**find
**replace with
**find
**replace with
Step 6: Edit template "forumhome_forumbit_level2_post"
**find
**replace with
**find
**replace with
That's all folks!
There may be much more simpler ways to accomplish this, unfortunately i dunno of any
You got to deal either with this, or make something up yourself.
If you have amendmends or found bugs, please let me know.
Enjoy
recently i found a nice effect on UBB, thought it might be cool to have that one on vB either.
Version: 0.9.1
What it does:
When you hover over any Forum, Thread or Post (as well as Last Poster etc.), the color of the table changes as you desire and goes back to default (or any other color you set) when moving out of that field.
Also, on the Forum and Thread Fields, you may just click inside the table and you'll be routed to the proper Forum/Thread without actually hitting the original link.
Example: Click here to see in action
How-To:
Note: Remove all spaces between the brackets and the variable names of { timecolor } , { firstaltcolor } and { secondaltcolor } . I had to seperate them because otherwise you'd see the colors used by this vbulletin.
Step 1: Add 2 new Replacement Variables:
Name: {firstalthovercolor}
Value: #colorcode
Name: {secondalthovercolor}
Value: #colorcode
Step 2: Edit template "forumdisplaybit"
**find
PHP Code:
<td bgcolor="{ firstaltcolor }" align="left" width="70%"><normalfont>$thread[gotonew] $paperclip$thread[movedprefix]$thread[typeprefix]<a href="showthread.php3?s=$session[sessionhash]&threadid=$thread[threadid]">$thread[title]</a></normalfont> <smallfont>$thread[pagenav]</smallfont></td>
PHP Code:
<td bgcolor="{ firstaltcolor }" align="left" width="70%" onMouseOver="this.style.backgroundColor='{secondalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{firstalthovercolor}';"
onclick="window.location.href='showthread.php3?s=$session[sessionhash]&threadid=$thread[threadid]'"><normalfont>$thread[gotonew] $paperclip$thread[movedprefix]$thread[typeprefix]<a href="showthread.php3?s=$session[sessionhash]&threadid=$thread[threadid]">$thread[title]</a></normalfont> <smallfont>$thread[pagenav]</smallfont></td>
PHP Code:
<td bgcolor="{ secondaltcolor }" width="30%" nowrap><normalfont>$thread[postedby]</normalfont></td>
PHP Code:
<td bgcolor="{ secondaltcolor }" width="30%" nowrap onMouseOver="this.style.backgroundColor='{firstalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{secondalthovercolor}';"><normalfont>$thread[postedby]</normalfont></td>
PHP Code:
<td bgcolor="{ firstaltcolor }"><normalfont><a href="javascript:who($thread[threadid])">$thread[replycount]</a></normalfont></td>
PHP Code:
<td bgcolor="{ firstaltcolor }" onMouseOver="this.style.backgroundColor='{secondalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{firstalthovercolor}';"><normalfont><a href="javascript:who($thread[threadid])">$thread[replycount]</a></normalfont></td>
PHP Code:
$threadrating
<td bgcolor="$backcolor">
PHP Code:
$threadrating
<td bgcolor="$backcolor" onMouseOver="this.style.backgroundColor='{firstalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{secondalthovercolor}';"
Still with me? Good
Step 3: Edit template "forumdisplay_forumbit_level1_post"
**find
PHP Code:
<td bgcolor="{ firstaltcolor }" align="left" valign="top" colspan="2">
PHP Code:
<td bgcolor="{ firstaltcolor }" align="left" valign="top" colspan="2" onMouseOver="this.style.backgroundColor='{secondalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{firstalthovercolor}';"
onclick="window.location.href='forumdisplay.php3?s=$session[sessionhash]&forumid=$forum[forumid]'">
PHP Code:
<td bgcolor="{ secondaltcolor }"><smallfont>$forum[lastpostinfo]</smallfont></td>
PHP Code:
<td bgcolor="{ secondaltcolor }" onMouseOver="this.style.backgroundColor='{firstalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{secondalthovercolor}';"><smallfont>$forum[lastpostinfo]</smallfont></td>
Step 4: Edit template "forumdisplay_forumbit_level2_post"
**find
PHP Code:
<td bgcolor="{ firstaltcolor }" align="left"><a href="forumdisplay.php3?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
<br><smallfont>$forum[description]</smallfont></td>
PHP Code:
<td bgcolor="{ firstaltcolor }" align="left" onMouseOver="this.style.backgroundColor='{secondalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{firstalthovercolor}';"
onclick="window.location.href='forumdisplay.php3?s=$session[sessionhash]&forumid=$forum[forumid]'"><a href="forumdisplay.php3?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
<br><smallfont>$forum[description]</smallfont></td>
PHP Code:
<td bgcolor="{ secondaltcolor }"><smallfont>$forum[lastpostinfo]</smallfont></td>
PHP Code:
<td bgcolor="{ secondaltcolor }" onMouseOver="this.style.backgroundColor='{firstalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{secondalthovercolor}';"><smallfont>$forum[lastpostinfo]</smallfont></td>
Step 5: Edit template "forumhome_forumbit_level1_post"
**find
PHP Code:
<tr align="center">
<td bgcolor="{ firstaltcolor }" colspan="2" align="left">
PHP Code:
<tr align="center">
<td bgcolor="{ firstaltcolor }" colspan="2" align="left" onMouseOver="this.style.backgroundColor='{secondalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{firstalthovercolor}';"
onclick="window.location.href='forumdisplay.php3?s=$session[sessionhash]&forumid=$forum[forumid]'">
PHP Code:
<td bgcolor="{ secondaltcolor }"><smallfont>$forum[lastpostinfo]</smallfont></td>
PHP Code:
<td bgcolor="{ secondaltcolor }" onMouseOver="this.style.backgroundColor='{firstalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{secondalthovercolor}';"><smallfont>$forum[lastpostinfo]</smallfont></td>
Step 6: Edit template "forumhome_forumbit_level2_post"
**find
PHP Code:
<td bgcolor="{ firstaltcolor }" align="left"><a href="forumdisplay.php3?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
<br><smallfont>$forum[description]</smallfont></td>
PHP Code:
<td bgcolor="{ firstaltcolor }" align="left" onMouseOver="this.style.backgroundColor='{secondalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{firstalthovercolor}';"
onclick="window.location.href='forumdisplay.php3?s=$session[sessionhash]&forumid=$forum[forumid]'"><a href="forumdisplay.php3?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
<br><smallfont>$forum[description]</smallfont></td>
PHP Code:
<td bgcolor="{ secondaltcolor }"><smallfont>$forum[lastpostinfo]</smallfont></td>
PHP Code:
<td bgcolor="{ secondaltcolor }" onMouseOver="this.style.backgroundColor='{firstalthovercolor}'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='{secondalthovercolor}';"><smallfont>$forum[lastpostinfo]</smallfont></td>
That's all folks!
There may be much more simpler ways to accomplish this, unfortunately i dunno of any
You got to deal either with this, or make something up yourself.
If you have amendmends or found bugs, please let me know.
Enjoy
Comment