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

Reply
 
Thread Tools
Custom Tag Cloud in vbAdvanced, Forum Home & Related Pages Details »»
Custom Tag Cloud in vbAdvanced, Forum Home & Related Pages
Version: 2.1.0, by vbboarder vbboarder is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 09-11-2008 Last Update: 03-31-2009 Installs: 92
Uses Plugins Auto-Templates
 
No support by the author.

Download the latest version that supports social groups clouds here: 2.5 Version (VB 3.8 required)

Forum VBA Custom Tag Cloud
This mod adds 6 features to VB?s tag cloud:

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 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 locations of the tag cloud (default is below the navbar) and 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
.
Update:
Reimport the new product xml file and allow overwrite.
See the 2nd post for a screenshot and template hook selection tips.

Versions:
Code:
  1.0.0/ 1.0.1 Initial Release.
  2.0.0 New Features:
  Auto templating ? allows setting the location of the tag cloud anywhere on the page.
  Tag cloud resides in a collapsible box and has a legend for the custom styles.
  Tags that belong to the active forum or thread being viewed can have custom styles.
  Added option to set preferred tags that will have custom styles to get them noticed more.
  2.0.2 Optimized memory usage.
  2.0.5 Optimized code to create tag links. Created preselected hooks for forumhome.
  2.1.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.?

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-13-2008, 06:27 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 redlabour View Post
Works perfect!
Glad the update works fine

Quote:
Originally Posted by ujai View Post
Hi,

How can I edit the tag to be place at other place besides the top?

Thanks in advance
Quote:
Originally Posted by sinucello View Post
Hi,

thanks for this mod, I like the flexibility of it. Maybe you could add an option that allows to place a custom marker in one or all of the templates e. g. ###tagcloud###. This would be even more flexible.

all the best,
Sacha
Actually, there's already lots of markers (aka template hooks) in VB templates that can be used to implement customized tag cloud placement.

Ujai, before I tell you how, let me wait and see how many people want the tag cloud in a different place besides below the navbar. If there's a significant # of people wanting that feature, then I'll update this mod for auto-customization so you won't have to do custom coding yourself.
Too bad I can't add a poll to this thread - just post a reply if you want this mod to have an auto-customization placement feature. I take it that so far I have 2 votes for this - Ujai & sinucello.
Reply With Quote
  #13  
Old 09-15-2008, 02:16 AM
ujai ujai is offline
 
Join Date: Sep 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, if not many people wants it and you decide not to make it auto customize, can you please let me know how to change it?
Reply With Quote
  #14  
Old 09-15-2008, 03:14 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How many queries does this add?
Reply With Quote
  #15  
Old 09-15-2008, 04: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 ujai View Post
Thank you, if not many people wants it and you decide not to make it auto customize, can you please let me know how to change it?
Actually, I'll probably implement the auto-customization regardless. However, it could be anytime from 2 weeks to 2 months for me to implement it, depending on my priorities. Right now, it's low priority since only 2 users have requested it. I don't want to start posting customization instructions 'cause this can lead to support overload for me considering the # of possible places to hook the tag clouds to.
Just for my info, why don't you want the tag cloud near the navbar?
Reply With Quote
  #16  
Old 09-15-2008, 06:01 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 Alien View Post
How many queries does this add?
This mod used VB's tag cloud function for fetching & building the tag cloud. Reviewing the code shows 1 db query and not even that if you have caching enabled (ie: APC or memcache) as recommended by VB.
Reply With Quote
  #17  
Old 09-16-2008, 10:45 AM
Mondi Mondi is offline
 
Join Date: Sep 2006
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vbboarder - have vbadvanced cmps, links, dynamics and - soon - vbclassifieds running.

Will this mod fetch tags from all afore mentioned? This would be OUTSTANDING...

Btw: As for location , I too could do with a few pointers.

If you could get back to me on my question, cheers.
Reply With Quote
  #18  
Old 09-16-2008, 04:28 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, you got everything! That's cool, but I don't have vba dynamics, vba links, or vb classifieds myself so I can't test it for you.

Anyways, this mod will fetch all tags from VB forums and place them in a cloud box under the navbar (see pics). If the navbar is showing on all those $$$ mods of yours, then it should also show the tag cloud - you just need to output the global variable, tag_cloud, as the instructions say. That's another advantage of having the tag cloud near the navbar.... it can be easily included in other external mods and custom web pages (like those made with the WebTemplates mod with the header/ navbar included).

Quote:
Btw: As for location , I too could do with a few pointers.
Sorry, your vote doesn't count since you haven't marked installed. For further support, you need to mark install.
Reply With Quote
  #19  
Old 09-16-2008, 06:59 PM
Mondi Mondi is offline
 
Join Date: Sep 2006
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hehehe......

Got me there - unintentional though!

INSTALLED!!!!

[One Extra Vote....]

Thanks mate!
Reply With Quote
  #20  
Old 09-22-2008, 11:42 AM
realmr realmr is offline
 
Join Date: Aug 2008
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to display the "forum specific tags" rather than the entire forum tags in forum specific pages ?
Reply With Quote
  #21  
Old 09-22-2008, 04:15 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 realmr View Post
Is it possible to display the "forum specific tags" rather than the entire forum tags in forum specific pages ?
No, not currently possible with this mod. I decided against this feature because VB caches the tag cloud so there is no DB queries if you have caching enabled. I'll see if there's a way to filter forum specific tags with just 1 query while being able to use VB built-in tag cloud function and caching.
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 07:51 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.06251 seconds
  • Memory Usage 2,320KB
  • Queries Executed 26 (?)
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
  • (8)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
  • (3)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