PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
antinportugal
Hangin' Around


Joined: Feb 24, 2004
Posts: 31

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

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: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
antinportugal
Hangin' Around


Joined: Feb 24, 2004
Posts: 31

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

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.
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

What happens when you click on the link?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
antinportugal
Hangin' Around


Joined: Feb 24, 2004
Posts: 31

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

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
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
antinportugal
Hangin' Around


Joined: Feb 24, 2004
Posts: 31

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

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
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
antinportugal
Hangin' Around


Joined: Feb 24, 2004
Posts: 31

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

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
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
antinportugal
Hangin' Around


Joined: Feb 24, 2004
Posts: 31

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

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
View user's profile Send private message Send e-mail
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest Đ 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is Đ copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum