First off, I'm terribly sorry if this is the wrong forum. If it is, feel free to move it. Anyways, I was wondering if it's possible to add your own variables to tell where a user is on the "Who's Online" page. I already know that you can edit this by going to "online.lang.php", but I'm wondering if it's a good idea to do. For example, I have a photo gallery (coppermine), games section and a downloads section. I also have another half of the site that my users can go to. When one is actually the aforementioned pages, the "Who's Online" page lists them as viewing Unknown Location. So, can I put my own information in, somewhere?
Possible?
|
2008-03-11, 12:07 AM
Yes there are ways for a plugin to hook into the whos online page I believe but I personally haven't bothered to add them. I guess I may have to take a gander at the code and see what I can hook into for my plugins.
2008-03-11, 12:37 AM
Well actually, I was wondering if you could edit the online.lang.php file and add your own stats in there.
2008-03-14, 09:55 PM
It's not that simple. You also need to make sure that whatever you add parses...that will require a plugin or a core file change.
2008-04-08, 10:19 PM
I'd have to add a case in online.php and add a variable to online.lang.php, right?
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)