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

Reply
 
Thread Tools
Tag Cloud on Forumdisplay Details »»
Tag Cloud on Forumdisplay
Version: 0.6, by Lynne Lynne is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.x Rating:
Released: 12-03-2009 Last Update: 10-21-2010 Installs: 160
Uses Plugins Template Edits Auto-Templates
Re-useable Code Translations  
No support by the author.

This mod was originally written by ThorstenA. The original thread is here.

I have permission to release this upgraded version of the mod from the author here:
Quote:
Originally Posted by ThorstenA View Post
I'd be very glad if you would publish your changed mod in the vb 4 section. (I wrote that this mod is completely free already here). I am not interested in being named as the author, having the functionality - so that it works with vb4 - is far more important to me

What does this product do?
It displays a tag cloud of all tags used within actual forums on top of FORUMDISPLAY.



How to install?
Just import product. Done.

How to uninstall?
Just deinstall product. If you did either template edit below, then undo the template edit.


Optional: To also only show threads within actual forums once a user clicks on a tag on showthread: (removed since not possible in 4.x).


How to change location of tag cloud box?

1) Find this code from manage plugins > plugin forumdisplay_start (Forum Tags)

PHP Code:
    $find '<div id="above_threadlist" class="above_threadlist">';
    
$vbulletin->templatecache['FORUMDISPLAY'] = str_replace($find,$cloud_html.$find,$vbulletin->templatecache['FORUMDISPLAY']); 
and replace with this code:

PHP Code:
    vB_Template::preRegister('FORUMDISPLAY', array('cloud_html' => $cloud_html)); 
2) Put {vb:raw cloud_html} in FORUMDISPLAY where you want to show tag cloud.


Details

* no options available yet
* uses standard tag options made in admincp > tags
* Does not add phrases, templates.
* It uses standard tag cloud template, but shows it on FORUMDISPLAY
* Tag cloud is only shown in actual forum when tags were used
* threads tagged within subforums are not shown
* Tag cloud is automatically placed above the threadlist
* Tag links are altered to let tags be searchable by forum (not possible in 4.x)
* Tags.php has a new option forumid to only show tags from specific forums (not possible in 4.x)
* If you click on a tag, only topics within actual forum are displayed (not possible in 4.x)
* Tag size is dependent on how many threads are tagged only within actual forum
* Adds 1 query to forumdisplay

Version history

2009-12-04 - version 0.4 - First release that works with vB4 by Lynne (pre 4.0.1)
2010-01-26 - version 0.5 - Fixed problem with tags having single apostophes in them. Created a new template to display the tag cloud at the top of forumdisplay (looks the same as bottom templates and will collapse). Fixed issue where css is stored as a file. (4.0.1)
2010-10-22 - version 0.6 - Modified template due to changes in 4.0.8 (4.0.8)

Download Now

File Type: zip Forum Tags 0.5.zip (87.0 KB, 420 views)
File Type: zip Forum Tags 0.4.zip (47.4 KB, 63 views)
File Type: zip Forum Tags 0.6.zip (87.3 KB, 587 views)

Screenshots

File Type: png forum_tags_vb4-05.png (39.6 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
elsa23, mohammadxxx

Comments
  #72  
Old 03-16-2011, 12:12 PM
marius25 marius25 is offline
 
Join Date: Oct 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I want to delete the forumID from the URL when clicking on a tag.. How can I do this? I searched all tag cloud templates but can not find this "&forumID=" from the tag URL to delete it.
Reply With Quote
  #73  
Old 03-16-2011, 04:46 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by marius25 View Post
Hi

I want to delete the forumID from the URL when clicking on a tag.. How can I do this? I searched all tag cloud templates but can not find this "&forumID=" from the tag URL to delete it.
Undo the change to the tagbit template that you did in step 1.
Reply With Quote
  #74  
Old 03-19-2011, 05:57 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Also ...

We don't want the vbCMS Comments to show during the Tag Search ....

Someone gave us a variable replacement for the search for NEW posts that looks like this..

do=getnew&exclude=143,x,x,x where x = forum ID's

Would you know how we can use something similar for Tag Search, or alternatively, another method (or mod?) for turning OFF the output of any results for the vbCMS Comments forum?

Thanks for any guidance .. much appreciated ..

Regards,
Doug
Anyone able to help with this?

Thanks ..

Regards,
Doug
Reply With Quote
  #75  
Old 03-19-2011, 07:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
On my default 4.1.2 test forum, clicking on a tag in the showthread page when that plugin is on or off, now seems to only show tags within that forum. That is not how it used to be. Just like if I click on advanced search while in a forum, the Search Tag Cloud on the bottom of the page only shows tags from the forum I was in. I'm not sure when this changed.
Quote:
Originally Posted by BadgerDog View Post
Anyone able to help with this?

Thanks ..

Regards,
Doug
Sorry, I take back what I wrote up there. I was queuing my search results while testing so the new test tags I was adding weren't showing up in the test. Testing right now, I see it does shows tags from all forums and it no longer takes the forumid as a variable to use in the tag search. So, the results of a click will get all the tags in any forum and I don't know how to limit that without actually modifying the code (function prepare_tagcloud in functions_search.php, if you want to do so).
Reply With Quote
  #76  
Old 03-24-2011, 06:27 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Sorry, I take back what I wrote up there. I was queuing my search results while testing so the new test tags I was adding weren't showing up in the test. Testing right now, I see it does shows tags from all forums and it no longer takes the forumid as a variable to use in the tag search. So, the results of a click will get all the tags in any forum and I don't know how to limit that without actually modifying the code (function prepare_tagcloud in functions_search.php, if you want to do so).
Thanks Lynne ...

Too bad it doesn't just show both the tags and then the search, staying within the SAME forum ...

That would save our research site users a lot of time ....

Appreciate your feedback ....

Regards,
Doug
Reply With Quote
  #77  
Old 03-25-2011, 10:02 PM
sweetguy2004's Avatar
sweetguy2004 sweetguy2004 is offline
 
Join Date: Feb 2007
Location: uk
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a tag issue on my board when i try to open advance search page where the tag cloud is present it takes too much time to load that page & when i installed this mod now its happening same with forum display i have a big board please help me to solve this issue

Thanks
Reply With Quote
  #78  
Old 06-12-2011, 05:48 AM
gyancentral gyancentral is offline
 
Join Date: Jan 2011
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to make it animated
Reply With Quote
  #79  
Old 06-30-2011, 08:04 AM
d19rnyxx d19rnyxx is offline
 
Join Date: Dec 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for some weird reason, manually inserting the tag cloud does not work for me, is there an issue with vb 4.1.4?
Reply With Quote
  #80  
Old 07-23-2011, 05:24 AM
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Location: Norway
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by d19rnyxx View Post
for some weird reason, manually inserting the tag cloud does not work for me, is there an issue with vb 4.1.4?
I just manually inserted the tag cloud on my 4.1.4 board.

Placed it after {vb:raw template_hook.forumdisplay_below_threadlist} in FORUMDISPLAY. (http://www.radioctrl.com/f4/)

Great mod!
Reply With Quote
  #81  
Old 07-23-2011, 06:50 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dumb question but what's the point of a tag cloud?
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 05:09 AM.


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.08682 seconds
  • Memory Usage 2,360KB
  • 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
  • (2)bbcode_php
  • (7)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
  • (2)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
  • (4)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