vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Show who is online in Teamspeak on forumhome (https://vborg.vbsupport.ru/showthread.php?t=67969)

jluerken 08-21-2004 06:02 PM

Quote:

Originally Posted by genmud
is there a way to get this type of info without putting everything in vBulletin???

I just wanna use this on my clans site which I dont have vB on(yet) and I was also thinking of making this into a block or something for vBportal or at least being able to include this...

I am a noob @ php :)

any help would be greatly appreciated :)

Genmud


The script is independant of vb which means you can use it also on a normal webpage.

jluerken 08-21-2004 06:02 PM

Quote:

Originally Posted by Panic
Couldn't get this to work. When I tried executing ts2php from a SSH window I got the following: -

./ts2php: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Any ideas

Which glibc version are you running?

Panic 08-21-2004 07:31 PM

Quote:

GNU C Library stable release version 2.2.5, by Roland McGrath et al.
Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 2.95.4 20011002 (Debian prerelease).
Compiled on a Linux 2.4.18 system on 2003-04-08.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.9 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
See above for version information. So I need a version of ts2php compiled with the glib version installed on my web server, correct?

jluerken 08-21-2004 08:51 PM

Quote:

Originally Posted by Panic
See above for version information. So I need a version of ts2php compiled with the glib version installed on my web server, correct?

Yes that should fix it.
Send me your emailadress in a pm and I will send you the source so that you can compile it on your own.

jluerken 08-24-2004 07:55 PM

Quote:

Originally Posted by Panic
See above for version information. So I need a version of ts2php compiled with the glib version installed on my web server, correct?

@Panic: Did you get the source and compiled it? Tell me if this worked for you cause the answer will maybe also help others!

SilverDawn 08-28-2004 03:40 PM

this is awesome and I have been looking for something like this for a long time.

great hack and I will install it!

Wij 08-30-2004 12:42 PM

I seem to have the same problem as croft.
I'm certain i've installed it correctly and my cron seems fine,its creating a file called whoisints.php.tmp(I do not understand why it is making this file) and I get this error at the top of my page:

Warning: file_get_contents(./whoisints.php): failed to open stream: No such file or directory in /home/wiiija/public_html/wij/phobia/forum/index.php on line 59

Now,if I rename the file to whoisints.php the error dissapears but the file does not update and no users are listed as being on teamspeak,also the whoisints.php.tmp file reappears in the directory :)

My cronjob as it stands:
/home/wiiija/public_html/wij/phobia/forum/includes/cron/ts2php 217.158.150.19 -p:10110 /home/wiiija/public_html/wij/phobia/forum/whoisints.php >/dev/null 2>&1

I'm using cpanel to set the frequency of updates etc.
If theres a glaring mistake I'd appreciate if somebody could point it out but it appears in order to me,I have also chmod 755 the ts2php file as stated in the first post,I hadnt done this at first and thought this maybe the problem but unfortunately not.


Cheers

Wij

Wij 08-30-2004 01:45 PM

I fixed it,I had to remove the ">/dev/null 2>&1" and remove the ":" before the port,it now works 100%,great hack.

**edit** lol,ok 99% works,I've been disconnected from teamspeak for around 30 mins now and its still listing me as connected? :tired:

regards

Wij

LImburg 09-13-2004 04:37 PM

ok, got the thing running (on another machine because of the libstdc++.so.5 error, but where oh where can I define a username and password? Since the TS-server isn't public I really need that...

TIA

jluerken 09-13-2004 05:31 PM

Quote:

Originally Posted by LImburg
ok, got the thing running (on another machine because of the libstdc++.so.5 error, but where oh where can I define a username and password? Since the TS-server isn't public I really need that...

TIA

I've never tested this with a password protected TS but I think it is also working when there is a password on cause you're not really login on. Its only checking who's online like a webbased script which also do not need login data :D


All times are GMT. The time now is 07:18 AM.

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.01174 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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