PDA

View Full Version : Toplist Random Site Module for Left or Right vBa column


Impreza04
29 Dec 2005, 15:56
This is a modification of derekivey's vBa module for use in the left or right columns.. The module is much simpler

Simple to do:

Edit template "adv_portal_toplist_random_site"

and replace the everything with

<tr>
<td align="center" class="alt1">$image</td>
</tr>
<tr>
<td align="center" class="thead"><a href="$vboptions[bburl]/out.php?id=$randsite[id]" target="_blank">$randsite[name]</a></td>
</tr>
<tr>
<td align="center" class="alt1"><if condition="$randsite[rating_average] == 0">
$vbphrase[toplist_not_rated]
<else />
<img src="$vboptions[bburl]/images/rating/toplist_rating_$rand_rating.gif">
<br />
$randsite[votes]
<if condition="$randsite[votes] == 1">
$vbphrase[toplist_vote]
<else />
$vbphrase[toplist_votes]
</if>
</if>
<if condition="!$show[guest]">
<br />
<a href="#" onClick="javascript:window.open('$vboptions[bburl]/toplist.php?do=rate&id=$randsite[id]','rate_site','menubar=0,resizable=1,width=$vboptions[toplist_popup_width],height=$vboptions[toplist_popup_height]');return false;">$vbphrase[toplist_rate_site]</a>
</if><br /><strong>In:</strong> $randsite[in]&nbsp;&nbsp;&nbsp;<strong>Out:</strong> $randsite[out]</td>
</tr>

Requires
Toplist Hack: http://www.vbulletin.org/forum/showthread.php?t=98646
Topist vBa Module: http://www.vbulletin.org/forum/showthread.php?t=101302

Versions
1.0.0: Release

Thanks to derekivey for the Toplist and the original module

Allan
29 Dec 2005, 17:22
Thanks :)

Click Install

klaush
29 Dec 2005, 17:46
Merci! :-)

Snake
31 Dec 2005, 13:59
Wow this is awesome!