Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

admin control panel

Asked Modified Viewed 1,672 times
K
karwan320
K
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

i have lost the admin control panel ! and not longer be able to reorganise the web site, what i have to do???:|
and i have used the link"http://mysite.com/administration/index.php?aid=094a1d94d9a41cff" but by defult it will take me to the home page
0 replies

4 posts

K
karwan320
K
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

many thanks :D
kneekoo


I have found my way through your direction, know i am in admin panel.
0 replies
K
kneekoo
K
  • Senior Member, joined since
  • Contributed 289 posts on the community forums.
  • Started 12 threads in the forums
  • Answered 1 question
answered
Senior Member

OK, after logging in you will have to use a special link that allows you to enter the admin panel. Since you have locked your way out of there by disabling the user info panel, you will need another type of solution. I've put together some code to help you out. Here comes:

<?php
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";

if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {

   echo "<br /><div align='center'><div>Link to the admin panel, for user: <strong>".$userdata['user_name']."</strong><div><br/>\n";
   echo "<a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a><br>\n";
   echo "</div>";

} else {

   echo "<br/><div align='center'>You are not allowed to use this page.</div><br />";
   if (!iMEMBER) echo "<div align='center'>You are not logged on. <a href='".BASEDIR."login.php'>Click here to login</a>.</div><br />";

}

require_once "side_right.php";
require_once "footer.php";

?>


Save that code in a file named gotoadmin.php and place it in the root of your PHPFusion website. What it does?

1. If you're not logged in it will display the following message:

Quote

You are not allowed to use this page.

You are not logged on. Click here to login.


2. If you are logged in but you do not have ADMIN rights it will display:

Quote

You are not allowed to use this page.


3. If you are logged in and you are an admin this will come up:

Quote

Link to the admin panel, for user: your_user_name

Admin Panel


That's it. Next time be more careful. :P
Edited by kneekoo on 18-10-2007 06:00,
0 replies
K
karwan320
K
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

no really non of them , when i tryed to remove the login panel and do some polling for unregistered guestes i made some change in the admin panel when i loged out i found no log in panel!!!
after that a freind of mine has provid me with link to log in panel as login.php?
know i can go in but thire is no such link to take me to control panel adminsration !!!

thanks for your help:D
0 replies
K
kneekoo
K
  • Senior Member, joined since
  • Contributed 289 posts on the community forums.
  • Started 12 threads in the forums
  • Answered 1 question
answered
Senior Member

How did you lose it?

1. Did you forget your password?
2. Has anyone else than you connected as you and changed your password without notifying you?
3. Was your site hacked?
0 replies

Category Forum

General Discussion

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

K
K
  • Senior Member, joined since
  • Contributed 289 posts on the community forums.
  • Started 12 threads in the forums
  • Answered 1 question
K
K
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet