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)
-   -   vBulletin CMS Widgets - Animated Flash Tags Widget , Flash Tag Cloud (https://vborg.vbsupport.ru/showthread.php?t=237643)

myco 11-08-2010 02:24 PM

works fine in 4.08
Thank you

gokhansancar 11-16-2010 03:33 PM

Thanks, it is working just perfect

caciocode 11-16-2010 03:59 PM

Does this work in .8

gokhansancar 11-16-2010 06:07 PM

yes it is working, check it out on my website
devteacher.com

Baf_Jams 11-16-2010 07:03 PM

Great Mod
Works a treat took some figuring out as when i clicked on one of the tags it took me to a 404 page :(
had to follow instructions from post 34 to sort it out
replace

$vbulletin->options['homeurl']

with

$vbulletin->options['homeurl'].'/forums/'

dcuellar 11-16-2010 11:25 PM

I'd like to know how to get it on a forum block. I've seen others ask for it but no one has posted a solution yet. Any help?

asylum119 12-07-2010 12:23 PM

Thanks
Works just fine, Bloooody Brilliant

Can any one alter the code so it displays search tags ? pleeeease

If any one could do this can you please post it here or email me asylum119 at hotmail dot com

asylum119 12-10-2010 11:13 AM

1 Attachment(s)
Quote:

Originally Posted by dcuellar (Post 2122618)
I'd like to know how to get it on a forum block. I've seen others ask for it but no one has posted a solution yet. Any help?

Hope this helps

upload tagcloud.swf to root

admin > forums and moderations > forum blocks manager > add block (see attached image and insert code into content)

Done, Might want to play with the following to suit (located in content code)

$flashWidth
$flashHeight
$tagMaxSize
$tagMinSize

If you want a 4.1.0 Patch Level 2 demo visit my sig

luciano99999 12-11-2010 12:05 AM

[QUOTE=Mr_Running;2098588]
Quote:

Originally Posted by bandare (Post 2096851)
Works fine for me but if I click on one of the tags that is linked to an article, I get a 404 error. If its a tag that relates to forum posts it works.... or blogs... just not articles[/QUOTE

Not on articles...this is my finding too.
When using the tag in a search (ie google) found and works but not from the tag cloud.

For articles

replace line 17

$contentTypes = array(2=>'tags.php?tag=',15=>'blog.php?tag=');

with

$contentTypes = array(2=>'tags.php?tag=',18=>'tags.php?tag=',15=>' blog.php?tag=');

PHP Code:

$flashWidth  = 330; 
$flashHeight = 330; 
$flashPath = 'tagcloud.swf'; 
$flashBackgroundColor = 'ffffff'; 
$tagCount = 30; 
$tagMaxSize = 16; 
$tagMinSize = 8; 

// Colors are in hex 
$data['tcolor'] = '0x000000'; 
$data['tcolor2'] = '0x336699'; 
$data['hicolor'] = '0x000000'; 
$data['speed'] = 100; 
$data['distr'] = 'true'; 
$data['mode'] = 'tags'; 

$contentTypes = array(2=>'tags.php?tag=',18=>'tags.php?tag=',15=>'blog.php?tag='); 

/* No Editing Below This Line*/ 

global $vbulletin; 

// %d 

$query = sprintf("SELECT Tag.tagid, Tag.tagtext, TagContent.contenttypeid, COUNT( TagContent.tagid ) AS count FROM ".TABLE_PREFIX."tag AS Tag LEFT JOIN ".TABLE_PREFIX."tagcontent AS TagContent ON ( Tag.tagid = TagContent.tagid ) GROUP BY TagContent.tagid ORDER BY count DESC LIMIT %d",$tagCount);

$qtags = vB::$db->query_read($query); 

while($tag = vB::$db->fetch_array($qtags)) { 
    $tags[] = $tag; 
    $tagSize[$tag['tagtext']] = $tag['count']; 


// largest and smallest array values 
$maxQty = max(array_values($tagSize)); 
$minQty = min(array_values($tagSize)); 

$spread = $maxQty - $minQty; 
if ($spread == 0) { 
        $spread = 1; 


$step = ($tagMaxSize - $tagMinSize) / ($spread); 

// make the tag cloud 
$tagsHTML  = ""; 
foreach ($tags as $tag) 

    $size = round($tagMinSize + (($tag['count'] - $minQty) * $step));
    $text = $tag['tagtext']; 

    $url = $vbulletin->options['homeurl'].'/'.$contentTypes[$tag['contenttypeid']].urlencode($tag['tagtext']);
    $tagsHTML .= "<a href='$url' style='$size'>$text</a>"; 


$data['tagcloud'] = '<tags>'.$tagsHTML.'</tags>'; 

$flashVars = ""; 

foreach($data as $var=>$val) 

    $flashVars .= (empty ($flashVars))?'':'&amp;'; 
    $flashVars .= "$var=".urlencode($val); 


ob_start(); 
?> 
<embed width="<?php echo $flashWidth;?>" height="<?php echo $flashHeight;?>" flashvars="<?php echo $flashVars;?>"
"  wmode="transparent" allowscriptaccess="always" quality="high" bgcolor="#<?php echo $flashBackgroundColor;?>" name="vbCloudFlash" id="vbCloudFlash" style="" src="<?php echo $vbulletin->options['homeurl'].'/'.$flashPath;?>" type="application/x-shockwave-flash"/> 
<?php 

$content 
ob_get_contents(); 
ob_end_clean(); 

$output $content;

:D

webmaster74 12-31-2010 12:52 AM

I would love to see this mod as a fully mature product able to display arabic and french characters correctly.

If it is also SEO - friendly, (add the texts and links in the alt tags of the flash), I'd pay money for that.

dealzoid 01-03-2011 01:03 PM

as the title states, tag cloud in sidebar, animated, forum page, getting tags from threads.
I hope others find this useful.

www.dealzoid.com

webmaster74 01-03-2011 01:53 PM

Quote:

Originally Posted by dealzoid (Post 2143273)
as the title states, tag cloud in sidebar, animated, forum page, getting tags from threads.
I hope others find this useful.

www.dealzoid.com

yes, but only using ascii chars......... :(

webmaster74 01-03-2011 02:28 PM

dealzoid wrote : just curious, what do you want it to display?

well non-ascii characters.... such as : J'aime la langue de Moli?re ? ? ? ? ? ? ? ? ? ? ?

trophyrider 01-27-2011 02:32 AM

You can add this as a forum block as seen on my website:
http://www.sporttouring.us

Go to forum block manager in admincp, add a forum block, paste the php code into the block, make sure php/direct execution is ticked, save. Upload the swf file to your vb root directory.

SSG.D 02-24-2011 12:18 AM

Works as is out of the box on 4.0.8 Thank you for your work. http://www.masterofwar.net/content.php All I had to do was adjust the size from 330 to 200

Just on 4.1.0 and up I get all the errors . But then again that's building a site from scratch with not much of any tags to draw from.. So I will give it another go on 4.1.2 after I build more content with tags.

Thanks again for your work and to the crew that made the swf file!

SSG.D 02-24-2011 11:12 AM

Update: The Number of tags you have associated with your forum is everything and can produce many types of errors. So if your building a new forum adjust your tag count, as your forum grows and tags grows you can always adjust it up. See tagCount below

PHP Code:

$flashWidth  200;
$flashHeight 200;
$flashPath 'tagcloud.swf';
$flashBackgroundColor 'ffffff';
$tagCount 8;
$tagMaxSize 16;
$tagMinSize 8

This Mod works just fine with VB 4.1.1 and 4.1.2

Remember you may need to clear your CMS cache and Clear your Browser History after you make adjustments. This Prevents Hair Loss ;)

WNYorker 03-14-2011 09:56 PM

Thanks jpwilliams! Worked for me 2.

cuocsongso 04-08-2011 07:58 AM

It's blank.
When I right click on flash. It say "movies not loaded".
What happen. I use 4.1

amd2010 04-08-2011 01:48 PM

thanx man

but i think this mod don't work in Arabic forums

can use other Character

nick221 04-08-2011 09:42 PM

Any sites that have this on that I could take a look at? Thanks

YkudzA 04-18-2011 06:54 PM

dont work
PHP Code:

$contentTypes = array(2=>'tags.php?tag=',15=>'blog.php?tag='); 

When I`m clicking to a tag, it redirected me to mysite.com/XXX , but not mysite.com/tags.php?tag=XXX

:(

amd2010 04-20-2011 11:23 AM

dont work

mysite

http://www.docskings.com/forum/content.php

xcitezone 05-10-2011 12:03 AM

Hi,

I tried to install it, but got this error :

Fatal error: Class 'vB' not found in /home/content/67/7675167/html/xcitezone/forum/modules/vbcms_widget_execphp_page.php on line 37

Any clues ? I am using VB 4.0.8.

xcitezone 05-12-2011 06:32 AM

Nobody replied :(

shakirulqadree 05-15-2011 11:29 AM

installed but not working with Arabic/Urdu forums

persianpros 05-19-2011 09:06 AM

it's not working on my forums

vb 4.1.3

and i don't have php direct execution option in block manager

mist2 06-08-2011 02:49 AM

Quote:

Originally Posted by artman_hacker (Post 2197484)
it's not working on my forums

vb 4.1.3

and i don't have php direct execution option in block manager

Should be widget type = php direct execution

Its working on mine. VB 4.1.3

voter 06-08-2011 06:19 PM

WP-Cumulus Dosn't work with non latin utf-8 charters. http://wordpress.org/support/topic/w...f-8-characters.

gyancentral 06-12-2011 05:46 AM

is it possible to make the tag cloud horizontally and place it below the forums instead of sidebar..if possible then how

shrimpca 07-10-2011 10:33 AM

Works fine for me but if I click on one of the tags . I get a 404 error. If its a tag that relates to forum posts it not works.... or blogs... just articles

weave 07-17-2011 06:55 PM

I got the same thing I have seen 2 others post about and do not see the suggested fix.

Warning: array_values() [function.array-values]: The argument should be an array in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 35

Warning: Wrong parameter count for max() in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 35

Warning: array_values() [function.array-values]: The argument should be an array in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 36

Warning: Wrong parameter count for min() in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 36

Warning: Invalid argument supplied for foreach() in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 47

mrt12345 08-10-2011 11:11 AM

Same here i got all these errors but i am running 1.1.5 but this version has affected other widgets


Warning: array_values() [function.array-values]: The argument should be an array in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 35

Warning: Wrong parameter count for max() in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 35

Warning: array_values() [function.array-values]: The argument should be an array in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 36

Warning: Wrong parameter count for min() in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 36

Warning: Invalid argument supplied for foreach() in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 47 :(

Panosz 08-23-2011 12:13 PM

I've seen some guys using it on a WP page ...how do they do that???

espkaruna 08-24-2011 02:55 AM

I have been trying to get this to work with VBAdvanced CMPS with no positive results, anyone have any experience / success stories on getting this to work?

misericorde 09-13-2011 04:16 AM

it's not working on my forums

vb 4.1.5

MoDz 09-14-2011 08:53 PM

Mark as installed. Works perfect. Thank you!

misericorde 10-11-2011 08:53 PM

Hy,

It s' working for 4.1.7

Nice !!!!

tele955848 10-15-2011 03:33 PM

Was mache ich falsch?
The requested URL /tags.php was not found on this server.

Muß ich hier was ändern?
$contentTypes = array(2=>'tags.php?tag=',15=>'blog.php?tag=');

Doctor Death 10-19-2011 05:59 PM

Doesnt work for me on 4.1.7, wish it did.

jack-d 11-21-2011 11:10 PM

I had this working with no issues on 417 but after upgrading to 418 the cloud is off center to the right and rolling on to the center column. Any way to center this in the side widget.

Regards


All times are GMT. The time now is 12:54 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.01420 seconds
  • Memory Usage 1,829KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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