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

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
  #2  
Old 01-02-2010, 07:13 PM
Andyucs's Avatar
Andyucs Andyucs is offline
 
Join Date: Nov 2006
Location: Okcular, Turkey
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for that Gleedo
Reply With Quote
  #3  
Old 01-02-2010, 07:27 PM
pjaco's Avatar
pjaco pjaco is offline
 
Join Date: Jul 2008
Location: Oslo / Norway
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot
Reply With Quote
  #4  
Old 01-02-2010, 07:33 PM
Gleedo Gleedo is offline
 
Join Date: Oct 2008
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andyucs View Post
thanks for that Gleedo
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
Reply With Quote
  #5  
Old 01-02-2010, 11:09 PM
Deviant K1 Deviant K1 is offline
 
Join Date: Aug 2008
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SWEET!!!

Thanks for this hack .

Quick question... would you by chance know how to use the same hack using Ventrilo? I use both for my site and was wondering if you had plans on creating one for that VoIP as well.
Reply With Quote
  #6  
Old 01-03-2010, 07:26 AM
Gleedo Gleedo is offline
 
Join Date: Oct 2008
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deviant K1 View Post
SWEET!!!

Thanks for this hack .

Quick question... would you by chance know how to use the same hack using Ventrilo? I use both for my site and was wondering if you had plans on creating one for that VoIP as well.
Hi Deviant, I am not very familiar with ventrilo, but did a quick google and found that the gametracker network also monitor vent servers (global not just gameserver ones I think). Please look at the following link. You should be able to find your ventrilo server there.
http://www.gametracker.com/search/ventrilo/

If you find it, click on your server name, and then click the link called Image and HTML Server Banners - get code

You could then choose the server banner type you want, customize it if needed and then simply copy the Website/Blog Code and paste that like the TS codes you did earlier into it's own widget block.

I'm sure there are probably better Ventrilo monitors than the gametracker banners though. So If I come across one, I will update this thread.

Here is the image for your header if you create one with a title image:


You can also use the normal gametracker banners to show your game servers too using the same method.

See my site:
www.taskforce141st.com

HTH

EDIT: Just found this code generator for Vent like the TS viewer one. Perhaps you could also try that and see which is best for your site:
http://www.ventriloservers.biz/ventr...atus-code.html
Reply With Quote
  #7  
Old 01-03-2010, 07:57 AM
jaffaman jaffaman is offline
 
Join Date: Nov 2004
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We use this to make the code for Ventrilo http://vspy.info/?page=code
It works fine
Reply With Quote
  #8  
Old 01-03-2010, 05:52 PM
Deviant K1 Deviant K1 is offline
 
Join Date: Aug 2008
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gleedo View Post
Hi Deviant, I am not very familiar with ventrilo, but did a quick google and found that the gametracker network also monitor vent servers (global not just gameserver ones I think). Please look at the following link. You should be able to find your ventrilo server there.
http://www.gametracker.com/search/ventrilo/

If you find it, click on your server name, and then click the link called Image and HTML Server Banners - get code

You could then choose the server banner type you want, customize it if needed and then simply copy the Website/Blog Code and paste that like the TS codes you did earlier into it's own widget block.

I'm sure there are probably better Ventrilo monitors than the gametracker banners though. So If I come across one, I will update this thread.

Here is the image for your header if you create one with a title image:


You can also use the normal gametracker banners to show your game servers too using the same method.

See my site:
www.taskforce141st.com

HTH

EDIT: Just found this code generator for Vent like the TS viewer one. Perhaps you could also try that and see which is best for your site:
http://www.ventriloservers.biz/ventr...atus-code.html
Thanks for replying .

Unfortunately I can't get the widget to show on my home page. I'm pretty sure I did everything correctly but still no luck.

I use InstantVentrilo.com and even if I use their code, which doesn't use the <iframe> tags, (uses <span ID>) I couldn't get it to show up.

I did use this site --> http://www.ventriloservers.biz/ventr...atus-code.html to generate the code but that too didn't work.

I'll try again this evening and if I get it to work, I'll post it
Reply With Quote
  #9  
Old 01-04-2010, 12:50 AM
CFodder CFodder is offline
 
Join Date: Mar 2008
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent mod thanks Gleedo, one question tho, have you tried using the new asynchronous code (their standard one really slows down loading the cms page)? I did but only got the widget with the header and nothing in it.
Reply With Quote
  #10  
Old 01-04-2010, 09:04 PM
Gleedo Gleedo is offline
 
Join Date: Oct 2008
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CFodder View Post
Excellent mod thanks Gleedo, one question tho, have you tried using the new asynchronous code (their standard one really slows down loading the cms page)? I did but only got the widget with the header and nothing in it.
Havent heard the async one fodder. Do you have a linky please?
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 08:29 PM.


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.04587 seconds
  • Memory Usage 2,339KB
  • 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
  • (4)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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