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)

LBSources 11-10-2007 02:22 AM

Has anyone been able to integrate this inline into a wordpress theme as advertised?

IcedGFX B3aST 11-10-2007 03:01 AM

hi, im getting frustrated... i get this error when i go to mysite.com/blog/wp-content/plugins/vbbridge.php :

Code:

Fatal error: Call to undefined function: get_option() in /home/(path)/html/blog/wp-content/plugins/vbbridge.php on line 39
^^^ excluded actual path

i did all the hardcoding of forum paths as stated above

tanujdude91 11-10-2007 12:20 PM

Hi
Have a doubt here..
My vbulletin url would be forums.domain.com and wordpress is installed in domain.com
What should i enter in Relative Path???
URGENT HELP NEEDED.

alverde 11-12-2007 01:28 PM

Hi, when I write a post in Wordpress, the same post is published on vbulletin but the html-code (<a href, <b>, ecc..) isn't replace with vbulletin-code. Could you help me?

pspcrazy 11-13-2007 12:24 AM

Anyone get this to work with v2.3.1? i want to upgrade but i'm holding back at the moment.

Brandon Sheley 11-13-2007 12:35 AM

I'm still very interested in this, may have to install it on a test board.

I'm a little concerned in the duplicate content posted on the blog and the forum, I haven't looked at the settings, but maybe you can edit the reposted text.

cheers

Blue Fusion 11-13-2007 12:50 AM

Quote:

Originally Posted by Wings69 (Post 1377536)
Blue_Fusion: Try changing that line 350 to:

require_once('/home/bnthold/public_html/blog/includes/class_bbcode.php');

You may have to throw /forum in there after /blog or whatever your forum folder is.

If anyones still having that line 446 error lemme know and I'll provide a guide to fix it - however I did it with WP 2.3 as opposed to 2.3.1 so it may not be 100%

tried that no fixed sadly this happened after the patch 1 and patch 2 released from vb when it got borked

CyberRanger 11-13-2007 11:47 AM

Fabulous! I love how this works. I had to do the following tweaks to get it working with vb 3.6.8 and WP 2.3.1
  1. REPLACE all instances of
    PHP Code:

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

    WITH
    PHP Code:

    chdir('/home/brentan/public_html/vb36');
    $vwd='/home/brentan/public_html/vb36'

  2. DELETE
    PHP Code:

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

  3. REPLACE
    PHP Code:

    require_once($vwd '/includes/functions_misc.php'); 

    WITH
    PHP Code:

    require_once('/home/brentan/public_html/vb36/includes/functions_misc.php'); 

  4. Followed 2 X Viverridae's advice on fixing the sanitize_url problem: https://vborg.vbsupport.ru/showpost....&postcount=633

Putting in so many of the paths as absolute seemed over-kill but it made it work! All systems go!

LBSources 11-13-2007 06:20 PM

Quote:

Originally Posted by CyberRanger (Post 1381677)
Fabulous! I love how this works. I had to do the following tweaks to get it working with vb 3.6.8 and WP 2.3.1
  1. REPLACE all instances of
    PHP Code:

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

    WITH
    PHP Code:

    chdir('/home/brentan/public_html/vb36');
    $vwd='/home/brentan/public_html/vb36'

  2. DELETE
    PHP Code:

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

  3. REPLACE
    PHP Code:

    require_once($vwd '/includes/functions_misc.php'); 

    WITH
    PHP Code:

    require_once('/home/brentan/public_html/vb36/includes/functions_misc.php'); 

  4. Followed 2 X Viverridae's advice on fixing the sanitize_url problem: https://vborg.vbsupport.ru/showpost....&postcount=633

Putting in so many of the paths as absolute seemed over-kill but it made it work! All systems go!

CyberRanger are the vbposts inline with your WP interface? or do you have to go to the forums to comment, read comments or read posts?

An example is as jaffo posted:http://www.jeffsrecipes.com/

LBS

CyberRanger 11-13-2007 06:54 PM

Quote:

Originally Posted by LBSources (Post 1381914)
CyberRanger are the vbposts inline with your WP interface? or do you have to go to the forums to comment, read comments or read posts?

An example is as jaffo posted:http://www.jeffsrecipes.com/

LBS

Mine works like jaffo. Once a comment has been made, it can be viewed at the bottom of the WordPress article (see attached) or on the Forum. So, I guess for reading comments, they are inline.

