MyBB Community Forums

Full Version: How to add a custom location to Who's Online List? - Comprehensive Tutorial
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Hello,
what im doing wrong? i got this: http://img35.imageshack.us/img35/8376/problemyt.jpg

my web is http://www.example.com/warapp.php

how to make active link - Viewing War application?

what i add:

 case "warapp":   //that's the custom page filename without the '.php'
      $user_activity['activity'] = "war_application"; //that's the parameter to the 'build_friendly_wol_location($user_activity)'
      break;
            default:
      $user_activity['activity'] = "unknown";
      break;
  }

and

      // custompages.php functions
    case "war_application":
      $location_name = 'War application'; //or you can use lang, but only if it's needed and if you know how!
      break; 
  }
  

so where is problem? im using 1.6.9.
Anyone can help me with this ^?
Can this be explained in more easy steps? For me is too complicated. I have the forum that is www.letsplanmywedding.com/forums and i want on the online who is to be shown the other users that are browsing other of my pages, so how to do this?
thank you
Is this tutorial still relevant to MyBB 1.8?

Can anyone clarify on that?
Is this tutorial still relevant,
how could i integrate pages located at the root level of my domain?
Nice
Still works excellently with the new version MyBB 1.8.15

Great and easy explanation.

Thank.
Pages: 1 2 3 4 5