Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

All PhpNuke Admins have full Admin access to Gallery2

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
helen

Beginner
Beginner


Joined: Aug 23, 2005
Posts: 4

PostPosted: Mon Oct 03, 2005 10:58 pm    Post subject: All PhpNuke Admins have full Admin access to Gallery2 Reply with quote

Hi, I am using PhpNuke7.7 (with security patches) and Gallery2 (RC2) and I have noticed that all of the nuke admins get full admin access to Gallery.

I searched to see if anyone else had the same problem and I found a link to a hack:
http://mastrboy.servebeer.com/~mastrboy ... n_hack.rar

Unfortunatley, the link is broken and in any case, it is for Gallery1.5.

Does anyone know of a fix for Gallery2?
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: All PhpNuke Admins have full Admin access to Gallery2  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6318
Location: Washington Township, NJ, USA

PostPosted: Tue Oct 04, 2005 11:21 am    Post subject: Re: All PhpNuke Admins have full Admin access to Gallery2 Reply with quote

first, upgrade to G2 final.

you can manually edit the users in G2 and remove their admin priviledges.
Back to top
Offline View user's profile Send private message Visit poster's website
helen

Beginner
Beginner


Joined: Aug 23, 2005
Posts: 4

PostPosted: Thu Oct 06, 2005 9:50 pm    Post subject: Re: All PhpNuke Admins have full Admin access to Gallery2 Reply with quote

Thanks, I deleted the previous G2 install and reinstalled G2 final (typical). Unfortnuately, this hasn't fixed the problem. I tried adding a completely new admin (testadmin), with no admin permissions to any nuke module. However testadmin still has full site admin access to G2 and I can't work out how to disable it. (In gallery administration, testadmin is not listed in "site admin" group).
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6318
Location: Washington Township, NJ, USA

PostPosted: Mon Oct 10, 2005 11:15 am    Post subject: Re: All PhpNuke Admins have full Admin access to Gallery2 Reply with quote

what about the individual user permissions for the user within G2?
Back to top
Offline View user's profile Send private message Visit poster's website
helen

Beginner
Beginner


Joined: Aug 23, 2005
Posts: 4

PostPosted: Tue Oct 11, 2005 1:07 am    Post subject: Re: All PhpNuke Admins have full Admin access to Gallery2 Reply with quote

Thanks for your reply, I deleted all of the g2 mysql tables and everything in /modules/gallery2.
Back to top
Offline View user's profile Send private message
snorii

Beginner
Beginner


Joined: Oct 20, 2005
Posts: 15

PostPosted: Fri Jun 09, 2006 10:39 am    Post subject: Re: All PhpNuke Admins have full Admin access to Gallery2 Reply with quote

dari wrote: › first, upgrade to G2 final.

you can manually edit the users in G2 and remove their admin priviledges.


I have G2 2.1.1 and I don't see any way to do this.

When I go to edit that user, I can only change their username, full name, email address, language, and password.

When I look under groups at "Site Admins", I only see the initial admin that I set up when Gallery2 was first installed.
Back to top
Offline View user's profile Send private message
alien

Beginner
Beginner


Joined: Mar 06, 2006
Posts: 2

PostPosted: Mon Jun 26, 2006 5:52 am    Post subject: Re: All PhpNuke Admins have full Admin access to Gallery2 Reply with quote

I am in the same case. Has helen solved that issue ? Is possible accomplish that whitout change php code ? I've tried some changes in tables without success. Can someone explain step by step how fix that issue?.

I also tried to change this bit of code from /modules/gallery2/index.php without succes:

if (is_admin($admin)) {
// we log as an admin
$uid='admin';
$updateCheck = checkVersion();

I think the menaning of this fragment of code is no matter which Phpnuke Admin user you log in , it ever convert to admin g2 user.
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next 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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkSearch Engine OptimisationSearch Engine OptimisationCompare VoIPSEO IndiaWeb Design Melbournemiami web designSEO IndiaLink BuildingPhoenix SEOPhoenix Web MarketingSEOManual Directory Submission Serviceflorida web design companyScottsdale Interior Designweb marketing servicesScottsdale SEOHome Appliances

7th year online! 2003-2010
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia