Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.0
Author Message
antinportugal
Hangin' Around



Joined: Feb 24, 2004
Posts: 31

PostPosted: Wed Feb 25, 2004 4:28 pm Reply with quote

I never realized how much I had come to depend on this module until I upgraded one of my sites to 7.0

I installed this module, it's sitting there on the server - just not showing up in the Modules Inactive Section

Is it just me being silly or is there a compatibility issue with 7.0

I have tried to have a humble look at the code but can't spot anything that's obvious to me Smile

Adrian
 
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Feb 25, 2004 7:11 pm Reply with quote

It's supposed to be there. It's for admins only. When you click on it, what happens? You have to have users waiting for approval of course.
 
View user's profile Send private message
antinportugal







PostPosted: Thu Feb 26, 2004 2:20 am Reply with quote

Sorry, I will add that up to 6.9 this module appears there and works fine. But in 7.0 it doesn't appear in this section as it has in all other versions. I just can't work out why - must be something I've done - I'll keep looking.
 
Raven







PostPosted: Thu Feb 26, 2004 5:14 am Reply with quote

What happens when you click on the link?
 
antinportugal







PostPosted: Thu Feb 26, 2004 8:21 am Reply with quote

there is no link showing thats why I have tripled checked to make sure the module was uploaded to the server, at the same time I can see users waiting for approval via the database so I am sure it´s not something clever happening or that would be nifty but not ness.

Unless anyone posts that they have had problems with this module and 7.0 I am going to assume that it is something I´ve done somewhere and will try to track it down.

Thanks 4 your attention, and just to mention I have already found solutions to other probs here, I will be a regular visitor - that´s for sure
 
Raven







PostPosted: Thu Feb 26, 2004 8:28 am Reply with quote

I'm not understanding the problem. You say it is showing up in the modules inactive section, which would be correct. As an admin you have access to the inactive modules. So, if it is visible in the inactive module section then it has to be a hyperlink as all modules are in the modules block. What am I missing Smile
 
antinportugal







PostPosted: Thu Feb 26, 2004 8:59 am Reply with quote

antinportugal wrote:
Sorry, I will add that up to 6.9 this module appears there and works fine. But in 7.0 it doesn't appear in this section as it has in all other versions. I just can't work out why - must be something I've done - I'll keep looking.


in every site I have up to and including 6.9 it does show and works perfectly fine, but for some reason it is not showing up (as a visible link) in 7.0

lets give this one a rest, it´s clear we are going to be going round in circles
 
Raven







PostPosted: Thu Feb 26, 2004 2:41 pm Reply with quote

I loaded it up under 7.1 and it runs ok. I can't think of anything that changed between 7.0 and 7.1 that would cause a problem. If there is an entry in the modules block that is not hyperlinked to anywhere then something else is wrong.
 
antinportugal







PostPosted: Thu Mar 04, 2004 6:34 pm Reply with quote

finally solved and just posting in case it helps anyone else
it was actually the solution to something else .. but who cares since its fixed this as well

Code:
Open modules.php from your Nuke's root folder. 

Line 49, change :
code:
--------------------------------------------------------------------------------

if ($view == 1 AND (is_user($user) AND is_group($user, $name) ) OR is_admin($admin)) {

--------------------------------------------------------------------------------

to

code:
--------------------------------------------------------------------------------

if ($view == 1 AND (is_user($user) AND is_group($user, $name) ) || !is_admin($admin)) {


bingo the resend mail module appeared, no doulbt making this change has been discussed before but I didnt spot those posts Embarassed
 
Raven







PostPosted: Thu Mar 04, 2004 6:44 pm Reply with quote

On the surface this looks like you have given everyone access to your admin modules, my friend. While this may have solved your problem you have a security issue now, I'm afraid. You need to change it back and keep digging. The OR (||) !admin() says to allow ANYONE who is not an admin.
 
antinportugal







PostPosted: Thu Mar 04, 2004 7:06 pm Reply with quote

ok thanks for that advise - i should have known it was to good to be true , but I am still happy that at least I saw some sort of result Smile no one can take that away from me Smile

off to upload the backup file I did before making that change Cool
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.0

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©