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 all,
I was wondering, what if I would like to add as a custom location (madomainname.com/index.php) and my forum is in forum/ directory, how should I proceed?

Thanks a lot for help Smile
when i m tring this .....its shows some error massage..........
(10-23-2008 05:02 AM)EviLito Wrote: [ -> ]Hey, hi!

May someone please guide me how to make a custom location of a page that I have in a custom subdirectory?

I tried this way, but it says I'm on Forum Index (and I'm not)

example:
site.com/forum/custom_directory/index.php

This is the exact same thing I am trying to do.

Is there no way to do it?
Some help, please! Angel
Huh
Anyone?
^^ This guide solved all my problems
you rock dude!
It can be done Tom did it in Mytracker.
Sorry for the major revival, but what if I have a groups page where the url ends up being /forums/showgroup.php?gid=X. X is an integer corresponding to the groups unique id. Table name is mybb_socialgroups if that helps any. All members are able to create groups so I don't want to manually have to update the file anytime someone adds a group.
why wont this work for me all i am trying to do is add /chat.php to the online list i have added

Code:
case "chat":   //that's the custom page filename without the '.php'
            $user_activity['activity'] = "custom";
            break;
and
Code:
case "custom":
            $location_name = 'Chatting: ';
            break;

but it doesnt work
Pages: 1 2 3 4 5
Reference URL's