vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Toplist Random Site Module for Left or Right vBa column (https://vborg.vbsupport.ru/showthread.php?t=103965)

Impreza04 12-28-2005 10:00 PM

Toplist Random Site Module for Left or Right vBa column
 
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

HTML Code:

  <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: 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!


All times are GMT. The time now is 04:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01039 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete