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)

techanalyst 08-14-2011 04:25 PM

I still cant get it to work :P

Disasterpiece 08-14-2011 05:56 PM

Quote:

Originally Posted by techanalyst (Post 2233430)
I still cant get it to work :P

you are using the IP adress instead of the hostname, right?

techanalyst 08-14-2011 08:39 PM

Correcto boss, I own both the physical servers and they both reside on the same network and same subnet, I also control the firewall and have a host to host any any set

yoni007 08-18-2011 01:09 AM

I found a little "error", repeated word, into "tsxviewer_vb4_v1_3.xml".

<h3 class="blocksubhead">{vb:raw server.indicator}&nbsp;&nbsp;<span class="ts_servername">{vb:raw server.icon}&nbsp;{vb:raw server.name}</span>&nbsp;{vb:phrase phrase_tsx_currentuser, {vb:raw server.usercount}}</h3>

should be

<h3 class="blocksubhead">{vb:raw server.indicator}&nbsp;&nbsp;<span class="ts_servername">{vb:raw server.icon}&nbsp;{vb:raw server.name}</span>&nbsp;{vb: phrase tsx_currentuser, {vb:raw server.usercount}}</h3>

;)

drainpan 08-24-2011 12:21 AM

I have mumble instead of teamspeak and ventrilo and this mod says it is also for mumble... it says so in the plugins and products area description of the installed mod.....

but..... when adding servers... there is no mumble choice..... there is no mumstatus.php... am I missing something?

Disasterpiece 08-24-2011 11:23 AM

mumble has been scrapped before the release due to some very unusual views of the developers.
It may come someday, but not in the next days/weeks/months.

The plugin description still says mumble, but this is from an early beta release. Some of the code is still existant, but the "interesting" part is missing. Sorry for the confusion.

If you're interested in the discussion, read this: http://sourceforge.net/projects/mumb.../topic/3867568

odie3 08-30-2011 09:00 PM

NM - finally got it working... had to go to "Settings | Options | Application" and check on "Advanced permission systems".

Now I can get into my test server - now to make this happen with our hosted/rented server.

odie3 08-30-2011 10:56 PM

Ok, I am trying to setup my cron job but the email i am getting back is:

Status: 500 Internal Server Error
X-Powered-By: PHP/5.2.17
Content-type: text/html

Not sure if I have my host site/cron setup properly (the path) but I think I do.

Looks like my path is correct, there is a php error log that is growing in the \cron\ directory

Quote:

[30-Aug-2011 20:58:50] PHP Warning: require_once(DIR/includes/tsxview_class.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/XXXXXX/public_html/includes/cron/tsxview_cron.php on line 9
[30-Aug-2011 20:58:50] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR/includes/tsxview_class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/XXXXXX/public_html/includes/cron/tsxview_cron.php on line 9

Disasterpiece 08-31-2011 01:10 PM

Quote:

Originally Posted by odie3 (Post 2240192)
Ok, I am trying to setup my cron job but the email i am getting back is:

Status: 500 Internal Server Error
X-Powered-By: PHP/5.2.17
Content-type: text/html

Not sure if I have my host site/cron setup properly (the path) but I think I do.

Looks like my path is correct, there is a php error log that is growing in the \cron\ directory

you shouldn't access the tsxview cron script directly, but the vbulletin cron.php file located in the forum root dir.

Important keywords marked in bold:

Quote:

CRON JOBS
=========

To make the uptime logger work properly and keep the viewers up to date every time a user refreshes the
page, you need to add a cron job to your webserver.
This can happen in multiple ways, so pick the right one for your environment:

- You own a Root server or a VPS and have shell access to the console:
Great! the only thing you need to do is to add a cron entry to the crontab as root or your web user.
You can access the crontab by entering 'crontab -e' with your favourite text editor.
Then you need to paste the following line after you entered the correct values:

*/5 * * * * /usr/bin/php5 /var/www/htdocs/forum/cron.php >/dev/null 2>&1

What it does:
The first 5 columns define the time the cron entry should be executed (you may check google for the
according crontab syntax if you're unsure), the 6th column defines the binary, which should be your
php bin file. In my example I located the php bin in /usr/bin/php5, you have to check for your correct
bin file, ask your admin/hoster for assistance if you're unsure.
The 7th column is the absolute path to the cron.php located in your vbulletin root directory.
The last parts separated with a space (not a tab) tells the crontab to hide all output from the php parser

- You are on a VPS or a hosting, but have access to an admin Panel where you can add cron entries (or Sheduled Tasks)
Depending on how exactly the crontabs are managed, you might be able to enter a term like the example
above or you need to specify one line for execution.

PLESK for example uses "Sheduled Tasks" for specific domains.
In the Minute Field, you use "*/5", Hour, DoM, Month, DoW: "*"
Command: "/usr/bin/php5 -f "/var/www/htdocs/forum/cron.php"
The command has to be adapted to your server environment, especially the path to the php binary and the
path to your cron.php located in the forum root dir.

Ask your admin/hoster for assistance if you're unsure or use a different administration tool

- You don't have access to any of that or don't want or can't define a sheduled task:
No worries, the addon will work anyway. However there are 2 things you should be aware of:
Because of the vbulletin's style of running cronjobs, in the case that you had no user visiting your
forum for more than 10 minutes, the viewer will not update until the page is refreshed again.
This is because the update is called AFTER the page has been loaded for the user.
Second: The uptime logger may not work properly, because the script doesn't update every 10 minutes,
but at least 10 minutes from the last page load.

odie3 08-31-2011 01:40 PM

Doh! What a mis-read on my part! Thanks for helping me out!

[S]Ok, I have the correct "cron.php" being used any my email that I get from my VPS/Hosting is "GIF89a". From the forums I am not really seeing the TS3 server update within each minute (and I am not hearing the "guest" connected like when I force a reconnect by just editing my server in admin settings). Is there some vB Cron setup I am lacking?[/S]

NM, found the scheduled task in vB Admin/Settings - it's working as it should now. I had no clue about those scheduled tasks.

odie3 08-31-2011 02:25 PM

Quote:

Originally Posted by computer22 (Post 2204491)
Would be awesome if it could display a small box on the CMS frontpage!

I agree!

Brandon Sheley 08-31-2011 02:29 PM

slick mod, I like it :)

[high]* Brandon Sheley tags[/high]

Disasterpiece 08-31-2011 03:05 PM

actually, it's not the cron setup inside the vb admin cp... it should be the cron tab on your server. The goal is to enable "real-time" cron for the vbulletin cron system, so all vbulletin plugins (like the ts viewer) can benefit from a real-time-vbulletin-cron system...

I know it's hard to understand if you're not into unix, server and that stuff, but if you follow the instructions in the readme, you should be able to accomplish it by yourself.

// anyway, the script should function even without the crontab set up properly.

odie3 08-31-2011 03:31 PM

I have my Cpanel/Cron setup per my hosting site's instructions (I put in a support ticket), the path is: php -f /home/xxxxxx/public_html/cron.php and it is set to run every minute. However I did not get any updates, so I updated the Scheduled Tasks in vBulletin to run every minute - once I did that I heard "query server" connect while I was listening on my TS3 Client on every minute.

so that is incorrectly setup? I have to say I am not into cron jobs at all.

Disasterpiece 08-31-2011 03:48 PM

OK, this time I got you wrong. Looks correct from here.

Lord. Dela 08-31-2011 06:29 PM

NOT work. It says the server is unplugged. No mod this guy works.

Someone could tell me how I configure it to work? The server I have it installed in TS3 elsewhere. I pass my data aver if u can help.

Server Team Speak 3: 190.210.25.68
Port: 9987
ID: 916741

Thanks !

odie3 08-31-2011 07:36 PM

1 Attachment(s)
i had a bugger of a time getting mine working too and I was running my TS3 server on one of my boxes here in my house.

1. are you sure that is your Query Port and ServerID? You need both and the port number you use to connect using TS3 Client (if you are renting you will likely have to ask your TS3 Hosting site for Query/ServerID).
2. did you give "guest" access rights as per the instructions? This was the last thing I had problems with since I could not find the rights! Which is because the current client does not show you these rights until you enable the advance option.

I have placed a few screen shots of the permission rights, enabling the adv option and have on of the rights listed in the search. Search each one and enabled them till done.

Disasterpiece 08-31-2011 08:49 PM

Quote:

Originally Posted by Lord. Dela (Post 2240540)
NOT work. It says the server is unplugged. No mod this guy works.

Someone could tell me how I configure it to work? The server I have it installed in TS3 elsewhere. I pass my data aver if u can help.

Server Team Speak 3: 190.210.25.68
Port: 9987
ID: 916741


Thanks !

Are you sure about the ID? Seems unusually high to me.
However, if I enter your provided credentials with the default query port 10011, I get the following error message:

Code:

Exception thrown: TS3 Server returned the following error: Welcome to the TeamSpeak 3 ServerQuery interface, type &quot;help&quot; for a list of commands and &quot;help &lt;command&gt;&quot; for information on a specific command.
error id=1033 msg=server is not running

This implicates, that either your server has been suspended or the server ID is not correct. The IP, queryport seems to be correct tho.

Lord. Dela 08-31-2011 09:41 PM

Quote:

Originally Posted by Disasterpiece (Post 2240619)
Are you sure about the ID? Seems unusually high to me.
However, if I enter your provided credentials with the default query port 10011, I get the following error message:

Code:

Exception thrown: TS3 Server returned the following error: Welcome to the TeamSpeak 3 ServerQuery interface, type &quot;help&quot; for a list of commands and &quot;help &lt;command&gt;&quot; for information on a specific command.
error id=1033 msg=server is not running

This implicates, that either your server has been suspended or the server ID is not correct. The IP, queryport seems to be correct tho.


My server is running fine for TS3 in my community, look at the ts viewer and details.

Here

Disasterpiece 08-31-2011 10:33 PM

I think you gave me the ID of the tsviewer.com instance and not your real TS3 Server ID...

Ask your hoster/provider what the real ID of your ts3 server is.

Dygear 09-01-2011 05:49 AM

Have you considered releasing this on GitHub so that other people might Fork it? I'm sure there are a few people out there that might want to try and add mumble support.

I myself, read the thread that you posted too with the devs saying that you have to use CVP or use an Ice module for PHP. While I understand that you don't want people to have to install Ice (I don't blame you at all, I would hate to add a dependency to this) I don't see the problem with parsing the CVP string using the included JSON parser within PHP. Seeing as vB4 (That this Add-on is targeted at) has a minimum requirement of PHP 5.2 anyway I don't see this being a problem.

Disasterpiece 09-01-2011 08:37 AM

Quote:

Originally Posted by Dygear (Post 2240718)
Have you considered releasing this on GitHub so that other people might Fork it? I'm sure there are a few people out there that might want to try and add mumble support.

I don't want to release it that public right now.
Anyone who is interested in expanding on the current product may do so* with the code provided here, I'd be happy to include any helping hand as a co-author.
*= Requirement is, that this vb.org product thread is the primary distribution method.

Quote:

Originally Posted by Dygear (Post 2240718)
I myself, read the thread that you posted too with the devs saying that you have to use CVP or use an Ice module for PHP. While I understand that you don't want people to have to install Ice (I don't blame you at all, I would hate to add a dependency to this) I don't see the problem with parsing the CVP string using the included JSON parser within PHP. Seeing as vB4 (That this Add-on is targeted at) has a minimum requirement of PHP 5.2 anyway I don't see this being a problem.

cvs is still an option, true. As I stated in the sf thread (somewhere), the project isn't canceled completely yet. I still didn't find the time to learn how that cvs stuff works. And since I don't see any cent for this plugin, I have no reason to stress it, expecially when I have limited time right now :o

LuckyNeo 09-05-2011 01:44 PM

Awesome! Thank you so much!

Seavy08 09-05-2011 04:40 PM

I can not figure out my TS3 ServerID
I messaged my TeamSpeak 3 service provider and they told me that my serverID was Authentic, something I chose
I put that in and it never saved, changed it back to 0

When hovering over the last positive signal i get;
expection thrown: socket error: connection timed out [110]

I also can not give permission to b_virtualserver_select.. not sure why
I was able to grant the others without a problem

Anyone feel like helping me out?

Disasterpiece 09-06-2011 09:59 AM

Quote:

Originally Posted by Seavy08 (Post 2242280)
I can not figure out my TS3 ServerID
I messaged my TeamSpeak 3 service provider and they told me that my serverID was Authentic, something I chose
I put that in and it never saved, changed it back to 0

When hovering over the last positive signal i get;
expection thrown: socket error: connection timed out [110]

A connection timeout is an indicator for a wrong IP and/or incorrect queryport, since the server didn't even answer with an error message.
In this case you really have to consult your hoster on the right credentials. Ask him for the following information:

Code:

TS3 Server IP: (the ip adress of the machine)
TS3 Port: (the port number a ts3 client connects to if he wants to join the server)
TS3 Server Query Port: (the numeric port number where the query connection is directed to)
TS3 Server ID: (Unique Numeric ID to identify the ts3 server instance)
Password (optional): (Password required to connect to the ts3 server instance)

Once aquired, it should suffice to enter the credentials into their according fields in the AdminCP > Add Server ...
Quote:

I also can not give permission to b_virtualserver_select.. not sure why
I was able to grant the others without a problem

