1 (edited by KeyDog 2009-01-29 23:38)

Topic: [Extension] Login Boxes On Frontpage (Login_Frontpage)

http://www.keydogbb.info/img/new_images/menu_features.gif Extension Name & Version
==================================================================
login_frontpage   V1.0.0


http://www.keydogbb.info/img/new_images/lightbulb.png Extension by
==================================================================
Garciat // Website Code
KeyDog  // Website Doc / Input on Code smile
Programming-Designs.com // Website   XHTML Strict version

http://www.keydogbb.info/img/new_images/menu_version.gif Release Date
==================================================================
29-01-2009


Download
==================================================================

download this version please
NEW:
http://www.keydogbb.info/img/new_images/menu_download.gif XHTML Strict Version @ programming-designs.com
http://www.keydogbb.info/img/new_images/menu_download.gif Rapidshare Zip

--------------------------------------------------------------------------------
old backups:
http://www.keydogbb.info/img/new_images/menu_download.gif Mediafire Zip http://www.keydogbb.info/img/new_images/menu_download.gif Rapidshare Zip
--------------------------------------------------------------------------------


http://www.keydogbb.info/img/new_images/quick_tutorial.gif Installation
==================================================================
Just upload login_frontpage folder to extensions folder after
unzipping

http://www.keydogbb.info/img/new_images/information.png Information
==================================================================
You can see a screenshot here

http://www.keydogbb.info/img/login_frontpage.gif View It


http://www.keydogbb.info/img/new_images/menu_solution.gif Note
==================================================================
if you want it at top of board like on keydogbb.info
put this line where the current "$tpl_main .... " is in manifest.xml

$tpl_main = str_replace('<!-- forum_skip -->', $login_form."\n\t<!-- forum_skip -->", $tpl_main);
       

http://www.keydogbb.info/img/new_images/bug.png  Bugs
=================================================================

Please give any feedback on the extension in the forum at
Here


==================================================================

Enjoy.

==================================================================

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

thanks

3 (edited by Programming-Designs 2009-01-29 19:35)

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

Nice and simple. I like it. Suggest though: make it xhtml 1.1 strict valid? A couple of small errors.

Should be easy to fix. I'll look at the extension code myself n see if I can fix it.

Programming Designs - Tech, programming, and web design blog
PD Forums - Using the latest and greatest PunBB 1.3 =)

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

Hey I just validated the code for you. You can download the XHTML 1.0 Strict validated version here: http://www.programming-designs.com/misc … strict.zip

The problem was using wrap="virtual" and giving the form the name attribute. Instead, I created a hidden submit button using display: none; and gave it the proper name.

Programming Designs - Tech, programming, and web design blog
PD Forums - Using the latest and greatest PunBB 1.3 =)

5 (edited by KeyDog 2009-01-29 20:08)

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

cool stuff. thanks!

EDIT: your link is going to keep working? I put it up there in initial post and added you to the by list


EDIT  2:  Btw: do you think username should begin on same height indent as all the rest? best way to do that?

6 (edited by KeyDog 2009-01-29 21:52)

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

@programming-designs

can you double check your version please.
when i log in, then log of - your version remembers my login password (when I tell chrome or FF - ok that)  but then login wont open from those login boxes on front page. normal login isn't affected but your version /# is causing trouble my end it seems...

can you test yourside aswell? (setting your google chrome or firefox to remember your password then log out and try and log in again)

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

KeyDog wrote:

@programming-designs
can you test yourside aswell? (setting your google chrome or firefox to remember your password then log out and try and log in again)

I'm looking into it now.

Programming Designs - Tech, programming, and web design blog
PD Forums - Using the latest and greatest PunBB 1.3 =)

8 (edited by Programming-Designs 2009-01-29 22:47)

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

Ok. I fixed it. The problem was using the old JavaScript code:

document.login.submit()

I modified it to document.getElementById('login').submit() and it fixed the problem. I uploaded the fixed version over the old zip file. Apparently when I tested it, somehow I was able to login with the old JS code in Firefox by pressing enter (though the login link didn't work), and I was totally unaware of the problem.

Programming Designs - Tech, programming, and web design blog
PD Forums - Using the latest and greatest PunBB 1.3 =)

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

no problem - happy it is fixed smile thanks for your efforts!

10

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

Hey, lovely extension. Is it possible to position the login on the banner. Maybe on the right?

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

awesome, I'm using it!

12

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

Anyway of using it on 1.3 version?

I now get error

Notice: Undefined variable: lang_admin in /forum/extensions/pun_admin_manage_extensions_improved/extension_list.php(302) : eval()'d code on line 92

and



IMPORTANT! The extensions listed below were found in the extensions folder but are not available for install or upgrade because the errors displayed below were detected.

This extension requires PunBB 1.3.2 or later.


tnx

13

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

judging by that error it's your language files - related to the manage extensions improved ext...  the problem lies in your languages files or that extension. my ext doesn't seem to be your problem....

and it was made for 1.3.2.... !

14

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

Will check it out, but i got this right after uploading login_frontpage folder to the extensions. And since it only works on 1.3.2 i can't use it anyway.

tnx

15

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

teva wrote:

And since it only works on 1.3.2 i can't use it anyway.

The warning doesn't mean you can't use it. It just means it was tested on 1.3.2. It will most likely work on 1.3.0 and 1.3.1.

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

i want to use that in this place.

You are not logged in. Please login or register.

i want to remove that and place the login over it. how can i do that.

MyFootballCafe.com  is Now Online!

Re: [Extension] Login Boxes On Frontpage (Login_Frontpage)

Hello!

This extension was very useful on PunBB 1.3.

Do you know if there is a problem to use it on PunBB 1.4?

Thank you and have a nice day.