vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=134521)

verrin 09-24-2007 09:34 PM

Hi Jarod.tm can you be more specific with your fix. Where do you enter the code? I had you similar error when writing a test message.

Warning: vb_post_form() [function.vb-post-form]: open_basedir restriction in effect. File(/includes/functions_misc.php) is not within the allowed path(s): ('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/') in XXXXXXXXXXXXXXXXXXX/wp-content/plugins/vbbridge.php on line 466

Warning: vb_post_form(/includes/functions_misc.php) [function.vb-post-form]: failed to open stream: Operation not permitted in /XXXXXXXXXXXXXXXXXXX/wp-content/plugins/vbbridge.php on line 466

Fatal error: vb_post_form() [function.require]: Failed opening required '/includes/functions_misc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in
XXXXXXXXXXXXXX/wp-content/plugins/vbbridge.php on line 466

jarod.tm 09-25-2007 07:44 AM

Quote:

Originally Posted by jarod.tm (Post 1346203)
Hi guys,
i've solved my problem (post 2or3 pages ago) adding this code at line 43:

PHP Code:

$vwd="/var/www/virtual/mysite.com/public/forum/"

over

PHP Code:

chdir($_SERVER['DOCUMENT_ROOT'] . get_option('vbb_VBRPATH')); 

But, i've another question:
when i post an article, i've a window with:
it's empty, dark.... how to use this?

Bye.

In VBRIDGE.php at line 43, add this:

PHP Code:

$vwd="/var/www/virtual/YOURSITE/YOUR PUBLIC FOLDER/FORUM FOLDER/"

With your path!

Caddyman 09-27-2007 10:00 PM

I'd pay someone to integrate this using vB and WP-MU

anyone know how to do that? PM me.

pspcrazy 09-27-2007 10:11 PM

Ugh I messed up my site by upgrading to wordpress 2.3 I wish i read before upgrading, now i have a blank page :|

WEBclay 09-28-2007 10:25 AM

Posting into a forum with wp 2.3 works just fine. I get an error at users-vbridge users

Code:

WordPress database error: [Table 'cgpad_wp.usergroup' doesn't exist]
SELECT * FROM usergroup

Seems like something changed in wp 2.3 :(

Crazy Serb 09-29-2007 03:53 PM

a lot of stuff changed in 2.3...

I am just waiting for a 2.3 compatible version of this mod as well...

Halfmad 09-30-2007 01:10 PM

Hi Jafo,

I recently tried the plugin and although I thought it was working it appears to have problems importing users from VB to WP. Everything is activated, user mapping was done first before activating it. However if someone logs into the forum, then tries to view the main page they get an error message, which is essentially because they're not a user on the website.


Fatal error: Cannot redeclare get_users_drafts() (previously declared in /homepages/10/xxxxxx/htdocs/wp-admin/includes/user.php:233) in /homepages/10/xxxxxx/htdocs/wp-admin/admin-db.php on line 3

I do have a prefix on the VB tables but I believe this was fixed in version 2.03 of the plugin (I have 2.06). I'm tried uploading the plugin again just incase but without luck. I've deactivated/reactivated the plugin and redone the options from step 1 with any luck either.

Any suggestions? the cookies works for me (as I'm a user on both) without any issues.

WP and VB are both running the most up to date versions and share the same database. If I post in WP it adds it to the forum etc without any issues, it's purely the user transfer that isnt working.

I'll try changing the settings for prefix etc and see if I have any luck, user mapping etc appears to be setup fine.

The website forum in on the same domain simply in the \vb directory.

If a user registers in VB and I insert the same username/password in WP they can use the WP section as normal - cookie seems to work fine. It appears now to be purely the user not coming across automatically form Vb to WP.

yet another edit:

I've just checked that vbb_VBION is set to 1 in the wp_options table :) I was hoping it was that! :(

I started at the beginning of the comments on here and read them all, right near the end what do I find? It's not actually compatible with WP 2.3 (which I have). I'm guessing my problems might well come from that :) I'll wait and hopefully we'll get a new compatible version :)

Jafo232 10-01-2007 03:13 PM

I have just upgraded three separate installs of Wordpress, all using the vbbridge plugin without any issue.

If someone will allow me access to their site via FTP so I can diagnose, then I can help, otherwise guessing at your problem will probably not help fix it...

WEBclay 10-01-2007 03:56 PM

Quote:

Originally Posted by WEBclay (Post 1348860)
Posting into a forum with wp 2.3 works just fine. I get an error at users-vbridge users

Code:

WordPress database error: [Table 'cgpad_wp.usergroup' doesn't exist]
SELECT * FROM usergroup

Seems like something changed in wp 2.3 :(

Never mind Jafo. I didn't installed wp into the forum's database again, sorry for that. Works now like a charm...

marcus_brutus 10-02-2007 06:37 AM

I have installed wordpress 2.3 and I'm using Vb 3.6.7.

I have been getting the same error message:

Warning: vb_post_form(/includes/functions_misc.php): failed to open stream: No such file or directory in C:\www\webroot\car_site\wordpress_2_3\wp-content\plugins\vbbridge.php on line 466

I tried commenting out the following line as Shack Dougal suggested earlier, but that does not work.

//require_once(ABSPATH . 'wp-admin/admin-db.php');//

I'm testing on my local server so I cannot give anyone FTP access.

Perhaps Jafo can give us all an update???

pspcrazy 10-03-2007 11:37 PM

Sure deal jafo i'll make seperate databases with the same content so you can play with them. The issue is that with wp-cache it causes a blank screens :|

Jafo232 10-04-2007 03:07 PM

Not sure why wp-cache would cause that. Try deleting the cache files. I use it on two sites using vbbridge without the issue.

There is one thing that should be noted and that is that Wordpress developers dropped a few tables on this new version (and forced the drop on the update). Some plugins (not this one) are throwing errors. Mostly to do with the post2cat table.

marcus_brutus 10-05-2007 07:47 PM

I cannot use the vbridge plugin due to issues with error messages on line 466 and I've done around half a dozen fresh isntalls with wodpress 2.3 and the latest version of vbridge.

gariben 10-06-2007 05:01 PM

Looking for someone to integrate vBulletin and Gallery script (http://gallery.menalto.com) to Wordpress based site.

If possible, the Gallery and vBulletin should be using the WordPress theme (design files). If not, maybe I can get somebody to change vBulletin design to match with Wordpress.

Must provide mini step by step procedure as I have to integrate about 5-6 similar websites (WP, vB, Gallery)

Email: tokyofriends@gmail.com

Thanks,
Mike
tokyofriends@gmail.com

MPDesignZ 10-07-2007 04:30 AM

After reading a bit I see that you cannot get this to work with Wordpress 2.3. I really need this to work with WP 2.3, this is for a client and not myself.

I'm having the same error message as another member was having above. I'm running the newest version of vbulletin 3.6.8 and its a fresh install. I installed everything to the same database as the wordpress pages. everything worked like a charm until I got to the user integration on the site. I could make posts on the vbulletin site from the wordpress admin panel, but even after installing 2 times and following the instruction carefully I cannot get users to integrate together. This is a crucial part that I need. Seems the problems come in when we map usergroups & then tick the integrate field on the options part.

Here's the error message I get after doing this:

Code:

Fatal error: Cannot redeclare get_users_drafts() (previously declared in /home/content/xxxx/html/wp-admin/includes/user.php:233) in /home/content/xxxx/html/wp-admin/admin-db.php on line 3
If there is a easy fix either by hard coding or what have you please post it so we can get this plugin working for the site.

Thanks
MP

WEBclay 10-07-2007 02:06 PM

I am not quite sure what doesn't work for you? I can map users in the wp-admin options using wp 2.3...

MPDesignZ 10-08-2007 10:58 AM

Quote:

Originally Posted by WEBclay (Post 1354790)
I am not quite sure what doesn't work for you? I can map users in the wp-admin options using wp 2.3...

Great! Then how are you doing it without an error message :( I kept on getting an error. Is there something I'm missing here?


MP

WEBclay 10-08-2007 11:05 AM

Can you post a screenshot so I can handle this to my programmer?

MPDesignZ 10-08-2007 11:40 AM

Quote:

Originally Posted by WEBclay (Post 1355414)
Can you post a screenshot so I can handle this to my programmer?

Screenshot? All I get is a blank white page with that error message on it when I integrate members. Not sure what you mean.

MP

WEBclay 10-08-2007 11:44 AM

So that means you don't see the page I attached?

MPDesignZ 10-08-2007 12:01 PM

Quote:

Originally Posted by WEBclay (Post 1355434)
So that means you don't see the page I attached?

we see that page and then we set it. After all is set then we try to go back adn view the wordpress page and get that error I posted above. So I see that page and set it up but afterwards nada :(


MP

Jafo232 10-08-2007 02:15 PM

Quote:

Originally Posted by MPDesignZ (Post 1354582)
After reading a bit I see that you cannot get this to work with Wordpress 2.3. I really need this to work with WP 2.3, this is for a client and not myself.

I'm having the same error message as another member was having above. I'm running the newest version of vbulletin 3.6.8 and its a fresh install. I installed everything to the same database as the wordpress pages. everything worked like a charm until I got to the user integration on the site. I could make posts on the vbulletin site from the wordpress admin panel, but even after installing 2 times and following the instruction carefully I cannot get users to integrate together. This is a crucial part that I need. Seems the problems come in when we map usergroups & then tick the integrate field on the options part.

Here's the error message I get after doing this:

Code:

Fatal error: Cannot redeclare get_users_drafts() (previously declared in /home/content/xxxx/html/wp-admin/includes/user.php:233) in /home/content/xxxx/html/wp-admin/admin-db.php on line 3
If there is a easy fix either by hard coding or what have you please post it so we can get this plugin working for the site.

Thanks
MP

This is not an error with vbbridge. This error must be coming from another plugin. MANY plugins were broken by WP 2.3, and so were many templates.

MPDesignZ 10-08-2007 05:46 PM

Any idea which one it could be?

MP

Jafo232 10-08-2007 06:21 PM

I have no idea.

adioking 10-08-2007 09:35 PM

I have a somewhat different use in mind for this plugin, and I'd like to know if what I want to do is possible.

First, I don't want/need to share users between Wordpress and vBulletin. However, I do want all posts from Wordpress to be posted into my vBulletin for discussion.

Now it gets more complicated. The problem that I have is this:

I have multiple websites, each using Wordpress (i.e. http://www.highstakesreport.com and http://www.pokeronamac.com). I also have a separate website for my forums (http://www.pokerforumsonline.com).

What I want to do is take all new posts from each website and have new vBulletin threads created on pokerforumsonline.com with the content of each Wordpress post. I feel that this will get people from my other websites discussing the topics more, as well as build a community of people with common interests.

Can this be done? Perhaps I need to look more into a scraping software? Any suggestions?

Alan Pace 10-09-2007 12:36 AM

Quote:

Originally Posted by Jafo232 (Post 1355492)
This is not an error with vbbridge. This error must be coming from another plugin. MANY plugins were broken by WP 2.3, and so were many templates.

MPDesignZ and Jafo232, I *think* I have your answer. In any case, I think this will point you in the right direction. I'm about to upgrade to WP 2.3 on a site that uses this bridge, so I'll know for sure after that, but from my experience getting a Coppermine photo gallery bridge to work after another 2.3 upgrade, and based on the error you posted, I think the solution to this is likely to be relatively simple. With the 2.3 release Wordpress database functions were consolidated into wp-includes/wp-db.php, and moved out of several other files. The file wp-admin/admin-db.php is no longer used by WordPress and contains redundant functions. The bridge code has a "require" at line 400 for admin-db.php, hence the error message. This may not be the entire fix, but commenting out line 400 from vbbridge.php would be a logical first step. After that, you may get a similar error but the message may now reference some other no-longer-needed file. Once you've eliminated references to files that contain redundant functions, the bridge will probably work.

Alan Pace 10-09-2007 03:00 AM

I just finished installing vbbridgeII on a new WordPress 2.3 site. The only change I had to make to the code for version 2.3 was to comment out line 400. It appears to be working fine.
Thanks!

MPDesignZ 10-09-2007 05:03 AM

Quote:

Originally Posted by Alan Pace (Post 1355967)
I just finished installing vbbridgeII on a new WordPress 2.3 site. The only change I had to make to the code for version 2.3 was to comment out line 400. It appears to be working fine.
Thanks!

Kudos to you! Commenting out that line made it work perfectly!

on another note. I did take all the plugins on the wordpress install off and then try this again and still did get the same error even though I deactivated all WP plugins. But commenting out this line made everything work perfectly! :D


MP

albn 10-10-2007 06:24 AM

Hello, before I use vbulletin for the comment system, I have some questions that may seem silly, but this may hinge if I plan to use the plugin or not (Which by the way is excellent):

1. I have existing comments and getting a good reader base. Nothing on the level of some other blogs out there, but the point is, is there a way to export comments from WP to vB?

2. Next is the login issue, and I cannot seem to fully understand how it works. Right now, users can comment without registring, and to use the vBulletin in the same manner will the forum have to change the permissions to allow anonymous posting?

3. Another issue I do not fully grasp is can a user log into Wordpress and be logged into vBulletin as well, or does the user have to log into vBulletin before being logged into Wordpress?

Thanks for your help in the matter.

Edit: never mind, I went with bbPress instead.

adioking 10-11-2007 08:56 AM

I'm still waiting for an answer if anybody is able to help me.

MPDesignZ 10-11-2007 09:45 AM

My client wants this plugin to work differently than it is working. I have copied and pasted what he said below:

Quote:

Hmmm. I don't think its working. I don't even want the comments section on the site. Just to have a link with how many comments and make a comment that takes them to the forum page. It's literally exactly like Apple Insider. Here's a link to a recent article and you'll see what I mean... http://www.appleinsider.com/articles..._dock_1_6.html

Take a look at the bottom left of the end of the article. You'll see how it says 97 comments. Then click on that and you'll see. They're showing the whole article, but I'd just like an excerpt of the article with a link at the end of the excerpt to the actual article page. Don't want to have duplicate content.
I have made the modifications that were in the readme file but it has not seemed to do diddly to anything. Did I miss something somewhere?

MP

MPDesignZ 10-12-2007 12:16 PM

Really need an answer here please. I need to know how to take out the comment box on wordpress & just have the link with the amount of comments on wordpress that link to the forums.

MP

nishv 10-15-2007 11:36 AM

Is it possible to make Wordpress/Vbulletin Bridge to NOT to Auto Integrate the users...

What I am trying to do is, make the comments postable on vBulletin and selected users on Wordpress who can post stuff... Which means, it will be cross posted to vB as well, but whoever wants to comment on it, needs to login to the forums to do so.

Thanks.

snoopy5 10-17-2007 12:41 AM

Hi

vb 3.68 and wordpress 2.3 newset download. I just tried to integrate. Does not work. I have installed WP in teh same database, but with different prefixes.

vb and WP are on the same server & domain, but with different subdomains

I also changed the username of admin via phpmyadmin to be not in conflict with anything.

The problem is, that I even does not come to the step ti bridge the suer db. If I logout to see wjetehr ether is any bug, I get the error:

"cannot load /my_absolut_path_to/wordpress/global.php. You should check your path!"

"wordpress" is the dierctory in which I installed wordpress. I guess it is wrong that it tries to take thet path, since within WP, teher is no file called "global.php".

So what did I do wrong?

Jafo232 10-18-2007 04:45 AM

It is trying to get global.php from your VBULLETIN install, not WP..

snoopy5 10-19-2007 06:58 AM

ok, so where do I have to change what to make it right?

wolfyman 10-20-2007 01:17 AM

after hours and hours of mistakes, I finally got this working.

LOVE IT!

Couple questions.

1. I cannot get the url rewrites to work in wordpress, it seems the only way to work this is with standard WP crap urls?
2. Will this work with any vbSEO type hack? Are there any free ways to rewrite my urls in WP and VB with this hack installed?

wolfyman 10-21-2007 01:11 PM

I am getting this from a few users.

Only in IE though.

Quote:

but I cant post in any forum threads... keep getting error message " your message needs to be longer than 1 character"....

gimpusmons 10-22-2007 04:30 PM

Quote:

Originally Posted by Alan Pace (Post 1355893)
MPDesignZ and Jafo232, I *think* I have your answer. In any case, I think this will point you in the right direction. I'm about to upgrade to WP 2.3 on a site that uses this bridge, so I'll know for sure after that, but from my experience getting a Coppermine photo gallery bridge to work after another 2.3 upgrade, and based on the error you posted, I think the solution to this is likely to be relatively simple. With the 2.3 release Wordpress database functions were consolidated into wp-includes/wp-db.php, and moved out of several other files. The file wp-admin/admin-db.php is no longer used by WordPress and contains redundant functions. The bridge code has a "require" at line 400 for admin-db.php, hence the error message. This may not be the entire fix, but commenting out line 400 from vbbridge.php would be a logical first step. After that, you may get a similar error but the message may now reference some other no-longer-needed file. Once you've eliminated references to files that contain redundant functions, the bridge will probably work.

I can confirm that correcting line 400 will fix the "admin-db.php" error for Wordpress v2.3. I'm not sure what "commenting out" means but I redirected the path to "wp-includes/wp-db.php" and now bridged forum users can view the blog without a problem.

Thanks for the tip Alan. This saved me a lot of time.

misticjeff 10-23-2007 09:02 PM

Like many, many, many of the other people posting on this thread, I had the problem where I was being redirected away from /wp-admin even after I had mapped the users and had logged in using vBulletin.

I spent 2hours and 40 minutes trying to get this plugin to work. 2 hours and 30 minutes of that time was spent reading all 40 pages in this thread in hopes to discover a fix for my problem. Somewhere around page 30, Jafo kindly announced that he was refusing to help anyone who posted here looking for answers with this problem.

I was so close to just giving up. Just as I was about to smash my stupid laptop to pieces for being a lying bastard that wouldn't just let me into my damned admin panel, the answer came to me. I stood frozen with my MacBook raised high above my head, mere seconds away from hurling it to the hard-wood floor as visions of vBulletin control panels, PHP code and David Hasselhoff flashed before my eyes. It was at that moment that I knew that in order to get into the /wp-admin section, I needed to follow these steps:
  1. Follow Jafo's install directions
  2. After the plugin is successfully installed, register a new user with the EXACT SAME username as your WordPress administrator username. I was using "admin" to log into WP, so I created a VB user with the same name, "admin."
  3. Log out your newly created user
  4. Log back into VB with your VB administrator username.
  5. Go to the VB Admin Control Panel
  6. Click the "Users" category in the menu on the left side
  7. Click "Search for Users" in the sub-menu that appears
  8. Find your newly created user -- "admin" in my case
  9. Change the Primary Group to "Administrators" and click save
  10. Log out the current user
  11. Log back in with the user you just set to "Administrators" -- again, this was "admin" for me.
  12. Direct your browser to http://www.yourdomain.com/wp-admin and cheer!

I hope this helps someone. I did some cursing, a little punching and a lot of weeping in the 2 hours and 40 minutes that it took me to figure this out. If anyone is having problems following these directions, reply or PM me and I'll do my best to get back to you.

Word to your mothers,
Eric


All times are GMT. The time now is 09:34 AM.

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.02637 seconds
  • Memory Usage 1,863KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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