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)
-   -   Miscellaneous Hacks - Global Tag Cloud in Side Bar or Anywhere (https://vborg.vbsupport.ru/showthread.php?t=177429)

jlew24asu 06-17-2008 01:06 PM

I'm sorry for the dumb question but how is this done?..

3. Add the following variable where ever you want the tag cloud to appear:

$vbcloud

ArnyVee 06-17-2008 07:10 PM

I haven't been able to find where to place the "$tag_cloud"

Does it go in an existing template or do you have to create a template?

Michael Morris 07-04-2008 04:28 PM

Plugin fires an in_array error under PHP 5 because it could reference $phrasegroups in an array context before in is formally declared as an array (this is ok in PHP 4 but PHP 5 throws E_USER_WARNING )

Rewrote the init_plugin component of this product to prevent that error. Original author is free to use this code in the next patch

PHP Code:

if ($vbulletin->options['threadtagging'] == 
    
&& $vbulletin->options['tagcloud_searchcloud'] == )
{
    if (!
is_array($phrasegroups))
    {
        
$phrasegroups = array();
    }
    
    if (!
in_array('search'$phrasegroups))
    {
        
$phrasegroups[] = 'search';
    }



Jase2 07-04-2008 04:44 PM

I run PHP 5 and haven't got such an issue....

Michael Morris 07-04-2008 04:47 PM

Quote:

Originally Posted by Jase2 (Post 1566815)
I run PHP 5 and haven't got such an issue....

You may have another plugin that initializes $phrasegroups and executes before the plugin in this mod that tripped the error. Or you may have your error settings set to hide Warnings (most people do). Script execution doesn't halt on E_USER_WARNING, it just echos out some text.

maniacop 07-16-2008 09:43 PM

I need some help, i really want and need to use this but i cant figure out how and where to put this "$tag_cloud" tag... Help please

Im trying to put it on my right side column..

Thanks in advance

lafsunlmtd 07-17-2008 04:34 AM

please re-read instructions.

Jase2 07-17-2008 12:51 PM

Updated thanks.

How do I remove These are the 25 most used thread tags
Tag Cloud


?

http://www.techsupportteam.org/forum/

-- Jason

maniacop 07-17-2008 04:58 PM

COOLL Thanks alot man it worked now!

drsli 07-19-2008 12:28 PM

Quote:

Originally Posted by tommac3 (Post 1551232)
Does this work with VB advanced?

I am trying it out but for some reason it works in preview but nothing shows up.
Could this have something to do with the forums directory?
Like I have this at my root dir ... does it need to be under forums?

You should add "vbcloud" in vbadvanced-main-options as a portal output global variable.


All times are GMT. The time now is 01:03 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.01265 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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