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
  #32  
Old 04-07-2009, 02:00 AM
valendono valendono is offline
 
Join Date: Feb 2008
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but everyday its only same tag, its not like random forum tag ?
Reply With Quote
  #33  
Old 04-08-2009, 02:04 PM
MindStar MindStar is offline
 
Join Date: Jan 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, nice MOD

I've searched through the options, but but I can't find where to specify "Preferred Tags"

Would you consider changing the Auto-Tagging preferences so that the Auto-Tagger defaults to not auto-tagging every forum?

We have a lot of forums on our board and would rather focus auto-tagging on a couple of key forums that are directly related to the forum, rather than including all the other incidental chat / support forums.

I've hacked my copy of your code to change the excluded_forums to be interpreted as included_forums; forums are not auto-tagged by default, you have to list them in "excluded forums" to have the auto-tagger active in them.

In functions_autotagger.php, edit line 163 to read

Code:
    if (in_array($thread['forumid'], $excludedForums) && !in_array($thread['postuserid'], $excludedUsers))
i.e. remove the ! from if (!in_array
Reply With Quote
  #34  
Old 04-08-2009, 02:52 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@MindStar: the "Preferred Tags" is an option for my mod, located at VB Options > Custom Tag Clouds.

The auto tagging feature is from another mod.... probably Phalanyx's.
Reply With Quote
  #35  
Old 04-08-2009, 08:51 PM
MindStar MindStar is offline
 
Join Date: Jan 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I posted in the wrong mod thread, I meant to post in the Auto Tagger Mod thread.
Reply With Quote
  #36  
Old 10-01-2009, 03:52 PM
godofwar2 godofwar2 is offline
 
Join Date: Oct 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, works fine in VB 3.8.4.
Reply With Quote
  #37  
Old 10-29-2009, 02:42 PM
gmerin gmerin is offline
 
Join Date: Dec 2008
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any ideas on how to limit the usergroups that can see the tag cloud (besides my hacking the code...the Series is consuming my after work availability this week). i'd like to prevent the unregistered masses from reading them until after they register and log in.
Reply With Quote
  #38  
Old 10-29-2009, 08:49 PM
motorola motorola is offline
 
Join Date: May 2009
Location: Romania
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Invalid File Specified when I try to import the forumtagcloud

What happens?
Reply With Quote
  #39  
Old 10-30-2009, 04:27 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@gmerin: limiting tag cloud viewing to certain usergroups is not a feature right now. If more users request it, then I can implement it.
Reply With Quote
  #40  
Old 10-30-2009, 04:35 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@motorola: the forumtagcloud is a VBA plugin file to show the forum tag cloud in VBAdvanced pages. If you want this, then you need to fully follow step #3. To install the mod itself, you need to install the "product" xml file and do steps #1 & 2 above. Remember to click "Install" to receive further help.
Reply With Quote
  #41  
Old 11-01-2009, 05:09 PM
mandingo's Avatar
mandingo mandingo is offline
 
Join Date: Jun 2008
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by motorola View Post
Invalid File Specified when I try to import the forumtagcloud

What happens?
nvrmnd
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 10:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07207 seconds
  • Memory Usage 2,350KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_code
  • (2)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (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
  • 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