Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.217
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Admin
Admin
Goto page 1, 2  Next

14 Replies / 1808 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Nuke-Evolution

View previous topic :: View next topic


Genuine
Reputation: 66 Add RepSubtract Rep
Local time: 10:42 AM


Welcome to Clan-Themes
Welcome to Clan-Themes

0.17 posts per day
Medals: 2 (View more...)
Distinguished Buyer (Amount: 1)

Joined: Jan 30, 2008
Last Visit: 08 Feb 2012
Posts: 249
Points: 36173 

Post Admin Posted: Fri Sep 11, 2009 4:08 pm

Shop Purchases:
Crysis Theme · CRYSIS X-Theme (Ultimate) for PhpNuke · Lord of The Rings Theme · Clan Roster 2.0 · Diablo 3 Ultimate Theme · Battlefield 2142-X · Modern Warfare 2 Evo · Modern Gamer Evo Multi Theme  · Battlefield: Bad Company 2 Evo Theme · Crysis 2 Evo Theme · Battlefield 3 Evo Theme · Modern Warfare 3 Evo Theme · Star Wars Old Republic Evo Theme · Battlefield 3 Stats Module

hi, quick question

i updated nuke 8.1 to evo and i have old admins that can get onto the forum admin section but they are not in the admins section in the evo admin

what table in my data base do i have to edit to delte them from admin

thanx for any info
 

 
View user's profileSend private message Reply with quote

Acecard
Reputation: 14.6 Add RepSubtract Rep
Local time: 6:42 PM
Location: Perth
australia.gif

Tree Hugger
Tree Hugger

0.06 posts per day
Medals: 0

Joined: Oct 31, 2008
Last Visit: 14 Sep 2011
Posts: 66
Points: 12272 

Post Re: Admin Posted: Fri Sep 11, 2009 6:52 pm

Shop Purchases:
Call of Duty 4 SAS Evo Extreme Theme · Clan Roster 2.0

i add/remove users from groups, select a individual user and add/remove there privileges

http://yoursite.com/modules.php?name=Groups
 

 
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

Genuine
Reputation: 66 Add RepSubtract Rep
Local time: 10:42 AM


Welcome to Clan-Themes
Welcome to Clan-Themes

0.17 posts per day
Medals: 2 (View more...)
Distinguished Buyer (Amount: 1)

Joined: Jan 30, 2008
Last Visit: 08 Feb 2012
Posts: 249
Points: 36173 

Post Re: Admin Posted: Tue Sep 15, 2009 8:17 pm

Shop Purchases:
Crysis Theme · CRYSIS X-Theme (Ultimate) for PhpNuke · Lord of The Rings Theme · Clan Roster 2.0 · Diablo 3 Ultimate Theme · Battlefield 2142-X · Modern Warfare 2 Evo · Modern Gamer Evo Multi Theme  · Battlefield: Bad Company 2 Evo Theme · Crysis 2 Evo Theme · Battlefield 3 Evo Theme · Modern Warfare 3 Evo Theme · Star Wars Old Republic Evo Theme · Battlefield 3 Stats Module

ye that user group admin that's not really the problem for example when my members log into admin they go to
http://yoursite.com/admin.php
and the there is an icon that lets you edit admin's
http://yoursite.com/admin.php?op=mod_authors

but here is my problem i have old admin's that are not on there but are still on the admin for
http://yoursite.com/modules/Forums/admin/index.php
and they can log into it via that link

now i think this is from when i converted over from php nuke 8.1 to nuke evo so it should be some where in the data base i just have no idea where to look
 

 
View user's profileSend private message Reply with quote


mission
Reputation: 6.5 Add RepSubtract Rep
Local time: 6:42 AM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Mar 26, 2009
Last Visit: 16 Jan 2011
Posts: 8
Points: 1980 

Post Admin Posted: Wed Sep 16, 2009 12:42 pm

Dont you have to go to your Cpanel /database / nuke_authors and delete them from there ! if you are trying to delete them ? may have misunderstood your comment Angel
 

 
View user's profileSend private message Reply with quote

Noto
Reputation: 1043.4 Add RepSubtract Rep
votes: 13
Local time: 11:42 AM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.56 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 08 Feb 2012
Posts: 975
Points: 60871 

Post Re: Admin Posted: Wed Sep 16, 2009 12:51 pm

mission wrote:
Dont you have to go to your Cpanel /database / nuke_authors and delete them from there ! if you are trying to delete them ? may have misunderstood your comment Angel

sound right to me.
 

Tactical Combat Evolved - Sig Showcase  
View user's profileSend private messageVisit poster's website Reply with quote

Genuine
Reputation: 66 Add RepSubtract Rep
Local time: 10:42 AM


Welcome to Clan-Themes
Welcome to Clan-Themes

0.17 posts per day
Medals: 2 (View more...)
Site Supporter (Amount: 1)

Joined: Jan 30, 2008
Last Visit: 08 Feb 2012
Posts: 249
Points: 36173 

Post Re: Admin Posted: Wed Sep 16, 2009 11:45 pm

Shop Purchases:
Crysis Theme · CRYSIS X-Theme (Ultimate) for PhpNuke · Lord of The Rings Theme · Clan Roster 2.0 · Diablo 3 Ultimate Theme · Battlefield 2142-X · Modern Warfare 2 Evo · Modern Gamer Evo Multi Theme  · Battlefield: Bad Company 2 Evo Theme · Crysis 2 Evo Theme · Battlefield 3 Evo Theme · Modern Warfare 3 Evo Theme · Star Wars Old Republic Evo Theme · Battlefield 3 Stats Module

no i checked that before i posted here are 2 images to show you

Image Has Been Resized, Click To Enlarge.




as you can see the one what is blue and pink is not in the evo admin
 

 
View user's profileSend private message Reply with quote


Noto
Reputation: 1043.4 Add RepSubtract Rep
votes: 13
Local time: 11:42 AM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.56 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 08 Feb 2012
Posts: 975
Points: 60871 

Post Admin Posted: Thu Sep 17, 2009 12:56 am

are they forum moderators or set as admin in your foum, look them up in your forum admin (User Admin - Permissions). User Level : ???
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Genuine
Reputation: 66 Add RepSubtract Rep
Local time: 10:42 AM


Welcome to Clan-Themes
Welcome to Clan-Themes

0.17 posts per day
Medals: 2 (View more...)
Distinguished Buyer (Amount: 1)

Joined: Jan 30, 2008
Last Visit: 08 Feb 2012
Posts: 249
Points: 36173 

View user's profileSend private message Reply with quote

Genuine
Reputation: 66 Add RepSubtract Rep
Local time: 10:42 AM


Welcome to Clan-Themes
Welcome to Clan-Themes

0.17 posts per day
Medals: 2 (View more...)
Distinguished Buyer (Amount: 1)

Joined: Jan 30, 2008
Last Visit: 08 Feb 2012
Posts: 249
Points: 36173 

Post Re: Admin Posted: Thu Sep 17, 2009 5:23 am

Shop Purchases:
Crysis Theme · CRYSIS X-Theme (Ultimate) for PhpNuke · Lord of The Rings Theme · Clan Roster 2.0 · Diablo 3 Ultimate Theme · Battlefield 2142-X · Modern Warfare 2 Evo · Modern Gamer Evo Multi Theme  · Battlefield: Bad Company 2 Evo Theme · Crysis 2 Evo Theme · Battlefield 3 Evo Theme · Modern Warfare 3 Evo Theme · Star Wars Old Republic Evo Theme · Battlefield 3 Stats Module

now i get this error when i try to set them as user

Could not obtain moderator status

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND aa.group_id = ug.group_id AND aa.auth_mod ' at line 3

SELECT ug.user_id, COUNT(auth_mod) AS is_auth_mod FROM nuke_bbauth_access aa, nuke_bbuser_group ug WHERE ug.user_id IN () AND aa.group_id = ug.group_id AND aa.auth_mod = 1 GROUP BY ug.user_id

Line : 621
File : admin_ug_auth.php
 

 
View user's profileSend private message Reply with quote


Noto
Reputation: 1043.4 Add RepSubtract Rep
votes: 13
Local time: 11:42 AM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.56 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 08 Feb 2012
Posts: 975
Points: 60871 

Post Re: Admin Posted: Thu Sep 17, 2009 1:38 pm

Genuine wrote:
now i get this error when i try to set them as user

Could not obtain moderator status

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND aa.group_id = ug.group_id AND aa.auth_mod ' at line 3

SELECT ug.user_id, COUNT(auth_mod) AS is_auth_mod FROM nuke_bbauth_access aa, nuke_bbuser_group ug WHERE ug.user_id IN () AND aa.group_id = ug.group_id AND aa.auth_mod = 1 GROUP BY ug.user_id

Line : 621
File : admin_ug_auth.php


common bug with raven and evo it seems.

Backup your database 1st (important)
Save this as fixgroup.php upload to forum root /modules/Forums and then run it yoursite.com/modules/Forums/fixgroup.php
Code:

<?php
/*=======================================================================
 Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System
 =======================================================================*/

/*****[CHANGES]**********************************************************
-=[Base]=-
      Nuke Patched                             v3.1.0       06/26/2005
 ************************************************************************/

/*****[BEGIN]******************************************
 [ Base:    Nuke Patched                       v3.1.0 ]
 ******************************************************/
if (!defined('MODULE_FILE')) {
   die ("You can't access this file directly...");
}
/*****[END]********************************************
 [ Base:    Nuke Patched                       v3.1.0 ]
 ******************************************************/

if ($popup != "1"){
    $module_name = basename(dirname(__FILE__));
    require("modules/".$module_name."/nukebb.php");
}
else
{
    $phpbb_root_path = 'modules/Forums/';
}

define('IN_PHPBB', true);
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include('includes/functions_search.'.$phpEx);

// Start session management
$userdata = session_pagestart($user_ip, PAGE_SEARCH, $nukeuser);
init_userprefs($userdata);
// End session management

//*****  check users and user groups ****//

$sql = "SELECT user_id, username
    FROM " . USERS_TABLE ."
    WHERE user_id > 0";
if ( !($result = $db->sql_query($sql)) )
{
    message_die(GENERAL_ERROR, 'Could not obtain user list', '', __LINE__, __FILE__, $sql);
}

$liste ='';
while ( $row = $db->sql_fetchrow($result) )
{
   $username = $row['username'];
   $user_id = $row['user_id'];
   $usergroup = '';
   
   $sql1 = "SELECT ug.group_id
          FROM " . USER_GROUP_TABLE ." ug, ". GROUPS_TABLE. " g
          WHERE ug.user_id = $user_id
            AND ug.group_id = g.group_id
            AND g.group_single_user  = 1
            ";
             
   if ( ($result1 = $db->sql_query($sql1)) )
   {
       $row1 = $db->sql_fetchrow($result1);
          $usergroup =( ( $row1['group_id'] != '' ) ? $row1['group_id'] : 'User has no user group'.$row1 );
         
   }

          if (!($row1['group_id'] != ''))
          {
             
         $sql2 = "SELECT MAX(group_id) AS total
            FROM " . GROUPS_TABLE;
         if ( !($result2 = $db->sql_query($sql2)) )
         {
            message_die(GENERAL_ERROR, 'Could not obtain next group_id information', '', __LINE__, __FILE__, $sq2l);
         }

         if ( !($row2 = $db->sql_fetchrow($result2)) )
         {
            message_die(GENERAL_ERROR, 'Could not obtain next group_id information', '', __LINE__, __FILE__, $sql2);
         }
         $group_id = $row2['total'] + 1;
         
         
         $sql3 = "INSERT INTO " . GROUPS_TABLE . " (group_id, group_name, group_description, group_single_user, group_moderator)
            VALUES ($group_id, '', 'Personal User', 1, 0)";
         if ( !($result3 = $db->sql_query($sql3, BEGIN_TRANSACTION)) )
         {
            message_die(GENERAL_ERROR, 'Could not insert data into groups table', '', __LINE__, __FILE__, $sql3);
         }

         $sql4 = "INSERT INTO " . USER_GROUP_TABLE . " (user_id, group_id, user_pending)
            VALUES ($user_id, $group_id, 0)";
         if( !($result4 = $db->sql_query($sql4, END_TRANSACTION)) )
         {
            message_die(GENERAL_ERROR, 'Could not insert data into user_group table', '', __LINE__, __FILE__, $sql4);
         }

             
             $usergroup = $usergroup.', adding user group '.$group_id;
          }


   $liste .= ( ( $liste != '' ) ? '<br> ' : '' ) . $username.' <b>'.$usergroup.'</b>';
}

message_die(GENERAL_MESSAGE,'Users:<br>'.$liste);

?>
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Genuine
Reputation: 66 Add RepSubtract Rep
Local time: 10:42 AM


Welcome to Clan-Themes
Welcome to Clan-Themes

0.17 posts per day
Medals: 2 (View more...)
Distinguished Buyer (Amount: 1)

Joined: Jan 30, 2008
Last Visit: 08 Feb 2012
Posts: 249
Points: 36173 

Post Re: Admin Posted: Sat Sep 19, 2009 11:05 pm

Shop Purchases:
Crysis Theme · CRYSIS X-Theme (Ultimate) for PhpNuke · Lord of The Rings Theme · Clan Roster 2.0 · Diablo 3 Ultimate Theme · Battlefield 2142-X · Modern Warfare 2 Evo · Modern Gamer Evo Multi Theme  · Battlefield: Bad Company 2 Evo Theme · Crysis 2 Evo Theme · Battlefield 3 Evo Theme · Modern Warfare 3 Evo Theme · Star Wars Old Republic Evo Theme · Battlefield 3 Stats Module

thanx dor all the help but when i go to the link i get this

You can't access this file directly...

im loged into admin any ideas wy ?
 

 
View user's profileSend private message Reply with quote

DreAdeDcoRpSE
Reputation: 2220.7 Add RepSubtract Rep
votes: 28
Local time: 5:42 AM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 09 Feb 2012
Posts: 2451
Points: 128598 

Post Re: Admin Posted: Sat Sep 19, 2009 11:31 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

Try: YOURSITE.com/modules.php?name=Forums&file=fixgroup
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Nuke-Evolution


 
14 Replies / 1808 Views
Page 1 of 2
All times are GMT
Goto page 1, 2  Next
Display posts from previous:   
 
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