Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I'm not sure if that will work.
Group 4 is not logged in. That check is already in there that they must be logged in.

If it had to be another group, I would probably try something like this:


if (((strstr("/-3-/",$user['U_Groups'])) || (strstr("/-5-/",$user['U_Groups'])))&& (($user['U_Status'] != "Administrator") && ($user['U_Status'] != "Moderator"))) {


I'm not sure if I got all the parenthesis correct.

Basically the first part || is or and the last part && is and. So if they are in group 3 (users) and group 5 (first custom group) and they are NOT an Admin or Mod then they get intercepted.

But my parenthesis may be wacked. Maybe there's a more-proper way.

Sponsored Links
Entire Thread
Subject Posted By Posted
How do I disable the PM feature by group? coloradok5 04/21/2003 6:23 AM
Re: How do I disable the PM feature by group? Eugene 04/21/2003 8:36 PM
Re: How do I disable the PM feature by group? Eugene 04/23/2003 5:00 PM
Re: How do I disable the PM feature by group? coloradok5 04/23/2003 9:46 PM
Re: How do I disable the PM feature by group? JoshPet 04/23/2003 9:56 PM
Re: How do I disable the PM feature by group? coloradok5 04/23/2003 11:06 PM
Re: How do I disable the PM feature by group? JoshPet 04/23/2003 11:46 PM
Re: How do I disable the PM feature by group? Dave_L_dup1 04/24/2003 1:57 AM
Re: How do I disable the PM feature by group? JoshPet 04/24/2003 2:38 AM
Re: How do I disable the PM feature by group? Dave_L_dup1 04/24/2003 3:51 AM
Re: How do I disable the PM feature by group? coloradok5 04/24/2003 10:19 PM
Re: How do I disable the PM feature by group? JoshPet 04/24/2003 10:43 PM
Re: How do I disable the PM feature by group? coloradok5 04/24/2003 11:07 PM
Re: How do I disable the PM feature by group? JoshPet 04/24/2003 11:15 PM
Re: How do I disable the PM feature by group? coloradok5 04/24/2003 11:17 PM
Re: How do I disable the PM feature by group? JoshPet 04/24/2003 11:29 PM
Re: How do I disable the PM feature by group? coloradok5 04/24/2003 11:36 PM
Re: How do I disable the PM feature by group? JoshPet 05/09/2003 7:42 AM
Re: How do I disable the PM feature by group? coloradok5 05/09/2003 6:12 PM

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
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
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,835
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)