php forum
php mysql forum
php mysql smarty
 
Topic Options
#226475 - 10/18/02 10:08 AM "Filtered" user list
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Hi All,<br /><br />I would like to see the possiblility to allow the user list to be filtered and to show only the users that are "public"<br /><br />For instance, I have created a login for one of my partner companies, and they use that login to enter the site and ensure that their logos are displayed all the time. <br /><br />It would be, therefore, great if we can have a field in the user table (public CHAR(1) default = 'Y") which will be used to filter out users with public = "N" in all screens that require the user information, such as the Who's online, User list, Max Users, etc.<br /><br />This way the partner can log in without even being an invisible member but not shown to anyone. Only Admins can see the partners.<br /><br />I guess that after the alteration of the user table to use the new field, the best option is to search for all queries checking the w3t_users table and append a WHERE clause which will do the filtering.<br /><br />Warm regards<br /><br />Nikos
_________________________
Nikos

Top
#226476 - 10/18/02 10:10 AM Re: "Filtered" user list [Re: Hal_dup2]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
You probably could easily alter the user list to only grab "visable" users (if you aren't an admin). Admins can always see all. <br /><br /><img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#226477 - 10/18/02 10:12 AM Re: "Filtered" user list [Re: Daine]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
I agree Josh, but I was aiming to a more base level. For instance I created a new login called TestPartner and at the bottom of the screen (plus the IIP) I got:<br /><br />Welcome to our newest member "TestPartner"<br /><br />This is the information that I also don't want users to look at. In my forum new users don't come very often.<br /><br />Warm regards<br /><br />Nikos
_________________________
Nikos

Top
#226478 - 10/18/02 10:20 AM Re: "Filtered" user list [Re: Hal_dup2]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Oh I see.....<br /><br />You know.... if you're not using the approval mechanism for members, that might be easier to monkey with.<br /><br />I know that all the things that grab usernames (incl. IIP) make sure they are approved first.<br /><br />Now users who are not approved can't login... but you might be able to bypass that.<br /><br />Then you'd need to test (or look) and see what else unapproved users can't do, and modify it so that they can post etc.....<br /><br />But I'm farily certain that users who are not approved don't appear in any IIP boxes, don't show as the newest member, and don't appear on the user list (I think... if not you could tweak that way).<br /><br />Just a though. I'm always reluctant to create new database fields, I try to use what's there to suit me. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks