Version: 1.03, by lafsunlmtd
Developer Last Online: Jul 2013
Category: Miscellaneous Hacks -
Version: 3.7.x
Rating:
Released: 04-27-2008
Last Update: 07-16-2008
Installs: 139
Uses Plugins Template Edits
Re-useable Code Translations
No support by the author.
What this plugin does
This plugin lets you call the tag cloud on any page. We wanted a tag cloud in a side column on our forum, and also the freedom to call it from within any template.
1. Login in to the AdminCP -> Plugins and Products -> Manage Products
2. Click the Add/Import Product link at the bottom of the page and browse to the plugin's xml file.
3. Add the following variable where ever you want the tag cloud to appear:
Code:
$vbcloud
4. If you want to display just the cloud (i.e. without the category) open up the tag_cloud_search template and replace everything with the code below:
Version Information: 1.01 -- Updated to make compatible with Vbulletin Blog
1.02 -- Script rewrite. Fixed time stamp issue, blog issue and other minor problems. 1.03
Now returns the most popular tags as opposed to the most searched for tags.
Some minor optimizations made.
Instructions revised (uses tag_cloud_box template instead of tag_cloud_search)
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Hi! What side bar you use? And will it work with vBadvanced?
Yes and no. This is a great tag cloud but I'm looking for how URLs are generated because vb advanced pages will use the wrong url. It must be hardcoded base. Not vb advanced's fault at all.
To remove the phrase, simply go to admincp>>styles & templates>>style manager>>tag templates>>tag_cloud_box and then remove the phrase (remove from <phrase> to </phrase>) and you'll be set.
Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in [path]/includes/init.php(304) : eval()'d code on line 16
....when tags tried to be added automatically. Any idea as to why?
The addon works great but I am having one small problem. Every tag is the same font size in the cloud. How do I get it to show different font sizes/weight? In the vBulletin Options, I have Tag Cloud: Number of Levels set to the default (5).
Update: I created a new style and added the tag cloud to that. Even on that, it still sets the sizes of all of the tags to the same size. I verified that the css for these are indeed included but it will only call "level2" even those the max level is set to 5. I changed the level 2 font size from 'small' to 'xx-large' and it did change it to xx-large font, but again...for each tag.
So why is it not randomizing the font sizes for each tag?!