Anyone feel like helping me out?
See this post: https://vborg.vbsupport.ru/showpost....35&postcount=2
and this: https://vborg.vbsupport.ru/showpost....0&postcount=57
for detailed instruction on how to set the correct permissions.

Gyarados 09-13-2011 04:27 PM

This may sound stupid, but I have absolutely NO idea how to link the server to the product so that it'll display. As in, I have no idea where or how to enter my server information, I've read the ReadMe about 800 times now and I just cannot figure this out.

Disasterpiece 09-13-2011 04:34 PM

Quote:

Originally Posted by Gyarados (Post 2245424)
This may sound stupid, but I have absolutely NO idea how to link the server to the product so that it'll display. As in, I have no idea where or how to enter my server information, I've read the ReadMe about 800 times now and I just cannot figure this out.

Did you find the Navigationbox "Advanced Voicetool Viewer" in your Admincp on the left side?

The link "Add Server" should be self-explanatory :)

Gyarados 09-14-2011 11:39 PM

Quote:

Originally Posted by Disasterpiece (Post 2245432)
Did you find the Navigationbox "Advanced Voicetool Viewer" in your Admincp on the left side?

The link "Add Server" should be self-explanatory :)

I did find that, I didn't see it before. I always seem to never see those, it all runs together :(. My only issue now is inputting the server ID. I grabbed the query port from my host, but the server ID erased itself when I put in the ID that was provided to me.

Disasterpiece 09-15-2011 12:29 AM

That should not happen. I assume it's a ts3 server?

First you should click "Add server", then choose "Teamspeak 3" from the select box. Then enter your credentials, IP as a numeric representation like 123.456.789.100 (NOT as hostname),
ports and ServerID should be a numeric value without spaces or any characters.

If you still have trouble, make a screenshot of the "Add server" form the moment before you click the save button and send it to me via PM.

Micha66 09-23-2011 04:27 PM

hi, can please someone explain to me in detail how i can use this viewer in a widget in my cms please?
i?m a little newbie ;)

Disasterpiece 09-24-2011 04:49 PM

Quote:

Originally Posted by Micha66 (Post 2249327)
hi, can please someone explain to me in detail how i can use this viewer in a widget in my cms please?
i?m a little newbie ;)

I don't own the cms, so I have no idea how this should work. Sorry

Micha66 09-24-2011 06:07 PM

i think i made id i only dont know my serverid

server query wont work

Disasterpiece 09-24-2011 06:39 PM

Quote:

Originally Posted by Micha66 (Post 2249658)
i think i made id i only dont know my serverid

server query wont work

server query won't work without the correct server ID. You have to ask your teamspeak provider for the correct id.

Micha66 09-24-2011 08:57 PM

lol, he say to me i can get it with a server query

Disasterpiece 09-25-2011 07:15 AM

Quote:

Originally Posted by Micha66 (Post 2249697)
lol, he say to me i can get it with a server query

Without the serverID, I can't help you.

Consult the official teamspeak forums if you still have trouble obtaining the id: http://forum.teamspeak.com/forum.php

Papoye 09-25-2011 12:04 PM

Need Raidcall status

dustoff99 09-25-2011 01:44 PM

Installed and works great.

However when I hover over the Join hyperlink, is their an option to disable displaying the password?

If not, is their an option to only show this block to certain groups?

I don't want anyone that visits my board to know that information.

PS still new to vB :D

Disasterpiece 09-25-2011 05:54 PM

Quote:

Originally Posted by dustoff99 (Post 2249894)
Installed and works great.

However when I hover over the Join hyperlink, is their an option to disable displaying the password?

If not, is their an option to only show this block to certain groups?

I don't want anyone that visits my board to know that information.

PS still new to vB :D

You can edit the tsviewer_overall template and wrap the content in the following tags:
PHP Code:

<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">

...

</
vb:if> 

where 1,2,3 are the ids of the usergroups you want the viewer to be visible.

dustoff99 09-25-2011 09:36 PM

Quote:

Originally Posted by Disasterpiece (Post 2249974)
You can edit the tsviewer_overall template and wrap the content in the following tags:
PHP Code:

<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">

...

</
vb:if> 

where 1,2,3 are the ids of the usergroups you want the viewer to be visible.

What is the quickest (or best) way to find the tsviewer_overal template?

dustoff99 09-25-2011 09:42 PM

I found TSxViewer:

- Cache Templates
- Load cache
- Main

under Plugins & Products / Plugin Manager (is it TSxViewer: Main?) and if so, do I just copy / paste that code at the top or bottom?


All times are GMT. The time now is 05:00 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.01594 seconds
  • Memory Usage 1,864KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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