Quote:
Originally Posted by SS9267547
altsounds: With the online/offline feature, I don't think it would work with every page, not 100% sure about that since I used other ways on my other pages to add the online/offline feature like in memberslist and havn't tested it. However the following code is what I use now and should work. Add the following code when the main displaying part of the script starts and replace $inuser to whatever the script uses to get it's data, so it could be $userinfo or $user, whatever it is lol.
PHP Code:
// =================================
// Begin online/offline hack. (Edit by: Lucas)
// =================================
require_once('./includes/functions_bigthree.php');
fetch_online_status($inuser, true);
With the approve or disapprove the friend request and remove link, I think what I might do is replace the current buddy list in control panel totally so it would only display what you have and not just list / add whoever you want on the list like it is now. I'll have to see what I can do since I don't know what I'm doing myself lol.
|
So put this in the PHP file I want to check online status in right?? E.g. I am trying to do this right no in private.php. I looked through the file and from what I can tell they are using $user so i changed that as appropriate. Now, How do I call this in the Vbulletin template to show the online user logo if a user is online or not.
Sorry for all these questions. I understand most of this but there's a few things I'm still not too good on.
Thanks so much for all your help