vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Add-On Releases - CMS Widget Tag Cloud Ver 1.2 (https://vborg.vbsupport.ru/showthread.php?t=235529)

Dev.Sun 02-09-2010 10:00 PM

CMS Widget Tag Cloud Ver 1.2
 
1 Attachment(s)
Someone like me. Want to display Tag Cloud at the forum slidebar out Widget Page Content . I did and rewriting. What you want you can use. If it's useful, then press installed

Features
+ Show TagCloud at CMS Content Page such as Forum Home
+ Total Tags.
+ Link More Tags.

Live demo: http://vnwds.com/content/1-home

ScreenShot:
https://vborg.vbsupport.ru/attachmen...1&d=1267254689

Step 1
Go to yoursite/admincp and select vBulletin CMS ~~> Widgets
Press Create New Widget

At Widget Type select PHP Direct Execution
At Title type: CMS Tag Cloud (or something if you want)
Save


Step 2 - Configure Widgets
Select CMS Tag Cloud and click Configure.
Clear all text at Textarea
Copy and paste PHP code below and then save config

PHP Code:

require_once(DIR '/includes/functions_cms_tagcloud.php');
$output fetch_cms_tagcloud('usage') ; 

Step 3
Go to yoursite/admincp and select vBulletin CMS ~~> Layout Manager
Select your layout (eg: Default Layout)
Edit ~~> Go

At Widgets Select CMS Tag Cloud and Add to the right (>) (where column you want show this tag cloud)

Step 4
Upload file includes/functions_cms_tagcloud.php
to yoursite/includes/

Step 5
yoursite/admincp/Plugins & Products
Manage Products ~~> [Add/Import Product]
Import product at attachment.

** IF ALL TAG IS THE SAME FONT
Go to Admincp/Style Manager
Search vbcms_page
Find:
PHP Code:

<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}vbcms.css,postbit-lite.css,postlist.css,lightbox.css" /> 

Replace
PHP Code:

<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}vbcms.css,postbit-lite.css,postlist.css,lightbox.css,tagcloud.css" /> 


Change log
Icon Legend
+ : Add
- : Remove
* : Update
=================================
Change log version 1.1.2 to 1.2
* file product xml
* Total Tags at widget template

Fix bug all tag is the same font at vBulletin version 4.0.2 PL1
=================================

Change log version 1.1 to 1.1.2
+ php code at widget template
* file product xml
+ file functions_cms_tagcloud.php

In this version, I change php code (function fetch_cms_tagcloud) in product to php file.
To fix bug create article at content or promote to article at forum
=================================
Change log version 1.0 to 1.1
- php code at widget template
+ php code to product
* Link "more tag"
=================================


Manual
To manager number of tag show on cloud.
The same with tag cloud on forumhome slidebar

Setting Option:
Go to admincp/Setting/Options
Select Tagging option

Manager
Admincp/Tag

Tag Cloud: Number of Tags - The maximum number of tags to display in the tag cloud.
Tag Cloud: Number of Levels - The number of levels to be shown in the tag cloud.
Use it if you have Merger tag as synonyms (Admincp/Tag)
......
That All.

Neptun 02-10-2010 08:58 PM

looks great - but in your live demo the text is outside of the widget with the biggest text size - is there a possibility to fix this ?! then i would like to install this great idea ;)

Dev.Sun 02-10-2010 09:06 PM

i used css of vB default style. You can edit at template tagcloud.css (admincp/Styles & Templates ~~> Search in Templates and type tagcloud.css)

Neptun 02-10-2010 09:25 PM

ok perfect - i have installed it - but is there a possibility to put a max. number of tags in the cloud ?! i have there at the moment 200 tags inside .... 50 are enough i think *g*

Dev.Sun 02-10-2010 09:39 PM

You need merger some tag have save info (eg: PHP, PHP 5, PHP 5.3 to a tag group PHP 5.x)
admincp/tag ~~> checked tag and select Merger selected tag as Synonyms

