Previous Thread
Next Thread
Print Thread
Rate Thread
#226475 10/18/2002 10:08 AM
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Hi All,

I would like to see the possiblility to allow the user list to be filtered and to show only the users that are "public"

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.

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.

This way the partner can log in without even being an invisible member but not shown to anyone. Only Admins can see the partners.

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.

Warm regards

Nikos


Nikos
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
You probably could easily alter the user list to only grab "visable" users (if you aren't an admin). Admins can always see all.


Daine #226477 10/18/2002 10:12 AM
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
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:

Welcome to our newest member "TestPartner"

This is the information that I also don't want users to look at. In my forum new users don't come very often.

Warm regards

Nikos


Nikos
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Oh I see.....

You know.... if you're not using the approval mechanism for members, that might be easier to monkey with.

I know that all the things that grab usernames (incl. IIP) make sure they are approved first.

Now users who are not approved can't login... but you might be able to bypass that.

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.....

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).

Just a though. I'm always reluctant to create new database fields, I try to use what's there to suit me.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)