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)

Baldilocks 05-19-2008 12:07 AM

You would have to make it part of the header like I have.....

dSpotter 05-19-2008 12:46 AM

Installed product...then put the code in one of the blocks in ultimate side columns and nothing shows up for me?

What am I doing wrong? :confused:

Baldilocks 05-19-2008 02:21 AM

I don't think Ultimate Side Colums recognizes PHP variables, only Javascript.

markblair 05-19-2008 03:13 AM

Quote:

Originally Posted by TechGuy (Post 1520410)
I'm not sure if it's appropriate to upload this, so Mods feel free to delete it if it's not. I cleaned up the code a bit and managed to get the timezones to work. I won't promise that I didn't break something else in the process, and I don't claim to be a vB hack expert. :)

Mike, I had been having the same problem with the timezone being off and whatever you did fixed that. Thanks a ton! :)

dSpotter 05-19-2008 03:19 AM

Quote:

Originally Posted by Baldilocks (Post 1524306)
I don't think Ultimate Side Colums recognizes PHP variables, only Javascript.

Oh okay...what a shame... :( Had wanted to use this...

CThiessen 05-19-2008 09:10 AM

Hi,
I did not managed to put at in one of the "usc_block" Templates.
But is is working in the "usc_sidecolumn_left" Template so I add the code there.
I do have now the Blocks on the left side and under that a "Free flying" Tag Cloud. But I think it is looking good in my Style.

The Code in the End of the "usc_sidecolumn_left" Template:
Code:

........
$tag_cloud

</tbody>
</if>
</table>

<br>

<td width="0" valign="top"><img src="clear.gif" border="0" width="0" />
</td>

See how it looks like: http://brasil-web.de/forum

Grrtings
Christian

jhamaican 05-19-2008 10:56 PM

This hack is working great, except that when the new tags are posted, the links go to blizzardforums.net/tags.php instead of blizzardforums.net/forums/tags.php. What would i edit to fix this problem? I am using automatic tags if that makes any difference.

jhamaican 05-19-2008 11:53 PM

It works great when you are at my forums in blizzardforums.net , but I am used VBAdvanced and it the my main index.php is in my root directory and not my /forums/ directory so on my blizzardforums.net main page the tags point to blizzardforums.net/tags.php instead of blizzardforums.net/forums/tags.php.

Any help appreciated, thanks!

lafsunlmtd 05-20-2008 09:49 PM

new version should be uploaded soon

jhamaican 05-21-2008 02:35 PM

would it be possible to have the links redirect from the base so /../forums/tags.php because i use this outside of my forums directory and this causes the tag links to not work

soundbarrierpro 05-21-2008 02:49 PM

Quote:

Originally Posted by Baldilocks (Post 1521266)
Looks great in a sidebar/header template too!!!

Sooo.....can I just add the code to one of my blocks in ultimate side columns? Do you know?

Baldilocks 05-21-2008 04:01 PM

I am not sure as I don't use the ultimate side columns.

Kendothpro 05-23-2008 04:26 PM

Freshly installed on a 3.7 board..I have written $vbcloud in the templates , for example in the footer, but nothing is shown?

Baldilocks 05-23-2008 10:05 PM

$vbcloud is the wrong variable.

try $tag_cloud

mvigod 05-23-2008 10:40 PM

Baldilocks,
Can you share the header/sidebar code?

Baldilocks 05-23-2008 10:56 PM

It's tied in to the rest of the skin, so I don't know how effective it will be for you. In other words it uses images and gradients from directories on my server to knit everything together.

You could possibly clean it up and use it....

I'll PM it to you.

Kendothpro 05-24-2008 11:36 AM

Tried $tag_cloud but it doesn't work.. Does anyone know how to get the tagclodu to show on VB 3.7?

Baldilocks 05-24-2008 12:47 PM

I use $tag_cloud and it works just fine.
Where are you trying to put it ?

Kendothpro 05-24-2008 01:04 PM

I removed all other plugins and it appears to work (with $vbcloud )..thanks

Jase2 05-25-2008 05:26 PM

Hmmm, I've imported the product, then put the variable in my sidebar block, yet no tags show. Am I missing something?

EDIT: OK, it works fine with TechGuy's product, thanks! However, I placed the variable in one of my sidebar blocks, and it shows it in another box inside the sidebar box. How do I stop this?

Baldilocks 05-25-2008 05:43 PM

That's just the way the product is coded. Does the same in mine too but doesn't look bad I think.

TechGuy 05-26-2008 12:58 AM

I'm not sure if this what you're referring to, but be sure to see #4 in the original programmer's instructions:

Quote:

If you want to display just the cloud (i.e. without the category) open up the tag_cloud_search template and replace everything with the code below:

Jase2 05-26-2008 09:01 AM

I'm blind LOL -- thanks TechGuy. However, I couldn't find tag_cloud_search it's tag_cloud_box_search

But that did it! :)

How often does it build the tag data?

TechGuy 05-26-2008 12:02 PM

vBulletin rebuilds the tag cloud every 30 minutes. I believe it did show up immediately for me. Sorry. :(

Jase2 05-26-2008 03:21 PM

Hmm, only one tag showing for me. :(

Mum 05-26-2008 06:10 PM

Baldilocks, i'd really like this down the side, but i don't know where to put it to make it show there, could you please help me? I can pm you code that you need or something?

peterska2 05-27-2008 10:02 PM

I installed this but nothing at all showed up. The only thing it did was mess up the times on my forum showing all the times as server time even though the timezone was correct for my location.

Gutted though, as I was looking forward to using this.

Uninstalled - sorry.

[edit] it appears I had the older version. reinstalling.

[edit2] yup, that was the problem. it is working correctly now.

dfc005 05-28-2008 04:48 AM

The tag cloud doesn't see to work properly on the tags.php page...

http://www.sticksports.com/tags.php?tag=ipl

Notice how none are bold nor are they different sizes.

Yet, on the forumhome, they work fine....

http://www.sticksports.com/forum.php

Baldilocks 05-28-2008 04:50 AM

Quote:

Originally Posted by Mum (Post 1532097)
Baldilocks, i'd really like this down the side, but i don't know where to put it to make it show there, could you please help me? I can pm you code that you need or something?


Yes, you can PM me.

Jase2 05-28-2008 10:50 AM

Does the new version include the time zone fix? Or do I need to use TechGuys product?

I'm only getting one tag show, any ideas?

TechGuy 05-28-2008 11:08 AM

Just above the download link for the new version it says: "1.02 -- Script rewrite. Fixed time stamp issue, blog issue and other minor problems."

I haven't tried it yet, though. ;)

peterska2 05-28-2008 01:09 PM

Tip: If you want to show the most used tags, not the most searched for tags, make this change in the "Create Cloud" plugin.

Find
Code:

    $vbcloud = fetch_tagcloud('search');
Replace With
Code:

    $vbcloud = fetch_tagcloud('usage');
Example: www.superclickers.co.uk

kara kule 05-28-2008 03:36 PM

how can I tags.php?tag to /url-.html?

Jase2 05-28-2008 06:12 PM

I've now got it working! :)

Jase2 05-31-2008 11:27 PM

Anyway to limit the number of tags it uses? Since I have a quite a few tags, it seems to use nearly all and make the sidebar look long...

EDIT: Just seen the option within the vB options -- silly me hehe.

Mecho 06-03-2008 04:48 PM

Quote:

Originally Posted by Kerry-Anne (Post 1534035)

nice , thanks for tip.

2 question :

1 - how u use it in ur vbadvanced . when i's using tags has not /forum in the links . so not found error page would shows u p.

2 - is there anyway to show a Different number of tags compare the original tags.php page ?

Thanks in advance.

peterska2 06-06-2008 05:19 AM

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>
2. It shows the same number of tags as it just hooks into the main tags system.

Jase2 06-06-2008 08:42 PM

Is it the more they're searched, the bigger the words get? None of mine seem to be getting bigger, although some have been used a few times.

Also, any ideas how I can change the link colours in the tag cloud? : www.techsupportteam.org

peterska2 06-06-2008 10:21 PM

Jase,

It is the more they are searched, unless you use the edit I posted somewhere in this thread which makes it the more they are used.

Color-wise, they use the alt1 link colors be default. You'd need to edit the tag_cloud_link template to change the colors of the tags in the tag cloud.

Jase2 06-06-2008 10:28 PM

Thanks! Hmm... but the "Latest Thread" block I have uses the same font colour. I tried changing the alt1 link font colour -- but that changed the forum descriptions, instead. And the tag words are blue on my tags.php page :confused:

And using the usage, how would I remove the category border it uses -- and just display the tags: currently it says; "These are the most used tags". ?


All times are GMT. The time now is 01:04 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.01393 seconds
  • Memory Usage 1,810KB
  • 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
  • (6)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