Mimicking a Drupal header in a vBulletin header
JuJu_Kelly - May 25, 2009 - 16:38
| Project: | Drupal vB |
| Version: | 6.x-2.0 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I am looking over Pregnancy.org relaunched on Drupal - a case study. In there forum the navigation seems to be from the main drupal nav (like the rest of the site) but under the menu is the vbulletin forum content. How'd they do that? I want to keep the familiar drupal navigation but have vbulletin content below. I am going to use Drupal vb not vb Drupal because the theme I am using is only supported in Drupal 6.
Any thoughts?

#1
I think it's a safe bet the two systems might not be integrated at all and are just styled to look like it. The designer for that site seems to have put specialized header html and css into the vBulletin header template, and is mimicking his or her Drupal header up to a certain point. They still use vBulletin's standard header below that. (Do a view source on the vBulletin side and take a look at their header.css to get a rough idea of what might have been involved).
Other thoughts:
1 - The "Forum Destinations A - Z" block on the front page is definitely using Views (or was at one time) but I'm not certain it's dynamic. I wonder if they just created Drupal nodes with a bunch of vBulletin URLs and used that behind the View.
2 - At the bottom of the Drupal articles, there is a login/register link for posting comments. These links return you to a standard Drupal comments form associated with the node, and may not be directly tied to vBulletin. I believe the vBulletin threads are all separate from the Drupal content.
I think the site is generally a great case study. I'd love to hear other general opinions!
As a side note, I personally have started work on a similar project but I really need to tie the Drupal articles more closely to the vBulletin discussion threads. I want threads to be created dynamically if possible but I have not yet managed to come up with a good way to do this.
#2
Oh and also, notice that the vBulletin menu is totally unchanged on that site, minus some stuff they decided to strip out. It is not doing anything Drupal-related. Perhaps we should rename this issue accordingly to be header-specific instead.
#3
#4
Thanks for looking into this.
Is there a way to have a drupal navigation menu in the header of a vbulletin page? I just want my forum pages to have the same navigation menu as the other drupal pages. I still want to keep the vbulletin menu on the forums but just have the main drupal nav links at the top.
#5
JuJu_Kelly,
Yes, taking the case study site you mentioned as an example, I believe the designer actually pasted parts of their Drupal header -- including the Drupal primary links -- right into the vBulletin header template. He or she probably also copied some of the Drupal CSS related to the header region, into a new CSS file entitled "header.css", and then just referenced that in vBulletin.
I would start things off by viewing the source on your Drupal pages and copy/pasting parts of the header section into the vBulletin header template. To get to that template in vBulletin:
1. Go to /[FORUMPATH]/admincp
2. Go to Styles & Templates -> Style Manager
3. Open the "header" template
As far as what specifically you need to copy and paste, that's where you just have to experiment. You need to develop some level of familiarity and comfort with html and css, but that's not hard to learn and trial and error can be a great teacher.
Especially since vBulletin is so good about letting you roll back your template changes when they don't work!
I plan to go through these motions myself soon, but it might not be for another week or so because right now I'm focusing on figuring out how to create vBulletin threads out of Drupal posts on the fly.
Hope this helps. Feel free to ask more questions and I'll do my best to answer.
#6
Thank you so much for your help. Your right Trial and error is a great teacher but I am stumped on something. I posted a coment in the forum but don't usually get a great response. see the following http://drupal.org/node/477388. I am trying to figure out how to expand/customize my users (drupal) profile. Also are you familiar with editing drupal theme templates...see http://drupal.org/node/497582.
Thanks !!!
You seem very knowegable. Maybe you could help :)
Sorry I am posting here-this issue isn't a Drupal vb issue.