Description: This will prevent unregistered users and users who have turned themselves invisible from viewing the who's online page. Admins and Mods are exempt from this. Optional instructions are included to hide the contents of the onlinepal box in IIP.
Working Under: UBB.Threads 6.3
Mod Status: Beta
Any pre-requisites: none
Author(s): JoshPet
Date: 09/09/03
Credits: Others have posted similar for past versions. Can't remember specifically, but hats off to you.
Files Altered: online.php (Option: onlinepal.php in IIP)
New Files: none
Database Altered: no
Info/Instructions:
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
I want to verify this will work with 6.4.1 , the reason why i ask is this. The instructions say to find and replace this in online.php: $user = $userob -> authenticate("U_TimeOffset,U_Groups");
I don't find it in my 6.4.1, but I find this: $user = $userob -> authenticate("U_TimeOffset,U_Groups,U_TimeFormat");
I just wanted to check before I screw something up ; )
I want to be able to hide Who's Online for people who are not registered, but people who are invisible should still be able to see who's online. Is there a way to do that?
<br />// ----------------<br />// If they are not logged in - block them - by JoshPet<br /> if (!$user['U_Username']) {<br /> $html = new html;<br /> $html -> not_right("You Must Be Logged in to see this.",$Cat);<br /> } <br /><br />
I must say, this is an EXCELLENT alternative and tradeoff that I was looking for when it comes to our stealthy members... may I ask if this will work in 6.5.1 and what is the updated coding for it?
Thanx, Thanx, Thanx... in advance!
Helping the lost & lonely one sweet soul at a time...
[]I want to be able to hide Who's Online for people who are not registered, but people who are invisible should still be able to see who's online. Is there a way to do that? [/] I would like a somewhat different approach.
For Non-Registered Users and Invisible Stealths, I do want them to see the number of registered users in the header, but I don't want them to see the names or information about those registered users. As far as seeing the unregistered users, I would like them to see that information.
In essence, I ONLY want to hide the specific information regarding Registered Users from Non-Registered and Invisible users. I don't mind them know how many registered or the information about the unregistered. Can only a section be hidden?
I am hoping to encourage the Invisible's to stay visible without having to take that feature away. We are using 6.5.1.
Helping the lost & lonely one sweet soul at a time...
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.