Notifications
Clear all

Feeling stupid, but how do I log in as admin?

16 Posts
5 Users
0 Reactions
2,435 Views
(@eleahy)
Posts: 10
Active Member
Topic starter
 

This is my welcome page so far... no where to log in

http://www.fictionbank.com/fiction/

If I go to

http://www.painted-pet.com/fiction/user.php?action=login

I can log in - but as my pen name.  I can't see anywhere to log in as admin to make changes to the site.

Thanks for any help.


 
Posted : 28/04/2010 10:04 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

You have to use the account you created during install, as that is the one that will be an admin. There is no specific admin account. Any user can be granted admin powers. Just in case your skin is messed up and simply not showing the menu option, try viewing http://www.fictionbank.com/fiction/admin.php after logging in.


 
Posted : 29/04/2010 12:41 am
(@eleahy)
Posts: 10
Active Member
Topic starter
 

Thank you, but that seems to be a normal user interface.  Isn't there an interface where I can add modules, change parameters etc?

One thing in particular I have to do to start is to set up categories, such as "Sime~Gen" "Harry Potter" etc - isn't it?    When I click on "add new story" there is an option for category options, but it's empty.  I had expected that I could, as admin, add new categories when asked.

Thanks


 
Posted : 29/04/2010 1:00 am
(@jacci)
Posts: 503
Honorable Member
 

Once you have logged in under the admin account name, the one you set up originally, or if your pename has admin priviledges, you should see a link to admin, it is in there that you have your options for characters, categories, settings, panels, blocks etc


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 29/04/2010 1:16 am
(@eleahy)
Posts: 10
Active Member
Topic starter
 

Yes, that's what I expected.  Last step in the set up was to create the admin login - but when I login using that I just get a members login.

I removed the database, reinstalled the install files, and did it again, same result. 


 
Posted : 29/04/2010 1:23 am
(@jacci)
Posts: 503
Honorable Member
 

the actual login page will be exactly the same for admins as members, there is no special admin login form.
the difference is that if you have admin privileges, in the menu at the top (or wherever your menu sits in your particular skin), you should see an extra link to the admin area. That link only comes up for those with permissions. Once you are logged in, hit the admin link and that should take you to the admin section, you dont require a separate login form.


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 29/04/2010 3:13 am
(@eleahy)
Posts: 10
Active Member
Topic starter
 

Yes, I understood that.

When I installed, the last thing that you do is to create the admin login, right?

I did that.

Then you click the link that takes you to the login page - put in the admin login, and I only get a members page...

This is a picture of the page I get

No admin anywhere - and yes, that IS the login that I made admin, it's the ONLY login I've created and it was on the page that said "create admin login" (or whatever the exact words were)  So I assume it IS the admin.

Very frustrating.

Thanks for the help.


 
Posted : 29/04/2010 3:23 am
(@jacci)
Posts: 503
Honorable Member
 

Looks like the skin you are using is missing the menus.
there should be a menu of links to things like Categories, Admin, Members, Authors, Account Info...
have you edited your skin? Are some of the files missing?
Try reloading the skin files ... or checking to make sure they are complete, as it appears your menus are just not there at all.


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 29/04/2010 3:26 am
(@eleahy)
Posts: 10
Active Member
Topic starter
 

I haven't edited the skins, I wanted to make sure it was working first.  I've checked the files and they seem to be right.  I'm reuploading...

No luck.  Anywhere  I can download another copy of just the skins?


 
Posted : 29/04/2010 3:43 am
(@jacci)
Posts: 503
Honorable Member
 

The skins that come with the efiction install should be in the zip that you downloaded. It could be that your ftp dropped some files (ftp is notorious for that) or somehow the header file in your skin is corrupted.

If you open up your header.tpl in the skins folder for csszen (it looks like that is the skin you are using), can you see anywhere on that page anything that is
{menu_content}  or perhaps a list of menu items?

<!-- START BLOCK : header -->
<body>
<div id="{page_id}">
<div id="banner">
<div id="sitename">{sitename}</div>
<div id="slogan">{slogan}</div>
<div id="skin">{skinchange_content}</div>
<div id="rss">{rss}</div>
{menu_content}
{login_content}
</div>
<div id="mainpage">
<!-- END BLOCK : header -->

It should look something like that.


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 29/04/2010 4:25 am
(@lyndsie)
Posts: 1263
Member Moderator
 

...try viewing http://www.fictionbank.com/fiction/admin.php after logging in.

Did you actually try this? It's your site's URL + /admin.php. That's the link to the admin control panel, which will verify that your account has the proper admin ability (which it should).

This is of course a totally separate issue to your menu not appearing, which really should be separated out into a thread in the skinning area of the forums.

An overview of how the site menu works: https://efiction.org/wiki/index.php5?title=How_to_change_the_site_menu


 
Posted : 29/04/2010 5:05 am
(@eleahy)
Posts: 10
Active Member
Topic starter
 

Linda, thanks.  At the first time you posted it, that did not work.  I've since then reloaded it twice, deleting and remaking the database and editing the config.

Now it works!  But the issue with the login still exists.  I think I can live with that, however, as long as I have a way into the admin panel.

Oddly Jacci - that's exactly what's in that file.  Thanks for your help!


 
Posted : 29/04/2010 6:52 am
(@usagi-chan)
Posts: 14
Active Member
 

Um, hi. I was wondering... Did you make changes to the status of any of the blocks in the variables.php file in the skin folder? I noticed that most of your blocks are turned off. If your menu is set to 0, then it won't display on the index page either.


 
Posted : 29/04/2010 7:38 am
(@eleahy)
Posts: 10
Active Member
Topic starter
 

No, I haven't touched the files at all yet.  Here is what that file says.

<?php
$blocks["categories"]["status"] = 2;
$blocks["categories"]["template"] = "{image} {link} [{count}]";
$blocks["categories"]["columns"] = 0;
$blocks["featured"]["status"] =  '0';
$blocks["info"]["status"] = 2;
$blocks["menu"]["status"] = '1';
$blocks["menu"]["content"] = array (
0 => 'adminarea',
1 => 'logout',
2 => 'login',
3 => 'search',
4 => 'tens',
5 => 'browse',
6 => 'members',
7 => 'home');
$blocks["menu"]["style"] = 0;
$blocks["footermenu"] = array(
"title" => "",
"status" => "1",
"file" => "menu/menu.php",
"style" => 0,
"content" => array (
0 => 'help',
1 => 'rules',
2 => 'contactus'
)
);
$blocks["login"]["status"] = 1;
$blocks['login']['acctlink'] = 0;
unset($blocks["login"]["template"]);
$blocks["login"]["form"] = 1; // Long form with register and lost password options
$blocks["random"]["status"] = 0;
$blocks["recent"]["status"] = 2;
$blocks["recent"]["tpl"] = 1;
$blocks["skinchange"]["status"] = '1';
$blocks["news"]["status"] = 2;
$blocks['news']['num'] = 3;
$new = "<span class='new'>New!</span>";
$displayprofile = 0;
$linkstyle = 0;
$displayindex = 1;
?>

 
Posted : 29/04/2010 6:49 pm
(@babaca)
Posts: 722
Member Moderator
 

Did you try one of the other skins? It comes with 3 by default. Try the other and see if menus appear.


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 29/04/2010 8:03 pm
Page 1 / 2
Share: