Announcement

Collapse
No announcement yet.

Including Wordpress Header

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Including Wordpress Header

    Ok so i have created a plugin using global_start as the hook location

    this is the code
    PHP Code:
    ob_start();
      include(
    'wphead.php');
      
    $wphead ob_get_contents();
      
    ob_end_clean(); 
    it works great and all with the exception that extra characters get thrown into the post that are created such as "test" gets changed to \"test\" or anything with " or a ' also the shoutbox that is installed on the forum just simply stops working and says loading any idea...

    using the most recent copies of wordpress and vbulletin

  • #2
    You have problems with escape characters. I recommend you post on www.vbulletin.org for help with this. They deal with custom code over there.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X