We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Members show as permanantly online | Forum

Bazzabingbong
Bazzabingbong Aug 18 '11
hi,

my site members are showing as permanantly online, but i know most of them are not as i credit my members for a daily login..how do i reset this so they all show offline after logout.

Note: i have tried to flush the user table but it said i need RELOAD privilage for this????

Thanks
Benjamin
Benjamin Aug 18 '11
Did you set up your Cronjobs succesfully?
Bazzabingbong
Bazzabingbong Aug 18 '11
i have loads of cron jobs setup mate, need an idea on which one i should be looking for.

thanks
Benjamin
Benjamin Aug 18 '11
It just should be the main Cronjob: ow_cron/run.php
Is it configured the right way? It should be "/usr/local/bin/php /home/yoursite/domains/yoursite.com/public_html/ow_cron/run.php" and set to * * * * (every minute, hour, day, week of the month) 
Bazzabingbong
Bazzabingbong Aug 18 '11
is this the same one that sets the automatic updates as well
Benjamin
Benjamin Aug 18 '11
I don't know for sure. What I do know is that it is the most important cronjob for your Oxwall-powered site.

Sometimes you need to add a line in your root .htaccess to get the cronjob to work. Add the following line to see if it helps...

RewriteCond %{REQUEST_URI} !/ow_cron/run.php
Bazzabingbong
Bazzabingbong Aug 18 '11
its cool mate its sorted now, it worked with the first cron you gave me and it gave me auto updates too thanks mate.
Benjamin
Benjamin Aug 18 '11
Perfect! You're welcome, I'm glad I helped you out!
Jim
Jim Aug 19 '11
path statement worked for me too thanks
Andrej
Andrej Aug 26 '11

Quote from Benjamin RewriteCond %{REQUEST_URI} !/ow_cron/run.php

This thing really works! Users online - is now not online! :D
As I understand - users online will be refreshed every time when you are refreshing a page?
Crewdog
Crewdog Sep 11 '11
Where in root .htaccess does this line go?  I put at the beginning, but not sure if that's right.



Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_URI} !/ow_cron/run.php
RewriteCond %{REQUEST_URI} .*/http-bind
RewriteRule (.*) /http-bind [L]

RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.raw|/[^.]*)$  [NC]

RewriteRule (.*) index.php



Also, I want to be sure I understand...when user closes browser without logging out, does cron job log them out automatically?

Thanks!
Laxman
Laxman Sep 12 '11
Hello sir After updating 1.2.3 my site in Problem, please help me...


http://www.iuttaranchal.com/
Mickael
Mickael Sep 13 '11
Laxman : i guss your pb is related to your theme/css..
You updated and .. ? Be more specific