Registered can't use modules

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Registered can't use modules
UMF
CZ Newbie
Status: Offline
Joined: Oct 23, 2003
0.00 posts per day
Posts: 12
Points: 845
 Yahoo Messenger  
I can access all modules (even restricted) as admin,
but I cannot access any restricted module as a registered user.


Please Help!

Dennis



Back to top Reply with quote
#2   
Staffie
CZ Revered Member
 Codezwiz Site Donator
uk.gif
Occupation: Investigation Officer
Age: 40
Gender: Male
Website:
Status: Offline
Joined: May 27, 2003
0.18 posts per day
Posts: 1454
Points: 401,085
   
That should be correct, if the modules are restrcited then you should not be able to access them, hense the term restricted module.

As admin you should have the power to see everything.




_________________
Back to top Reply with quote
#3   
UMF
CZ Newbie
Status: Offline
Joined: Oct 23, 2003
0.00 posts per day
Posts: 12
Points: 845
 Yahoo Messenger  
I don't think you understand, when I mean restricted, I mean restricted for registered users only. Only registered users can access.

I can access all modules (even registered) as admin,
but I cannot access any registered user only module as a registered user.

Dennis



Back to top Reply with quote
#4   re: Registered can't use modules
UMF
CZ Newbie
Status: Offline
Joined: Oct 23, 2003
0.00 posts per day
Posts: 12
Points: 845
 Yahoo Messenger  
I found the answer:


Look in mainfile.php

Look for the following:

if ($points > 0 AND $points >= $row[points] || $mod_group == 0) {


or:

if ($points > 0 AND $points >= $grp || $mod_group == 0) {


And change to this:

if ($points >= 0 AND $points >= $grp || $mod_group == 0) {



Good Luck
Dennis


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum