Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Global Tag Cloud in Side Bar or Anywhere Details »»
Global Tag Cloud in Side Bar or Anywhere
Version: 1.03, by lafsunlmtd lafsunlmtd is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

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.

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

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>
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.

Comments
  #52  
Old 05-21-2008, 02:49 PM
soundbarrierpro soundbarrierpro is offline
 
Join Date: Nov 2007
Posts: 767
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Baldilocks View Post
Looks great in a sidebar/header template too!!!
Sooo.....can I just add the code to one of my blocks in ultimate side columns? Do you know?
Reply With Quote
  #53  
Old 05-21-2008, 04:01 PM
Baldilocks's Avatar
Baldilocks Baldilocks is offline
 
Join Date: Jan 2008
Location: Delaware, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not sure as I don't use the ultimate side columns.
Reply With Quote
  #54  
Old 05-23-2008, 04:26 PM
Kendothpro Kendothpro is offline
 
Join Date: Sep 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Freshly installed on a 3.7 board..I have written $vbcloud in the templates , for example in the footer, but nothing is shown?
Reply With Quote
  #55  
Old 05-23-2008, 10:05 PM
Baldilocks's Avatar
Baldilocks Baldilocks is offline
 
Join Date: Jan 2008
Location: Delaware, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$vbcloud is the wrong variable.

try $tag_cloud
Reply With Quote
  #56  
Old 05-23-2008, 10:40 PM
mvigod mvigod is offline
 
Join Date: Dec 2001
Location: Jersey
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Baldilocks,
Can you share the header/sidebar code?
Reply With Quote
  #57  
Old 05-23-2008, 10:56 PM
Baldilocks's Avatar
Baldilocks Baldilocks is offline
 
Join Date: Jan 2008
Location: Delaware, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's tied in to the rest of the skin, so I don't know how effective it will be for you. In other words it uses images and gradients from directories on my server to knit everything together.

You could possibly clean it up and use it....

I'll PM it to you.
Reply With Quote
  #58  
Old 05-24-2008, 11:36 AM
Kendothpro Kendothpro is offline
 
Join Date: Sep 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried $tag_cloud but it doesn't work.. Does anyone know how to get the tagclodu to show on VB 3.7?
Reply With Quote
  #59  
Old 05-24-2008, 12:47 PM
Baldilocks's Avatar
Baldilocks Baldilocks is offline
 
Join Date: Jan 2008
Location: Delaware, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use $tag_cloud and it works just fine.
Where are you trying to put it ?
Reply With Quote
  #60  
Old 05-24-2008, 01:04 PM
Kendothpro Kendothpro is offline
 
Join Date: Sep 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I removed all other plugins and it appears to work (with $vbcloud )..thanks
Reply With Quote
  #61  
Old 05-25-2008, 05:26 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, I've imported the product, then put the variable in my sidebar block, yet no tags show. Am I missing something?

EDIT: OK, it works fine with TechGuy's product, thanks! However, I placed the variable in one of my sidebar blocks, and it shows it in another box inside the sidebar box. How do I stop this?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04917 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete