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)
-   -   Forum Home Enhancements - MARCO1 Tag Cloud - Forum Home (https://vborg.vbsupport.ru/showthread.php?t=235911)

Dutch_Boy 07-25-2010 06:07 PM

http://forum.highflow.nl/forum.php

Same problem here. Can this be fixed plz! :)

giorgino 07-25-2010 08:22 PM

idem here :)

synseal 09-08-2010 09:56 PM

Any chance this will be updated, I have the same problem as the other 2 posters above?

Thanks.

urstorm.com 10-08-2010 09:14 AM

Quote:

Originally Posted by stwan (Post 2074220)
Bug in vbulletin 4.0.5:

https://vborg.vbsupport.ru/

same thing , pls update also for 4.0.7

mrgrld 10-12-2010 07:17 PM

will this work with 3.8.4?

negrowarez 10-13-2010 03:50 AM

thanks marco

BoostinEuros 10-14-2010 03:07 AM

Works with SEO!

devilsmania 10-14-2010 06:01 AM

Quote:

Originally Posted by urstorm.com (Post 2108049)
same thing , pls update also for 4.0.7



same problem

DAMINK 10-14-2010 09:18 AM

Not working for me at all.
I assume its a 4.0.7 thing?
Hoping for a fix on this.

Noerenberg 10-16-2010 10:37 AM

Quote:

Originally Posted by stwan (Post 2074220)
Bug in vbulletin 4.0.5:

https://vborg.vbsupport.ru/

same problem, please fix this :o

ehsanix 12-07-2010 12:38 AM

hey dude please fix this problem :(

https://vborg.vbsupport.ru/

LeventX 12-15-2010 02:52 PM

Yes.not tag cloud title...

Vb : 4.1.0

BadgerDog 12-31-2010 12:25 PM

Installed on v4.04pl1 with thanks .. :)

Seems to be working fine ... :up:

Regards,
Doug

denman75 12-31-2010 12:31 PM

Quote:

Originally Posted by ehsanix (Post 2130255)
hey dude please fix this problem :(

http://img713.imageshack.us/img713/9827/47964495.jpg

dont think he is around much lately

cowboy9892 03-02-2011 01:18 PM

Install \m/
www.vedich.net

Armadio 03-04-2011 03:54 PM

not work properly in 4.1.2

daveb47 03-22-2011 08:30 PM

Doesnt show in 4.1.2 at all.

update,working but no title showing.

BadgerDog 05-02-2011 12:18 PM

Upgrade testing to v4.13 from v4.04 and it continues to show at the bottom of the forum home page, however, as the other users showed in post #55 above, title seems to have disappeared and it cosmetically looks odd. :confused:

Anyone have a fix for this?

Regards,
Doug

Empire Gaming 11-06-2011 11:18 AM

works in v4.1.7 Patch Level 2 http://www.egcglobal.com/forums/forum.php

Does not show "Tag Cloud" title on forum main page. Not too big of a deal but would like to know how to fix.

DAMINK 03-01-2012 07:45 AM

Dont mind this mod but how cool would it be to be like this http://www.empiritag.com/
That would be kick ass.
Any chance of this or not gunna happen ever?

iyama 04-11-2012 06:46 AM

Quote:

Originally Posted by DAMINK (Post 2304972)
Dont mind this mod but how cool would it be to be like this http://www.empiritag.com/
That would be kick ass.
Any chance of this or not gunna happen ever?

+1 :p

New Joe 04-11-2012 07:45 AM

1 Attachment(s)
Quote:

Originally Posted by DAMINK (Post 2304972)
Dont mind this mod but how cool would it be to be like this http://www.empiritag.com/
That would be kick ass.
Any chance of this or not gunna happen ever?

You'd have to play around with it to fit into your widgets right but this would work;

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 !!

PHP Code

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=',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;

It's based off this:http://www.roytanck.com/2009/03/11/h...us-shortcodes/

Be great if someone could create this as a read mod.

fai99al99 05-05-2012 05:20 PM

عمل رائع ، great mod
لا يعمل على 4.1.11 تحدث مشكلة في البوست لاقسي !
update ??


All times are GMT. The time now is 03:48 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.01120 seconds
  • Memory Usage 1,766KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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