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 :(


All times are GMT. The time now is 12:42 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.01249 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)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
  • (10)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