Forums

[plugin: WordPress-vBulletin Threads] VB Path errors? (2 posts)

  1. Damien
    Member
    Posted 2 years ago #

    Trying to get WordPress-vBulletin Threads working but when I enter the path in the options for the forum I get errors. Using latest wordpress + 3.8.6 vbulletin.

    using: /home/forum/public_html/forum

    Warning: array_keys() expects parameter 1 to be array, null given in [path]/includes/functions.php on line 4243
    Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 4243
    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/global.php(355) : eval()'d code on line 28
    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/global.php(355) : eval()'d code on line 31
    Fatal error: Call to a member function query_read_slave() on a non-object in /home/forum/public_html/forum/includes/functions.php on line 3205

    I get chdir errors using just forum/ or similar path.

    Offending code?

    if(!$wpvbt_fp = get_option('wpvbt_forum_path'))
    return;
    $cwd = getcwd();
    chdir($wpvbt_fp);
    require_once('./global.php');
    require_once('./includes/functions_newpost.php');
    require_once('./includes/class_dm.php');
    require_once('./includes/class_dm_threadpost.php');
    require_once('./includes/functions_databuild.php');
    chdir($cwd);

    Any help here would be awesome.

  2. gamingforest
    Member
    Posted 1 year ago #

    Your better off just using the RSS feature on vbulletin. Thats how I did it on my site and I works great.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags