Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Hey Josh, that almost worked perfectly

It half works... When I add this code, if you are not logged in, or in the wrong group, you are correctly displayed with the not authorized message. Sweet I know

But when an authorized user does try to access the page, either a bunch of jumbled characters display on a white screen, or the browser prompts you to download a file.. which is just more jumbled text.

So, somehow this code isn't working friendly with the existing script. I tried changing positions of the threads authenticate code, and if you put it below one of the initial commands of the existing script.. the threads stuff doesn't even go into effect, yet produces no errors. So, it has to be at the very top to work.

Anyway, I'm just wondering if there has to be another greater if statement that encloses all of the threads code? Or there has to be some way to isolate it a bit.

I was also thinking, maybe put the threads script in a completely seperate file.. then call the file at the top of the existing script returning a do or don't proceed value?

I dunno which would work best for something like this

Sponsored Links
Entire Thread
Subject Posted By Posted
select group authentication in generic script msula 07/03/2003 5:03 AM
Re: select group authentication in generic script JoshPet 07/03/2003 5:14 AM
Re: select group authentication in generic script msula 07/03/2003 5:37 AM
Re: select group authentication in generic script JoshPet 07/03/2003 5:41 AM
Re: select group authentication in generic script msula 07/03/2003 5:52 AM
Re: select group authentication in generic script msula 07/03/2003 3:24 PM
Re: select group authentication in generic script JoshPet 07/03/2003 8:04 PM
Re: select group authentication in generic script msula 07/04/2003 1:46 AM

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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,575
Posts293,931
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,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
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)