Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Widget: Team Speak Details »»
Widget: Team Speak
Version: 1.00, by Gleedo Gleedo is offline
Developer Last Online: Sep 2012 Show Printable Version Email this Page

Category: vBulletin CMS Widgets - Version: 4.0.x Rating:
Released: 01-01-2010 Last Update: Never Installs: 35
Template Edits
Additional Files Translations  
No support by the author.

Simply shows how to create a Team Speak widget using the your TS Servers code from www.tsviewer.com. This method can be used to create widgets for anything that display basic html code.

Generate your Team Speak code
Visit tsviewer.com, find your server and create your code using their code generator. Ours looks like this:
Code:
<iframe name="tsviewer" allowtransparency="true" width="200" height="300" frameborder="0" style="border:0px solid #;" scrolling="no" src="http://www.tsviewer.com/ts_viewer_pur.php?ID=93855&bg=transparent&type=5b8d22&type_size=10&type_family=1&info=0&channels=1&users=1&type_s_color=ffffff&type_s_weight=bold&type_s_style=normal&type_s_variant=normal&type_s_decoration=none&type_s_color_h=ffffff&type_s_weight_h=bold&type_s_style_h=normal&type_s_variant_h=normal&type_s_decoration_h=underline&type_i_color=5b8d22&type_i_weight=normal&type_i_style=normal&type_i_variant=normal&type_i_decoration=none&type_i_color_h=5b8d22&type_i_weight_h=normal&type_i_style_h=normal&type_i_variant_h=normal&type_i_decoration_h=underline&type_c_color=5b8d22&type_c_weight=normal&type_c_style=normal&type_c_variant=normal&type_c_decoration=none&type_c_color_h=5b8d22&type_c_weight_h=normal&type_c_style_h=normal&type_c_variant_h=normal&type_c_decoration_h=underline&type_u_color=86d42c&type_u_weight=normal&type_u_style=normal&type_u_variant=normal&type_u_decoration=none&type_u_color_h=86d42c&type_u_weight_h=normal&type_u_style_h=normal&type_u_variant_h=normal&type_u_decoration_h=none&skin=tsv_smile"></iframe>

Create the Widget
  1. Goto AdminCP > VBulletin CMS > Widgets
  2. Create New Widget
    • Widget Type = Static HTML
    • Title = Your Widget Display Name
    • Click Save
  3. Now back on the Widgets screen, find your new Widget and click Configure
  4. Paste your TS code you got from tsviewer.com into the box marked Enter Static HTML and click save.

Add Widget to Layout
  1. Goto vBulletin CMS > Layout Manager
  2. Find the layout you want to edit like Home and click Edit
  3. Select your widget from the Widgets selection box and add it to the layout and place it in the column you want by dragging and dropping it.
  4. Click Save and refresh the page you changed the layout for to see it appear.

NOTE: If you want an icon to display in the widget header, please perform the following
  1. Upload the small TS image below to /images/cms/ in your forums folder using an ftp program
  2. Goto Styles and Templates > Style Manager
  3. For your style, select Add New Template from the drop down box
  4. Add vbcms_widget_teamspeak as the Title
  5. Add the following code in the Template box
    Code:
    <div class="cms_widget">
    	<div class="block">
    		<div class="cms_widget_header">
    		<h3><img title="{vb:raw widget_title}" src="images/cms/ts.png" alt="" /> {vb:raw widget_title}</h3>
    		</div>
    		<div class="cms_widget_content" align="left">
    			{vb:raw static_html}
    		</div>
    	</div>
    </div>
  6. Click Save
  7. Now go back to vBulletin CMS > Widets
  8. Find your widget and again click Configure
  9. Change the Template Name to vbcms_widget_teamspeak
  10. Click Save

That should be it

TS Widget Header Image
- FTP to /images/cms/ in your forums folder

Sample Widget Screenshot


Please click Installed and also Rate it if you like it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
NoMatt3r

Comments
  #12  
Old 01-05-2010, 01:48 AM
CFodder CFodder is offline
 
Join Date: Mar 2008
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.tsviewer.com/index.php?page=codegenerator_iframe&ID=905520#gene rator" target="_blank">http://www.tsviewer.com/index.php?pa...5520#generator</a>

If it's not already done click on generate code at the bottom of the page (Preview & Code button), then go back towards the top and under your html code there's a button that says "OR try the new asynchronous code".

This will give you 2 sets of code, one you're supposed to put in your index.php, the other would go in the widget. I think my problem was I probably put the first code in the wrong place.
Reply With Quote
  #13  
Old 01-06-2010, 04:40 PM
Edrondol Edrondol is offline
 
Join Date: Aug 2009
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PMing Deviant K1 with instructions so as not to further derail this topic.
Reply With Quote
  #14  
Old 01-07-2010, 05:14 AM
Deviant K1 Deviant K1 is offline
 
Join Date: Aug 2008
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Edrondol View Post
PMing Deviant K1 with instructions so as not to further derail this topic.
Thanks! I appreciate the PM.

Works fine ... just can't wait to get it to work on the CMS
Reply With Quote
  #15  
Old 01-07-2010, 08:36 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanxxx

tagged
________
Body science
Reply With Quote
  #16  
Old 01-12-2010, 03:59 AM
THE__DRIFTER THE__DRIFTER is offline
 
Join Date: Feb 2009
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick question; Will this only work for version 2 or the new version 3? Or; will it work for either?
Reply With Quote
  #17  
Old 01-13-2010, 07:18 AM
CFodder CFodder is offline
 
Join Date: Mar 2008
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will work with either, have had both working.
Reply With Quote
  #18  
Old 01-18-2010, 11:53 PM
Thraxus Thraxus is offline
 
Join Date: Nov 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked perfectly with Ventrilo using the code generated in the CP @ typefrag.com (my host).

Thanks a ton!
Reply With Quote
  #19  
Old 03-04-2010, 10:42 AM
Xeyn Xeyn is offline
 
Join Date: Jun 2009
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pleaseeeeeeeeeeee make this for vent also.....would love it
Reply With Quote
  #20  
Old 03-14-2010, 02:58 AM
MrShides MrShides is offline
 
Join Date: May 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Thraxus View Post
Worked perfectly with Ventrilo using the code generated in the CP @ typefrag.com (my host).

Thanks a ton!
Thraxus, i'm also on typefrag. Where did you find that code?
Reply With Quote
  #21  
Old 05-10-2010, 11:49 PM
Staffee Staffee is offline
 
Join Date: Jul 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gleedo View Post
No problem. You can apply the exact same technique for a forum block to make it appear in the forum sidebar too

Can post how to do that if need be
Any chance of a heads up, as to how to put this mod in the forums side bar

many thanks in advance


Sorted worked it out, looks rather cool if i do say so myself,

many thanks for the steer
Reply With Quote
Reply

Thread Tools

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 06:56 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.05631 seconds
  • Memory Usage 2,321KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (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
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete