Author |
Message |
antinportugal
Hangin' Around

Joined: Feb 24, 2004
Posts: 31
|
Posted:
Wed Feb 25, 2004 4:28 pm |
|
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
Adrian |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Feb 25, 2004 7:11 pm |
|
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. |
|
|
|
 |
antinportugal

|
Posted:
Thu Feb 26, 2004 2:20 am |
|
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

|
Posted:
Thu Feb 26, 2004 5:14 am |
|
What happens when you click on the link? |
|
|
|
 |
antinportugal

|
Posted:
Thu Feb 26, 2004 8:21 am |
|
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

|
Posted:
Thu Feb 26, 2004 8:28 am |
|
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  |
|
|
|
 |
antinportugal

|
Posted:
Thu Feb 26, 2004 8:59 am |
|
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

|
Posted:
Thu Feb 26, 2004 2:41 pm |
|
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

|
Posted:
Thu Mar 04, 2004 6:34 pm |
|
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  |
|
|
|
 |
Raven

|
Posted:
Thu Mar 04, 2004 6:44 pm |
|
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

|
Posted:
Thu Mar 04, 2004 7:06 pm |
|
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 no one can take that away from me
off to upload the backup file I did before making that change  |
|
|
|
 |
|