Online users mod
Rushian 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Online users mod
Rushian
OP
0
From: -
From: -
Online users mod
Works!
I used method #1 since it's better to mod my external code rather than the core code.
Thanks!
Works!
I used method #1 since it's better to mod my external code rather than the core code.
Thanks!
1 Re: Online users mod
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Online users mod
Yes, this is caused by $website.
There are two fixes:
1) You replace the SQL in the template with:
or
2) You add the following line after require("core.php"); in profile.php:
Yes, this is caused by $website.
There are two fixes:
1) You replace the SQL in the template with:
$result = DBQuery("SELECT online_user FROM esselbach_st_online ORDER BY online_user");
or
2) You add the following line after require("core.php"); in profile.php:
$website = $configs[4];
1 Re: Online users mod
Rushian
OP
0
From: -
From: -
Online users mod
Yes.
I copied it to an external script that is included into the site_footer template.
Hmm, I wonder if it has something to do with $website var (which I made global in site_footer) or some other ver collision when the view profile module runs..
Yes.
I copied it to an external script that is included into the site_footer template.
Hmm, I wonder if it has something to do with $website var (which I made global in site_footer) or some other ver collision when the view profile module runs..
1 Re: Online users mod
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Online users mod
You added the entire online users code from forum_overview_header to site_header?
You added the entire online users code from forum_overview_header to site_header?
I have duplicated the Online Users info box that is at the top of the forums on my main page (ie. site header), but it 'goes blank' when viewing someone's proifile.
For example, if there are 2 users online (Rushian and DrEvil), if I view DrEvil's profile, the users online box says there are 0 users and 0 guests online even though there are 2 of us online. Going to any other module then updates the list correctly again.
Can that be fixed somehow?