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)

croft 08-09-2004 01:48 AM

Quote:

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

By the sound of it you know how to do that ?
If not can someone tell me how to do this cron job ??

I have c-panel. and it says cron job on a button there.

Thats my knowledge of cron =(

help please.

SB2002 08-09-2004 11:53 AM

Quote:

Originally Posted by croft
By the sound of it you know how to do that ?
If not can someone tell me how to do this cron job ??

I have c-panel. and it says cron job on a button there.

Thats my knowledge of cron =(

help please.

I had the same thing, you need to use the absolute url of your site to get to the file and also to create the file, like what the guys above have said, and then simply insert the ts ip address (followed by -p:number) where number = your port number (if applicable) and it should work. I had to use the crontab in control panel, which i assume is kinda the same thing. This was my first even cron job too, and with some help i was able to pop my cherry so to speak. If you get any probs, then give us a shout and i'll see if i can help you, otherwise im sure someone else would be more than willing

croft 08-09-2004 12:25 PM

Quote:

Originally Posted by SB2002
I had the same thing, you need to use the absolute url of your site to get to the file and also to create the file, like what the guys above have said, and then simply insert the ts ip address (followed by -p:number) where number = your port number (if applicable) and it should work. I had to use the crontab in control panel, which i assume is kinda the same thing. This was my first even cron job too, and with some help i was able to pop my cherry so to speak. If you get any probs, then give us a shout and i'll see if i can help you, otherwise im sure someone else would be more than willing


Here is what i have set it up to =(

/home/changed/public_html/dab/ts2php 66.199.253.26 -p:8525 /home/changed/public_html/whoisints.php >/dev/null 2>&1

I tryed the -p8525
-p:8525
I tryed with the url instead of the path.
I tryed everything i can think of and im betting i missed something very easy ?? =(

SB2002 08-09-2004 04:19 PM

when i did mine i didnt have the >dev/null 2>&1 bit, and it works ok, but oddly mine didnt start working for almost 12 hours after the cronjob started, and now it runs every 2 minutes

croft 08-09-2004 07:51 PM

I have tryed without that to. even putting every word together =(
Nothing works it wont create the file or nothin....

I dont want blog up this thread with my stupid questions. Can i pm someone about this ?


- edit -
Ok now the wierdest thing happend. I tryed it again and now it created a file BUT the file isnt php its a tmp file at the end. ???

whoisints.php.tmp

Whats that all about anyway ?

Ohh anmd it sent an email to me stating it couldnt connect to the ip 66.199.253.26:51234
But thats the wrong port number ? Why is it trying to connect to the wrong portnumber ? I have the correct number in the cron.

- edit -

croft 08-11-2004 01:58 PM

Quote:

Originally Posted by croft
I have tryed without that to. even putting every word together =(
Nothing works it wont create the file or nothin....

I dont want blog up this thread with my stupid questions. Can i pm someone about this ?


- edit -
Ok now the wierdest thing happend. I tryed it again and now it created a file BUT the file isnt php its a tmp file at the end. ???

whoisints.php.tmp

Whats that all about anyway ?

Ohh anmd it sent an email to me stating it couldnt connect to the ip 66.199.253.26:51234
But thats the wrong port number ? Why is it trying to connect to the wrong portnumber ? I have the correct number in the cron.

- edit -

Anyone ?

croft 08-12-2004 08:16 PM

a bit of support here please =(

vBTotal 08-15-2004 05:14 PM

saaaaaaaaaaweeeeeeeeeeeeeeeeet !!!!

genmud 08-15-2004 10:27 PM

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

Panic 08-21-2004 05:27 PM

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


All times are GMT. The time now is 10:40 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.01214 seconds
  • Memory Usage 1,741KB
  • 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
  • (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