Hi all, I have a small problem I can't resolve...
I do have some splash pages and other pages which are connected with my MyBB.
All paths are working properly so far, everything is fine - only the quick login causes trouble as his form doesn't link to
{$mybb->settings['bburl']}/member.php
but to
member.php
only (which does not exist in every folder).
I now edited the template index_loginform to
<form action="{$mybb->settings['bburl']}/member.php" method="post">
but it still takes member.php only.
What am I doing wrong? I dislike to use my direct boardurl because I like to have it dynamic...
You might also consider this as an update idea for MyBB 1.4.8 or 1.6
Kind regards
Lennart Sauter
I logged out and logged in just as normal...!
You do realise the index_loginform is only used when a user has had too many tries at logging in? It might be you need the loginbox template...
The loginbox template does not contain any submit form to enter login.
I edited member_login and index_loginform but it didn't change anything - I wonder...
The loginbox form action is actually in javascript, as it's used for the quick login. Of course, if javascript is disabled, it redirects to member_login.
(I think).
Have a search for "quickLogin: function()" in general.js if you're using the quick login.
(2009-06-18, 12:35 PM)LS 134 Wrote: [ -> ]Try to do it from this page:
http://www.mybbaddons.com/index.php
Through that link It shows this error page
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------
Please try the following:
If you typed the page address in the Address bar, make sure that it is spelled correctly.
Open the www.mybbaddons.com home page, and then look for links to the information you want.
Click the Back button to try another link.
Click Search to look for information on the Internet.
HTTP 404 - File not found
Internet Explorer
Did you edit any member template..?
(2009-06-18, 01:35 PM)Tomm M Wrote: [ -> ]Have a search for "quickLogin: function()" in general.js if you're using the quick login.
Can I deactivate the quick login?
Thank you, I'll look into the js
(2009-06-18, 01:42 PM)ghazal Wrote: [ -> ] (2009-06-18, 12:35 PM)LS 134 Wrote: [ -> ]Try to do it from this page:
http://www.mybbaddons.com/index.php
Through that link It shows this error page
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------
Please try the following:
If you typed the page address in the Address bar, make sure that it is spelled correctly.
Open the www.mybbaddons.com home page, and then look for links to the information you want.
Click the Back button to try another link.
Click Search to look for information on the Internet.
HTTP 404 - File not found
Internet Explorer
Did you edit any member template..?
That is the problem I'm trying to solve at the moment ghazal lol...
(2009-06-18, 02:27 PM)LS 134 Wrote: [ -> ]Can I deactivate the quick login?
No, not without turning off the javascript stuff.
The easiest way is to simply provide your own form box, or include the index_loginform modified template.
I did the following change to the general.js:
form.setAttribute("action", "http://mybbaddons.com/board/member.php");
If I do the login now it finds the member.php but sadly I'm not logged in

No idea why... guess it's MyBB not setting a cookie...
EDIT: You posted while I was writing Tomm M

Thank you, I'll search for a work arround or replace the login...
Bad story though...