Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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
  #12  
Old 01-29-2009, 03:33 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 PtitLu View Post
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 ?
The template that controls the size of the tags is tag_cloud_headinclude, which is a default VB template that's used by this mod. Check to see if you have that template included in your page source.
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.
Reply With Quote
  #13  
Old 01-29-2009, 09:13 PM
PtitLu's Avatar
PtitLu PtitLu is offline
 
Join Date: Feb 2007
Location: France
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
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.
That's it. I switched off one product at a time and found it :
https://vborg.vbsupport.ru/showthread.php?t=199100 is guilty

I now have to try to correct it because i need this image resizer. Thanks for the tip.
Reply With Quote
  #14  
Old 02-06-2009, 11:14 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 02-06-2009, 11:29 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 02-06-2009, 11: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 KevinL View Post
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
Download all 3 xml files to if you want the tag clouds in VBA blocks.

Active tags will still be highlighted in showthread & forumdisplay.
Reply With Quote
  #17  
Old 02-06-2009, 11:35 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #18  
Old 02-06-2009, 11:56 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 KevinL View Post
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?
The VBA xml's will not work without the main product xml, version 2.5+
Reply With Quote
  #19  
Old 02-16-2009, 12:04 AM
Theater's Avatar
Theater Theater is offline
 
Join Date: Aug 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 02-28-2009, 12:56 PM
testbot testbot is offline
 
Join Date: Feb 2009
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #21  
Old 02-28-2009, 08:00 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 testbot View Post
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
Good idea, I'll try to implement that feature within the next month.... no guarantees though
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 02:25 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.04856 seconds
  • Memory Usage 2,349KB
  • 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
  • (6)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
  • (3)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