Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 30 Jun 2002, 21:06
shaffer shaffer is offline
 
Join Date: Jun 2002
Thanks

Thanks

Thank you!

Last edited by shaffer; 02 Jul 2002 at 18:22.
Reply With Quote
  #2  
Old 30 Jun 2002, 21:25
Broekie's Avatar
Broekie Broekie is offline
 
Join Date: Dec 2001
Real name: Ronald Broekhuizen
How about this:

Guests can see the thread titles, but when they click on it, they get the following error:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attached Files
File Type: txt threadviewnotloggedin.txt (1.5 KB, 22 views)
__________________
This is a story about four people named Everybody, Somebody, Anybody, and Nobody.
There was an important job to be done and Everybody was sure that Somebody would do it.
Anybody could have done it, but Nobody did it.
Somebody got angry about this, because it was Everybody's job.
Everybody thought Anybody could do it, but Nobody realized that Everybody wouldn't do it.
It ended up that Everybody blamed Somebody when Nobody did what Anybody could have done.
Reply With Quote
  #3  
Old 12 Jul 2002, 19:19
Cygnus Cygnus is offline
 
Join Date: Nov 2001
This is SO close to what I want... but not quite.

I want specific user groups to be able to see all of the boards (or some at my discretion) on the site but when they click on a board that they do not have permission to see, they get the "not authorized" error that lists possible reasons.

Currently, they cannot see anything. If I switch "Can view forum" to yes in forum permissions, they can see the board but when they click on it, they get a "No posts in the last 30 days" message when this is not the case as there have been posts on that board today.

Solutions?

Thanks,
Cygnus
Reply With Quote
  #4  
Old 12 Jul 2002, 19:22
Cygnus Cygnus is offline
 
Join Date: Nov 2001
Your (Broekie) code is as follows:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If that were changed to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Where 2 is not actually 2 but the group that I want to see that board (a new group that I created)....

Would that work? Does != work in PHP or am I confusing it with ASP? <> perhaps? Anyone? Bueller?

Cygnus
Reply With Quote
  #5  
Old 12 Jul 2002, 20:41
Cygnus Cygnus is offline
 
Join Date: Nov 2001
OK... just thought of a problem with that code...

!=2 will not work as it will keep out Admins, SuperMods and Mods. I need something that will make specific boards viewable to four usergroups and produce the "no authorization" error for all other groups. Would this work:

if ($bbuserinfo['usergroupid']!=2 || 3 || 4)

Am I now throwing in another language?

Thoughts? Ideas? Help...

Cygnus

Last edited by Cygnus; 12 Jul 2002 at 20:45.
Reply With Quote
  #6  
Old 13 Jul 2002, 00:19
Cygnus Cygnus is offline
 
Join Date: Nov 2001
Ah... so none of you guys know PHP?

That's kind of surprising...

Cygnus
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:11.

Layout Options | Width: Wide Color: