Username:
Password:
Search for Plugins: Advanced
Please Sign in, Register or Resend Activation Email

Forums

  e107 Coders.org :: Forums :: E107 Plugins :: Q & A
 
<< Previous thread | Next thread >>  
User class page access "CHALLENGE"          
Author Post
projectman
Sun Dec 31 2006, 10:08AM
Registered Member #68317
Joined: Sat Dec 02 2006, 07:36AM
Location:
Posts: 24
I'm trying to make it so that:

- Everybody can view "CLASS1"
- Only the CLASS2 member him/herself can view his/her own "CLASS2" page

Think this is impossible to do with e107?
bugrain
Sun Dec 31 2006, 06:17PM

Registered Member #22953
Joined: Fri Mar 25 2005, 11:21AM
Location:
Posts: 1031
Content manager plugin can do this - Personal Content Management
Back to top
projectman
Sun Dec 31 2006, 09:23PM
Registered Member #68317
Joined: Sat Dec 02 2006, 07:36AM
Location:
Posts: 24
Thank you for the quick reply.

Is there any way the ONLY users in class2 can see and manage their PROFILE page?
they can ofcourse see profiles of users in class1 (everyone can see profiles of users in class1)

By the way, you have a very excellent list of plugins in which I use many of :)

[ Edited Sun Dec 31 2006, 09:30PM ]
Back to top
bugrain
Mon Jan 01 2007, 12:05PM

Registered Member #22953
Joined: Fri Mar 25 2005, 11:21AM
Location:
Posts: 1031
profile pages? As in their e107 profile? I think you can always see your own profile regardless of any userclass
Back to top
projectman
Tue Jan 02 2007, 04:41AM
Registered Member #68317
Joined: Sat Dec 02 2006, 07:36AM
Location:
Posts: 24
^ yep profile page.

Let's say guests and people in CLASS1 cannot see e107 profiles of CLASS2 users.
Whereas, everybody can see CLASS1 e107 profiles.

I know this is a bit difficult.
I'm having a hard time figuring this out myself. ;)
Back to top
[SpooK]
Tue Jan 02 2007, 05:37PM
Registered Member #18890
Joined: Tue Nov 30 2004, 05:03PM
Location:
Posts: 942
I had to do something like this a while back. I used an e_module.php file (check the wiki), which contained a switch based on check_class() to see whether they were of a class that should be able to view the page.
Back to top
Website
projectman
Thu Jan 04 2007, 06:32PM
Registered Member #68317
Joined: Sat Dec 02 2006, 07:36AM
Location:
Posts: 24
[SpooK wrote ...
]
I had to do something like this a while back. I used an e_module.php file (check the wiki), which contained a switch based on check_class() to see whether they were of a class that should be able to view the page.


Thank you.
It was really useful.
At the moment, I'm still figuring out how to make everybody unable to view CLASS1 profile, and let everybody be able to view CLASS2 profile, but I'm steps closer thanks to both of you.
I'll keep updating.
Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
Render time: 0.2155 sec, 0.1387 of that for queries. DB queries: 40.