GeneralAdd extension to viewonline.php?

General information
Previous topicNext topic
User avatar

Topic Author
Phpbb3
Users
Users
Magic user status: Offline
Posts: 6
Joined: Jun 4th, '16, 11:19
    Windows 10 Chrome

Add extension to viewonline.php?

Post by Phpbb3 »

The puzzle extension doesn't show up in the who is online list, instead the location defaults to "index"... is there a way to add the path to the viewonline.php file? for example is there a way to make a simple case/break entry for the puzzle extension in the viewonline.php file? seems that all i would really need is the correct path and filename, no?

Code: Select all

case 'webpage':
 $location = "great webpage";
 $location_url = append_sid("{$phpbb_root_path}webpage.$phpEx"); 
 break;

ps - i'm not woried about a language path, i'll just use "puzzle" for $location....
User avatar

Topic Author
Phpbb3
Users
Users
Magic user status: Offline
Posts: 6
Joined: Jun 4th, '16, 11:19
    Windows 10 Chrome

Re: Add extension to viewonline.php?

Post by Phpbb3 »

Anyone?
User avatar

dmzx
Founder
Founder
Magic user status: Online
Posts: 5975
Joined: Jan 13th, '14, 20:45
    Windows 10 Firefox

Re: Add extension to viewonline.php?

Post by dmzx »

You need to add it in the puzzle listener.php.
Look here how its done for youtubegallery https://github.com/dmzx/youtubegallery/ ... r.php#L100
binance.com ;) try it!
Previous topicNext topic