Online users mod 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?
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..
Online users mod Yes, this is caused by $website. There are two fixes: 1) You replace the SQL in the template with: Code: $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: Code: $website = $configs[4];
Online users mod Works! I used method #1 since it's better to mod my external code rather than the core code. Thanks!