Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Fix For Adm/Admin_bb_db.php [By Informpro :D] 
 
In the file adm/Admin_bb_db.php
Find
Code: [Download] [Hide]
  1. $allowed = $allowed_admins = ''; 
[Delete Me, U'll put code here ;D]
Code: [Download] [Hide]
  1. if (!$allowed) 

Code:
Code: [Download] [Hide]
  1. //+Informpro fix Admin_bb_db.php for use MAIN_ADMINS_ID const+  
  2. if(defined('MAIN_ADMINS_ID'))  
  3.      {  
  4.          $allowed_admins = explode(',', MAIN_ADMINS_ID);  
  5.          for ($x = 0; $x < count($allowed_admins); $x++)  
  6.          {  
  7.              if ($userdata['user_id'] == $allowed_admins[$x])  
  8.                  {  
  9.                      $allowed = true;  
  10.                  }  
  11.          }  
  12. }  
  13. else  
  14.      {  
  15.          $allowed = true;  
  16.      }  
  17. //-Informpro fix Admin_bb_db.php for use MAIN_ADMINS_ID const  

 



 
Edited by Informpro, Sat 16 May, 2009 21:56: Fix a ; missing ;)
InformproSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Fix For Adm/Admin_bb_db.php [By Informpro :D] 
 
Thanks for pointing me to that part of that file which is buggy.

I have fixed it.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fix For Adm/Admin_bb_db.php [By Informpro :D] 
 
Ok thx, I'm happy to know that I've help MG LOL ^^
 



 
InformproSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron