vb.org Archive

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

Lynne 12-03-2009 10:00 PM

Tag Cloud on Forumdisplay
 
1 Attachment(s)
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 (Post 1924859)
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 :D


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

https://vborg.vbsupport.ru/attachmen...1&d=1264530115

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)

Zaiaku 12-04-2009 02:30 AM

Great work as always.

Dr.osamA 12-04-2009 03:47 AM

installed

thanxxxx man
________
Lesbian Aggressive

ThorstenA 12-04-2009 10:08 AM

Many thanks for releasing!

Lynne 12-04-2009 01:41 PM

Quote:

Originally Posted by ThorstenA (Post 1925158)
Many thanks for releasing!

I glad you gave permission to upgrade this. I love this mod and am glad to have users continue to use it on their upgraded boards. :)

VonDoom 12-04-2009 02:05 PM

haha now i know that im not messing up template edits. my forum just doesnt seem to want to take anything considered "addon"

Lynne 12-04-2009 02:41 PM

Quote:

Originally Posted by VonDoom (Post 1925245)
haha now i know that im not messing up template edits. my forum just doesnt seem to want to take anything considered "addon"

Are you installing them correctly? Are you getting errors when you try to install them? Are they showing up in the Product Manager list? Adn they are shown as Active there (no line through them)?

VonDoom 12-04-2009 02:59 PM

Can you install a plugin wrong? ;)

Im sure im doing everything right. its just my live forum, my test board installs plugins fine, and also takes my template edits without issue. Something buggy about that particular board.

lol if you ever saw my primary forum youd know i have tons and tons of expierance installing plugins and making template edits. ;)

Lynne 12-04-2009 03:15 PM

Quote:

Originally Posted by VonDoom (Post 1925271)
Can you install a plugin wrong? ;)

Im sure im doing everything right. its just my live forum, my test board installs plugins fine, and also takes my template edits without issue. Something buggy about that particular board.

lol if you ever saw my primary forum youd know i have tons and tons of expierance installing plugins and making template edits. ;)

I can never remember how experienced everyone is. And yes, I have known of people to install plugins wrong! They will try to install a plugin in the product page or as a style (!?!) or install a product from the plugin page or style page, or think you just ftp the file to somewhere on the server, or.... believe me, I've seen users do all sorts of things 'wrong' when trying to install a product or plugin!

Very weird that your live site won't take (any?) plugins. Are you getting anything in your error_logs?

VonDoom 12-04-2009 03:22 PM

Sorry Lynne i didn't intentionally try to come off as difficult. no biggie really was just commenting that i was happy it wasn't my ability's and something with the forum. ;) its brand new and i have nothing to lose if i have to start from scratch. And i guess i was exaggerating. it takes some hacks and doesn't want to show others. no errors they just simply dont show. If its a plugin. and if its a template edit it will whack out whatever template im editing. its always a 50/50 gamble on that particular board. hmmm havent looked at the logs. but its still w3c compliant. ;)


All times are GMT. The time now is 10:02 PM.

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.01133 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_php_printable
  • (4)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