View Single Post
  #2  
Old 20 Aug 2016, 01:01
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
The easiest way to include the login form is via iframe. When someone logs in, they will be redirected to the forums.

<iframe id="idLoginIframe" class="js-menu__login-iframe b-menu__login-iframe" src="http://www.example.com/forums/auth/login-form"></iframe>



This will display the login form on your page. You can set the CSS to display none, add a div with a login button to create the nav bar and use jquery or javascript to toggle the form when someone clicks the button. Use absolute positioning and z-index to have the form overlap the page like a dropdown. This is the easiest way to include the vb login form to an outside page.
__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote