Sebastian
02-26-2003, 10:00 PM
This hack will allow your members to see when their buddies are online or offline on any page.
To Use:
1) edit variable $path to the path of your forums, including trailing slash at the end.
2) edit variable $path2 to the name of your forum directory.
3) to display on any page add include("/path/to/buddy.php"); to your page.
If you get include errors check you have the correct path to your forums directory
If you get safe mode errors delete: chdir("$path");
Hack information:
If you have no members on your buddies list then "none" appears.
If you do have buddies on your list but they aren't online "none" appears as well.
If you aren't logged in or not registered, nothing appears.
Hack Requirements:
1) some HTML knowledge to edit the way you want the buddies online to appear.
Other information:
Clicking the red X will remove the buddy, just like in the user cpanel.
Clicking the user's name will take you to the Send PM page.
As always, I will support this hack only in this thread.
Cheers :)
To Use:
1) edit variable $path to the path of your forums, including trailing slash at the end.
2) edit variable $path2 to the name of your forum directory.
3) to display on any page add include("/path/to/buddy.php"); to your page.
If you get include errors check you have the correct path to your forums directory
If you get safe mode errors delete: chdir("$path");
Hack information:
If you have no members on your buddies list then "none" appears.
If you do have buddies on your list but they aren't online "none" appears as well.
If you aren't logged in or not registered, nothing appears.
Hack Requirements:
1) some HTML knowledge to edit the way you want the buddies online to appear.
Other information:
Clicking the red X will remove the buddy, just like in the user cpanel.
Clicking the user's name will take you to the Send PM page.
As always, I will support this hack only in this thread.
Cheers :)