Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Aug 2016, 21:09
talhatc talhatc is offline
 
Join Date: Jul 2016
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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #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
  #3  
Old 20 Aug 2016, 03:32
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
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
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
  #4  
Old 20 Aug 2016, 11:10
talhatc talhatc is offline
 
Join Date: Jul 2016
I need the whole top bar from Vbulletin to show on the WP site
Reply With Quote
  #5  
Old 20 Aug 2016, 15:58
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
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?
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
Reply


Tags
navbar, top, vbulletin 5, wordpress


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:37.

Layout Options | Width: Wide Color: