Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Aug 2011, 18:37
Domy Domy is offline
 
Join Date: Aug 2009
Header and footer on external page

How can I include the header (and navbar) and footer of vBulletin on external page?
Reply With Quote
  #2  
Old 17 Aug 2011, 19:04
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Maybe you could create your own vbulletin page (http://www.vbulletin.org/forum/showthread.php?t=228112) that includes the header, footer, and navbar, then include your external page in that (http://www.vbulletin.org/forum/showthread.php?t=24245)
Reply With Quote
  #3  
Old 17 Aug 2011, 19:18
Domy Domy is offline
 
Join Date: Aug 2009
No, I have to add header and footer of vbulletin on wordpress.
Reply With Quote
  #4  
Old 17 Aug 2011, 19:22
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Then you might want to look to the Wordpress sites for that.
Reply With Quote
  #5  
Old 17 Aug 2011, 19:46
Domy Domy is offline
 
Join Date: Aug 2009
I can include an external file into wordpress like this:

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

Can I export the vbulletin header in a php file?
Reply With Quote
  #6  
Old 17 Aug 2011, 20:00
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by Domy View Post
I can include an external file into wordpress like this:

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

Can I export the vbulletin header in a php file?
I was thinking about that, the problem is that the header (and other) html produced by vbulletin has relative paths in it, so all the links and the references to css and js files are broken. Maybe someone has an idea about that.

You could probably use iframes and then write scripts to produce the html you want (you'd need one for each separate section I guess, lik have one that generates just the header and navbar, and another that produces just the footer).

--------------- Added 17 Aug 2011 at 20:35 ---------------

OK, I put together this script and called it wp.php, and put it in the vb directory:


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


and I also created two new templates, wp_top and wp_bottom:

wp_top:

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


wp:bottom:

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


and then I created this html file to test it:

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


The navbits section is a problem, I don't know what to set it to, but I suppose you could just remove it from the template.

Anyway, I hope this helps.
Reply With Quote
Reply



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 14:05.

Layout Options | Width: Wide Color: