TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 04:38:14 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,105
  • Total Topics: 21,213
  • Online today: 142
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 179
  • Total: 179

action=forum == 'Unknown action'

Started by akyhne, March 29, 2009, 03:23:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Akyhne

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.

Renegd98

Ok, lets see what Bloc comes up with. Thanks for posting the bug.

IchBin

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.

Akyhne

#23
IchBinâ„¢: Did the job, thx.

Akyhne

This is still an issue in TinyPortal 1.0 beta 5.2

ZarPrime

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