• Blue Fishey

    (@blue-fishey)


    Hi

    we are integrating bits of VB into wordpress,

    now the problem is the includes as below, all work fine BUT they cause the admin panel to give “You do not have sufficient permissions to access this page”

    take the lines out all is well, put them back code work but then the sufficient permissions error return

    Help

    // Build in VBB PHP
    $root = $_SERVER[‘DOCUMENT_ROOT’];
    $cwd = getcwd();
    chdir(“$root/bb/”);
    require_once(“/$root/bb/global.php”);
    require_once(“$root/bb/includes/class_bbcode.php”);
    $bb_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
    chdir($cwd);

    i place the codes in child theme functions.php

    Blue

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Blue Fishey

    (@blue-fishey)

    fixed

    wrapped

    if( ! is_admin() ) {

    }

    round it and sorted 😉

    Blue

    obscurecloud

    (@obscurecloud)

    I’ve been working on a wordpress-vbulletin bridge and am curious of what bits of vB you are trying to get in WP.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Vbulletin and Word Press’ is closed to new replies.