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.

soundbarrierpro 07-29-2008 07:05 PM

Where do I find this to enable in vbulletin options? I installed it but only see the default "tagging options" function.

Artes_Marciales 07-29-2008 07:08 PM

Installed & Nominated
Thanks!!

ThorstenA 07-29-2008 07:09 PM

Quote:

Originally Posted by soundbarrierpro (Post 1586873)
Where do I find this to enable in vbulletin options? I installed it but only see the default "tagging options" function.

It is automatically enabled once you install it. There are no further options available in admincp now. All standard tag options made in admincp > settings > tags will be used to show this tag cloud. If there are tags used within actual forums, tag cloud will appear. If there are no tags used within actual forums, no tag box will be shown.

To disable this product, either click on admincp > manage products > disable this product, or you can also just delete this product.

soundbarrierpro 07-29-2008 07:18 PM

Quote:

Originally Posted by ThorstenA (Post 1586879)
It is automatically enabled once you install it. There are no further options available in admincp now. All standard tag options made in admincp > settings > tags will be used to show this tag cloud. If there are tags used within actual forums, tag cloud will appear. If there are no tags used within actual forums, no tag box will be shown.

To disable this product, either click on admincp > manage products > disable this product, or you can also just delete this product.

Ahhh, I see. Very nicely done. Good job. Marked as installed.

dirtycrow 07-29-2008 07:30 PM

awesome! thank you!

bxbigt 07-30-2008 12:24 AM

Thanks a milli

ThorstenA 07-30-2008 04:43 AM

Quote:

Originally Posted by bxbigt (Post 1587072)
Thanks a milli

If you installed it, you can click on Install. Of course do not forget to uninstall it once you do not use this product any more. This way jelsoft developers have a better view of how much interest ist out there for which modification.

sensimilla 07-30-2008 06:34 AM

Thanks ThorstenA :) Good to see you are working on vbulletin.pl

sinucello 07-30-2008 06:55 AM

Hi,

nice hack. But I think it would be better if you would integrate/combine it in/with the forum filter list:
https://vborg.vbsupport.ru/.

Then you could combine the tag filter with the other options like prefix, date and so on. That would be a really effective and useful tool.

all the best,
Sacha

ThorstenA 07-30-2008 07:03 AM

Quote:

Originally Posted by sinucello (Post 1587235)
nice hack. But I think it would be better if you would integrate/combine it in/with the forum filter list:
http://content.screencast.com/users/...07-30_0951.png.

Then you could combine the tag filter with the other options like prefix, date and so on. That would be a really effective and useful tool.

Quote:

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

I am looking forward to make an option where to place this mod. I just need from you variables from FORUMDISPLAY template ($navbar, $footer, $similarthreads) where you want to put them. For easier coding, I would prefer that you name me some variables within FORUMDISPLAY where tag cloud is placed *after* these variables.

sinucello 07-30-2008 08:15 AM

Hi,
Quote:

Originally Posted by ThorstenA (Post 1587241)
I am looking forward to make an option where to place this mod.

thanks for picking up our suggestions. What I meant is more functionality related and not just the position.

It would be cool if the user could not only choose a tag but also combine them with other filters like prefix, date and sorting.

Maybe it`s even already possible. But even if it would be possible, I`m not sure if it is transparent for the user that he can combine your forum tag cloud with the filter bar to get more specific results. This is why I think it might be better to include another input or select-field for tags into the filter bar instead of displaying the cloud.

Hm, thinking about it, this could/should maybe done in another hack.

Well, I`m just sharing my thoughts here and will try your mod this evening.

thanks for listening,
Sacha

ThorstenA 07-30-2008 08:30 AM

Interesting idea. I think these are good suggestions for a new product, as this product here uses
  • tag cloud template
  • and search results are done with tag.php
Your integrated approach would
  • use forumdisplay template standard filters
  • therefore search results are done with forumdisplay.php

It would be also grow into a bigger product as then you need some new styles for integration. The easy thing now is that we do not do anything more than just show standard tag cloud below navbar with only changes that only threads within actual forum are displayed.

On another side it is hard to explain to our users what tags are and then it is hard to differentiate between prefixes and tags. So it would be easier to tell them "Tags are something you can add to every topic. There is always a tag cloud, you click on it and get all threads tagged with this tag"

Artes_Marciales 07-30-2008 09:03 AM

This mod add 4 queries : (
1 queri the mod + 3 for uncached templates...

Page generated in 0.61688 seconds with 33 queries (3 queries for uncached templates) [Server Loads: 4.52 3.80 : 2.79]
Uncached templates: tag_cloud_box (1)
Uncached templates: tag_cloud_headinclude (1)
Uncached templates: tag_cloud_link (47)

Please solve that or I will have to uninstall : (

Regards!

ThorstenA 07-30-2008 09:39 AM

I'll look into that.

ThorstenA 07-30-2008 09:49 AM

I took care into uncached templates. There's a new version 0.2 out there now. Could you testify that again and post your statistics once more? I'll look into query performance later.

Artes_Marciales 07-30-2008 10:09 AM

Quote:

Originally Posted by ThorstenA (Post 1587309)
I took care into uncached templates. There's a new version 0.2 out there now. Could you testify that again and post your statistics once more? I'll look into query performance later.

With the new versi?n templates are chached!!
Nice work, only 1 query is good for my : )

Thanks!

ThorstenA 07-30-2008 04:28 PM

For confirmation: This product now needs only 1 query.

BWJ 07-30-2008 09:11 PM

Quote:

Originally Posted by sinucello (Post 1587278)
It would be cool if the user could not only choose a tag but also combine them with other filters like prefix, date and sorting.

Super idea!

ThorstenA 07-31-2008 07:43 AM

Quote:

Originally Posted by sinucello (Post 1587278)
It would be cool if the user could not only choose a tag but also combine them with other filters like prefix, date and sorting.

I rethought of that and it could be done with tags.php, not only with forumdisplay.php. This would then be all possible once tag search results would have clickable top column (last post, forum ...). This is best done with another modification. This modification can adopt these features.

vbboarder 08-02-2008 12:15 AM

Thanks for this cool mod! Look forward to the search integration suggested by sinucello & you. Suggestion: you may want to change the title of this thread to something more descriptive so people can more easily discover this useful mod - something like "Exclude Forums from Tag Cloud" would help ;)

ThorstenA 08-03-2008 09:11 AM

Quote:

Originally Posted by vbboarder (Post 1589569)
Suggestion: you may want to change the title of this thread to something more descriptive so people can more easily discover this useful mod - something like "Exclude Forums from Tag Cloud" would help ;)

Thanks for your suggestion. I am open to change the name of this mod. In fact, this modification
  • displays a tagcloud on top of FORUMDISPLAY,
  • only includes tags used within actual forum, while clicking on tags
  • only show threads within actual forum.
It would be great to underline this by a new name.

vbboarder 08-16-2008 07:40 PM

I have 2 feature requests:

1. Provide an option to allow tags in subforums to be included

2. Provide an option to allow this mod to work in showthread.php

Thanks for this great mod! :cool:

ThorstenA 08-19-2008 05:23 PM

Quote:

Originally Posted by vbboarder (Post 1589569)
Suggestion: you may want to change the title of this thread to something more descriptive so people can more easily discover this useful mod - something like "Exclude Forums from Tag Cloud" would help ;)

Changed product name from Forum Tags to Tag Cloud on Forumdisplay.

ThorstenA 08-24-2008 11:35 AM

Optional: To also only show threads within actual forums once a user clicks on a tag within a thread, 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>

ThorstenA 08-24-2008 01:17 PM

New version 0.3 Pagenav bug resolved.

Upgrading recommended.

If your tag results go for more than one page, a page navigation is displayed (page 1,2,3 ... last page). This page navigation was not remembering actual forum. I fixed this.

salava 08-24-2008 02:11 PM

I have just update, but the info still says version 0.2. It is not changed in the new xml file.
BTW: Thanks, it is very useful mod for me.

ThorstenA 08-24-2008 02:13 PM

Quote:

Originally Posted by salava (Post 1605805)
I have just update, but the info still says version 0.2. It is not changed in the new xml file.

Thanks for reporting. It was 0.3, just version number was showing 0.2. I fixed this now.

AdrianH 08-24-2008 05:18 PM

Installed and nomimated,thanks.:up:

Fırtına 09-07-2008 11:43 AM

How to tag cloud location bellow forum display?

stonner 09-15-2008 09:50 PM

Hi,

on our site it doesnt show the tags in a frame.

How can I solve this?

Thank you


All times are GMT. The time now is 04:01 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.01534 seconds
  • Memory Usage 1,831KB
  • 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
  • (4)bbcode_code_printable
  • (14)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
  • (40)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