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


Who's Online
0 registered (), 25 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
nick1, Begbie, cenk, MATTO, DougMMcts
13362 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks