The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Tag Cloud on Forumdisplay Details »» | ||||||||||||||||||||||||||||||||||
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:
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:
PHP Code:
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
Screenshots
Supporters / CoAuthors Show Your Support
|
2 благодарности(ей) от: | ||
elsa23, mohammadxxx |
Comments |
#52
|
|||
|
|||
Hello
How do I get the Tag cloud in the footer (either above or below symbol legend) of the forum rather than as now under the logo many thanks |
#53
|
||||
|
||||
I think you would have to modify the plugin that uses the hook location "forumhome_start" to do that - probably just the $find/$replace variables at the end if you can find a unique bit of code to find/replace.
|
#54
|
|||
|
|||
Quote:
Im trying to add it on the home page but its not really working at the moment. |
#55
|
||||
|
||||
It is for the forumdisplay page only.
|
#56
|
|||
|
|||
The vb3 version of this mod is unusable on large forums, has anything been done with this script to make it less server intensive? Why does the query need to be done every-time someone views the page, why can't it be cached for an hour or day or whatever?
|
#57
|
||||
|
||||
No, nothing has been done. It's marked as reusable code, so if you want to rewrite the code to cache the information, then you are welcome to do so and then share that version. Some users who were using the 3.x version asked to have it upgraded to work with 4.x and so I did so with Thorsten's permission.
|
#58
|
||||
|
||||
It would be interesting to see this in a forum widget.
Do I understand it correctly that this shows ALL tags, not only the tags used in the forum/subforum where the tag cloud is displayed? |
#59
|
||||
|
||||
The tags are forum specific. You can see the query in the forumdisplay_start hook. Widgets don't have forumids (are not forumid specific), so you couldn't make this a widget or block.
|
#60
|
||||
|
||||
Quote:
I hardly see the use of widgets without them being forum specific. I guess I need forum widgets to have forumids then. |
#61
|
||||
|
||||
What I actually meant was you can't just have this Tag Cloud as a widget unless you had one for every forum you want a tag cloud for. You can't just put this into a widget and have it work since the cms has no forumid. You'd have to modify the query to point to a specific forum. I know what I mean, I'm just saying it badly. :/
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|