vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - Tag Cloud on Forumdisplay (https://vborg.vbsupport.ru/showthread.php?t=186662)

ThorstenA 07-28-2008 10:00 PM

Tag Cloud on Forumdisplay
 
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)

Zapper1 07-29-2008 06:06 PM

Screenshot please.

ThorstenA 07-29-2008 06:23 PM

Screenshot added. I am also looking for further suggestions.

yahoooh 07-29-2008 06:28 PM

how many query ?
is there any option for cache tags ?

ThorstenA 07-29-2008 06:32 PM

This mod adds 1 query to forumdisplay. This query is not cached. As there is just one small query I do not know how if caching here would be possible anyway.

Charlie98902 07-29-2008 06:33 PM

Is this for per section rather than on the home page as I have a similar one on my home page of VB. Here is what I use currently how does this one differ?

https://vborg.vbsupport.ru/showthrea...ighlight=Cloud

ThorstenA 07-29-2008 06:38 PM

Quote:

Originally Posted by Charlie98902 (Post 1586848)
Is this for per section rather than on the home page as I have a similar one on my home page of VB. Here is what I use currently how does this one differ?

https://vborg.vbsupport.ru/showthrea...ighlight=Cloud

It's different in two ways:
1. Your mentioned product is placed on FORUMHOME, mine is placed on FORUMDISPLAY.
2. If you click on a tag in your mentioned product, you'll see all threads tagged with this tag. If you click on my tag, you'll only get a list of all threads tagged with this tag within actual forum.

yahoooh 07-29-2008 06:48 PM

installed
and nominated
thanks

yahoooh 07-29-2008 06:51 PM

suggestion :
tags location before ther footer

ThorstenA 07-29-2008 06:56 PM

Quote:

Originally Posted by yahoooh (Post 1586862)
suggestion :
tags location before ther footer

I need to have placed them on top. But I'll take this into consideration into making an option about that.

I also put some space after tag cloud. I updated product xml file and screenshot.


All times are GMT. The time now is 02:53 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.01069 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete