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)

Mecho 06-08-2008 02:35 PM

Quote:

Originally Posted by Kerry-Anne (Post 1542069)
1. Edit the tag_cloud_link template and replace the contents with
Code:

<a href="$vboptions[bburl]/tags.php?$session[sessionurl]tag=$thistag[tagtext_url]" class="tagcloudlink level$thistag[level]">$thistag[tagtext]</a>

Thanks but something wrong . when i use this code , there is no space between tags , no Enter between lines and it will broke the page .

peterska2 06-08-2008 10:42 PM

That is the exact contents of my template and as you can see at www.superclickers.co.uk it is working fine.

SuperTaz 06-09-2008 06:33 AM

I don't even see the tag cloud on my site to use this. lol How do I turn on the tag cloud. I have 3.7.0 Gold.

Mecho 06-09-2008 03:21 PM

Quote:

Originally Posted by Kerry-Anne (Post 1544509)
That is the exact contents of my template and as you can see at www.superclickers.co.uk it is working fine.

Yeah , it was my fault . it is working well now. thank u

i tried to "Add Module" and move this TAGS to the sidebars , but then i have 2 title box . one the name that i have to put in new Module and another one is the default of TAGs title box .

anyway to fix this somehow ?

thanks in advance

Coop1979 06-13-2008 09:20 PM

Is there a way to call this on a page outside of vBulletin? I use vBulletin for my forums on a Drupal page and would like to have the tags show up in a block on my Drupal pages. I can do a php block, but I tried to do a block with the $vbcloud variable in it, but nothing shows up.

dutchbb 06-14-2008 07:30 AM

Hello

I tried this but the cloud does not show? I added the variable in a custom template called 'sidebar'.

slinky 06-16-2008 12:33 PM

I have the same problem. I pasted the $vbcloud variable into a template (forumhome) and it doesn't show. Using vb 3.7.1

ArnyVee 06-16-2008 07:09 PM

Quote:

Originally Posted by Kerry-Anne (Post 1542069)
1. Edit the tag_cloud_link template and replace the contents with
Code:

<a href="$vboptions[bburl]/tags.php?$session[sessionurl]tag=$thistag[tagtext_url]" class="tagcloudlink level$thistag[level]">$thistag[tagtext]</a>

Okay, so I've done this. Now, where do I put the "$vbcloud"? Or, how do I make it appear on my vBadvanced homepage? Do I create a new template? And, what do I put in the template to make it work?

slinky 06-16-2008 11:09 PM

Quote:

Originally Posted by Baldilocks (Post 1529977)
I use $tag_cloud and it works just fine.
Where are you trying to put it ?

The instructions are wrong and this dude is right on target. $vbcloud is the wrong variable. Use $tag_cloud and it appears like magic...

tommac3 06-17-2008 12:41 AM

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?

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.

PaylaX 07-20-2008 02:49 PM

Perfect Job!

Another Demo link:http://www.paylax.com/forum/

napy8gen 08-19-2008 08:19 AM

hmm, I installed this but none shows, I put the variable in header template.
nevermind. my mistake, I dont have tags in my dev forum

napy8gen 08-19-2008 09:50 AM

Quote:

Originally Posted by Jase2 (Post 1577696)
Updated thanks.

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


?

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

-- Jason

yes this would be nice..I think it can be change in vb phrase somewhere

Sweeks 08-21-2008 01:54 AM

There are two things I would like to know how to do:

1. How do I remove this:

These are the 70 most used thread tags

2. How do I limit the amount of tags shown in the tag cloud

Thank you

One Extra thing, I have read that $vbcloud doesnt work, well it does on my board somehow :D
________
Tf102

intospain 11-04-2008 10:55 AM

thanks :D

WarLion 01-09-2009 02:59 AM

Quote:

Originally Posted by Jase2 (Post 1577696)
Updated thanks.

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


?

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

-- Jason

is real easy eit the template tag_cloud_box

RamisK 01-15-2009 09:23 PM

thanks, nice

M.C. 01-16-2009 05:31 PM

Hi! What side bar you use? And will it work with vBadvanced?

GlamRockTalk 01-31-2009 02:55 AM

Step 4 in the instructions (to remove the 'category' and just display the tags) isn't working for me. Any suggestions?

http://www.gervaisbook.com

star88 03-17-2009 08:12 PM

thank you

(works in 3.8.1 version)

dethfire 04-16-2009 08:16 PM

within seconds of enabling this hack mysql uses 700% of the CPU

slinky 04-27-2009 02:18 AM

Quote:

Originally Posted by M.C. (Post 1714932)
Hi! What side bar you use? And will it work with vBadvanced?

Yes and no. This is a great tag cloud but I'm looking for how URLs are generated because vb advanced pages will use the wrong url. It must be hardcoded base. Not vb advanced's fault at all.

khalled 06-27-2009 01:27 PM

when i test it i on vb 3.8.2 i found that it consume most of server resources

MagicThemeParks 09-10-2009 10:59 AM

Quote:

Originally Posted by Jase2 (Post 1577696)
Updated thanks.

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


?

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

-- Jason

To remove the phrase, simply go to admincp>>styles & templates>>style manager>>tag templates>>tag_cloud_box and then remove the phrase (remove from <phrase> to </phrase>) and you'll be set.

MagicThemeParks 08-18-2010 11:27 AM

This mod is conflicting with the two following mods....

Automatic Thread Tagger: https://vborg.vbsupport.ru/showthread.php?t=201156

and

Daily Game: https://vborg.vbsupport.ru/showthread.php?t=232862

....not sure what it is though. :(

I was getting errors like this....

Code:

Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in [path]/includes/init.php(304) : eval()'d code on line 16
....when tags tried to be added automatically. Any idea as to why?

gungor 08-21-2010 07:04 AM

thanks.. installed..

AFMichael 05-17-2012 05:37 PM

The addon works great but I am having one small problem. Every tag is the same font size in the cloud. How do I get it to show different font sizes/weight? In the vBulletin Options, I have Tag Cloud: Number of Levels set to the default (5).

Update: I created a new style and added the tag cloud to that. Even on that, it still sets the sizes of all of the tags to the same size. I verified that the css for these are indeed included but it will only call "level2" even those the max level is set to 5. I changed the level 2 font size from 'small' to 'xx-large' and it did change it to xx-large font, but again...for each tag.

So why is it not randomizing the font sizes for each tag?!


All times are GMT. The time now is 01:05 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.01430 seconds
  • Memory Usage 1,817KB
  • 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
  • (1)bbcode_php_printable
  • (10)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
  • (37)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