vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=205388)

Lloyd32552 04-15-2009 05:29 PM

I've seen that others have had this error:
After turning on the plug-in, I consistently get:

"Error 500 - Internal server error

An internal server error has occured!
Please try again later."

...but I have not seen a reply as to how to fix it. My installation is extremely vanilla - same domain for vB and WP with no custom modifications to either. vB is installed in /forum and WP at the root. No database prefix. I've applied the 755 chmod to each of the WP folders.

The only thing that I can think of that is not out-of-the-box is that I have PhotoPost installed and integrated with vB and that is all working just fine. Is there a chance that a permissions change there is keeping this bridge from working?

Any help would be appreciated as I'd like to get this going before the site goes live. I have temporarily removed this mod since it wasn't working.

Thanks,
Lloyd
vBulletin 3.8.2
WordPress 2.7.1
vbbridge 4.01.13
Hosting site: 1and1.com
MySQL 5.0

amjadz4 04-15-2009 05:54 PM

Quote:

Originally Posted by Lloyd32552 (Post 1791849)
I've seen that others have had this error:
After turning on the plug-in, I consistently get:

"Error 500 - Internal server error

An internal server error has occured!
Please try again later."

...but I have not seen a reply as to how to fix it. My installation is extremely vanilla - same domain for vB and WP with no custom modifications to either. vB is installed in /forum and WP at the root. No database prefix. I've applied the 755 chmod to each of the WP folders.

The only thing that I can think of that is not out-of-the-box is that I have PhotoPost installed and integrated with vB and that is all working just fine. Is there a chance that a permissions change there is keeping this bridge from working?

Any help would be appreciated as I'd like to get this going before the site goes live. I have temporarily removed this mod since it wasn't working.

Thanks,
Lloyd
vBulletin 3.8.2
WordPress 2.7.1
vbbridge 4.01.13
Hosting site: 1and1.com
MySQL 5.0

You are having a conflict with other plugins. disable everything else and install this. then enable one by one..and see which one is causing it.

Artangel 04-16-2009 09:17 AM

if you turn off the forum the themes of wordpress will crash.. any idea how to fix it?

amjadz4 04-16-2009 09:23 AM

Quote:

Originally Posted by Artangel (Post 1792314)
if you turn off the forum the themes of wordpress will crash.. any idea how to fix it?

Only thing I can think of is turn off the wordpress too :)

rcadden 04-16-2009 03:14 PM

I think a great solution to the userid issue would be to just have every post from wordpress come into vbulletin with a generic userid, like 'Front Page' or something like that - which is possible, but not if you're signed into the forum, even if you have the autointegration turned off.

It also doesn't work in scheduled posts, annoyingly.

Lloyd32552 04-16-2009 03:32 PM

I decided to start over from scratch because I could not get by the Error 500 message.
So I created new databases and installed just the newest versions of WordPress and vBulletin. No mods or plugins have been added. I created a single user in vBulletin named Integration - ID is 2.
I've created no new categories and so am just using the default category which is ID 2.
The forum url is http://nameofmysite.com/forum
The relative path is /forum
I've turned on the plugin
The site uses UTF-8
Auto-Integrate is NOT turned on.
Post articles to forum is turned on.
Excert from post is turned off.

When I try to write the test post, I see the drop-down box with the correct 'Main Forum' category and when I click Publish I get Error 500.

Does anyone have a suggestion or would someone be willing to login to my site at 1and1 and look at my setup? I can PM you the login info.

Lloyd32552 04-16-2009 09:22 PM

Just a continuation of my last post...

I am still getting Error 500, but I now see that my posts are showing up in the forum. So I guess my new questions is - should I be concerned about the Error 500?

Also, should I assume this has been a successful test and turn on Auto Integration?

tako 04-17-2009 06:04 AM

I have an exactly same problem.

That is the only one big issue I currently have with this great mod.


Quote:

Originally Posted by M4GN3T (Post 1791751)
I found a bug. When a 'editor' or 'author' edit thier own post, the post gets placed under userid number one, which is in my case me myself the admin. I hope you can fix this.


wiizard 04-18-2009 02:00 PM

Since today my website isn't reachable anymore, returning the following error:
Quote:

Fatal error: Cannot redeclare get_userdatabylogin() (previously declared in /var/www/wii/wp-includes/pluggable.php:166) in /var/www/wii/wp-content/plugins/functions_vbbridge.php on line 33
I had to delete the vbbridge-files manually to restore the functionality, though I can't use the integration now. Reuploading the plugin doesn't help and even the resetvbbridge.php-file returns that error.

