The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Toplist Random Site vBadvanced Module Details »» | |||||||||||||||||||||||||
Toplist Random Site Module
For vBadvanced Developer: derekivey Version: 1.0.4 vBulletin Version: 3.5.4 File Edits: 0 Template Edits: 0 New Templates: 1 Phrases: 0 (uses the Toplist phrases) Difficulty: Easy Description: This module adds a Random Site block on your vBadvanced CMPS, that shows a random site from your Toplist (just like on the Toplist itself). NOTE: You must have my Toplist hack installed to use this module. You can get it in the vBulletin.org thread located here: https://vborg.vbsupport.ru/showthread.php?t=98646 Changelog Version 1.0.4
Please click If you installed this hack. Thanks! Supporters / CoAuthors Show Your Support
|
Comments |
#52
|
|||
|
|||
Thanks for sharing! . I'm sure tons of people will appeciate this, especially if they have many center blocks.
Derek |
#53
|
|||
|
|||
No probs. great hack
|
#54
|
|||
|
|||
nice work jaks just need to clean the code up a bit so its html complaint.... hope derek makes the one i was talkin to him in pm about...
|
#55
|
|||
|
|||
Thanks for pointing that out DementedMindz I found the errors that made it not comply with W3C. A couple unclosed tags and some missing alt tags. It's now 100% W3C Transitional Compliant.
I fixed the template and editted the toplist module php file. Here is the fixed template. Just switch my links for yours. I added an extra link that goes to the toplist main page at the bottom of the template aswell. Code:
<tr><td class="thead" colspan="3">$vbphrase[toplist_site_name_and_description]</td></tr><tr><td class="alt1" colspan="3"><a href="$vboptions[bburl]/out.php?id=$randsite[id]" target="_BLANK">$randsite[name]</a><br />$randsite[description]<br /><center>$image</center></td></tr> <tr align="center"> <td class="thead" width="20">$vbphrase[toplist_rank]</td> <td class="thead" width="30">$vbphrase[toplist_in]</td> <td class="thead" width="30">$vbphrase[toplist_out]</td> </tr><tr align="center"> <td class="alt2">$rand_rank</td> <td class="alt1" width="30">$randsite[in]</td> <td class="alt2" width="30">$randsite[out]</td></tr><tr align="center"><td class="thead" width="100%" colspan="3">$vbphrase[toplist_rating]</td> </tr> <if condition="$num_rows >= 1"> <tr align="center"> <td class="alt1" width="100%" colspan="3"> <if condition="$randsite[rating_average] == 0"> $vbphrase[toplist_not_rated] <else /> <img alt="" 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> </td> </tr> <else /> <tr> <td class="alt1">$vbphrase[toplist_none]</td> </tr> </if> <tr align="center"> <td class="thead" colspan="3"><b><a title="add an unusual website" href="http://www.trulyunusual.com/wards/add_site.php"><font color="gold">Add An Unusual Website</font></a></b><br /> <a title="add an unusual website" href="http://www.trulyunusual.com/wards/toplist.php"><font color="gold">Top Unusual Websites</font></a> </td> </tr> Since this is the toplist_random_site.php file I guess everyone using this the VBA toplist module needs to add these missing alt tags whether or not you used the side template or not. Might want to update the download. |
#56
|
||||
|
||||
Will this work with 1.0.8??
|
#57
|
|||
|
|||
Hi,
I'm not sure. I don't have vBadvanced installed right now so I can't say for sure. It probably needs updated though, I will have to look when I get some time. Thanks, Derek |
#58
|
|||
|
|||
Version 1.0.4 has been released. It is now compatible with the latest version of my Toplist hack.
Please let me know if you have any problems with it. Thanks, Derek |
#59
|
|||
|
|||
question would there be any way to make it show the top 10 links or say have it scroll the links as i dont use the buttons feature... basiclly have it grab there site name and have it when they highlight over it they will get a link to the site or the redirect?
|
#60
|
|||
|
|||
Thats currently not a feature, but I will see about adding it.
|
#61
|
|||
|
|||
yeah that would be a nice feature on this and toplist since alot of users dont use buttons they only use huge banners or links...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|