I've setup my WordPress templates to use vb for comments so once you click on "Add your comment", you are taking to a vb page to add the comment. Once the comment is submit, the user is taken to the vb thread. I do wish this could be tweaked to route the user back to the WordPress article.

LBSources 11-13-2007 07:27 PM

Quote:

Originally Posted by CyberRanger (Post 1381936)
Mine works like jaffo. Once a comment has been made, it can be viewed at the bottom of the WordPress article (see attached) or on the Forum. So, I guess for reading comments, they are inline.

I've setup my WordPress templates to use vb for comments so once you click on "Add your comment", you are taking to a vb page to add the comment. Once the comment is submit, the user is taken to the vb thread. I do wish this could be tweaked to route the user back to the WordPress article.

Ah .. so this is also happening to you. What i'm ultimately trying to do is when even making a post you are not taken to the forum, but the forum is inline (IFRAME) into the WP template.. so the environment doesnt change..

Make sense?

LBS

CyberRanger 11-13-2007 07:44 PM

Quote:

Originally Posted by LBSources (Post 1381963)
Ah .. so this is also happening to you. What i'm ultimately trying to do is when even making a post you are not taken to the forum, but the forum is inline (IFRAME) into the WP template.. so the environment doesnt change..

Make sense?

LBS

That makes perfect sense and would be much better. But, I don't know how to do that. I simply followed the directions in the installation readme file.

Is the inline suppose to be possible?

LBSources 11-13-2007 07:47 PM

Quote:

Originally Posted by CyberRanger (Post 1381974)
That makes perfect sense and would be much better. But, I don't know how to do that. I simply followed the directions in the installation readme file.

Is the inline suppose to be possible?

I wish it were, but i'm sure no one on VB does because it drifts away from being the native Vb perception and of its use. Why use VB to manage posts in WP .. I'm guessing thats why we dont have any support in here from anyone..

Brandon Sheley 11-14-2007 04:03 PM

Quote:

Originally Posted by CyberRanger (Post 1381677)
Fabulous! I love how this works. I had to do the following tweaks to get it working with vb 3.6.8 and WP 2.3.1
  1. REPLACE all instances of
    PHP Code:

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

    WITH
    PHP Code:

    chdir('/home/brentan/public_html/vb36');
    $vwd='/home/brentan/public_html/vb36'

  2. DELETE
    PHP Code:

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

  3. REPLACE
    PHP Code:

    require_once($vwd '/includes/functions_misc.php'); 

    WITH
    PHP Code:

    require_once('/home/brentan/public_html/vb36/includes/functions_misc.php'); 

  4. Followed 2 X Viverridae's advice on fixing the sanitize_url problem: https://vborg.vbsupport.ru/showpost....&postcount=633

Putting in so many of the paths as absolute seemed over-kill but it made it work! All systems go!

Is this the only way to get wp 2.3.1 and vb 3.6.8 to work together ?

thanks

LBSources 11-15-2007 06:50 PM

Quote:

Originally Posted by Loco.M (Post 1382496)
Is this the only way to get wp 2.3.1 and vb 3.6.8 to work together ?

thanks

Yes.. in most cases ..

Keesa 11-18-2007 08:03 AM

I was hoping someone could show me how this is working? Like may I get a link to your working install?

misticjeff 11-18-2007 11:19 AM

Full working version here:

www.misticriver.net

it is nice to post news on the front page of the site and have a thread automagically started in the forums or choose not to.

Wordpress is sooooo much better as a news/blog frontend than vBAdvanced and soooo much more scalable. This is an excellent mod but does need some attention to get it working.

Brandon Sheley 11-19-2007 06:19 PM

Quote:

Originally Posted by misticjeff (Post 1384867)
Full working version here:

www.misticriver.net

it is nice to post news on the front page of the site and have a thread automagically started in the forums or choose not to.

Wordpress is sooooo much better as a news/blog frontend than vBAdvanced and soooo much more scalable. This is an excellent mod but does need some attention to get it working.

that link doesn't load for me :(

can you expand a little on this auto thread ?
Can you have it just post a snippit of the blog post ?
I'm just concerned in duplicate content.

misticjeff 11-19-2007 06:23 PM

Quote:

Originally Posted by Loco.M (Post 1385753)
that link doesn't load for me :(

