![]() |
Custom Tag Cloud for Forums, Threads, vbAdvanced & Social Groups
1 Attachment(s)
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:
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). |
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! |
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?
|
Quote:
|
I will try it for 3.7.5. Thanks. :D
|
thank"s man good jop :)
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=190759 |
this may sound silly, but what is a tag cloud actually for?
|
thank you. installed :P
|
1 Attachment(s)
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 ? |
Quote:
If it's there, then your custom CSS style in this mod's settings may be conflicting with VB's tag cloud CSS. Try a simple style like: style="color: red" If it's not there, then your custom template modifications or another mod may be replacing that template with another one - try reverting the showthread template and see if the problem persists. |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=199100 is guilty :D I now have to try to correct it because i need this image resizer. Thanks for the tip. |
New version 2.5.5: Optimized code to create tag links. Created preselected hooks for forumhome.
This is not a critical update, but it will speed up creating tag links a little. Also, if you are having trouble selecting hooks for the tag clouds in forumhome, you should update since preselected hooks are now included for forumhome. |
This is going to sound really stupid since I had this working before without a hitch...but..
If I want this in a vba sideblock which one do I download now? Also in showthread & forumdisplay will it still show the different tags? Thanks :o |
Quote:
Active tags will still be highlighted in showthread & forumdisplay. |
haha I knew it was going to be some very easy answer. :)
I need all 3 even if I don't want anything on forumhoome? |
Quote:
|
Hello vbboarder,
Thank you for the modification. I was wondering though what it would take to make this work at the footer of the board, and thus throughout the entire site. I want to remake my footer into a Wordpress-like theme so that say I have links in the left column, tags in the middle column, and the copyright info in the right column. Thank you in advance for any recommendations you may lend, -TT |
is there a way to exclude certain words?
some clever users think it's funny to add a dumb tag to every post so it's huge on the main page. it's funny but i still want the control of a tyrant. thx :D |
Quote:
|
Quote:
|
Quote:
|
I am running VB 3.8.1 and am not able to find where to activate the tags for Social Groups... I am also still pretty new to the app. Any help here would be greatly appreciated! :)
|
Quote:
2. add social groups to those categories by editing each group 3. go to VB Options > tag cloud (forum vba groups) > select your preferred location for the group tag cloud in forumhome, and if you use vbAdvanced, specify the template hook for the group tag cloud in VBA or upload the socialgroupstags.xml via VBA CMPS > add module (see 1st post for detailed install info). |
Quote:
|
Quote:
i understand if you don't implement it but maybe you can help me make the modification to my code. thanks again for your reply! |
Outstanding Mod - and installed.
Apologies upfront if this question falls below par intellectually but... how can I resize the tags? Some of the most popular tags come up just a bit too large for my liking so I'd like to reduce their size. Thanks for help upfront. |
Quote:
Quote:
Quote:
Quote:
|
Just what I was looking for.
EDIT - I'm trying to import the forumtagcloud.xml, but get an error saying that this is an invalid file? Edit - nevr mind, the code for this breaks my xhtml validation. GREAT mod tho! :) |
Updated: version 2.6.0 was just released. Fixed a potential conflict with other mods. You do not need to reinstall the VBA modules if you’re using them. It is recommended that you install this update.
|
but everyday its only same tag, its not like random forum tag ?
|
Hi, nice MOD :)
I've searched through the options, but but I can't find where to specify "Preferred Tags" :confused: 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)) |
@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. |
Sorry, I posted in the wrong mod thread, I meant to post in the Auto Tagger Mod thread.
|
Thanks, works fine in VB 3.8.4.
|
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.
|
Invalid File Specified when I try to import the forumtagcloud
What happens? |
@gmerin: limiting tag cloud viewing to certain usergroups is not a feature right now. If more users request it, then I can implement it.
|
@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.
|
Quote:
|
All times are GMT. The time now is 04: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|