Michael Moderator Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined: Additional Groups: Coding Team pm skype msn yahoo aim google icq xfire michaelw90 " class="mp_vforum">vForum vBulletin Style Quick Login (15th Apr 08 at 5:39pm UTC )This code will add a vBulletin styled quick login to your forum, it will appear below the banner and above the menu. You can only use it on the main forum page as that already contains the quick login. On other pages, it's simply not shown. 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.previousSiblin g.style.display = 'none'; get('loginForm','name')[0].parentNode.nextSibling.st yle.display = 'none'; } </script>
MiNiCliP™ New Member And Im Back..... Posts: 9 Status: Offline Gender: Male Joined: pm skype msn yahoo aim google icq xfire Re: vBulletin Style Quick Login (21st Apr 08 at 11:48am UTC )can you convert this for ProBoards? VIDEO
Alex Bailey Senior Member Posts: 503 Status: Offline Gender: Male Location: Uk Age: 34 Joined: pm skype msn yahoo aim google icq xfire Re: vBulletin Style Quick Login (21st Apr 08 at 6:45pm UTC )Well considering this is a support forum for vForums , i don't think he will lol ting-tong2k6@hotmail.com
Michael Moderator Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined: Additional Groups: Coding Team pm skype msn yahoo aim google icq xfire michaelw90 " class="mp_vforum">vForum Re: vBulletin Style Quick Login (21st Apr 08 at 9:46pm UTC )[quote17471]can you convert this for ProBoards? No. It's vF. We do not support competitor services.
MiNiCliP™ New Member And Im Back..... Posts: 9 Status: Offline Gender: Male Joined: pm skype msn yahoo aim google icq xfire Re: vBulletin Style Quick Login (1st May 08 at 2:00pm UTC )Oh Ok Doky VIDEO
CåñåÐå™ Full Member Posts: 427 Status: Offline Gender: Male Location: Toronto Ontario Joined: pm www skype msn yahoo aim google icq xfire Re: vBulletin Style Quick Login (20th May 08 at 2:34pm UTC )Would it be possible to still have the vForum login at the bottom of the forum and this on the top Wrighty ? Or it that against vForums TOS. click here We have 15 Different Skins/Templates for your vForum
Michael Moderator Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined: Additional Groups: Coding Team pm skype msn yahoo aim google icq xfire michaelw90 " class="mp_vforum">vForum Re: vBulletin Style Quick Login (20th May 08 at 2:44pm UTC )No, that's fine... Just remove these 3 lines: get('loginForm','name')[0].firstChild.style.display = 'none'; get('loginForm','name')[0].parentNode.previousSiblin g.style.display = 'none'; get('loginForm','name')[0].parentNode.nextSibling.st yle.display = 'none';
CåñåÐå™ Full Member Posts: 427 Status: Offline Gender: Male Location: Toronto Ontario Joined: pm www skype msn yahoo aim google icq xfire Michael Moderator Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined: Additional Groups: Coding Team pm skype msn yahoo aim google icq xfire michaelw90 " class="mp_vforum">vForum Re: vBulletin Style Quick Login (20th May 08 at 6:15pm UTC )move this part:<script> if(location.href.match(/.co.uk ($|\/$)/) && vf_username == 'guest'){ build(); } </script> To the top of your main footer, OR if it is, to the top of your global footer! It's conflicting with another code!
CåñåÐå™ Full Member Posts: 427 Status: Offline Gender: Male Location: Toronto Ontario Joined: pm www skype msn yahoo aim google icq xfire Re: vBulletin Style Quick Login (20th May 08 at 8:30pm UTC )Yes i did have to put it in the global footer, and its working . Thank you Wrighty . click here We have 15 Different Skins/Templates for your vForum
Michael Moderator Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined: Additional Groups: Coding Team pm skype msn yahoo aim google icq xfire michaelw90 " class="mp_vforum">vForum Re: vBulletin Style Quick Login (20th May 08 at 8:42pm UTC )
dog199200 GuestRe: vBulletin Style Quick Login (24th May 08 at 12:54am UTC )also i didnt realize this, but you should really center it instead of it being pushed to the left
ashkir Full Member Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined: pm skype msn yahoo aim google icq xfire nickburrus " class="mp_vforum">vForum Re: vBulletin Style Quick Login (30th Jul 08 at 9:53pm UTC )[quote19154]also i didnt realize this, but you should really center it instead of it being pushed to the leftOn vB it isn't centered by default. If you want it to be centered add <center></center> tags to the code where you see the form HTML.
Michael Moderator Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined: Additional Groups: Coding Team pm skype msn yahoo aim google icq xfire michaelw90 " class="mp_vforum">vForum Re: vBulletin Style Quick Login (30th Jul 08 at 9:58pm UTC )That post was made 2 months ago! >.>
ashkir Full Member Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined: pm skype msn yahoo aim google icq xfire nickburrus " class="mp_vforum">vForum