I'll addition a link called "More tag" in next version :)

Neptun 02-10-2010 09:40 PM

ok that means at the moment i cant do something against it until your next version ?

but for the moment its fine - i hope you will release this soon ;) because its a great idea with this widget

Dev.Sun 02-10-2010 10:38 PM

Quote:

Originally Posted by Neptun (Post 1979505)
ok perfect - i have installed it - but is there a possibility to put a max. number of tags in the cloud ?! i have there at the moment 200 tags inside .... 50 are enough i think *g*

Updated Version 1.1.
Manual for you problem.
add link "more tag"

Neptun 02-10-2010 10:50 PM

thanks you are great



but after installing the version 1.1. i have the same tags there nothing less - is there a possiblity to say max. tags should be 50 oder 30 oder 70 ?!

like in the vb-forum sidebar tag cloud - there is the option for how many tags ;)

sorry *G* ;)

Dev.Sun 02-10-2010 11:35 PM

yes, this cms tag cloud and slidebar tag cloud is same. We don't need more option for 2 tag clouds. It's difficult to manage.

Neptun 02-11-2010 08:52 AM

i have seen this later that this is the same - but in your hack there is no possibility to manage the number of tags - i displays all the tags what i have :(

Dev.Sun 02-11-2010 04:00 PM

Quote:

Originally Posted by Neptun
no possibility to manage the number of tags - i displays all the tags what i have

possibility to manage is admincp~~>setting~~>option~~>Tagging

You can test with Tag Cloud: Number of Tags = 2
You Reload content page or forum home. You'll see 2 tag show on cloud

In my site, I setup Tag Cloud: Number of Tags is 30
and Time Cache is 15

Neptun 02-11-2010 06:47 PM

ok i understand it is linked directly with the main tagging of the system and has no seperat option to set the numbers of tags ...

thx

Forum Lover 02-13-2010 05:38 AM

Is there any way to call tags from blogs? Tagged.

way2xtreme 02-13-2010 09:01 AM

Hi, I got this when I tried to promote a post to an article. Once the product disabled thing went back to normal.

Any suggestions?

This is a great mod!

Quote:

Fatal error: Cannot redeclare fetch_cms_tagcloud() (previously declared in /home/content/mysite/html/bz/packages/vbcms/controller/content.php(82) : eval()'d code:2) in /home/content/mysite/html/bz/packages/vbcms/controller/content.php(82) : eval()'d code on line 175

Dev.Sun 02-13-2010 10:59 AM

Quote:

Originally Posted by Forum Lover (Post 1981201)
Is there any way to call tags from blogs? Tagged.

I'll development later. See in next version.

Quote:

Originally Posted by way2xtreme
Hi, I got this when I tried to promote a post to an article. Once the product disabled thing went back to normal.

Any suggestions?

This is a great mod!
Quote:

Fatal error: Cannot redeclare fetch_cms_tagcloud() (previously declared in /home/content/mysite/html/bz/packages/vbcms/controller/content.php(82) : eval()'d code:2) in /home/content/mysite/html/bz/packages/vbcms/controller/content.php(82) : eval()'d code on line 175

Fatal error: Cannot redeclare fetch_cms_tagcloud()
You try remove product and Widget. After that install again.
Remember. Use file xml version 1.1

If you got error again. Try disable some another mod.
Plz, show me a screen shot of error.

Neptun 02-13-2010 03:34 PM

i have a big problem with your mode - after installing of your mode i get always this error when i try to add a new articel .....

please fix this ... i want to use the tag cloud ...

Quote:

Fatal error: Cannot redeclare fetch_cms_tagcloud() (previously declared in /home/.sites/web/packages/vbcms/controller/content.php(84) : eval()'d code:73) in /home/.sites/web/packages/vbcms/controller/content.php(84) : eval()'d code on line 246

i have the info that the problem is with your hack only ..... when i remove your hack everythings works - with the hack the fatal error ....

please fix it ;) thxxxxxxxxx

way2xtreme 02-13-2010 09:51 PM

Hi, I have also found another bug after pressing "save changes" after editing a forum post. Got a system error msg saying there is a security token missing, please inform administrator..
Thanks

Neptun 02-13-2010 10:00 PM

very buggy ..... is there no possibility to use the code from the forum sidebar and import this to a widget ?!

Dev.Sun 02-15-2010 12:18 AM

Fixed this bug in version 1.1.2.
If you know any more bugs please reply.Thank everybody.

way2xtreme 02-15-2010 08:33 AM

Hello,
Is it possible to set a class for the "More" link? Where do I find it in the template? I'd like to set it to different font, align to right... etc
Thanks

Neptun 02-15-2010 08:33 AM

great work - i will test it soon if it works perfect now ;)

Dev.Sun 02-15-2010 09:03 AM

Quote:

Originally Posted by way2xtreme (Post 1982744)
Hello,
Is it possible to set a class for the "More" link? Where do I find it in the template? I'd like to set it to different font, align to right... etc
Thanks

Please click installed for support.
You can search and edit template cms_tag_cloud
You can add more css to tagcloud.css

Quote:

Originally Posted by Neptun (Post 1982745)
great work - i will test it soon if it works perfect now ;)

Thank you!

Neptun 02-15-2010 10:42 AM

perfect looks good now ;) the bug with the article is gone now - thats very good ;)

Doctor Death 02-15-2010 10:55 AM

The "MORE TAGS" link creates an error....

links to

http://www.xxxxxx.com/tags.php which doesnt exist.

Should link to

http://www.xxxxxx.com/forums/tags.php

How do we change this?

Nice mod.

Dev.Sun 02-15-2010 01:59 PM

Quote:

Originally Posted by Doctor Death (Post 1982843)
The "MORE TAGS" link creates an error....

links to

http://www.xxxxxx.com/tags.php which doesnt exist.

Should link to

http://www.xxxxxx.com/forums/tags.php

How do we change this?

Nice mod.

if you use forum. I think use should use slidebar for tag cloud
But you need change.
Go to admincp/Template & Style manager
Search template cms_tag_cloud

Find
PHP Code:

<p align="left"><a href="{vb:raw vboptions.homeurl}/tags.php">More Tags</a></p

Replace
PHP Code:

<p align="left"><a href="{vb:raw vboptions.homeurl}/forums/tags.php">More Tags</a></p


CORSO 02-16-2010 01:05 AM

I too

Quote:

Fatal error: Cannot redeclare fetch_cms_tagcloud() (previously declared in /home/c4atrero/public_html/packages/vbcms/controller/content.php(84) : eval()'d code:35) in /home/c4atrero/public_html/packages/vbcms/controller/content.php(84) : eval()'d code on line 208

Neptun 02-16-2010 10:25 AM

have you done the update to the new version ?!

Doctor Death 02-18-2010 03:26 PM

With the minor edit above, mine works great. Thanks for this.

I would love to see a CMS widget that has the "3d Globe" of tags. Can this be rendered to that type of output? Would be wonderful.

fer_75 02-21-2010 09:07 AM

Why urls are not seo friendly if I have vbseo installed ? Is it possisble to make this compatible with vbseo?

Brew 02-21-2010 11:19 PM

1 Attachment(s)
The tag cloud is just showing tags, without formatting

Any ideas?

Dev.Sun 02-23-2010 12:56 AM

Quote:

Originally Posted by fer_75 (Post 1987889)
Why urls are not seo friendly if I have vbseo installed ? Is it possisble to make this compatible with vbseo?

Sorry, I don't use vbseo. At version 4.0 vBulletin has option friendly URLs.
I don't have idea to development product for vbseo. You can development it if you want.

Quote:

Originally Posted by Brew (Post 1988433)
The tag cloud is just showing tags, without formatting

Any ideas?

I don't have idea for your problem. All formatting like Slidebar at forum home. Because all css (at content page and forum home) is the same. Can you check your css again?

WNYorker 02-23-2010 01:40 AM

I also have trouble with the formatting of the tag cloud. All the same size font.

Brew 02-24-2010 01:11 AM

Quote:

Originally Posted by Dev.Sun (Post 1989284)
I don't have idea for your problem. All formatting like Slidebar at forum home. Because all css (at content page and forum home) is the same. Can you check your css again?

I haven't done anything with the CSS. This is a pretty new vb4 install.

The tag cloud works on forumhome, though it's not a part of your mod.

kingMOB 02-24-2010 08:09 AM

Quote:

Originally Posted by Brew (Post 1988433)
The tag cloud is just showing tags, without formatting

Any ideas?

Same thing here, all tags are level 3 font size (that I think it's the default font size for my widgets). In the admin cp it's configured to the default 5 level font sizes.

BLykMik 02-25-2010 04:13 PM

Hello. Thanks for sharing this mod!

I have three questions, if you'd be so kind...

1.) I'm having the same issue as the above posters where the tags are not showing as different sizes. They're all the same font size. (I've made sure that some tags are used more often, to confirm that they're not just all equally used.)

What controls the font sizing and how do I get that working?

2.) The "More" tag takes me to a non existent php page. (tags.php) I'm not sure what is supposed to be there, why it isn't, or what I can do to fix this.

