TP 1.0 beta 3 (and also this forum running 1.0 beta 4)
Whenever a user is watching the forums frontpage, like:
http://www.tinyportal.net/index.php?action=forum
... the status of the person is 'unknown action'.
This has been bothering me for some time, so if you have a quick fix, I would be glad to receive the fix.
The status of the user is a SMF function and not a TP unique function. Have you asked this question at SMF?
I only have the issue with TP installed, and as mentioned the error is also here in this forum.
And is action='forum' part of the standalone SMF? I don't think so, but could be wrong.
Everything that is related to action='forum' is TP related. There's just no relation to it in the who file.
Well when i go to your profile and look at the status is has online, not unknown.... is that what you are referring to?
No, I will go to "http://www.tinyportal.net/index.php?action=forum" after posting this, and you will see my status as 'unknown action'.
I just looked at your status and it has online.
Where are you referring to seeing "uknown action"?
In the 'Users Online'.
You can test it this way: Go to "http://www.tinyportal.net/index.php?action=forum" in your fav. browser, then open another browser where you are not logged in. Go to http://www.tinyportal.net/index.php?action=who and you will see your profile as "unknown action".
Hmmm, rather strange,
Mine said: Renegd98 11:06 Viewing Who's Online.
But I did see alot of Unknown actions.
You can file it as a bug. Please provide the steps required to reproduce the error, like you did above so Bloc has all the info to look at this, and also refer to this post.
Quote from: Renegd98 on March 29, 2009, 05:07:49 PM
Hmmm, rather strange,
Mine said: Renegd98 11:06 Viewing Who's Online.
But I did see alot of Unknown actions.
You have to use a browser (e.g IE7) to go to http://www.tinyportal.net/index.php?action=forum, then go to http://www.tinyportal.net/index.php?action=who in another browser (e.g FF) where you are
not logged in, to see the status of your real profiles status.
I thought I was reporting in the bugs section.
You are, but if you do it the proper way by going to the bugtracker a topic in the bugtracker will automatically generate the post in this board. This way, when Bloc looks at the bugtracker, he sees which bugs are open and closed. Right now, you have only made a topic, not a bug report.
Just found it.
Bu if you are not logged in then you shouldn't be able to see the status of logged in users...
I can
...
Me too.
Quote from: Renegd98 on March 29, 2009, 06:31:19 PM
Bu if you are not logged in then you shouldn't be able to see the status of logged in users...
You don't have to be logged in on tp to see the users or profiles, something I think should be changed IMHO
I thought so. Can't see them on my site.
This setting may have something to do with it. i tis from SMF basic Settings...
Allow non-administrators to hide their online status?
Can't be. It's an option I always disable, and half of my users are often in "Unknown Action".
I tested with a few members today, and found it was only when they were on the board index we had the issue.
The same seems to apply here in this forum.
Ok, lets see what Bloc comes up with. Thanks for posting the bug.
For a quick fix, open Who.php in Sources folder and find this code about line 268:
// Viewing/editing a profile.
if ($actions['action'] == 'profile' || $actions['action'] == 'profile2')
{
// Whose? Their own?
if (empty($actions['u']))
$actions['u'] = $url[1];
$data[$k] = $txt['who_hidden'];
$profile_ids[(int) $actions['u']][$k] = $actions['action'] == 'profile' ? $txt['who_viewprofile'] : $txt['who_profile'];
}
Add after that code this:
elseif ($actions['action'] == 'forum')
{
$data[$k] = 'Viewing the Forum Index';
}
You can change the text to say what ever you'd like.
IchBinâ„¢: Did the job, thx.
This is still an issue in TinyPortal 1.0 beta 5.2
Akyhne,
Thanks for posting the reminder. I'll make sure that this issue is in our new bugtracker and perhaps we can get Bloc to fix this for his next update. ;)
ZarPrime