Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2009, 12:34 AM
vcruiser's Avatar
vcruiser vcruiser is offline
 
Join Date: May 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default WordPress Header/Footer to show on vB forum

How can I get my forum to use the WordPress header and footer? I have WP as my CMS with a fat footer and header with the nav menu. I would like those features to work on my forum.
Reply With Quote
  #2  
Old 09-02-2009, 01:00 AM
Aclikyano Aclikyano is offline
 
Join Date: Apr 2006
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how did you put that theme in under your wordpress dashboard? i still cant figure that out right now lol not even time maybe i dunno but please help cause i have a premium theme i would like to add onto my wp...
Reply With Quote
  #3  
Old 01-06-2010, 10:34 AM
kpmedia's Avatar
kpmedia kpmedia is offline
 
Join Date: Jan 2008
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you ever figure this out? I'm wanting to do the same thing.
Reply With Quote
  #4  
Old 01-06-2010, 12:20 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

CSS ya'll, I just worked on a forum where a previous coder had simply copied and modified the WP css or created their own that matched. I have since removed the wordpress and installed and modified some modifications to serve the same purpose as WP although it's all internal to vBulletin now.

Basically this can be done, if your unfamilair how and want it done by a professional I suggest posting first in the Unpaid Modification Request forum and give it time, if no reponse and you still want it then post in the Paid Request Modification Section.... other than that Google will be your friend to brush up on some CSS .

Mike
Reply With Quote
  #5  
Old 01-06-2010, 06:23 PM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can do it either one of two ways:
1. Modify the navbar and the footer with the existing code in your wordpress theme
2. You can remove the navbar and footer templates and add new css to wrap your forum and place your forum in the div that way you can have your navbar and your footer show around the div
Reply With Quote
  #6  
Old 01-07-2010, 04:47 AM
kpmedia's Avatar
kpmedia kpmedia is offline
 
Join Date: Jan 2008
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm still not quite sure I understand.

What I was expecting to do was insert some kind of "include Wordpress header" statement into the vBulletin header. And then deal with overlapping css by changing generic css like "header" in WordPress. Let vBulletin use the generics, as WP CSS editing is much easier.

What I've not figured out is the code for the vB, and where to put it, that essentially says "wordpress header goes here" and then it loads as the header of the forum (or in addition to and above the current forum header).

I don't want to pay for, I'm trying to learn how to do it, not have it done for me (but thanks anyway).

My Wordpress header is not just pretty images, it has css drop-down menus for the WP content. I want those menus intact and functioning in vB, too. Is there a way to call the Wordpress PHP header from vB (and have it actually work -- I've seen a lot of advice that fails).

Thanks.

--------------- Added [DATE]1262899539[/DATE] at [TIME]1262899539[/TIME] ---------------

I've been working with this set of instructions today: http://depressedprogrammer.wordpress...heme/#comments

However, Firefox and IE will give back internal server error 500 when making a new thread or replying to a post.

Chrome and Safari (Windows) are fine?

Others have that issue, too, with no posted resolution.

--------------- Added [DATE]1262904469[/DATE] at [TIME]1262904469[/TIME] ---------------

I figured it out. I'll post back with the answer when I get some time. WordPress needs to have some customizations done too, not just vB.
Reply With Quote
  #7  
Old 01-08-2010, 01:35 AM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you cant figure it out send me link and ill work on the code a little for you and see what i can figure out.
Reply With Quote
  #8  
Old 01-09-2010, 04:02 AM
kpmedia's Avatar
kpmedia kpmedia is offline
 
Join Date: Jan 2008
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it to where the header and footer would display, but then it started to damage some of the posts. Attached inline images would randomly not display.

Smilies would turn into HTML code
Instead of a I'd get
HTML Code:
<img src=\"images/smilies/wink.gif\" alt=\"\" title=\"Wink\" smilieid=\"4\" class=\"inlineimg\" border=\"0\">
It was fine on old posts.
It showed fine in new posts.
It even looked fine in the AJAX editor.

But it turned to code when the "quick reply" (Ajax) was saved, or when you looked at in in the full editor ("go advanced"). Code with added \ marks, I might add.

I stripped down the wp header file to the basics, making and including a custom that I've named "header-vb.php" ..... also made a custom CSS file for the WP header included in vB. The CSS is stripped down to the unique-named DIVs in the WP header.

Didn't help.

This is an active site, and some of the content is personal in nature (private forums), I can't really give out access to it.

Any ideas on the above errors, however, would be appreciated.

--------------- Added [DATE]1263017885[/DATE] at [TIME]1263017885[/TIME] ---------------

I tried it just now with an empty included stylesheet and wp header file --- same problem, turns the smilies into code.

not sure where the issue is.
Reply With Quote
  #9  
Old 01-09-2010, 05:29 AM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmmm idk what could be causing this but i think you are over complicating this way to much. There should not this big of an issue getting the theme to work right, heck you can just right click the page source on your blog copy the source of the header and paste it into your header template and that should get most of it. It will take a little tweaking but shouldnt be hard.
Reply With Quote
  #10  
Old 01-09-2010, 07:24 AM
kpmedia's Avatar
kpmedia kpmedia is offline
 
Join Date: Jan 2008
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I copied the source code, then I'd have to redo the header in vB every time I made changes to the menu. The idea is to automate the process, where there is a shared WP menu.

I'd be happy with just getting this tiny bit of code to work:
PHP Code:
<?php wp_list_pages('title_li=&depth=2&sort_column=menu_order'); ?>
As it stands, simply calling up WordPress code seems to create a mess with extra inserted slashes. (I'm not sure if this has anything to do with unescaped slashes or not.)

I'm getting close to just saying "screw it" and creating a universal menu with dynamic drive's menu coding. Sort of defeats the purpose, but I'm not fond of having to redo vB headers all the time.

Not sure what would cause the forum to freak out and insert code mess like it's doing on the images. Nothing else is affected (that I can see, at least), just the images in posts.


... having the full footer with my widgets, which shows latest blog posts, would have also been nice, though. I'm wanting at least the menu, but hoping for the full enchilada.


edit: I'm apparently not alone in this issue. Another person has reported the exact same thing at https://vborg.vbsupport.ru/showthread.php?t=208981

I'm wondering if something in this post -- http://www.vbulletin.com/forum/project.php?issueid=5751 -- could hint at a possible fix, but I'm not seeing it. My version of vB is 3.8.2 and I don't have that code in that file.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04825 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete