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)

SB2002 08-07-2004 12:41 PM

ok, I really want to add this and have been hacking vb's since the 2.1.x days. I've got everything working fine, but it wont update the list (so not really working fine) the ts ip we have is 67.18.180.106:1237 how would i enter that into the cronjob (i'm using crontab on control panel)

anyone able to help me out on what the cronjob line should look like for that ip?

thanks

xxxGiJoe 08-07-2004 03:10 PM

Quote:

Originally Posted by Phalynx
Cool Thing! I created a similar hack with the difference that the data is beeing read in realtime from the Server.

http://www.insideearth.de/forum.php?guestlanguageid=5

I'd definately use this hack if you'd post it for my site... :D

PC Gaming Site
http://WOLFGaming.net

jluerken 08-07-2004 06:27 PM

Quote:

Originally Posted by SB2002
ok, I really want to add this and have been hacking vb's since the 2.1.x days. I've got everything working fine, but it wont update the list (so not really working fine) the ts ip we have is 67.18.180.106:1237 how would i enter that into the cronjob (i'm using crontab on control panel)

anyone able to help me out on what the cronjob line should look like for that ip?

thanks

Ok here is my cronjob as example
0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,3 6,38,40,42,44,46,48,50,52,54,56,58 * * * * /home/www/web1/html/forum/includes/cron/ts2php 217.160.173.218 /home/www/web1/html/forum/whoisints.php >/dev/null 2>&1

This is starting the update every 2 minutes :D
Don't forget to add a -p<port> in your case.

SB2002 08-07-2004 07:02 PM

ok thanks, n00b type question here, but i add the 1237 in inplace of the word port right?

so like -p<1237>

jluerken 08-07-2004 08:34 PM

Quote:

Originally Posted by SB2002
ok thanks, n00b type question here, but i add the 1237 in inplace of the word port right?

so like -p<1237>

Yes, try

ts2php IPADDRESS -p1234 FILE or
ts2php IPADDRESS -p:1234 FILE

Did not remember how I add that :D

SB2002 08-07-2004 10:26 PM

Thanks, im still having problems getting it to work, it doesnt seem to be creating the whoisints.php file at all, or updating it when i manually create a blank php file and name it whoisints.php

It's very late here too, so I've totally given up for tonight, but I dunno what else I can do to try and get it working, which is a crying shame cos the hack itself looks sound, and would have been really useful to have got working. I'll openly admit tho, I only got the control panel stuff added a couple of months back and this is my first experience with cronjobs outside of vb, so this may be the problem for me.

007 08-08-2004 05:09 AM

Does this work for 3.01 by chance? Also, does the TS server need to be the same server as the forum server or could it be different?

This sounds very cool. Thanks a lot!

SB2002 08-08-2004 11:51 AM

works like a charm on 3.0.1, check my forums if you want to see it in action, i have it set to update every 2 minutes now.

thanks for the help with the cronjob too jluerken, I've been waiting for something like this for my clan for months, such a breeze to install, took me a while to get the cron down, you need the port as IP -p:addnumberhere file

Once again, thanks for a great hack.

Bandwurm 08-08-2004 01:08 PM

Quote:

Originally Posted by jluerken
0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,3 6,38,40,42,44,46,48,50,52,54,56,58 * * * * /home/www/web1/html/forum/includes/cron/ts2php 217.160.173.218 /home/www/web1/html/forum/whoisints.php >/dev/null 2>&1

This is starting the update every 2 minutes :D

*/2 * * * * /home/www/web1/html/forum/includes/cron/ts2php 217.160.173.218 /home/www/web1/html/forum/whoisints.php >/dev/null 2>&1

This run's every two minutes too.

j_86 08-08-2004 01:40 PM

Instead of cronning it, run the command whenever index.php is loaded? Surely enough people visit your board to compensate for no-cron job.


All times are GMT. The time now is 10:39 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.01180 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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
  • (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