Our Sponsors



Custom jobs at low cost, free lancers and service buyers.
PHP Nuke themes, stock photos, icons, drupal themes and more.



Western Studios :: View topic - 4images admin login problem
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups     ProfileProfile   Log inLog in 


4images admin login problem


Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topicprinter friendly version    Western Studios Forum Index -> 4 Images
Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 7
Next Group: 43 posts
Antonio wrote:

Hi admin,

I would like to thank you for the 4imageshelp.zip file.
But I need some assistance regarding a problem mentioned on the following question 1.

QUESTION 1

Despite installing 3 times your files+instructions as included in your zip file, all is working fine except as admin I can't login in the 4images admin control panel.

The link as per your indication is:
http://YourNukeURL/modules/Gallery/admin

(I replaced YourNukeURL with my domain)

When I include my login details nothing happens just is refreshing the page and returns back to the login box.

I tried tweaking here and there but I can't solve this problem, some help is much appreciated.

QUESTION /NOTE 2

In your 4imagesuserintegration.rtf file on the third note:
(modules/Your_Account/index.php)

you mentioned how to include the logout session for the standard phpnuke
Your_Account module.

But since per Your_Account I have a modified version (NSN Nukescript) like yours eventually I found out were it was ecessary to include the mod. in the index.php file. (As per following)

Where: index.php file (Your_Account module - **NSN VERSION ONLY**)

case "logout":
cookiedecode($user);
$r_uid = $cookie[0];
$r_username = $cookie[1];
$galprefix = "4images";
setcookie("user");
$db->sql_query("DELETE FROM ".$prefix."_session WHERE uname='$r_username'");
$db->sql_query("OPTIMIZE TABLE ".$prefix."_session");
$db->sql_query("DELETE FROM ".$prefix."_bbsessions WHERE session_user_id='$r_uid'");
$db->sql_query("OPTIMIZE TABLE ".$prefix."_bbsessions");
$db->sql_query("DELETE FROM ".$galprefix."_sessions WHERE session_user_id='$r_uid'");
$user = "";
include("header.php");
if ($redirect != "") {
echo "<META HTTP-EQUIV=\"refresh\" content=\"2;URL=modules.php?name=$redirect\">";
} else {
echo "<META HTTP-EQUIV=\"refresh\" content=\"2;URL=index.php\">";
}
title(_YOUARELOGGEDOUT);
include("footer.php");

//____________________________________________END OF CASE

The 2 bold lines in the the above case "logout" section are the extra lines included for 4images logout session. (Both portal+4images)

(I mentioned this just in case you want include a note for administrators that are using NSN Your_Account module)

Many thanks in advance

Antonio

Posted: Tue Jun 07, 2005 12:28 am

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 7
Next Group: 43 posts
Antonio wrote:

Antonio wrote:
Hi admin,

I would like to thank you for the 4imageshelp.zip file.
But I need some assistance regarding a problem mentioned on the following question 1.

QUESTION 1

Despite installing 3 times your files+instructions as included in your zip file, all is working fine except as admin I can't login in the 4images admin control panel.

The link as per your indication is:
http://YourNukeURL/modules/Gallery/admin

(I replaced YourNukeURL with my domain)

When I include my login details nothing happens just is refreshing the page and returns back to the login box.

I tried tweaking here and there but I can't solve this problem, some help is much appreciated. .............................etc


Please disregards the QUESTION 1 as I find the solution:

The reason why I was unable to login in the 4images control panel (as admin) it was because my username userlevel2 is was set to 2.

Consequently for nukers that experiencing the same problem to rectify the inconvenience please do the following:

1- Go in your phpmyAdmin database
2- in the nuke_users table select your portal username (normally is the number 2)
3- Edit your entry (scroll down to userlevel2) change the value from 2 to 9

SAVE & DONE

Posted: Tue Jun 07, 2005 1:33 am

Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3333
Staff
Next Group: 1667 posts
admin(Mark) wrote:

I am glad you have it working Smile. Thanks for the information, I am sure alot of people will find this very useful. I will make this topic sticky.

Posted: Tue Jun 07, 2005 6:02 am



~PHP Nuke User~


Guest wrote:

Thanks for your helps Admin. Really...

Posted: Thu Jun 09, 2005 2:19 am



~PHP Nuke User~


Guest wrote:

i have the same problem with admin part

Posted: Fri Jun 10, 2005 1:34 am

Post new topic   Reply to topic    Western Studios Forum Index -> 4 Images All times are GMT - 5 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
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


Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts I'm back 1 xtrax 641 Sat Mar 04, 2006 7:18 pm
admin View latest post
No new posts Ajax - The past is back 0 admin 649 Wed Nov 16, 2005 2:53 pm
admin View latest post
No new posts We're back 0 admin 581 Thu May 05, 2005 8:04 am
admin View latest post
No new posts Site back online 2 admin 764 Tue Apr 05, 2005 10:36 am
admin View latest post
No new posts Downloads will be back soon 1 admin 705 Wed Feb 23, 2005 2:36 pm
admin View latest post
 
Forums ©