Log in

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


Impreza04
12-28-2005, 10:00 PM
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=$vbopti ons[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: https://vborg.vbsupport.ru/showthread.php?t=98646
Topist vBa Module: https://vborg.vbsupport.ru/showthread.php?t=101302

Versions
1.0.0: Release

Thanks to derekivey for the Toplist and the original module

Allan
12-29-2005, 04:22 PM
Thanks :)

Click Install

klaush
12-29-2005, 04:46 PM
Merci! :-)

Snake
12-31-2005, 12:59 PM
Wow this is awesome!