The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Global Tag Cloud in Side Bar or Anywhere Details »» | |||||||||||||||||||||||||||
Global Tag Cloud in Side Bar or Anywhere
Developer Last Online: Jul 2013
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. Live Demo You can view the plugin in action on AdminFusion Installation Instructions 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 Code:
<if condition="THIS_SCRIPT != tags"> $cloud[links] <else /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"> <div class="smallfont" style="float:$stylevar[right]"><phrase 1="$cloud[count]">$vbphrase[these_are_the_x_most_used_thread_tags]</phrase></div> $vbphrase[tag_cloud] </td> </tr> <tr> <td class="alt1" style="text-align:justify">$cloud[links]</td> </tr> </table> </if> 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. Show Your Support
|
Comments |
#12
|
||||
|
||||
Please add the function to show only forum specific tags are shown. i.e. tags that are used in the forum that the tag cloud is in. That would have a very nice effect on SEO.
|
#13
|
|||
|
|||
I already have Ultimate Side Columns implemented. Can I add this code to one of the side column blocks in ACP? Will it still work?
|
#14
|
||||
|
||||
i have been using this plugin and i like it much, but it is not compatible with the vbulletin-blog add-on.
here is the copy of the error message: PHP Code:
|
#15
|
|||
|
|||
am looking into vb-blog compatability
|
#16
|
|||
|
|||
HERE IS THE FIX FOR VB BLOGS
ok i though i would share this but for everyone getting the error when you go to view blogs this is what you need to do to fix that go to plugin manager look for Cloud > Global Start then replace everything with : HTML Code:
if (THIS_SCRIPT == 'blog' OR THIS_SCRIPT == 'blog_usercp' OR THIS_SCRIPT == 'blog_subscription' OR THIS_SCRIPT == 'blog_search' OR THIS_SCRIPT == 'blog_search' OR THIS_SCRIPT == 'blog_report' OR THIS_SCRIPT == 'blog_post' OR THIS_SCRIPT == 'blog-newattachment' OR THIS_SCRIPT == 'blog_inlinemod' OR THIS_SCRIPT == 'blog_callback' OR THIS_SCRIPT == 'blog_attachment' OR THIS_SCRIPT == 'blog_ajax' OR THIS_SCRIPT == 'blog_external') { } else { $vbulletin->datastore->fetch(array('tagcloud')); $vbulletin->templatecache['tag_cloud_box'] = str_replace('$vbphrase[tag_cloud]', 'Tag Cloud', $vbulletin->templatecache['tag_cloud_box']); require_once(DIR . '/includes/functions_search.php'); $tag_cloud = fetch_tagcloud('usage'); if ($tag_cloud) { eval('$headinclude .= "' . fetch_template('tag_cloud_headinclude') . '";'); } } remember to make a txt copy of what was there before you change it although the only thing that i did was added a if command to make it so it wont run the product on the blog page the creator of this mod should edit the files so that this is built into the mod since you really dont need a cloud in the blogs anyways hope that helps people enjoy |
#17
|
||||
|
||||
Thanks! Installing now
|
#18
|
||||
|
||||
OK I got it to work, but I can't see the text because it is too light of a color. How can I change the color so it's readable?
Thanks! |
#19
|
|||
|
|||
A quick fix would be to make a new class with whichever color you want links to be (presumably the same as your forum links) and just apply a div around the $tag_cloud with that class.
After looking at your forum a better idea would be to follow step number 4 in the mod instructions where you replace tag_cloud_box with that code and make your own sidebar block instead of using the mod's code so that it will follow your css. |
#20
|
|||
|
|||
ok updated with vb blog compatibility. Thanks for the quick code fix
|
#21
|
|||
|
|||
Works as expected.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|