Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Custom Tag Cloud for Forums, Threads, vbAdvanced & Social Groups Details »»
Custom Tag Cloud for Forums, Threads, vbAdvanced & Social Groups
Version: 2.6.0, by vbboarder vbboarder is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 01-13-2009 Last Update: 03-31-2009 Installs: 98
Uses Plugins Auto-Templates
 
No support by the author.

If you only have VB 3.7.x, then download this mod: 2.0 Version (VB 3.7+ required)
This mod adds 8 features to VB?s tag cloud:

NEW FEATURES: Social Group Tag Cloud (VB 3.8.0 or higher required)

1. A tag cloud for social group categories can be displayed anywhere in the site homepage (vbAdvanced) or forum homepage (forumhome). Similar to the forum tag cloud, the social group cloud resides in a collapsible box and the links can be custom styled to draw focus to specific groups (ie: if you have a new group that you want to promote).

2. Both the forum tag cloud and social group cloud can now be positioned in the left, right, or center blocks (download the VBA xml files). In earlier versions, the tag cloud could only be hooked to the adv_portal template.

Version 2.0 features:
1. It allows you to display the tag cloud in forum related pages in any location you want. You can display tag clouds in forumhome, forumdisplay, and showthread, and hook it to any $template_hook or HTML comment. Instead of installing 3 different mods to accomplish this, you can install this mod to do all 3. Plus you can specify if you want to not display the tag cloud in certain pages.

2. It allows you to show the tag cloud in your site?s home page in any location you want if you have vbAdvanced installed (optional).

3. When viewing forumdisplay or showthread (pages listing threads or posts), you can specify custom styles for tags that belong to the active forum or thread being viewed so that users will know which tags are relevant to that forum or thread.

4. It allows you to specify preferred tags that you want to have custom styles so that they will be noticed more. For example, if your site just started a forum about cars with tags like ?Lexus? ?Infinity?, you can specify those tags as preferred to draw attention to the new forum.

5. The tag cloud resides in a collapsible box and has a legend for the custom styles.

6. When viewing a thread (in showthread), this mod will move the thread?s tag box below the tag cloud. The tag box and tag cloud are different: the tag box shows tags specific to its thread, whereas the tag cloud shows tags from all threads. Currently, the tag box is shown at the very bottom of the thread, which can be easily ignored by readers. Moving it next to the tag cloud will make the tag box more visible.

Installation
1. Download the product-forum_vba_tag_clouds.xml file. Go to Manage Products > Add/Import Product, upload that xml file, set ?allow overwrite? to yes, and click Import.

2. Go to VB Options > Forum VBA Tag Clouds to set the tag cloud locations, specify preferred tags & special groups, and set custom tag styles.

3. Optional: to display the tag cloud in vbAdvanced, go to VBA CMPS > Default Settings > Main Options > add to ?Portal Output Global Variables?:
Quote:
tag_cloud
group_cloud
.
If you want the tag clouds to show in the left/ right/ center blocks instead of being hooked to adv_portal: go to VBA CMPS > Download / Upload Modules > in ?Module to Upload?, select ?forumtagcloud.xml? or ?socialgroupstags.xml? (download these files below), and click ?Submit?.

Important: The tag clouds can use 3 different types of hooks. You can read this thread?s 2nd post for further examples, instructions, and tips. If you still do not understand, just use the default hooks ?cause I can not elaborate any further?.

Update:
1. Reimport the new product xml file and allow overwrite.
2. Optional: upload the VBA modules and set ?Portal Output Global Variables? via vbAdvanced AdminCP (read ?Install? instruction #3 above for further details).
3. See the 2nd post for template hook selection tips.

Versions:
2.5.0 Initial VB 3.8 Release.
2.5.5 Optimized code to create tag links. Created preselected hooks for forumhome.
2.6.0 Fixed a potential conflict with other mods.

Notes:
1. I read all posts for this mod so feel free to post any comments or suggestions.
2. You will be notified by e-mail for future updates if you click ?Marked as Installed.? If you find this mod useful, remember to click ?Nominate for MOTM.?

Things to notice about the tag cloud screenshots:
1. Tag clouds are in ?what?s going on box? in forumhome (you can move it anywhere you want).
2. Button to collapse the tag cloud & tag legend are at the right corner.
3. ?Uploaded? is styled red because it?s set as a preferred tag.
4. ?Hobbies? is styled lime because it?s set as a special group.
5. ?Test? & ?xml? are styled aqua because they are active/ present in the thread being viewed (for a forum, all tags in its threads will be custom styled).

Download Now

File Type: xml forumtagcloud.xml (502 Bytes, 481 views)
File Type: xml socialgroupstags.xml (507 Bytes, 249 views)
File Type: xml product-forum_vba_tag_clouds.xml (17.9 KB, 285 views)

Screenshots

File Type: jpg sitehome.jpg (72.6 KB, 0 views)
File Type: jpg forumhome.jpg (50.3 KB, 0 views)
File Type: jpg showthread.jpg (57.4 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
mohammadxxx

Comments
  #2  
Old 01-14-2009, 01:07 AM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Template Hook Selection Tips:
1. You can find and place hooks in adv_portal, FORUMHOME, FORUMDISPLAY, & SHOWTHREAD templates. The hook must be $navbar, $template_hook, or a HTML comment (ie: $template_hook[place] or <!-- comment -->).

Example: This means that you go the VB Styles > Edit Templates > then review either the adv_portal (for vbAdvanced), FORUMHOME, FORUMDISPLAY (for pages listing threads), or SHOWTHREAD (for pages listing posts) for hooks that you can use.
As stated, the hook must be $navbar or something that starts with “$template_hook” or an html comment (which starts with <!-- and ends with -->). Examples are: $template_hook[forumhome_wgo_pos1] and <!-- what's going on box --> These are forumhome hooks so they won't work in the other pages (you must select different hooks for those pages).

2. If you set the hook to a nonexistent $template_hook or HTML comment, then the tag cloud will not show. Also, if you don’t specify a hook location then it will not show.
3. If you set the hook to a nonvalid value (ie: $test, test, <td>, etc.), then the tag cloud will show below the navbar by default.
4. If the hook occurs multiple times within the template, then the tag cloud will also appear multiple times.
5. If you’re familiar with the template, you can add your own $template_hook or HTML comment to place the tag cloud where you want.

6. The tag cloud will not show if you choose a hook located within an <if> condition that evaluates to false.
7. Hooks located in a table must be located within a <td> cell, otherwise the table layout may be messed up. Caution: forumhome’s template hooks are not located in <td> cells.
8. Hooking the tag cloud in the middle of a form can potentially disable the form. For example, in SHOWTHREAD if you use <!-- controls above postbits --> as a hook, then the inline moderation & tag editing will not function!
Reply With Quote
  #3  
Old 01-14-2009, 01:22 AM
yingzhou's Avatar
yingzhou yingzhou is offline
 
Join Date: Oct 2006
Location: Ho Chi Minh
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to display tag cloud in the bottom of Forum home, which one I have download? Will this support to 3.7.5 version?
Reply With Quote
  #4  
Old 01-14-2009, 01:28 AM
Rene Kriest Rene Kriest is offline
 
Join Date: Jun 2008
Location: Germany ./. Reality
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yingzhou View Post
Will this support to 3.7.5 version?
Well this is the 3.8 section...
Reply With Quote
  #5  
Old 01-14-2009, 01:36 AM
yingzhou's Avatar
yingzhou yingzhou is offline
 
Join Date: Oct 2006
Location: Ho Chi Minh
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will try it for 3.7.5. Thanks.
Reply With Quote
  #6  
Old 01-14-2009, 01:46 AM
alqloob alsahya alqloob alsahya is offline
 
Join Date: Dec 2006
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank"s man good jop
Reply With Quote
  #7  
Old 01-14-2009, 04:32 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yingzhou View Post
I want to display tag cloud in the bottom of Forum home, which one I have download? Will this support to 3.7.5 version?
You need to download the 3.7.x version, which does not have the social groups cloud:
https://vborg.vbsupport.ru/showthread.php?t=190759
Reply With Quote
  #8  
Old 01-21-2009, 10:09 AM
dmknights dmknights is offline
 
Join Date: Jul 2007
Location: UK
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this may sound silly, but what is a tag cloud actually for?
Reply With Quote
  #9  
Old 01-21-2009, 10:36 AM
unknownix unknownix is offline
 
Join Date: Jan 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you. installed :P
Reply With Quote
  #10  
Old 01-29-2009, 08:20 AM
PtitLu's Avatar
PtitLu PtitLu is offline
 
Join Date: Feb 2007
Location: France
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a weird problem with this mod. The tag cloud is perfect on the forum home & in the forums. But in the thread, all the tags have the same size.
Here are two screenshots, one in a forum and the second, in the thread. Did anyone have this problem ?
Attached Images
File Type: jpg tag-cloud-problem-01.jpg (50.2 KB, 0 views)
File Type: jpg tag-cloud-problem-02.jpg (53.4 KB, 0 views)
Reply With Quote
Reply


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 02:09 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.08883 seconds
  • Memory Usage 2,346KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete