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)

NPGamers.Net 06-06-2011 01:37 AM

You need to read the directions. You have to put the correct ID of the TS in to stop the errors.

I installed it correctly on my site but says the server is offline. I have allowed my website into the ip whitelist for TS3 and no change. ?

Rabillo 06-06-2011 03:41 PM

Quote:

Originally Posted by Disasterpiece (Post 2203072)
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.

Invalid SQL:
INSERT INTO `vb_tsx_server` (`active`, `name`, `ip`, `port`, `queryport`, `serverID`, `type`, `order`, `cacheTime`, `signalTime`, `status`, `created`, `password`) VALUES ( 0, 'Teamspeak 2', 'xxx.xxx.xxx.xxx', 8767, 59176, 0, 1, 999, 0, 0, 3, '1307378271' );

'value' for 'password' is missing in sql-query ... the last value ('1307378271') in the query is the value for the 'created' timestamp.


vBulletin 4.1.3 pl1
avv 1.3

Edit 2 - solution:

tsxview_class.php, find line 126:

VALUES ( %d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, '%s' )",

replace it with

VALUES ( %d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d, '%s' )",

Disasterpiece 06-06-2011 04:14 PM

The MYSQL error is now fixed.

For all those with version 1.3, just download the package, upload the file
includes/tsxview_class.php and overwrite the old version.
Or alternatively, try the fix from Rabillo. Now you should be able to add new servers.

Quote:

You need to read the directions. You have to put the correct ID of the TS in to stop the errors.

I installed it correctly on my site but says the server is offline. I have allowed my website into the ip whitelist for TS3 and no change. ?
Can you PM the ts3 information to me so i can check what's wrong?

ip:
port:
queryport:
serverid:

Doctor Death 06-06-2011 05:12 PM

I like this mod... Wonder if I can recommend an enhancement or two... Take them or leave them.

Where it says JOIN SERVER, if you have ventrilo and a default visitor name, it will try and overwrite the local profile.. any way for it to join and keep default user name if one exists?

I think it should have an icon that says "Voice Servers" and then list the servers under that by type with icon and status.....

Should probably be able to define the color of the JOIN SERVER link.

Thanks again, this is very useful

Disasterpiece 06-06-2011 05:36 PM

Hi Doctor Death,
most of the features are already covered by the way you can modify the templates on your own. Given that you have the according HTML/CSS knowledge or someone who does.

Quote:

Where it says JOIN SERVER, if you have ventrilo and a default visitor name, it will try and overwrite the local profile.. any way for it to join and keep default user name if one exists?
Not sure what you mean by "default user name". Does ventrilo has a setting like this? I'm not sure how ventrilo handles these things, but possibly it should be enough to leave the user name parameter in the url blank, right?

Quote:

I think it should have an icon that says "Voice Servers" and then list the servers under that by type with icon and status.....
You can modify the 2 templates accordingly to fit this kind of output.
I'm not sure it would be a wise idea to implement this kind of output and then nobody uses it. The template vars should be enough to let you style the output exactly how you like them to be. If something in particluar is missing, let me know!

Quote:

Should probably be able to define the color of the JOIN SERVER link.
You already can!
Put this in your CSS > additional.css template:
Code:

/* TS VIEWER JOINLINK COLORS */
/* TS2 */
.tsx_type_1 span.tsxview_joinlink a {
color: #ff0000;
}
/* TS3 */
.tsx_type_2 span.tsxview_joinlink a {
color: #00ff00;
}
/* Ventrilo */
.tsx_type_3 span.tsxview_joinlink a {
color: #0000ff;
}

Replace the color codes with the colors you like and the link should have that color!

Mastar 06-06-2011 07:39 PM

I've updated the Hack on my forums and it still doesn't connect to Vent... it says Offline!

computer22 06-07-2011 03:41 AM

Would be awesome if it could display a small box on the CMS frontpage!

Kraxell 06-09-2011 04:00 PM

Hello,

i want to enable "b_virtualserver_select" but the voice always say error. Any idea?

/EDIT
Works =)

But one little Problem. Names with special signs are not working. Any idea to solve it?

2. Question:
How to show it only for a special usergroup?

Disasterpiece 06-09-2011 04:41 PM

Quote:

Originally Posted by Kraxell (Post 2205489)
But one little Problem. Names with special signs are not working. Any idea to solve it?

By "not working" you mean the name gets displayed just without special chars, or some weird characters showing insted or no username at all?

Quote:

Originally Posted by Kraxell (Post 2205489)
2. Question:
How to show it only for a special usergroup?

Sure, you can edit the viewer_overall template and add these conditional tags around the content:
PHP Code:

<vb:if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)">
...
</
vb:if> 

where 1, 2, 3 are the group ids of the groups, where the user must be a member of (at least one)

Kraxell 06-09-2011 04:57 PM

Quote:

By "not working" you mean the name gets displayed just without special chars, or some weird characters showing insted or no username at all?
Names shows as ?????

Ok, thanks for help =)

AH sehe gerade, deutsch? :)


All times are GMT. The time now is 10:45 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.01146 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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