Pages: [1]
Tags: BOARDS
  Author: Topic: member viewing only
offline tmacdonald
Last Visit: 08/03/10

Moderator
Dev
Joined: 04/17/06
Forum Posts: 207
 member viewing only
 Posted on: 06/14/10 at 19:48:52

I need to lock up the site so only members can see the forum and article section. When I make a forum category and select the access for it, it deletes the boards in it. I added the category Member under user rank and then select that for the security for the categories.



Get'er Done
Logged
     
offline tmacdonald
Last Visit: 08/03/10

Moderator
Dev
Joined: 04/17/06
Forum Posts: 207
 Re: member viewing only
 Posted on: 06/14/10 at 20:10:54

Ok I got the forum to work, seems I need to recreate the forum topics after the security. I do not see how to do that with the articles though?



Get'er Done
Logged
     
offline tmacdonald
Last Visit: 08/03/10

Moderator
Dev
Joined: 04/17/06
Forum Posts: 207
 Re: member viewing only
 Posted on: 06/14/10 at 20:18:07

any way to lock to calendar to member only?



Get'er Done
Logged
     
offline Ted Cambron
Last Visit: 09/08/10

Administrator
Dev
Joined: 05/26/06
Forum Posts: 2237
 Re: member viewing only
 Posted on: 06/18/10 at 03:00:20

Wow, I can't believe nobody responded to this. Well... I think you can set the calendar
to admin approval. Would that be good enough?



0 but true
Logged
       
offline tmacdonald
Last Visit: 08/03/10

Moderator
Dev
Joined: 04/17/06
Forum Posts: 207
 Re: member viewing only
 Posted on: 06/18/10 at 06:22:08

need the articles more.



Get'er Done
Logged
     
offline Ted Cambron
Last Visit: 09/08/10

Administrator
Dev
Joined: 05/26/06
Forum Posts: 2237
 Re: member viewing only
 Posted on: 06/19/10 at 17:12:40

Did you mean you need to keep your articles hidden from non-members?



0 but true
Logged
       
offline tmacdonald
Last Visit: 08/03/10

Moderator
Dev
Joined: 04/17/06
Forum Posts: 207
 Re: member viewing only
 Posted on: 06/21/10 at 06:27:30

Yes, I want the articles only available to members



Get'er Done
Logged
     
offline Ted Cambron
Last Visit: 09/08/10

Administrator
Dev
Joined: 05/26/06
Forum Posts: 2237
 Re: member viewing only
 Posted on: 06/22/10 at 04:57:36

Well...

I guess you could paste this:

code:

if (!$username or $username eq "$anonuser") {
   error("$err{'011'}");
}



at the top of the topics.pl or wherever you want it to be member only.

That's what I would do. You know me. Quick and dirty.



0 but true
Logged
       
offline tmacdonald
Last Visit: 08/03/10

Moderator
Dev
Joined: 04/17/06
Forum Posts: 207
 Re: member viewing only
 Posted on: 06/22/10 at 07:01:38

thanks



Get'er Done
Logged
     
offline Ted Cambron
Last Visit: 09/08/10

Administrator
Dev
Joined: 05/26/06
Forum Posts: 2237
 Re: member viewing only
 Posted on: 06/23/10 at 03:41:11

I just noticed that the double pipe (or) got filtered out. So if you're going to use
this you would need to add "or" or the double pipe.



0 but true
Logged
       

  member viewing only
  Support
  Forums
  
Pages: [1]
Hop to: