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)

FQR 08-31-2008 05:20 PM

Does anyone have this working with 2.61?

I can't get into the wp control panel if the plugin is activated. Any ideas?

Clayton 08-31-2008 05:37 PM

you didn't follow the instructions properly, you probably clicked yes before you had done the user integration

look at the install file and redo it

it tells you what to do in such an instance

archibald 09-01-2008 05:41 PM

I installed it on Vbulletin 3.7.3 and when I try to post something it tells me:

Quote:

Your attempt to edit this post: "Was auch immer!" has failed.
I dont know what Im doing wrong... I went through the "Common Mistakes" and I guess I did everything right. What could be the problem?

microdot 09-05-2008 04:18 AM

I have wordpress and Vb on different sub domains, just wondering is there any plans to allow this or is there an alternative I can use? Both Vb and wordpress are in different databases and on different sub domains, but live on the same physical server.

Thanks for your help

Jafo232 09-05-2008 12:43 PM

It is not about us allowing or disallowing. Cookies cannot be shared in such a manner. So short answer: no.

magnaromagna 09-05-2008 07:27 PM

hello, nice hack.

Just installed, how to re-save all wordpress post to create all threads in vbulletin?
I mean: after installation I opened a wp post and saved it --> thread created in vbulletin and users could post comments. But I have more than 2.000 articles! Which query?

thanks!

microdot 09-05-2008 11:51 PM

OK fair enough, what if my users don't need to log into wordpress, would cookies still be needed?

I just need it to create a thread when I make a new wordpress article and have a link from wordpress to the comments thread.

Thanks for your help.

Chicago_VLNU_4s 09-07-2008 01:45 AM

very nice, works like a charm

microdot 09-08-2008 03:27 AM

This is a great plug-in, so much that I've moved my forum from a sub domain to a directory so I could use it, so far things are going ok but..

The Text Link Back doesn't work on the forum threads. Clicking on them does nothing.

The forum thread articles sometimes don't display the html from the posts, they show the actual code instead.

And.. I'm locked out of the wordpress admin.. it just redirects to the forum.

Wayne Luke 09-09-2008 03:03 AM

<a href="http://www.michaelciccarelli.com/2007/12/complete-wordpressvbulletin-bridge/" target="_blank">http://www.michaelciccarelli.com/200...lletin-bridge/</a>

sendur 09-14-2008 12:57 PM

Hi Guys,

First of all, great mod! The only thing I am really missing, is that I want to include/integrate my Vbulletin forum inside my Wordpress Header/footer. I've arranged this with the WP-United mod for phpBB3, but I want to migrate it all to Vbulletin.... Is there a good way to do this with Vbulletin?

Thanks, Sander

Bjorn2404 09-15-2008 01:35 AM

Nice mod. It was a bit tricky to install but it's great - using the latest version of vbulletin and wordpress.

I was having a problem with the links in vbulletin being incorrect - showing %postname% instead of the story title. I thought I'd post how I fixed it if anyone else was having a similar issue (I couldn't find a solution by searching but saw that others had experienced this).

If you change all instances of:

Code:

$link = get_permalink($the_post->ID, true);
to

Code:

$link = get_permalink($the_post->ID, false);
in vbbridge.php it fixes it. Upload the file and re-save your post and it should work (it did for me).

gdguide 09-15-2008 03:24 PM

Hmmm... The posting is going to the forums, but it's showing the html in post at the forums. How do I have the forums display the wordpress post properly without having it show the html?

Here's an example of a simple image and break in Wordpress and what it shows in the forums

<!--more--><img class="alignnone" src="http://www.domain/308/large/1_11.jpg" alt="" width="343" height="228" />

legionofangels 09-17-2008 05:32 PM

Simple question:

Will this work with multiple versions of Wordpress on our website?

We plan on using 2 different Wordpress blogs for 2 different things. Please let me know,

Thank you,

Legion of Angels

archibald 09-19-2008 07:03 PM

Hi,

I have installed now, thanks for the plugin.

one question: when the plugin posts my wordpress entries to vbulletin the HTML Code is shown as text. Link:

http://schnaeppchenfuchs.com/forum/showthread.php?t=23

What do I have to do?

archibald 09-20-2008 10:21 AM

For all who are having issues with the raw HTML Code showing up in the forums: I solved the problem by using this modification:

https://vborg.vbsupport.ru/showthread.php?t=96926

I then turned on HTML for moderators

archibald 09-20-2008 11:16 AM

BUG !

I think I found a big one.

Problem
When you edit a post in Wordpress, the post in vBulletin is supposed to be edited automatically as well. However, if it contains links with german letters such as ? ? or ?, the post will be cut short. Everything after the first ? ? or ? will be deleted in the VBulletin posting.

Solution
I think I have found the solution. You have to comment out the lines
PHP Code:

if (function_exists(utf8_decode)) { $message utf8_decode($message); } 

they appear 2x in the whole code of vbbridge.php.

It now seems to be working for me.

sendur 09-23-2008 08:26 PM

Hi,

It seems that the bridge plugin interferes with the Cforms II plugin. Settings made there, are being erased by the bridge plugin. I've tested some things with the author of Cforms, but we cannot find it.

Can you please take a look what is causing this?

Thanks.

legionofangels 09-25-2008 03:37 AM

Quote:

Originally Posted by legionofangels (Post 1624254)
Simple question:

Will this work with multiple versions of Wordpress on our website?

We plan on using 2 different Wordpress blogs for 2 different things. Please let me know,

Thank you,

Legion of Angels

* BUMP *

sendur 09-25-2008 09:30 PM

I'm running it on 4 wordpress 2.6.2 installations hooked to one Vbulletin forum, works, no problem, except we had to rewrite half of the mod, because it isn't updated to the latest wordpress release(comment feature).

sendur 09-25-2008 09:33 PM

Quote:

Originally Posted by Fraik (Post 1576079)
I have a problem running wordTube with this plugin on, when I try and use wordTube in combination with this plugin, wordTube does not execute any changes. I cannot add categories, videos or make any other database related changes aside from the plugin options (hard to judge if all of them are getting trough, as I have no videos to test with) it appears to not be able to access the database for as long as I have vBridge enabled in my plugins.

If anyone could help me with this problem it'd be much appreciated!
Thanks,
Freek

Got the same problem with Cforms II.. I'm checking it out with the author of Cforms as the one of the vbbridge doesn't seem to have any interest in solving these issues.

legionofangels 09-25-2008 09:56 PM

Quote:

Originally Posted by sendur (Post 1630422)
I'm running it on 4 wordpress 2.6.2 installations hooked to one Vbulletin forum, works, no problem, except we had to rewrite half of the mod, because it isn't updated to the latest wordpress release(comment feature).

You wouldn't mind actually showing the code changes or actually posting the files that you changed, as obviously that would help should we ever upgrade our WP version. Plus most likely the 2nd one that we are going to use isn't made, so it most likely will be the latest version we'd have to download in order to use WP in the future. Unless they allow us to dl older versions.

Thank you for answering my question though.

LoA

MattFord 09-30-2008 07:23 PM

Got this working okay, but how do I integrate an input box into my blog post? Seems a bit unfair to send my users to the forums every time. Is there a solution for this?

archibald 10-01-2008 12:39 PM

I get this error when trying to post something in Wordpress:

Warning: require_once(DIR/includes/functions_newpost.php) [function.require-once]: failed to open stream: No such file or directory in /www/htdocs/w0095deb/forum/includes/class_dm_threadpost.php on line 18

Fatal error: require_once() [function.require]: Failed opening required 'DIR/includes/functions_newpost.php' (include_path='.:/usr/share/php:..') in /www/htdocs/w0095deb/forum/includes/class_dm_threadpost.php on line 18

What can I do?

Both files exist!

Im desperate, being trying to fix this problem for weeks now

MattFord 10-01-2008 05:13 PM

Quote:

Originally Posted by archibald (Post 1634658)
I get this error when trying to post something in Wordpress:


Warning: require_once(DIR/includes/functions_newpost.php) [function.require-once]: failed to open stream: No such file or directory in /www/htdocs/w0095deb/forum/includes/class_dm_threadpost.php on line 18

Fatal error: require_once() [function.require]: Failed opening required 'DIR/includes/functions_newpost.php' (include_path='.:/usr/share/php:..') in /www/htdocs/w0095deb/forum/includes/class_dm_threadpost.php on line 18

What can I do?

Both files exist!

Im desperate, being trying to fix this problem for weeks now

Seems to me that you need to visit the settings/vbbridge in wordpress and fix the paths there. If this is accurate you have them set to "DIR" when they should be relative to your root... ie /forums/

MattFord 10-01-2008 05:16 PM

Okay, I'll admit it. First time around I imported the users after turning on auto-integrate. However, I removed the plugin as instructed, re-installed, did everything the 'right' way, and I still get a redirect to my forums when I visit wp-admin.

The kicker is, if I login to my forums... still can't access wp-admin. If I log out of my forums, I can access wp-admin. Any help?

hitmanuk2k 10-06-2008 01:44 PM

Just installed for first time (wordpress 2.62, vbulletin 3.7), it seems to post the article no problem to the forums... but the comments still seem to be handled by Wordpress - even though I changed the setting.

Razza 10-06-2008 08:47 PM

Hi,
I just got the plugin from www.vbulletin.org

I'm not sure what to put for these:

VB User ID: This is the userid comment threads will be started with IF the author is NOT REGISTERED with VB.

VB Username: This is the username comment threads will be started with IF the author is NOT REGISTERED with VB.

VB Forum ID: This is the default FORUM id where all comment threads will be posted unless another is selected. This also will indicate what forum will automatically be selected in the drop down menu on the write page.

And I am getting an error when I try to post:

Warning: main(/home/hhk/public_html/wp/wp-content/plugins/functions_wysiwyg2.php) [function.main]: failed to open stream: No such file or directory in /home/hhk/public_html/wp/wp-content/plugins/vbbridgeIII/vbbridge.php on line 96

Fatal error: main() [function.require]: Failed opening required '/home/hhk/public_html/wp/wp-content/plugins/functions_wysiwyg2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hhk/public_html/wp/wp-content/plugins/vbbridgeIII/vbbridge.php on line 96

I do not know where I am going wrong, and I am sure I have given the wrong details.

Can anyone please help?
Thanks

BigJohnny 10-11-2008 02:36 PM

what do you mean by "If your WP login name is the same as your VB username, this user will NOT be ported!" ??

just curious because i dont fully understand it. does this apply only for the admin? or all users?

Bubble #5 10-11-2008 02:53 PM

Quote:

Originally Posted by BigJohnny (Post 1642723)
what do you mean by "If your WP login name is the same as your VB username, this user will NOT be ported!" ??

Just what it says, if your WP login name is BigJohnny then you won't be ported. This applies to every user.

BigJohnny 10-12-2008 12:25 AM

ya but what does it mean it wont be ported.

I thought the point of this mod is to allow someone to register on either wordpress or vb, and then they are registered for both by simply registering for one.

a user still has to have 2 different usernames??

PachiUniverse 10-13-2008 05:16 AM

Probably a stupid question but... Will this work with Mambo? And if not, is there one that will?

Thanks.

I've been wanting to bridge my front page with my forums for a while now.

http://www.pachiuniverse.com

dblaze 10-15-2008 11:40 AM

For some reason this plugin is showing a Search cannot be found error using 3.6.8 and 2.62

MaklooN 10-16-2008 01:07 AM

Great hack!
Is there a way to retrieve user avatar and date into WP when replacing WP comment system with vBuletin?

Thanks in advance

MaklooN 10-16-2008 01:14 AM

Quote:

Originally Posted by Razza (Post 1638885)
Hi,
I just got the plugin from www.vbulletin.org

I'm not sure what to put for these:

VB User ID: This is the userid comment threads will be started with IF the author is NOT REGISTERED with VB.

VB Username: This is the username comment threads will be started with IF the author is NOT REGISTERED with VB.

VB Forum ID: This is the default FORUM id where all comment threads will be posted unless another is selected. This also will indicate what forum will automatically be selected in the drop down menu on the write page.

And I am getting an error when I try to post:

Warning: main(/home/hhk/public_html/wp/wp-content/plugins/functions_wysiwyg2.php) [function.main]: failed to open stream: No such file or directory in /home/hhk/public_html/wp/wp-content/plugins/vbbridgeIII/vbbridge.php on line 96

Fatal error: main() [function.require]: Failed opening required '/home/hhk/public_html/wp/wp-content/plugins/functions_wysiwyg2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hhk/public_html/wp/wp-content/plugins/vbbridgeIII/vbbridge.php on line 96

I do not know where I am going wrong, and I am sure I have given the wrong details.

Can anyone please help?
Thanks

Razza, it looks like you created a folder for vbbridge in your WP plugins folder and you were not supposed to do that. Drop the 2 php files directly into plug-ins folder.

Hope that helps.

eplazai 10-16-2008 07:25 PM

I've visited Android Community.com, it seems to be bridged with this mod.

http://androidcommunity.com/android-...ates-20081016/ (an example).

The question is: Are they using this modification?



...Thanks

dblaze 10-17-2008 03:37 AM

For some reason this plugin is showing a Search cannot be found error using 3.6.8 and 2.62

rcadden 10-17-2008 09:25 PM

Awesome mod, works like a charm, but I've run into a bit of an issue - I have had my blog going for nearly 2 years, and am just now adding this forum.

1. As I have seen thus far, this is not retro-active, creating a new forum thread for every old post (which is a GOOD thing).
2. When I replace the comment text in my wordpress template, I've noticed that comments completely disappear for posts that do not currently have a vBulletin thread, which makes sense.

Would it be possible to include some php that says, basically, 'if this post was published before MM/DD/YYYY, then continue using the existing Wordpress comments code. If this post was published AFTER MM/DD/YYYY, then use this new vBulletin comment code.'

I realize I would then still need to monitor Wordpress' comments for older posts, but I think that would be the cleanest integration.

Or did I miss something?

Update: I got it taken care of, here's the code I used:

PHP Code:

<?php
$date1 
strtotime('2008-10-17');
$date2 strtotime$post->post_date );
if (
$date1 $date2) { 
#### Vbridge Replacement code for comments
    
if ($vbridge[id] > 0) {
    echo 
"<div class='comments'>";
    if(
is_single()) {
    if (
is_array($vbridge[replies])) {
    echo 
"<br /><br /><h3 id='comments'>Comments</h3><ol class='commentlist'>";

    foreach (
$vbridge[replies] as $reply) {
            echo 
"<li class=";
            echo 
$oddcomment;
            echo 
"id='comment-'";
            echo 
comment_ID();
            echo 
">";
            echo 
$vbridge[vb_parser]->do_parse($reply[pagetext], falsetrue);
            echo 
"<small class='commentmetadata'>";
            echo 
"&nbsp;&nbsp;&nbsp;&nbsp;";
            echo 
"<img src='";
            echo 
bloginfo('stylesheet_directory');
            echo 
"/images/comment_arr.gif' />";
            echo 
"by <cite> <a href=;";
            echo 
get_option('vbb_VBURL');
            echo 
"/member.php?u='";
            echo 
$reply[userid];
            echo 
">";
            echo 
$reply[username];
            echo 
"</a></cite></small><br /></li>";
        if (
'alt' == $oddcomment$oddcomment '';
        else 
$oddcomment 'alt';
    }
}
echo 
"</ol>";
}
echo 
"<a href=";
echo 
get_option('vbb_VBURL');
echo 
"/showthread.php?t=";
echo 
$vbridge[id];
echo 
">";
echo 
intval($vbridge[count]);
echo 
"comments</a> |";
echo 
"<a href=";
echo 
get_option('vbb_VBURL');
echo 
"/newreply.php?do=newreply&noquote=1&t=";
echo 
$vbridge[id];
echo 
">";
echo 
"Add your comments</a></div>";
}
##End Vbridge Replacement
} else {
echo 
"<div id='comments-template'>";
comments_template();
echo 
"</div>";}
?>

The date at the top is the cutoff date, so that newer posts use the forum comments, whereas older posts use the legacy Wordpress comments function. My old comments code is found in the last 4 lines, after the "} else {"

rcadden 10-18-2008 01:45 PM

Quote:

Originally Posted by Bjorn2404 (Post 1622338)
Nice mod. It was a bit tricky to install but it's great - using the latest version of vbulletin and wordpress.

I was having a problem with the links in vbulletin being incorrect - showing %postname% instead of the story title. I thought I'd post how I fixed it if anyone else was having a similar issue (I couldn't find a solution by searching but saw that others had experienced this).

If you change all instances of:

Code:

$link = get_permalink($the_post->ID, true);
to

Code:

$link = get_permalink($the_post->ID, false);
in vbbridge.php it fixes it. Upload the file and re-save your post and it should work (it did for me).

This worked great! I think I counted 4 different occurences, but I'd recommend loading it up in an editor with a find/replace function, rather than just manually changing it.

skubaman 10-21-2008 09:12 PM

How is this bridge working now with current versions? Are there known issues?

I am trying to decide whether to go with word press, or use vbulletins Blog.

I just want to make sure that every time there is a new release of wordpress or vbulletin I don't have to do several updates to the files.

Please let me know

Thanks


All times are GMT. The time now is 04:12 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.02857 seconds
  • Memory Usage 1,873KB
  • 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
  • (2)bbcode_php_printable
  • (8)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