can you expand a little on this auto thread ?
Can you have it just post a snippit of the blog post ?
I'm just concerned in duplicate content.

Got a server issue at the moment so the site is offline...

Basically you if you create a blog post you have a list of forums with which to select where you want the blog post to show up. There is a default forum as well so if you do not select, it will go into the default forum. There is also a checkbox which gives you the option to not have your blog entry posted in the forums.

I was concerned too about duplicate content so if I post a blog entry and it's going into the forums for discussion, 98% of the time I disable comments in WordPress for that entry since we'll be discussing in the forums.

To my knowledge, you have to post the entire blog entry. I don't believe you can post just a snippet.

We are absolutely loving it!

misticjeff 11-19-2007 06:38 PM

Sorry for this extraneous post...

site is back up:

www.misticriver.net

puertoblack2003 11-19-2007 07:03 PM

Quote:

Originally Posted by misticjeff (Post 1385771)
Sorry for this extraneous post...

site is back up:

www.misticriver.net


nice layout mist

Brandon Sheley 11-19-2007 08:00 PM

Quote:

Originally Posted by puertoblack2003 (Post 1385783)
nice layout mist

I 2nd this :)
it looks great

I'm trying to get this working on my blog www.vbulletinsetup.com but I get the blank page on post.php error.

Same thing if I disable plugins, going to check my server log right now.





this is in the error log

as far as the instructions, I'm to the test post part.

oh. I see whats up..
okay, attempt #2 :D

jarod.tm 11-20-2007 06:45 AM

Hi Guys, thanks for and to this fantastic plugin!!

How can i insert 2 or 3 forum to post into?------ "Select forum to post to" like in the attacched image.

In vbridge options i can specify forum ID. How can i specify more ID?

Thanks.

jarod.tm 11-20-2007 11:57 AM

Perhaps there is a problem...

Fatal error: Call to undefined function: fetch_foruminfo() in /var/www/virtual/mysite.com/htdocs/wp-content/plugins/vbbridge.php on line 480

I've found it with Firefox, on right click, "Source Code".... on the post-new.php page

CyberRanger 11-20-2007 08:28 PM

Quote:

Originally Posted by jarod.tm (Post 1386191)
Perhaps there is a problem...

Fatal error: Call to undefined function: fetch_foruminfo() in /var/www/virtual/mysite.com/htdocs/wp-content/plugins/vbbridge.php on line 480

I've found it with Firefox, on right click, "Source Code".... on the post-new.php page

Do you have your WordPress and VB tables in the same database?

CyberRanger 11-21-2007 04:15 AM

Quote:

Originally Posted by jarod.tm (Post 1386191)
Perhaps there is a problem...

Fatal error: Call to undefined function: fetch_foruminfo() in /var/www/virtual/mysite.com/htdocs/wp-content/plugins/vbbridge.php on line 480

I've found it with Firefox, on right click, "Source Code".... on the post-new.php page

well, I installed this on another forum and got that error too!

I fixed that by adding a require_once for functions.php (right after the require_once for functions_misc.php around line 473 of vbbridge.php.). Of course, why is that necessary on one site and not another with exact same versions of vb and wp???

Now I'm getting: Call to a member function on a non-object in <b>/home/strategy/public_html/forums/includes/functions.php</b> on line <b>1029</b>. Yet to figure out a fix.

TonyComix 11-21-2007 11:51 AM

One question, Is there is a way that I could make a section in the forum were when I make a topic, it will post it on Word Press? And any comments posted in vbulletin will automaticly be placed in Word Press as well? Nice hack.

LBSources 11-22-2007 11:56 AM

Quote:

Originally Posted by TonyComix (Post 1386819)
One question, Is there is a way that I could make a section in the forum were when I make a topic, it will post it on Word Press? And any comments posted in vbulletin will automaticly be placed in Word Press as well? Nice hack.

No this isnt the idea of the mod..

Has anyone experienced a bunch of question marks (??) in between characters of posts in Wordpress since installing the mod?

Research says that its due to encoding not being UTF-8 ..

Has anyone else experienced this?

WEBclay 11-22-2007 12:03 PM

Okay I guess I enjoyed the mod to early :( If I activate the MOD I can't write any post since I get a blank page after submitting :( Works fine if I deactivate the MOD...Any solutions for this? Seems like the userbridge worked fine.

misticjeff 11-22-2007 12:33 PM

Quote:

Originally Posted by jarod.tm (Post 1386109)
Hi Guys, thanks for and to this fantastic plugin!!

How can i insert 2 or 3 forum to post into?------ "Select forum to post to" like in the attacched image.

In vbridge options i can specify forum ID. How can i specify more ID?

Thanks.

Go into Options > Vbridge Settings

then identify a forum to post to... take a look at my settings in the attached photo

SBlueman 11-24-2007 02:51 PM

I am getting this error at the bottom of write post page when attempting to try my first test post:

Quote:

Warning: vb_post_form(/public_html/forums/includes/functions_misc.php) [function.vb-post-form]: failed to open stream: No such file or directory in /home/sblueman/public_html/blog/wp-content/plugins/vbbridge.php on line 464

Fatal error: vb_post_form() [function.require]: Failed opening required '/public_html/forums/includes/functions_misc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sblueman/public_html/blog/wp-content/plugins/vbbridge.php on line 464
And I am getting this error when I try to submit the test post:
Quote:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/sblueman/public_html/blog/wp-content/plugins/vbbridge.php on line 60
cannot load /home/sblueman/public_htmlhttp://gridironfans.com/forums/global.php. You should check your path!

Ceege 11-25-2007 09:20 PM

Yay, after 45 minutes I got it to work with 3.6.8 and 2.3.1

WEBclay 11-26-2007 09:43 AM

So what do we need to change that it works buddy?

CyberRanger 11-26-2007 10:50 PM

Quote:

Originally Posted by WEBclay (Post 1389547)
So what do we need to change that it works buddy?

At a minimum, do what I've outlined in this post: https://vborg.vbsupport.ru/showpost....&postcount=662

Jafo232 11-27-2007 06:01 AM

Just a note, I am working on this plugin this week. I have already addressed many of the issues here and believe I have fixed most.

While I am at it, I am adding support for multiple databases (i.e. wordpress in one db, VB in another)..

Unfortunately, there seems to be a new function in either VB or WP (guessing WP) called sanitize_url. It causes conflicts and fatal errors when posting. I have rectified the issue by creating a clean version of functions_wysiwyg.php where just the function name (and its calls) are changed. I saw no other way around it.

I also am hoping to add support for posting via xmlrpc, i.e. Microsofts Live Writer and other such applications..

I will be working on this off and on during the week. Hope to have something for you all soon..

SBlueman 11-27-2007 06:36 AM

Great news!

Clayton 11-27-2007 06:39 AM

Quote:

Originally Posted by Jafo232 (Post 1390109)
While I am at it, I am adding support for multiple databases (i.e. wordpress in one db, VB in another)...

wow oh wow Jafo

if you achieve this then you will certainly be sent a donation

this is absolutely superb news and I shall eagerly await

great stuff

WEBclay 11-27-2007 06:44 AM

Fantastic news Jafo, thanks for this great work :)

Jafo232 11-27-2007 06:53 AM

Well, I will have a BETA up in my forum tomorrow. I have been running tests on it, but want to try a few fresh installs. Had to update some of the template edits (nothing too major).

I am almost positive it is multi-db capable, however the entire stumbling block on this to begin with is not so much with the scripting, as it is with certain installations of PHP from which I understand only allow one connection to a database per instance. This may be for older installs as I do not seem to have the issue on the latest PHP5..

As for the xmlrpc feature, I seemed to have gotten that to work too, with a hitch. It requires that you change users passwords in WP via the admincp before it will work. Probably would require a VB plugin to work around that, and honestly, I am not sure if there is such a demand... Basically, the issue is, WP just takes the password and runs it through md5() and saves it. Vbulletin on the other hand does an md5(md5(password . salt)) save.. Rather tricky on how to get the real password. I can only guess a plugin that will grab the users password via VB when they login and save it md5() to the WP database..

Well, that is all for the future.. I have a couple testers for tomorrow that will hopefully find any bugs that may be in the new code..

WEBclay 11-27-2007 07:15 AM

Another good news thanks :) I can do some test if you want as I have finished my wordpress theme and it should be working now :) Is there also a way to use the wp categories to post into different forums?


All times are GMT. The time now is 06:09 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.02631 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
  • (15)bbcode_php_printable
  • (20)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