MyBB-Plugins Forums

Full Version: online location on own new subpage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I have no idea how simple do this

i have new subpage

cards.php

PHP Code:
<?php
define
('IN_MYBB'1); 
require 
"./global.php"
 
add_breadcrumb("Cards""cards.php");
 
eval(
"\$podstr = \"".$templates->get("podstrona")."\";"); /
output_page($podstr); 
?>

if user action is "cards.php" in online.php I can see unknown location. How to change this "unknown location" to own text?
i must use fetch_wol_activity() but how?
I greet
You need to add a hook to the part of MyBB which processes online users. Look at my Help Center plugin for example.
thanks it helped