Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
CMS Widget Tag Cloud Ver 1.2 Details »»
CMS Widget Tag Cloud Ver 1.2
Version: 1.2, by Dev.Sun Dev.Sun is offline
Developer Last Online: Nov 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.2 Rating:
Released: 02-09-2010 Last Update: 02-27-2010 Installs: 57
Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

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:


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.

Download Now

File Type: zip vBulletin CMS Tag Cloud.zip (3.5 KB, 102 views)
File Type: zip vBulletin CMS Tag Cloud 1.2.zip (3.5 KB, 313 views)

Screenshots

File Type: jpg tag_cloud.jpg (92.9 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 02-28-2010, 05:04 AM
Dev.Sun Dev.Sun is offline
 
Join Date: Dec 2007
Location: Ho Chi Minh
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you reinstall plugin. (Remove and try install again).

and edit with step
** IF ALL TAG IS THE SAME FONT

This mod work good at my site.
I'll check code again.
Reply With Quote
  #43  
Old 02-28-2010, 02:01 PM
BLykMik BLykMik is offline
 
Join Date: Jun 2005
Location: Los Angeles, CA
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dev.Sun View Post
Can you reinstall plugin. (Remove and try install again).

and edit with step
** IF ALL TAG IS THE SAME FONT

This mod work good at my site.
I'll check code again.
I have uninstalled and reinstalled twice... The widget shows up with the total and more tags, but no tags are shown at all in the widget.

The tags do show up when I go to the tags.php page.

To uninstall, I:
- uninstalled the product
- deleted the php widget i created for it
- deleted the single file from the includes folder (functions_cms_tagcloud.php)
Reply With Quote
  #44  
Old 02-28-2010, 07:29 PM
RedFoxy's Avatar
RedFoxy RedFoxy is offline
 
Join Date: Sep 2007
Location: Italy
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really great mod but I must disable it...

When I've it active on my cms is generated in over in 70 seconds! (without only 1,6 sec)

I think that you need to cache the tag cloud and just update it every hour
Reply With Quote
  #45  
Old 03-01-2010, 08:19 AM
Dev.Sun Dev.Sun is offline
 
Join Date: Dec 2007
Location: Ho Chi Minh
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedFoxy View Post
Really great mod but I must disable it...

When I've it active on my cms is generated in over in 70 seconds! (without only 1,6 sec)

I think that you need to cache the tag cloud and just update it every hour
This mod is template mod. It the same with tagcloud at forumhome
All setting option about cache you can go to admincp/Setting Option/Tagging Option

@BLykMik I'm so sorry. I checked my code, template, widget and I'm not found problem for your bug. As you see, this work good on my site.
Reply With Quote
  #46  
Old 03-01-2010, 11:29 AM
RedFoxy's Avatar
RedFoxy RedFoxy is offline
 
Join Date: Sep 2007
Location: Italy
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dev.Sun View Post
This mod is template mod. It the same with tagcloud at forumhome
All setting option about cache you can go to admincp/Setting Option/Tagging Option
witch one option?

"Tag Cloud: Cache Time" is already 30 mins, but with your hack, I must wait, like that your mod checks all tags every time
Reply With Quote
  #47  
Old 03-02-2010, 12:27 AM
kingMOB kingMOB is offline
 
Join Date: Nov 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems like the size of the tag is controlled by how many times the same tag is attributed to different articles. Try putting the same tag on two different articles and the font size on the tag cloud should start working.
Reply With Quote
  #48  
Old 03-04-2010, 05:14 PM
kingMOB kingMOB is offline
 
Join Date: Nov 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Dev. Sun,

when we click a tag in the widget, CMS will open the search results page for that tag. Did you see a way to build a widget that, when inserted in an article page will get the tags in that article and print a list of other articles from the CMS with the same tags? Like a related/similar articles widget? There's nothing like this for vBulletin yet =(
Reply With Quote
  #49  
Old 03-05-2010, 12:35 PM
Dev.Sun Dev.Sun is offline
 
Join Date: Dec 2007
Location: Ho Chi Minh
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your idea. I'll development it if more member like it.
Reply With Quote
  #50  
Old 03-11-2010, 04:17 PM
kingMOB kingMOB is offline
 
Join Date: Nov 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Dev.Sun,

there's a way to limit this widget to display only the tags for a specific section?
Reply With Quote
  #51  
Old 03-14-2010, 11:18 AM
Dev.Sun Dev.Sun is offline
 
Join Date: Dec 2007
Location: Ho Chi Minh
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod is template mod. I want show tag cloud at forum home to cms. All tag of section, article, post, thread will show on it.
I'm developing this mod to product with more function such as :
1 - select tags at special article or post or forum to show on tagcloud
2 - Option - choose show only tags's cms or blogs's tags or forums's tag
thinking more... ....
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05212 seconds
  • Memory Usage 2,348KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete