vForums Support > System Improvements :: Suggestions :: > Disbale Quick Login

Disbale Quick Login - Posted By dog199200 (dog199200) on 19th Jan 10 at 12:04am
There is an option in Global Forum Settings that allows the admin to disable the quick reply if they wanted so why not an option to disable the quick login?

it work great for those with custom logins or those people that only want the main login used. Also it works great when working alone side with API, using the API as a login source. Also in some cases if just looks tacky to the design.

Re: Disbale Quick Login - Posted By Michael (wrighty) on 19th Jan 10 at 8:15am
Best done with a code in my opinion. I think the table probably has an ID, some CSS would cure. and it'd be 3 lines at the most. And not slow the forum down at all. {Smile}

Re: Disbale Quick Login - Posted By dog199200 (dog199200) on 19th Jan 10 at 8:30am
k, currently i've been using js because the css leave the head and base images behind. But the js lags the load time just a bit

Edit: {Unsure} wow ok then the css did work {Unsure}

Re: Disbale Quick Login - Posted By Michael (wrighty) on 19th Jan 10 at 10:21am
If you need, throw a thread in the Code Requests, and we'll get something thrown up! {Smile}

Re: Disbale Quick Login - Posted By dog199200 (dog199200) on 19th Jan 10 at 11:08am
lol i already a code {Tongue Out} I'm not best with JS but I do know what great style.display "none"; works {Tongue Out} the objuect was to remove the JS from my header and footers cause it was causing the load slower when seen by a guest, but removing it via css removed the lag

Re: Disbale Quick Login - Posted By Nick (nickb) on 19th Jan 10 at 2:07pm
Actually this could be a good feature, some don't like to have the QL, and some don't want to mess with coding to do that. If the QR is available to disable at any time through admin panel, then I think the QL should too.

Re: Disbale Quick Login - Posted By dog199200 (dog199200) on 19th Jan 10 at 8:07pm
yea i was going to use that was my argument, its the game amount out code to remove either. To be honestly this would rather be easy to implement, all ross would have to do is copy and paste a few code fragment and change the id's from the quick reply to the quick login, shouldn't take more then 10 minutes depending on if the code wants to work right {Tongue Out}

Re: Disbale Quick Login - Posted By Michael (wrighty) on 20th Jan 10 at 12:23pm
10 minutes indeed, but I don't know if there'd be that much for this. But then you have the question of should it be skin specific, or not? {Unsure}

Re: Disbale Quick Login - Posted By dog199200 (dog199200) on 20th Jan 10 at 12:29pm
Well i can see how this can be setup to be skin specific. The quick reply doesn't always go along great with all the skins, especially those that really get into designing their skins.

Re: Disbale Quick Login - Posted By Nick (nickb) on 20th Jan 10 at 10:36pm
Posted By dog199200 on 20th Jan 10 at 12:29pm
 
Well i can see how this can be setup to be skin specific. The quick reply doesn't always go along great with all the skins, especially those that really get into designing their skins.



True.

Re: Disbale Quick Login - Posted By Graham (amusedtodeath) on 20th Jan 10 at 11:04pm
I'm with Michael on this one - i think having a code to disable it would be the easiest option. I can see the occasional need for it to be removed, but i dont think it's currently a common enough occourance to need it hard coded.

Still, i'm not the one that has to code it {Tongue Out}

Re: Disbale Quick Login - Posted By dog199200 (dog199200) on 21st Jan 10 at 12:32am
the things is its really annoying how JS codes lag the pages load time. Especially when moving objects that take up a bulk area {Unsure} my main argument on this is it be no different then removing the quick reply, its just a different ID. The reasons for removing the quick login are almost the same as that for removing the quick reply, and anything hard coded or in a template system loads so much better then something that is ran via JS.

The idea of this is about performance as well as design. I'm not saying coding it wouldn't be easier, but the problems with the JS codes is they can be disabled and show things that don't need to be there, causing a lot of complications. I know for how my site setup, the login is designed on the main website and the main website alone.

Re: Disbale Quick Login - Posted By Michael (wrighty) on 21st Jan 10 at 12:37am
Posted By dog199200 on 21st Jan 10 at 12:32am
 
the things is its really annoying how JS codes lag the pages load time. Especially when moving objects that take up a bulk area {Unsure} my main argument on this is it be no different then removing the quick reply, its just a different ID. The reasons for removing the quick login are almost the same as that for removing the quick reply, and anything hard coded or in a template system loads so much better then something that is ran via JS.

The idea of this is about performance as well as design. I'm not saying coding it wouldn't be easier, but the problems with the JS codes is they can be disabled and show things that don't need to be there, causing a lot of complications. I know for how my site setup, the login is designed on the main website and the main website alone.


I'm sure CSS can be used! {Smile}


Re: Disbale Quick Login - Posted By dog199200 (dog199200) on 21st Jan 10 at 1:19am
I tired, I thought it worked, but I forgot i had the JS code in place. The problem is that people who are using head and base images, the css leaves the head and base images and just removed the table.

Re: Disbale Quick Login - Posted By Michael (wrighty) on 21st Jan 10 at 8:48am
Simplest thing would be for Ross to give the head/base & quick login all a class of "quick_login" {Smile}
Much like the welcome table has. {Smile}

Re: Disbale Quick Login - Posted By dog199200 (dog199200) on 21st Jan 10 at 9:09am
well this is what i use to remove it via JS:

Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. if(get('loginForm','name')[0]) {
  4.     get('loginForm','name')[0].firstChild.style.display = 'none';
  5.     get('loginForm','name')[0].parentNode.previousSibling.style.display = 'none';
  6.     get('loginForm','name')[0].parentNode.nextSibling.style.display = 'none';
  7. }
  8. //-->
  9. </script>
 


i think the id for it all is loginform {Unsure}