https://www.icyphoenix.com/viewtopic.php?f=28&t=6307 ----------------------------------- Lopalong Sat 15 Aug, 2009 05:35 [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- :mrgreen: Ok! There's a million of these things and most if not all have to be rewritten depending on where it's put and in what template set. [b][i]This is just one variation that needs some testing and feedback, and is currently only for the /default .[/i][/b] ;) This is not the actual finished MOD because the .js really belongs in the header above the wrapper. You can move it there if you wish, but it makes no difference at this stage and only removes a .css "Warning" in FF. Anyone is welcome to try it at various locations in various themes, and modify the markup to suit each theme as they see fit etc. But! [b][i]PLEASE[/i][/b] do post your variations in this thread, and eventually we can cover all styles in one place. :P The javascript and are clearly defined in the script below, if you are going to experiment, don't forget to move both of them. [b]Open:[/b] breadcrumbs_main.tpl [b]Replace all script with the code below.[/b] [spoiler][code linenumbers=false] {IMG_TBL}

{L_HOME}{BREADCRUMBS_ADDRESS}

{BREADCRUMBS_LINKS_LEFT}
{CURRENT_TIME}
{PRIVATE_MESSAGE_INFO} | {L_RECENT} | {L_SEARCH_UNANSWERED}
{BREADCRUMBS_LINKS_RIGHT}
{IMG_TBR} [/code][/spoiler] A pic with a couple of examples of what this MOD does. [img]http://www.icyphoenix.com/files/images/3531/q_login.png[/img] And if someone says [b][i]"I don't like it there"[/i][/b] - [i]I'm gonna' kill em! [/i]- Because trying to find a "home" for it without adding more clutter, ain't all that easy. And the whole thing disappears once you log in anyway. 8) ----------------------------------- elpulgas Sat 15 Aug, 2009 13:28 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- Nice Lopalong! I was thinking of something similar for my site since the user block is too big. I'll test it this days :mrgreen: Thank you. ----------------------------------- Danielc Sat 15 Aug, 2009 15:03 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- elpulgas: It would be interesting if we replace the User Block with something like this yeah!! ----------------------------------- Lopalong Sat 15 Aug, 2009 15:06 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- Maybe we should try to convince MG to drop the login page, as phpBB is about the only forum software that I know of that uses a full page just to log in and have lost password requests etc. :mrviolet: @ Daniel - You just jumped in ahead of me when I was writing this; which is much of the same sort of thing. ;) ----------------------------------- Mighty Gorgon Sat 15 Aug, 2009 21:29 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- [quote user="Lopalong" post="42959"]Maybe we should try to convince MG to drop the login page, as phpBB is about the only forum software that I know of that uses a full page just to log in and have lost password requests etc. [/quote] I like the login page, and I prefer having a dedicated page instead of having unuseful markup on every page... :wink: But I guess it's a personal taste. :) A small note about your TOGGLE script... why you don't use default Icy Phoenix JavaScript for it? There are several in ip_scripts.js you just need to choose one. :P ----------------------------------- Lopalong Sun 16 Aug, 2009 00:35 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- Hehehehe, what about a drop-down login page - Just kidding. :mrviolet: Re the .js - did think about it, may explore the option - but I have the nagging feeling that it may cause conflict with other internal functions using the same script. Don't know - On the burner for something to look at. ;) ----------------------------------- elpulgas Sun 16 Aug, 2009 21:56 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- Well I was experimenting with it but then I thought it would be easier to use the same script used in the menu. [code linenumbers=false]
The form here
LogIn
[/code] Here's what I did with it :mrgreen: : [img]http://www.icyphoenix.com/files/images/7414/untitled_1.png[/img] But it still has a big issue. I don't know how to set it to be hidden by default :oops: ----------------------------------- Lopalong Mon 17 Aug, 2009 00:27 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- [quote user="elpulgas" post="43039"]But it still has a big issue. I don't know how to set it to be hidden by default :oops:[/quote] Tricky! Isn't it? :mrviolet: For this one I have used some modified default Icy v1.2 script and opted to change the location: Open: overall_header.tpl [spoiler][code linenumbers=false]Find: Before Add: Quick Login  Quick Login [/code][/spoiler] Some Screen Shots. [img]http://www.icyphoenix.com/files/images/3531/q_login2.png[/img] ----------------------------------- elpulgas Mon 17 Aug, 2009 03:22 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- Very tricky indeed. I still haven't managed to do it. Here's the full code I made based on yours: [spoiler][code linenumbers=false]
[/code][/spoiler] The result is the same as with th eprevious code. And even worse, the reset password link doesn't work for unknown reasons. ----------------------------------- gearhead Mon 17 Aug, 2009 04:12 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- That's very cool....I'm hesitating from adding mods to the basic IP coding because during an upgrade, I always forget to keep those modded pages.....I'm keeping mine pretty much stock, but very cool idea, that was used in a few styles in the past..... Nice work. :mrblue: ----------------------------------- Lopalong Mon 17 Aug, 2009 04:42 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- :( [code linenumbers=false]Change this: {L_SEND_PASSWORD} To This: {L_SEND_PASSWORD}[/code] It looks pretty useful, so I'll add it to the other two scripts also. ;) ----------------------------------- elpulgas Mon 17 Aug, 2009 05:10 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- [quote user="Lopalong" post="43062"]:( [code linenumbers=false]Change this: {L_SEND_PASSWORD} To This: {L_SEND_PASSWORD}[/code] It looks pretty useful, so I'll add it to the other two scripts also. ;)[/quote] Well that's the simplest solution but don't you have any idea why it's not working? ----------------------------------- Lopalong Mon 17 Aug, 2009 05:16 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- [quote]Well that's the simplest solution but don't you have any idea why it's not working?[/quote] I know why the other one didn't work. Not all VARS are global, and without editing or creating a new .php and .tpl file to [/codeblock] Make sure that code is after the content block... [codeblock][/codeblock] ----------------------------------- Lopalong Wed 19 Aug, 2009 12:35 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- [quote user="Mighty Gorgon" post="43184"]About keeping the menu open or close depends on where you put the code that checks cookie content.[/quote] I deliberately removed the cookie code because if one clicks the Quick Login, then refreshing the page keeps the Quick Login template / .js in view, rather than remove it. :( Bit hard to explain, but I know what you mean. Or one of us does anyway! :mricy: :mrviolet: :mryellow: ----------------------------------- Mighty Gorgon Thu 27 Aug, 2009 21:35 Re: [Beta IPv1.3.0.*] Quick Login Box (Drop-Down Style) ----------------------------------- Yes I understand... but you can just remove the cookie part.