Is there any way to get vbbridge working again?

/edit:
Okay, re-installing the plugin does actually fix the problem.
But it seems that it's only a matter of time until the error comes up again - and I have absolutely no idea what causes it. I've seen that there are some other users with the same problem, so maybe it's a bug in the script?

amjadz4 04-18-2009 03:32 PM

I am sure most of you who are having the problems are not following the instructions correctly. You will not get any error if its followed step by step. I have tried it myself and I finally got it what was causing those issues.

Anyone wanting to setup the bridge and make it work once and for all can PM me. I'll be happy to set it up for you making it worth my time. :)

also about the USER ID issue, as far as i know this mod is not designed for that. I hope the author will fix that in the next version so for now, there's no use talking about it, simply don't use the posting feature at all for now. If you want only users integrated that will work perfectly. (and that's what most of the people actually want!)

wiizard 04-18-2009 04:28 PM

Quote:

Originally Posted by amjadz4 (Post 1793970)
I am sure most of you who are having the problems are not following the instructions correctly. You will not get any error if its followed step by step. I have tried it myself and I finally got it what was causing those issues.

Well, the plugin worked without problems for several days, until all of a sudden the error occured.

The only modification I did is to connect the avatars and usernames of the wordpress-comment-system with the vBulletin's user-IDs.

It's working fine right now, but god knows how long.

Shinichi_bien 04-19-2009 01:55 AM

Hi,

I have problems with pending posts, so I came up with this filter in order not to lose the original author of the pending post when it's published. I don't know if it's only me who has this issue or not?

PHP Code:

add_filter('wp_dropdown_users''vb_post_author');

function 
vb_post_author($output) {
    global 
$post;

    
$vb_post_author get_userdata($post->post_author);
    
$output str_replace('</select>','<option value="'.$post->post_author.'" selected>'.$vb_post_author->username.'</option></select>',$output);
    echo 
$output;



ph03nIX 04-19-2009 10:14 AM

I came across something I thought I'd point out.
When auto-integration is on everything works fine but when I turn it off I cannot get to Media Upload, it just says “Are you sure you want to do this? Please try again.”

Not a big deal really just thought I'd point it out.

Great mod either way, I am loving it so far. :up:

metalguy639 04-19-2009 10:52 PM

No matter what I do I get a blank page after trying to make a post. I've tried all the configurations etc and nothing seems to work. I edited the vbbridge.php file to placed the path to my vbulletin board, I've tried switching the settings on the bridge. I made sure the bridge was turned on. When its turned off wordpress work just fine. I switched the settings from using UTF to not using it, always the same thing a blank page after I click the "Submit" button in wordpress to post the article. I do not want to integrate users into my wordpress but I would like to have my blog posts show up on the forum with out having to copy and paste them into the forums. I'm running vbulletin 3.8.1 & Wordpress 2.7.1. Please help.

N-0p3rz 04-20-2009 04:26 AM

I seem to be having trouble with compatibility.

The plugin works fine, but when I activate the plugin (and I'm sure it'd be any other plugin that calls for the same function) Role Scoper, one or the other will cause the site to return in error.

This is because both call for wp_set_current_user.

Any way to possibly fix this?

Fraik 04-20-2009 06:26 AM

You need to edit the URL and path to match that of your forums

lange 04-20-2009 07:01 AM

Quote:

Originally Posted by Lowestoft Life (Post 1790146)
I have this installed using VB 3.8.2 and WP 2.7.1. The test post worked fine, however when replies to the test post are made on VB they are not showing as comments on my Wordpress site, which I believe they should be doing unless I have misread something?

Comments made on the Wordpress side are not transmitted as replies to the post on the forum either, so i'm not sure which way round this is supposed to work.

Also before installing the hack I had just 1 member on VB (me) but quite a few on WP. I notice mapping users has not created forum accounts for the WP members automatically - are they expected to create seporate accounts for VB?

Same here.

rcadden 04-20-2009 01:37 PM

Quote:

Originally Posted by amjadz4 (Post 1793970)
also about the USER ID issue, as far as i know this mod is not designed for that. I hope the author will fix that in the next version so for now, there's no use talking about it, simply don't use the posting feature at all for now. If you want only users integrated that will work perfectly. (and that's what most of the people actually want!)

That's not entirely accurate - there are a few of us who don't need the user integration at all, but who use this plugin solely for the ability to bridge posts from Wordpress over to vBulletin. For us, it's crucial.

Actually, I wonder if it would 'fix' things if I deleted all of my Wordpress users, aside from the admins/authors? I don't particularly need for my readers to have Wordpress accounts (in fact, I would prefer they not, for security reasons). Would that hose things?

rcadden 04-21-2009 03:54 PM

I've got $50 for the first person who can provide a fix for the user ID issue with scheduled posts. If it's the dev, great. If it's someone else, great.

rcadden 04-21-2009 04:33 PM

Quote:

Originally Posted by Shinichi_bien (Post 1794232)
Hi,

I have problems with pending posts, so I came up with this filter in order not to lose the original author of the pending post when it's published. I don't know if it's only me who has this issue or not?

PHP Code:

add_filter('wp_dropdown_users''vb_post_author');

function 
vb_post_author($output) {
    global 
$post;

    
$vb_post_author get_userdata($post->post_author);
    
$output str_replace('</select>','<option value="'.$post->post_author.'" selected>'.$vb_post_author->username.'</option></select>',$output);
    echo 
$output;



Can you tell me where exactly you added this filter?

Lethal Geass 04-21-2009 07:15 PM

Id like to get this working with http://wordpress.org/extend/plugins/tdo-mini-forms/. Tried activating the plugin but get an error. Any help would be appreciated.

Shinichi_bien 04-21-2009 07:19 PM

what's kind of error?

@ Jafo232: Please add email and url to $user to get Gravatar support. Thanks
PHP Code:

    $user->user_email $user->email;
    
$user->user_url $user->homepage


Shinichi_bien 04-21-2009 07:21 PM

Quote:

Can you tell me where exactly you added this filter?
in vbbridge.php

just before

PHP Code:

add_action('publish_post''Vbridge_Post'); 

but you can add anywhere that you want, I put it there to keep it close to the add_action (easy to remember)

please change the posted code to the following, add this filter only in admin end

PHP Code:


if (is_admin()) {
add_filter('wp_dropdown_users''vb_post_author');
function 
vb_post_author($output) {
    global 
$post;

    
$vb_post_author get_userdata($post->post_author);
    
$output str_replace('</select>','<option value="'.$post->post_author.'" selected>'.$vb_post_author->username.'</option></select>',$output);
    echo 
$output;
}



Lethal Geass 04-22-2009 03:15 AM

I get this error when i activate there plugin:

Fatal error: Cannot redeclare get_userdatabylogin() in /public_html/wp-content/plugins/functions_vbbridge.php on line 3

I need to disable the plugin via ftp to make my site work again.

XStealth6 04-22-2009 01:06 PM

Code:

Warning: main(./includes/class_dm.php) [function.main]: failed to open stream: No such file or directory in E:\inetpub\vhosts\d3gaming.com\httpdocs\blog\wp-content\plugins\vbbridge.php on line 113

Fatal error: main() [function.require]: Failed opening required './includes/class_dm.php' (include_path='.;E:\Program Files\Parallels\Plesk\Additional\Php\pear;./includes;./pear') in E:\inetpub\vhosts\d3gaming.com\httpdocs\blog\wp-content\plugins\vbbridge.php on line 113


I get the following when trying to make a new post while the feature is turned on. i have my blog installed on a sub-folder. for example d3gaming.com/blog/ - clean install of wp , added plugin. i only really filled out 4 options. VB Name. ID, Forum ID ( i got off vbulletin panel) Forum URL obviously www.d3gaming.com or d3gaming.com , neither works, i get the above.


Any ideas?


I read about 10-14 pages from the get go but could not find a problem similar to mines.. :(



Why is it looking for /d3gaming.com/ when i hardcoded /d3gaming/ ???????? My hardcoded url is: E:/inetpub/vhosts/d3gaming/httpdocs

reimic 04-22-2009 07:29 PM

BUG:

hello, when i add a tag its automatic a category! could you please tell me what to do to fix that bug?

wiizard 04-23-2009 01:33 AM

Okay, to everyone experiencing the "cannot_redeclare"-error:

In my case it was due to vbb_PLUGION being set to 0 instead of 1.

Check your wp_options table for this entry and just set it back to '1'.

Also I've searched for the function causing the value-change and only found the following one so far:

PHP Code:

    if (!file_exists($vwd '/global.php'))  { 

        echo 
"cannot include $vwd/global.php.  You should check your path!  Turning Plugin Off"

        
update_option('vbb_VBPLUGION'0);

        exit; 
    } 


I've changed it to
PHP Code:

update_option('vbb_VBPLUGION'1); 


Seems like sometimes the global.php file can't be accessed and therefore the script automatically sets vbb_VBPLUGION back to 0. Would be interesting though to get some more details about this problem. :o

XStealth6 04-23-2009 10:31 AM

Quote:

Originally Posted by wiizard (Post 1797099)
Okay, to everyone experiencing the "cannot_redeclare"-error:

In my case it was due to vbb_PLUGION being set to 0 instead of 1.

Check your wp_options table for this entry and just set it back to '1'.

Also I've searched for the function causing the value-change and only found the following one so far:

PHP Code:

    if (!file_exists($vwd '/global.php'))  { 

        echo 
"cannot include $vwd/global.php.  You should check your path!  Turning Plugin Off"

        
update_option('vbb_VBPLUGION'0);

        exit; 
    } 


I've changed it to
PHP Code:

update_option('vbb_VBPLUGION'1); 


Seems like sometimes the global.php file can't be accessed and therefore the script automatically sets vbb_VBPLUGION back to 0. Would be interesting though to get some more details about this problem. :o



Tried it, same problem for me. Same error as above.

SoulSuite 04-23-2009 04:32 PM

Hey I want to applyt this great module.

Only I need a few informatie before I get start.

I have now a forum on the root folder version 3.8.2.. I want to install wordpress in blog.domain.com. This will be installed on the same domain but in a seperate database.

Could be working the plugin when I work this way?

reimic 04-24-2009 04:11 AM

ok listen. i can only give you the tipp to not install the plugin! the autor didn't answer my questions and i found many bugs. if you have a large forum its absolutly nothing for your site, because there are very heavy bugs!

maybe the autor sometimes could answer my questions because none of them are mentioned!

:down::mad:

AzzX 04-24-2009 09:06 AM

Quote:

Originally Posted by reimic (Post 1797918)
ok listen. i can only give you the tipp to not install the plugin! the autor didn't answer my questions and i found many bugs. if you have a large forum its absolutly nothing for your site, because there are very heavy bugs!

maybe the autor sometimes could answer my questions because none of them are mentioned!

:down::mad:

If the question has already been answered it may not get answered again.

SoulSuite 04-24-2009 09:16 AM

Well, is the plugin supported or not? Is it compatable with vb 3.8.2 or not..

reimic 04-24-2009 01:58 PM

Quote:

Originally Posted by AzzX (Post 1797991)
If the question has already been answered it may not get answered again.

haha.. the question is not answered..:erm:

SoulSuite 04-24-2009 03:22 PM

Well If you want that people using the mod, the is the support priority nr #1. This way of support sucks. Now I got the feelings like "figure it by yourself out".

Anyway, Im not installing the plugin.

Bayou Buck 04-24-2009 07:28 PM

I have a vBulletin forum that my users use as a standard forum for making posts, sharing photos, etc. I also have wordpress, where only I publish "official articles" for my online magazine. Will this mod allow my vBulletin forum members to post comments to entries I make in Wordpress? I don't want these entries to never show up on the vBulletin forum....they'll remain exclusively on wordpress along with their comments. This is ALL I want the bridge for. Will it work? Any special considerations?

vbem2 04-24-2009 07:58 PM

Hi there,

Something I'm wondering about, but haven't found an answer through reading: Can this plugin simply take forum reply posts and post them as comments on the blog post page along with comments left directly on the blog?

Thanks!

KevinL 04-24-2009 08:09 PM

Quote:

Originally Posted by vbem2 (Post 1798397)
Hi there,

Something I'm wondering about, but haven't found an answer through reading: Can this plugin simply take forum reply posts and post them as comments on the blog post page along with comments left directly on the blog?

Thanks!

No this does it the other way around...you're looking for something like this https://vborg.vbsupport.ru/showthread.php?t=207317

vbem2 04-24-2009 08:24 PM

O great, thanks! I searched like mad (on more than one occasion) but I was using the wrong keywords so I never found it :)

Thanks again.

GiladG 04-25-2009 11:59 PM

Whenever I activate the "Auto-Integrate" on I keep getting blank pages for all of Wordpress. I tried mapping "Unregistered / Not Logged In" as every possible role but I get the same results (blank pages).

That said, if I head over to the forum and log in (either as a user or an admin), I get all Wordpress pages with no problem.

Any suggestions?

Thanks in advance.

ForgotenDynasty 04-30-2009 11:47 PM

I have my wordpress in the /wordpress directory and my Vbull in the /forum directory

I put ../forum for the vwd but it still doesn't seem to be working

any suggestions?


All times are GMT. The time now is 01:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02176 seconds
  • Memory Usage 1,874KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (9)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete