| This topic was locked 14th Apr 08 at 6:41am by Michael |
dog199200 Guest | |
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | | Re: Vbulletin Quicklogin (10th Apr 08 at 9:43pm UTC) | | I should be able to do this tomorrow night! ^_^ I have a skin to code for a friend first though, then I'll see if I have time to do this! | |
|
dog199200 Guest | | Re: Vbulletin Quicklogin (10th Apr 08 at 10:35pm UTC) | | ok ty | |
|
dog199200 Guest | | Re: Vbulletin Quicklogin (12th Apr 08 at 2:10pm UTC) | | | bump | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | | Re: Vbulletin Quicklogin (12th Apr 08 at 2:13pm UTC) | | I know it's here. Don't worry. Just working out the best way to implement it! | |
|
dog199200 Guest | | Re: Vbulletin Quicklogin (12th Apr 08 at 2:18pm UTC) | | | ah ok, you never know i have had requests forgotten out all the time lol | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | | Re: Vbulletin Quicklogin (12th Apr 08 at 3:20pm UTC) | | I hope you understand that due to the way that this has to be implemented that you can only use it on the main forum page as that already contains the quick login. On other pages, it's simply not show.
Main Header: <script> function login(){ get('username','name')[0].value = get('un','id').value; get('password','name')[0].value = get('pw','id').value; get('time','name')[0].value = get('t','id').value; get('loginForm','name')[0].submit(); }
function build(){ var a = get('welcome_table','id').insertRow(1).insertCell(0); a.innerHTML = '<form action=javascript:void(0); onsubmit=login();>Username: <input type="text" id="un" size="10"> Password: <input type="password" id="pw" size="10"> Stay Logged in for: <select id="t" tabindex="1"><option value="30">30 Minutes</option><option value="60">1 Hour</option><option value="120">2 Hours</option><option value="360">6 Hours</option><option value="720">12 Hours</option><option value="1440">1 Day</option><option value="10080">1 Week</option><option value="1051897" selected="selected">Forever</option><option value="session">This Session</option></select> <input type="submit" value="Login"></form>'; a.className = 'title1'; } </script>
Main Footer: <script> if(location.href.match(/.co.uk($|\/$)/) && vf_username == 'guest'){ build(); get('loginForm','name')[0].firstChild.style.display = 'none'; get('loginForm','name')[0].parentNode.previousSibling.style.display = 'none'; get('loginForm','name')[0].parentNode.nextSibling.style.display = 'none'; } </script> | |
|
dog199200 Guest | | Re: Vbulletin Quicklogin (12th Apr 08 at 4:50pm UTC) | | can the input boxes be shrunk so that it wont stretch a 700 px lenth forum?
also is it possible to get it so taht it will also remove the head/base image from the old quick login from the bottom of the forum | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | | Re: Vbulletin Quicklogin (12th Apr 08 at 4:56pm UTC) | | | try recopying, I haven't tested that! | |
|
dog199200 Guest | |
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | | Re: Vbulletin Quicklogin (13th Apr 08 at 6:21pm UTC) | | Recopy please! | |
|
dog199200 Guest | | Re: Vbulletin Quicklogin (14th Apr 08 at 12:55am UTC) | | | ok ty that works good enough | |
|