3.) How can I just force this widget to use the default widget css styles? (A stepthrough would be good, as I'm a total beginner here)

Thanks again for making this mod!

Dev.Sun 02-26-2010 05:52 AM

Quote:

Originally Posted by BLykMik (Post 1991348)
1.) I'm having the same issue as the above posters where the tags are not showing as different sizes. They're all the same font size. (I've made sure that some tags are used more often, to confirm that they're not just all equally used.)

What controls the font sizing and how do I get that working?

I just upgraded to version 4.0.2 PL1. I have seen this error. I will fix a soon as possible.

Quote:

Originally Posted by BLykMik (Post 1991348)
2.) The "More" tag takes me to a non existent php page. (tags.php) I'm not sure what is supposed to be there, why it isn't, or what I can do to fix this.

I don't know you can upload files or not enough because if you use vBulletin Publishing Suite will have this file. See to fix it at 3.)

Demo at vBulletin.com
http://www.vbulletin.com/forum/tags.php

Quote:

Originally Posted by BLykMik (Post 1991348)
3.) How can I just force this widget to use the default widget css styles? (A stepthrough would be good, as I'm a total beginner here)

Go to admincp and search template "cms_tag_cloud"
As you see at this template
PHP Code:

<link rel="stylesheet" type="text/css" href="{vb:var vbcsspath}tagcloud.css" /> 

I'm include default css of vBulletin to show different font size in tagcloud.
At here, you can edit or translate link "More Tag"

if you want to edit default widget css style, I think you need edit at StyleVars and vbcms.css template.

P/S: I will fix tags are not showing as different sizes at vbulletin version 4.0.2 a soon as possible.

Thanks All!

Dev.Sun 02-26-2010 08:53 AM

Mod version 1.2 for vbulletin 4.0.2 Pl1 is release.

Doctor Death 02-27-2010 02:34 PM

This mod was working great until upgrade to latest version.

Now tag cloud is empty on CMS page.

Any ideas?

BLykMik 02-27-2010 03:27 PM

Quote:

Originally Posted by Doctor Death (Post 1992907)
This mod was working great until upgrade to latest version.

Now tag cloud is empty on CMS page.

Any ideas?

Yeah.... same thing. My cloud is empty too. :(

Doctor Death 02-27-2010 05:05 PM

Dev.sun, are you here? Seems like your latest patch broke the system.

Please let us know you understand this else we have to uninstall (which I wouldnt want).

Thanks

Doc


All times are GMT. The time now is 06:48 AM.

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.01358 seconds
  • Memory Usage 1,848KB
  • 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
  • (6)bbcode_php_printable
  • (19)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
  • (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