vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Advanced Voicetool Viewer (Teamspeak 2, Teamspeak 3, Ventrilo viewer) (https://vborg.vbsupport.ru/showthread.php?t=264573)

Disasterpiece 06-01-2011 10:00 PM

Advanced Voicetool Viewer (Teamspeak 2, Teamspeak 3, Ventrilo viewer)
 
1 Attachment(s)
INFO

This is a more advanced version of my old tsxviewer plugin. It was written from scratch and offers a lot more features!
It displays a list of users connected to a voicetool like Teamspeak 2, Teamspeak 3 or Ventrilo and displays them on the Forumhome page inside the what's going on box, or anywhere else!

Templates allow you to fully customize the viewer, which can display unlimited amounts of viewers for your voicetool servers!

Keep track your server's uptime with the cron logger, which logs every time a server times out or comes back online!


*** Despite the product description saying mumble is supported, it is NOT. Sorry for any confusion ***

FEATURES

- Multiple Server Viewers on a single page
- Fully customizable Templates
- Query caching
- Server Uptime Logging
- No iFrames! Fits perfectly into vbulletn. Make search engines love you!

INSTALLATION

Extract the archive and upload the files according to their structure:

Code:

- forum root
        - admincp
                + tsxview_admin.php
        - includes
                - cron
                        + tsxview_cron.php
                - xml
                        + cpnav_advancedvoicetoolviewer.xml
                + tsxview_class.php
                + ts2status.php
                + ts3status.php
                + ventstatus.php
        - images
                - cms
                        + delete_small.png
                        + edit_small.png
                        + permission-not-set_small.png
                        + permission-set_small.png
                - misc
                        + mumble.gif
                        + teamspeak2.gif
                        + teamspeak3.gif
                        + ventrilo.gif
                        + ts3_off.png (optional)
                        + ts3_on.png (optional)

Install the correct plugin xml file in your vBulletin ACP.
If you have any previous tsxviewer product installed prior to 1.3, uninstall it first! (Important!)

READ THE INCLUDED README FILE BEFORE INSTALLING THE PLUGIN! (srsly, spare you the headache!)

Disasterpiece 06-02-2011 12:47 AM

TROUBLESHOOTING

Please make sure, that
- you use the latest version
- followed the install instructions, uploaded each file to the correct location


TS3 Related Troubleshooting

My server is displayed as offline, but I can connect to the server!

Step 1: First, make sure you entered the correct port, queryport and serverID. it is crucial, that these informations are correct, otherwise the script won't get an answer or will pull the details from the wrong server.

Step 2: Firewall/NAT -
If your server is behind a firewall or a port filter tool, you need to allow datatransfer between the local server and the webserver. If you search for "Port forwarding", you should find enough material and tutorials to solve this issue

Step 3: query whitelist -
For the webserver being allowed to query information from the teamspeak server, you need to add the webserver's ip to the ip whitelist. The File is called "query_ip_whitelist.txt" and located in the ts3 server directory.
Add the webserver's ip in a separated line to the file and save the document. You may have to restart the ts3 server to apply these changes. (This step is not necessary if your teamspeak server runs on the same machine like the vB forum)

Step 4: For the query script to be allowed to pull specific information about the server, you need to grant special permissions to the guest and/or guest server query group.
First of all, you need to enable the advanced rights management inside of your ts3 client settings, so you can actually see what you're doing.
The specific setting is located in the settings window (ALT+P), under the "Anwendung / Application" Tab in the gorup "Verschiedenes / Misc" on the left hand side, named "Erweitertes Rechtemanagement / Advanced permissions system". Make sure the box is ticked.
Open the rights management from within the ts3 client while connected to your server, navigate to Server Groups. Then you need to grant these rights for the groups Guest and Guest Server Query:
  • b_virtualserver_info_view
  • b_virtualserver_channel_list
  • b_virtualserver_client_list
  • b_virtualserver_select
You'll find those rights via filter in the section Virtual Server > Information. (Make sure you have the selectbox set to "Display Names" on the bottom of the window)
If you are not able to solve this problem on your own or run in complications, please contact your ts3 server provider or the official teamspeak forums for assistance, since this problem is beyond the scope of this mod.


Also, you might want to check out this post on details how to enable these guest rights.

If you've gone through these 4 steps and still can't get the viewer to work, contact me via PM with this information:
  • TS3 Server IP:
  • TS3 Port:
  • TS3 Queryport:
  • TS3 Server IP:
  • TS3 Server version:
  • vBulletin Version:
  • Product version:
  • Problem description: Error messages, logs, observations, etc.
General F.A.Q.

I'm getting a blank site with PHP errors of classes that could not be found

You forgot to upload the query libaries or you put it in the wrong place.
Make sure you uploaded the necessary php files into the ./forum/includes directory and set
the correct permissions so the webserver can access it.
Also check if you're using the correct version.
If you update the plugin file, always update the libary file(s) too!


The viewer output doesn't print at all, how can I display it?

Check first, if you enabled the ts viewer in your vBulletin Settings -> "Advanced Voicetool Viewer".
Also, check in your ServerOverview panel, if there are any servers which are active.
If you chose to hide offline servers, check if at least one server is online.
When using a custom template, you may have different hook names than the default vbulletin style.
Check the template code for the right hook names where you want the viewer to appear or consult
your designer for help.
If all this didn't help, check the template files IF you modified them or ask in the mod thread for help.


The Viewer doesn't update immediately, sometimes I have to refresh the page multiple times for it to update the viewer!

This happens when you didn't set up a proper cron job for vbulletin.
Check the section "Cron jobs" in the readme file for more information.




CHANGELOG

Code:

CHANGELOG
=========

06/05/11
- Fixed a bug in the userlist for ventrilo servers
- Fixed a MYSQL Statement bug when editing a server
Upgrade notes: When updating from v1.3, just download the zip archive and upload the file inclues/tsxview_class.php

02/05/11
- Minor Bug fixes in back- and frontend
- Added option to specify the server ordering
- Improved template system to allow more customization
- Fixed wrong behaviour of ts2 query libary on certain occasions
- Fixed some image urls not being defined correctly
- Changed version to v1.3

04/04/11
- Internal Beta release of v1.2
- Introduced Support for Multiple Voicetools (TS2, TS3, Ventrilo)
- Introduced Query caching
- Introduced Multiple server viewers at once
- Improvements to server queries and error handling
- Bug fixes and improvements in the backend
- Added phrases for translations

12/01/09
- First non-beta Release starting at v1.1
- Fixed a formatting error in ts3status.php libary file
- Fixed tabs and whitespaces in xml files causing plugin installation to fail in rare cases.

04/01/09
- General code-cleanup
- Some additions for the settings descriptions
- Added setting for password-protected servers
- Added joinlink support for passworded servers
- Minor changes in ts3status.php

01/01/09
- Initial release


Mastar 06-03-2011 03:21 AM

Its saying our vent is offline when its not! Any suggestions?

Mastar 06-03-2011 03:22 AM

Its saying our vent is offline when its not! Any suggestions?

tlwwolfseye 06-03-2011 12:11 PM

I tried that Mod ony my 4.10 vB and I get this MySQL error.

Quote:

MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
There were no previous Versions of TSX installed. Whats wrong ?

kardac.stenfot 06-03-2011 01:52 PM

Nice app. Installed.

Disasterpiece 06-03-2011 02:03 PM

Quote:

Originally Posted by Mastar (Post 2202926)
Its saying our vent is offline when its not! Any suggestions?

Did you use the correct ip and port?
Please PM me the connection details to your vent server, I'll take a look.

Quote:

Originally Posted by tlwwolfseye (Post 2203041)
I tried that Mod ony my 4.10 vB and I get this MySQL error.

There were no previous Versions of TSX installed. Whats wrong ?

Huh, never heard of that one before. 4.1.0 you say? I'll check back and see what's the problem. Didn't encounter something like this myself yet.

Kapeket 06-03-2011 08:12 PM

Installed and working.

I am new to CMS so how do I go about creating a forum block for this or widget?

Thriled with the idea of not using an outside source for this information.

I did get the cronjob setup correctly so that is a start. =)

watfro 06-05-2011 07:49 AM

Quote:

Originally Posted by tlwwolfseye (Post 2203041)
I tried that Mod ony my 4.10 vB and I get this MySQL error.



There were no previous Versions of TSX installed. Whats wrong ?

I have the same problem on 4.1.3 when adding an TS3 server...

Doc90 06-05-2011 07:50 PM

mee too


All times are GMT. The time now is 06:02 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.01276 seconds
  • Memory Usage 1,763KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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