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
Tag Cloud on Forumdisplay Details »»
Tag Cloud on Forumdisplay
Version: 0.03, by ThorstenA ThorstenA is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.2 Rating:
Released: 07-28-2008 Last Update: 08-23-2008 Installs: 92
Uses Plugins Auto-Templates
Re-useable Code  
No support by the author.

vbulletin 4 version




What does this product do?
It displays a tag cloud of all tags used within actual forums on top of FORUMDISPLAY. If a user clicks on tags, only threads within actual forums are displayed then.

How to install?
Just import product. Done.

Optional: To also only show threads within actual forums once a user clicks on a tag on showthread, change template tagbit to
Code:
<a href="tags.php?$session[sessionurl]tag=$tag_url<if condition="THIS_SCRIPT == 'showthread'">&forumid=$threadinfo[forumid]</if>">$tag</a>

How to uninstall?
Just deinstall product. Done.

How to change location of tag cloud box?
  • Replace this code from manage plugins > plugin forumdisplay_start (Forum Tags)
    Code:
    $vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar','$navbar'.fetch_template('tag_cloud_headinclude').'$cloud_html' .'<br />',$vbulletin->templatecache['FORUMDISPLAY']);
    with
    Code:
    $vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar','$navbar'.fetch_template('tag_cloud_headinclude'),$vbulletin->templatecache['FORUMDISPLAY']);
  • Put $cloud_html in FORUMDISPLAY style 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 automaticely placed below navbar template
  • Tag links are altered to let tags be searchable by forum
  • Tag.php has a new option forumid to only show tags from specific forums
  • If you click on a tag, only topics within actual forum are displayed
  • Tag size is dependent on how many threads are tagged only within actual forum
  • Adds 1 query to forumdisplay
Version history
  • 30.7.08 version 0.1
  • 31.7.08 version 0.2 Templates are cached
  • 24.8.08 version 0.3 Pagenav bug resolved
  • 9.1.09 New description how to change location of tag cloud box (solved bug)

Show Your Support

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

Comments
  #52  
Old 11-11-2008, 07:58 AM
TurkYasam TurkYasam is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey there,
Thanks for this usefull hack..I want to customise for just one thing and I couldn't find how..
For SEO needs,I don't want to create double url's so I want to remove tag search within actual forums..So how can I remove forum id from tag URL?

Just, http://www.mydomain.net/tags/yargi.html instead of
http://www.mydomain.net/tags/yargi.html?forumid=1133

thanks..
Reply With Quote
  #53  
Old 11-11-2008, 08:01 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TurkYasam View Post
Hey there,
Thanks for this usefull hack..I want to customise for just one thing and I couldn't find how..
For SEO needs,I don't want to create double url's so I want to remove tag search within actual forums..So how can I remove forum id from tag URL?

Just, http://www.mydomain.net/tags/yargi.html instead of
http://www.mydomain.net/tags/yargi.html?forumid=1133

thanks..
There seems to be no way to do this as your SEO product most likely is not able to include forumids in tags. You can however use <a href="" rel="nofollow"> statements. This way search engines do not go after this link.
Reply With Quote
  #54  
Old 11-11-2008, 08:06 AM
TurkYasam TurkYasam is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actualy, I strontly want the robots follow this but I just want remove that forum id from url.. So let me clear it out, you saying there is no way we can remove that extra line from URL that your hack adds?

regards..
Reply With Quote
  #55  
Old 11-11-2008, 08:08 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TurkYasam View Post
Actualy, I strontly want the robots follow this but I just want remove that forum id from url.. So let me clear it out, you saying there is no way we can remove that extra line from URL that your hack adds?

regards..
tag script needs to know which forum it should search for. It fetches these datas from url. So url must be changed anyway. It is be possible to do replace url ?forumid=123 with something like tag/tagname/forum123.html but I do not know how to do that in SEO.
Reply With Quote
  #56  
Old 11-11-2008, 08:18 AM
TurkYasam TurkYasam is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I might be getting annoying but I will insist..
ThorstenA, why dont we let it fetch as it is now but in its template can't get output without that forumid url? Or can you tell me which template or plugin thats adds the URL? So, If I would add rel=nofollow which temlplate or plugin I should edit? If it is using global template, isnt that gonna add this rel=nofollow to global tags too?
Reply With Quote
  #57  
Old 11-11-2008, 08:26 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can not help you further. Please note that this product is marked as not supported. Thank you.
Reply With Quote
  #58  
Old 11-11-2008, 08:50 AM
TurkYasam TurkYasam is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Again ThorstenA, Thanks to you too..
I guess I got it..
For those who is wondering how here the solution I found, (Because of my very limited knowledge of PHP, it is in your own risk)

From your plug-ins find "forumdisplay_start"
and delete below code (you will find two of this)
PHP Code:
 '&forumid=' $foruminfo['forumid'
It worked for me, I hope same thing for you..
It is just good for solid seo..
Reply With Quote
  #59  
Old 11-23-2008, 09:59 PM
laxyy laxyy is offline
 
Join Date: Feb 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome, is it possible to add these tags in discription
Reply With Quote
  #60  
Old 11-24-2008, 11:22 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by laxyy View Post
awesome, is it possible to add these tags in discription
How to change location of tag cloud box?
  • Delete this code from manage plugins > plugin forumdisplay_start (Forum Tags)
    Code:
    $vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar','$navbar'.fetch_template('tag_cloud_headinclude').'$cloud_html' .'<br />',$vbulletin->templatecache['FORUMDISPLAY']);
  • Put $cloud_html in FORUMDISPLAY style to show tag cloud.
Reply With Quote
  #61  
Old 11-24-2008, 02:51 PM
onehost onehost is offline
 
Join Date: Jul 2006
Posts: 378
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am looking for a particlular tag cloud script where you can add certain words, and when those words appear in a post/article on the forum, then a URL will be attached to that word. I have seen this before, I assume the forum owner was using this as to advertise his url on certain tag keywords...i have even seen that you can click on a tagged word, and a box ad/url comes up, and so so on...

anyone know where i can find this mod/hack?

Thank-You
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:25 AM.


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.05264 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_code
  • (1)bbcode_php
  • (3)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
  • (4)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