The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
VB Main Navbar on WP site
Hi All,
I need to show the VB Main Navbar which has the login and signup drop-down form on the wordpress site. I would appreciate if someone can point me in the right direction. I tried the following code but didn't know how to get the top bar PHP Code:
|
#2
|
||||
|
||||
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. |
2 благодарности(ей) от: | ||
MarkFL, TheLastSuperman |
#3
|
||||
|
||||
Or you could create your own login form in WP and use this code to login to vB:
http://www.vbulletin.com/forum/blogs...n-your-website |
2 благодарности(ей) от: | ||
MarkFL, TheLastSuperman |
#4
|
|||
|
|||
I need the whole top bar from Vbulletin to show on the WP site
|
#5
|
||||
|
||||
Are both the vB forum and WP in the same domain? Or one of them is in a subdomain? And I assume if user is logged in to vB, the top bar in WP will show the username and avatar and also Messages and Notifications?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|