[CLOSED] blank page...
 
Notifications
Clear all

[CLOSED] blank page on empty login

11 Posts
3 Users
0 Reactions
3,638 Views
 Kari
(@jayleesy)
Posts: 21
Eminent Member
Topic starter
 

If a user doesn't enter either a penname or password in the login field, then the user gets directed to a blank page?

edit:
One more question,
could someone please direct me to what file(s) the functions such as "{login} {uname} {date}" etc. are defined in? I've tried searching but I haven't been able to locate it. Thanks.


 
Posted : 04/01/2007 8:20 pm
(@tammy)
Posts: 2577
Member Moderator
 

Yeah I noticed this today following up on your message in the 1.1 area.  I've got it working locally now.  It'll be fixed in the next update.

As to your question, you're going to have to be more specific than that.  Variables such as that are defined all over the place.

Most of the language is in the languages/en.php file.
Text for links will be in your Page Links admin panel.
The titles of the panels will similarly be in the Panels admin panel. 

If you don't find what you're looking for there, be more specific about what you're looking for (what page and what text on that page) and I'll probably be able to tell you.


 
Posted : 04/01/2007 9:13 pm
 Kari
(@jayleesy)
Posts: 21
Eminent Member
Topic starter
 

The one I'm actually looking for is {login}
When I was moving my skins from 1.1 to 3.0, I had some of the old variables still on there, and I noticed {login} was still being used, but I need to edit it a bit, only I can't find where it is.
And thanks for your help.


 
Posted : 05/01/2007 8:25 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

What are you trying to do? I edited my login with 1.1, but 3.0 has an area that makes it a lot easier.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 05/01/2007 10:08 am
(@tammy)
Posts: 2577
Member Moderator
 

I assume you mean the form?

For the login BLOCK, you can edit it through the Blocks->Admin panel.  Click on the login block options.  For the PAGE, there were never any .tpl options.  You have to edit the user/login.php file by hand.  I'd advise against that right now.  There's a bug that we're fixing in the login.


 
Posted : 05/01/2007 10:27 am
 Kari
(@jayleesy)
Posts: 21
Eminent Member
Topic starter
 

No, I don't mean the actual login box.
On my page when {login} is  used, the word(s) Login/Account Info show up depending on whether anyone is logged in. I'm trying to add links below "Account Info" when {login} is used.

From what I can tell {login_content} (or something like that) has the actual form, while {login} just as the words, I'm trying to edit links into the one with only the words, not the form - if that makes sense, I'm beggining to confuse myself.


 
Posted : 05/01/2007 10:31 am
(@tammy)
Posts: 2577
Member Moderator
 

You want to do something like this:

http://efiction.hugosnebula.com/preview/index.php?skin=Cobalt

BTW. I sent you an e-mail about the possible security breach in the user page, but maybe you didn't get it.  If you could either e-mail me back or send me a PM with the details I'd appreciate it.


 
Posted : 05/01/2007 10:39 am
 Kari
(@jayleesy)
Posts: 21
Eminent Member
Topic starter
 

I didn't get a PM, but I'll send you the info now.

And I think I may have found what I was looking for...maybe

_ACCTLINK", "Display '".$pagelinks['login']['text']."' link:"

When under "admin>>blocks>>login",
it has a box saying "Display 'Account Info' link:"

- this particular link is what I wanted to add on to. IS _ACCTLINK what I need to edit to do this?


 
Posted : 05/01/2007 11:33 am
(@tammy)
Posts: 2577
Member Moderator
 

No.  And you can't add on that way.  The login block can only do the login form or the account info link. 

You could edit the php in the login block blocks/login/login.php to do what I think you want to do, but that might not be the best way.

Go look at the link I posted.  If that's what you're looking to do, you want to turn the account link OFF.  And then add another menu block or individual links to the skin using variables.php.


 
Posted : 05/01/2007 12:46 pm
 Kari
(@jayleesy)
Posts: 21
Eminent Member
Topic starter
 

I finally got it to work how I wanted it to. I did have to edit login.php, but it's minimal and I backed up the original.

I'm not sure whether to close this though, did anyone ever find a solution to the initial login problem?


 
Posted : 05/01/2007 6:49 pm
(@tammy)
Posts: 2577
Member Moderator
 

Leave it open for now.  It should be fixed with the next update, but that'll be a reminder to go check.


 
Posted : 05/01/2007 7:21 pm
Share: