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)

ecky 03-23-2010 01:06 PM

Quote:

Originally Posted by Dennis Kaczor (Post 2006542)
Never mind, found how to solve this....

I'm having exactly the same problem. Would you mind sharing your solution?

Dennis Kaczor 03-23-2010 02:29 PM

Quote:

Originally Posted by ecky (Post 2008739)
I'm having exactly the same problem. Would you mind sharing your solution?

Sure can share this

['homeurl'].'/forums/''/'.$contentTypes[$tag

The above was what I was given to get this to work, but it gave me errors, so I changed this code to the following an it worked.

['homeurl'].'/forums/'.$contentTypes[$tag

It was that simple.

Dennis

ecky 03-23-2010 03:49 PM

Thanks Dennis. I had already tried this but still have an empty white widget on vb 4.0.2. Very nice mod if I could make this work. Uninstalled it for now.

Doctor Death 03-24-2010 05:47 PM

I too get an empty white widget box. Sure would like to see this work on my 4.0.2 install.

alashram 03-25-2010 06:34 PM

I think it doesn’t work with 4.0.2 :(

nkumaran 03-27-2010 08:36 AM

Thank You.

is_it_me 03-27-2010 08:54 AM

Quote:

Originally Posted by Doctor Death (Post 2009536)
I too get an empty white widget box. Sure would like to see this work on my 4.0.2 install.

Quote:

Originally Posted by alashram (Post 2010203)
I think it doesn?t work with 4.0.2 :(

I have it installed and working on 4.02 - see bottom left of the homepage on the link in my signature.

ecky 03-27-2010 09:39 AM

Quote:

Originally Posted by is_it_me (Post 2010996)
I have it installed and working on 4.02 - see bottom left of the homepage on the link in my signature.

I stand corrected, it clearly does work on 402. It must be another mod conflicting and I also use the /forum/ subfolder. Would I have to clear the CMS cache every time I do a code edit to make this work?

alashram 03-27-2010 04:07 PM

Quote:

Originally Posted by is_it_me (Post 2010996)
I have it installed and working on 4.02 - see bottom left of the homepage on the link in my signature.

I should mention that I don?t assign tags on CMS, I only promote articles directly from the forums which are tagged already but on CMS (Front page) they are not tagged I think I have to tag them again, perhaps that?s the reason why it didn?t work for me. Can this widget also list tags from the forums?

woffie 03-28-2010 05:36 PM

Looks nice. It would be cool if it worked.

kyle 03-31-2010 07:20 PM

yes it is a great looking and usfull hack. any updates on this working?

kyle 03-31-2010 07:22 PM

anyopne know if theirs any other Tag Cloud hacks we could use for side bar?

jpwilliams 04-04-2010 02:09 AM

I'm having a problem with broken links in my tag cloud. The weird thing is, one link in the cloud works perfectly, but the rest are broken.

My site is www.blickees.com. If you click on the "donovan mcnabb" tag it goes to:

http://www.blickees.com/tags.php?tag=donovan+mcnabb

However every other tag goes to:

http://www.blickees.com/<tag>

Any ideas?

jpwilliams 04-04-2010 02:34 AM

Quote:

Originally Posted by jpwilliams (Post 2015423)
I'm having a problem with broken links in my tag cloud. The weird thing is, one link in the cloud works perfectly, but the rest are broken.

My site is www.blickees.com. If you click on the "donovan mcnabb" tag it goes to:

http://www.blickees.com/tags.php?tag=donovan+mcnabb

However every other tag goes to:

http://www.blickees.com/<tag>

Any ideas?

Fixed this problem by changing:

$url = $vbulletin->options['homeurl'].'/'.$contentTypes[$tag['contenttypeid']].urlencode($tag['tagtext']);

TO:

$url = $vbulletin->options['homeurl'].'/'.'tags.php?tag='.urlencode($tag['tagtext']);

kyle 04-13-2010 04:14 PM

Quote:

Originally Posted by Selcor (Post 2005657)
When I add the widget, shows the error:

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

Warning: Wrong parameter count for max() in [path]/packages/vbcms/widget/execphp.php(177) : 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(177) : eval()'d code on line 36

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

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


:s

I am getting the same error, where could be the problem? Can you help me resolve this? my vb version is 4.0.2

Antiblank 04-13-2010 11:03 PM

Works just fine out of the box on 4.0.2

Thanks for the work.

Kingdombuilder 04-14-2010 05:00 AM

Did not work on my 4.0.2 either, I use tags on the forum and on the CMS page. Noting showed up in the widget accept the date.

Bob_R 04-17-2010 01:26 PM

Will check this out later. Looks cool. :up:

Bob_R 04-17-2010 02:39 PM

What else needs to be done to ensure it shows on the forums and not on the CMS? Do you still have to create the widget as if it'll be a CMS widget?

Here's my error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/xxxxxxxxx/public_html/talkclassicrock.com/forums/packages/vbcms/widget/execphp.php(177) : eval()'d code on line 3

Bob_R 04-17-2010 08:31 PM

Listed below are the instructions given for this mod to work on your CMS page.

What must one do differently as per the instructions to get it as a forum sidebar?

Thanks!!

Installation

* Goto Admincp->vBullietin CMS->Widgets->Create New Widget
* Choose PHP Direct Execution as Widget's Type
* Place a Title. eg Upcoming Events. Keep it short as this is what will appear as title on your pages.
* Click Save
* Click Configure on the right of the new created widget.
* Remove the default code that appears. Be sure to not leave behind even a single letter.
* Copy and Paste the code that you can find below.
* Leave the template name as is (vbcms_widget_execphp_page)
* Click Save
* Goto Admincp->vBullietin CMS->Layout Manager
* Click Go on the Default Layout
* Add the Widget to your Layout
* Click Save
* Download the attached tagcloud.zip and extract it.
* Upload tagcloud.swf to root directory of your vbulletin install
* That's all !!

Bob_R 04-21-2010 03:28 PM

Is there an answer in our future?

When I go to put it in the forums block, if I even have to do that like I said the instructions don't clearly explain how to put it in your forums, the template reads block_html whereas to put in the CMS it's vbcms_widget_execphp_page

What must one do differently as per the instructions to get it as a forum sidebar?

Thanks

Bob_R 04-25-2010 02:14 AM

Uninstalled.

OK. I suspected I was right that it didn't work on the forum page and the silence has confirmed it.

I also checked a poster's site in this thread who was asking about getting it to work on the forum and he said he did. But, if you check his site it's on the CMS not the forum.

Videx 04-26-2010 01:27 AM

It does seem darn silly to have a list of forum tags that can't even go on the forum!

But I don't know that tags are even being updated, as I don't see any kind of scheduled task doing it. And I know my users aren't manually adding any tags anyway.

NashChristian 05-13-2010 08:25 AM

Great Mod! Thanks!

It is pulling content fine from both the Forums and CMS, I'm not sure what everyone is talking about.

Functionally, the mod is working fine for me. I do however have 3 SMALL display issues, which I'm hoping you can help me with (NGCoders). I checked your demo site (roboticsindia.com) and I noticed that your site doesn't have any of the 3 display problems, so I'm guessing you must have found a way to correct them on your site. Please share with us how you fixed them, so I can do the same.

First of all, my widget isn't in a fixed width column, so sometimes it will be wider than 330px, and other times it will be narrower than 330px (the same as on your site). To help compensate for this, I wrapped the <embed> tag with a <center> tag. That is the ONLY change I made to your original code.

Here are two screen shots of the widget on my site:

Narrower than 330px:

http://nashvillechristian.com/images...oud_narrow.jpg

Wider than 330px:

http://nashvillechristian.com/images...cloud_wide.jpg

Here are my 3 display issues:
  1. On the narrower width widget, the cloud does not stay in the CENTER of the widget, it favors the right side.
  2. On the narrower width widget, the cloud text is overlapping the widget padding on the right side.
  3. On the wider width widget, the tags are CLIPPING-OFF on the far right and left sides (see the right edge of "freedom").

DEMO

Can you please share with us how you fixed these three issues on your site? I don't see any of the same problems on your site at all.

Thanks for the mod and thanks in advance for the help!
:) Jeff

sKippah 05-13-2010 02:05 PM

@NashChristian: U have to play around a bit with this part

Code:

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

I dont know anymore where to find the code on the original page. coz there was written what is what for.

As i was searching a bit i saw some of these flash Clouds with colored tags. is this possible here too in any way???

Bob_R 05-13-2010 02:17 PM

Quote:

Originally Posted by NashChristian (Post 2036195)
Great Mod! Thanks!

It is pulling content fine from both the Forums and CMS, I'm not sure what everyone is talking about.

Functionally, the mod is working fine for me.

Then please post the code that you used to make it work on the forum.

Correction. Forget it. I checked your site. I too have it on my forum. I'm speaking of putting it on the forum with animation. That cannot be done with this mod. For the animation it must be on the CMS

ngcoders 05-14-2010 07:09 AM

Try changing the following -

PHP Code:


$flashWidth  
'100%';
$flashHeight =  '100%'


NashChristian 05-21-2010 03:13 PM

Quote:

Originally Posted by ngcoders (Post 2036782)
Try changing the following -

PHP Code:

 
$flashWidth  
'100%';
$flashHeight =  '100%'


Hello,

Thanks for the feedback.

Is that the only change you made to the code listed in this mod, for your personal site: http://www.roboticsindia.com? Did you not need to use any code to CENTER it?

The biggest bummer I see with setting this to 100%, is when you have a wider screen resolution and a wider widget, the text in the cloud still stays tiny. Here are a couple screen shots:

http://nashvillechristian.com/images...loud_330px.jpg
(This is at a fixed 330 px width.)


http://nashvillechristian.com/images..._cloud_100.jpg
(This is at 100% width and height.)


Do you know of a way to make the cloud larger, without screwing up the display? Do you have access to the source .FLA file, where the height and width could be increased?

This is cool! It just needs some tweaking.

Thanks for your help.
:D Jeff

NashChristian 05-21-2010 03:40 PM

Alright, a little bit better, but still not perfect:

I figured out that you can force the height to a certain dimension and stretch the .swf, while leaving the width at 100% so not to break the widget padding.

Here's what I'm using now:

Code:

$flashWidth  = '100%';
$flashHeight = '275px';

The only down side, is if you use a (narrow) low resolution monitor, it will still force the widget to be 275 px high. So if it is 150px wide, it is STILL going to be 275px high. (Which doesn't look too good.) But at least for the rest of the world with wider monitors, it looks a lot better than tiny text.

Hope that helps someone.

If ANYONE knows of a BETTER way to enlarge this without screwing up the display at different resolutions, please let me know.

Thanks!
Jeff

hendri 05-21-2010 10:32 PM

how to change the cloud to links that i want to put inside ? any idea ?

chuckhodson 05-29-2010 03:58 AM

Looks cool but does not work 4.0.3

ged 06-08-2010 05:59 PM

How can I change its charset? We're a Turkish forum and some characters don't show up correctly.

caciocode 08-10-2010 06:04 PM

Can this be added to the Forums section

morrow 09-08-2010 12:43 AM

Doesn't work on 4.0.6... at least not for my site.

bandare 09-11-2010 07:14 PM

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

Mr_Running 09-15-2010 12:36 PM

[QUOTE=bandare;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.

wombycat 09-19-2010 10:59 AM

has anyone got this working in 4.0.7? I am just getting a blank widget. I have tags in blogs, forums and cms. what am i doing wrong?

sticky 10-08-2010 07:23 AM

Quote:

Originally Posted by wombycat (Post 2100427)
has anyone got this working in 4.0.7? I am just getting a blank widget. I have tags in blogs, forums and cms. what am i doing wrong?

I'm on 4.0.2 but have a blank widget as well.

sticky 10-08-2010 07:31 AM

Quote:

Originally Posted by sticky (Post 2108022)
I'm on 4.0.2 but have a blank widget as well.

Ok, duh, didn't have the .swf uploaded.

Works, but for some reason it isn't centered.

sticky 10-08-2010 07:54 AM

Got it centered by using 100% for width but can't seem to get the proportions to look like they do in the screen shot.


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.01291 seconds
  • Memory Usage 1,835KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (12)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