The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Show who is online in Teamspeak on forumhome Details »» | |||||||||||||||||||||||||||
Show who is online in Teamspeak on forumhome
Developer Last Online: Dec 2018
Hi,
this is my first little hack and I hope one of you has a little bit time to improve it. This hack will check who is online on a Teamspeak server and generate a list of nicknames in a file. This file will then be display in the statistics area of forumhome. Hack can be installed in 5 minutes! Difficulty: very easy Screenshot attached Enhancements: If anyone knows how to start this via vBCron please tell me in forumroot/index.php find: PHP Code:
PHP Code:
Edit Template FORUMHOME Find: PHP Code:
PHP Code:
Upload ts2php (compiled c++ file) to /forumhome/ Upload ts2icon.jpg to /forumhome/images/misc/ Use a cronjob to start ts2php every 2 minutes (should be done via vBCron if possible but I don't know how!) with the following command: ./ts2php TEAMSPEAKIP whoisints.php This will check the Teamspeakserver for users and creates a file whoisints.php with the names in it. If you run a teamspeak server with a different port run ./ts2php TEAMSPEAKIP -p<port> whoisints.php Don't forget to chmod 755 ts2php See the screen to take get a better impression! Show Your Support
|
Comments |
#42
|
|||
|
|||
oops, you're right! Just tried it and it worked fine!
I didn't test it, I assumed it wouldn't work... thnx Now I only would like to have a better version (without the libstdc++.so.5 nagging) so I don't have to upload the file every minute... But it works for now! EDIT: If nobody is logged in to the TSS (well, it happens sometimes), the program returns a segmentation-fault. So there's always one (the last person who logged out) mentioned in the whoisints.php-file. |
#43
|
||||
|
||||
simply awesome!! brings my site to the next level. thank you!
*clicks install* |
#44
|
||||
|
||||
./ts2php: error while loading shared libraries: libstdc++.so.5: cannot load shared object file: No such file or directory
I also get this error when I try to start ts2php manualy. GNU C Library stable release version 2.2.2, by Roland McGrath et al. Copyright (C) 1992-1999, 2000, 2001 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.3 20010315 (SuSE). Compiled on a Linux 2.4.3 system on 2002-10-04. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others Berkeley DB glibc 2.1 compat library by Thorsten Kukuk linuxthreads-0.9 by Xavier Leroy NoVersion patch for broken glibc 2.0 binaries BIND-8.2.3-T5B libthread_db work sponsored by Alpha Processor Inc NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk I am no linux expert so can someone help me plz StarBuG |
#45
|
||||
|
||||
Anyone who can help?
Maybe you should offer the source of the C++ file and give a short description how to compile the file on the server!? StarBuG |
#46
|
|||
|
|||
Ok I've got the cron job to make the whoisints.php file but its empty and I get an e-mail and in the body it only says "Abort trap".
Can someone help me plz?? |
#47
|
||||
|
||||
Quote:
Did you entered the cronjob on your shell into the crontab? You would do it like: crontab -e (then insert and save) StarBuG |
#48
|
|||
|
|||
Quote:
|
#49
|
||||
|
||||
Quote:
Star |
#50
|
||||
|
||||
(edited to update)
Grrr - i KNOW i'm missing something simple here. the cron job runs, but i am getting the .tmp extention added to my .php file i am also getting error email that state it cant connect to the database on a port different that what i specified Thank you! (further update) it seems removing the : from before the port resolves the weird port error message BUT The .tmp file that is 0 bytes in size remains, and does not update Anyone? Thanks |
#51
|
|||
|
|||
Great hack! I've installed and it seems to be working great! Kudos!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|