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

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 10:21:28 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 203
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 70
  • Total: 71
  • tino

Online list: Viewing article

Started by Assistance, August 02, 2006, 10:03:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Assistance

When viewing the Online List ( action=who )

how to show that a member is viewing an article
as it only shows that they are viewing the index page

( used two login names on diff browsers to check )



anunlike

That hasn't been implemented, yet, AFAIK (correct me if I'm wrong).

But, it'll get in there, eventually.

Assistance


Max

its not implemented yet to show the exact article or download file a person is viewing...
These are currently the whois actions for the portal,

//
$txt['whoall_page'] = 'Viewing An Article';
$txt['whoall_forum'] = 'Viewing The Forum Index';
$txt['whoall_cat'] = 'Viewing A Category Of Articles';
$txt['whoall_tpmod'] = 'Viewing A Module';
//

Assistance


'tpadmin' => array('TPortalAdmin.php', 'TPortalAdmin'),
'forum' => array('BoardIndex.php', 'BoardIndex'),
'tpmod' => array('TPmodules.php', 'TPmodules'),


These are currently the whois actions for the portal

unless I am missunderstand how the
$_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
works

Techdomain


Assistance


'.xml' => array('News.php', 'ShowXmlFeed'),
        'tpadmin' => array('TPortalAdmin.php', 'TPortalAdmin'),
                'forum' => array('BoardIndex.php', 'BoardIndex'),
                'tpmod' => array('TPmodules.php', 'TPmodules'),
'$txt['whoall_page'] = 'Viewing An Article';
        '$txt['whoall_forum'] = 'Viewing The Forum Index';
        '$txt['whoall_cat'] = 'Viewing A Category Of Articles';
        '$txt['whoall_tpmod'] = 'Viewing A Module';
);


QuoteParse error: syntax error, unexpected T_STRING, expecting ')' in..../discussion/index.php on line 309

Xarcell

Can you post a little more before and after code?

Assistance

its just the rest of the arrays ==>
what i copied from post 3 is when i got the error

Max

Quote from: Assistance on August 04, 2006, 01:16:48 PM

        '$txt['whoall_page'] = 'Viewing An Article';
        '$txt['whoall_forum'] = 'Viewing The Forum Index';
        '$txt['whoall_cat'] = 'Viewing A Category Of Articles';
        '$txt['whoall_tpmod'] = 'Viewing A Module';
);


QuoteParse error: syntax error, unexpected T_STRING, expecting ')' in..../discussion/index.php on line 309

this dosent go into the index.php file... it should allready be in TPortal.english.php file.