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)

Dannyloski 05-01-2009 04:19 AM

First of all, thanks for the great Add-On, I appreciate it. I installed it and works like a champ. However, I do have some questions I am hoping the OP or someone with knowledge can answer ...

I am installing this in a Client's Site and I'm integrating his WordPress with vBulletin. My client wants the vBulletin Welcome Box to appear in the WordPress Homepage. Is that doable with this Bridge?

Basically he wants it so that when the user is logged into the Forums and he views the WordPress Homepage there is a Box in the Sidebar that says:

Welcome back, [username_here]!

He also would like me to add the Avatar of the User next to that "welcome" line - I dont know if that part is doable or not. I saw some post regarding Avatars but it was mostly for the Comments/Posts being made by users.

Either way, can anyone help me out or let me know if all of this is doable using this Add-On or at least the "Welcome" line? Thanks, any help would be appreciated.

Regards,
Danny

nerieru 05-02-2009 06:18 PM

Installed and nominated =) (I won't let you add my website yet though, as I'm still in the testing stages and gotta build my theme for wordpress and vbulletin which happens to be my first time making a theme, let alone convert it to both wordperss and vbulletin :P. So it will take a while, but I'm really happy you did this mod :) When I get the forum up and running with wordpress you can expect a nice donation from me)

Anyways kudos for the mod

kudos,
~Nerieru

brainfood 05-03-2009 08:36 AM

Quote:

Originally Posted by Ross L (Post 1768592)
Yeah that is a pain, I noticed that this morning!

Also, if you click on Authors & Users it redirects to forums/admincp/user.php and a lot of people change the name of their admincp for security reasons. Could it be made so you can define the admincp in the settings for vbbridge?

Also if there was a way of supporting user avatars from vBulletin to wordpress, that would be sweet. That way it would be easier to distinguish posters on the blog (as most people remember the avatar rather than the name).

I had the same problem with the admincp/user.php link not working. To fix this I modified line 640 of vbbridge.php:

Code:

$arg = 'admincp/user.php';
I hope this helps.

belai123 05-04-2009 05:42 PM

I want to limit the amount of the characters (text) in comments posted back to wordpress and have a read more url to the comment/post. Does anyone know how to do this?

Thanks

http://menopause911.com/ wordpress with bridge incorporated
http://menopause911.com/forum/ site forum

D

Celebutopia 05-04-2009 10:15 PM

I keep getting the message plugin file does not exist when I try to install this. Can someone assist me please. Now i get this error as well.


Code:

Fatal error: Cannot redeclare get_userdatabylogin() (previously declared in /home/celeb/public_html/wp-includes/pluggable.php:166) in /home/celeb/public_html/wp-content/plugins/functions_vbbridge.php on line 33

Tmnoonan 05-05-2009 12:39 AM

New install, won't work:

Code:

Warning: main(./includes/class_dm.php): failed to open stream: No such file or directory in [path]/guide/wp-content/plugins/vbbridge.php on line 113
I keep getting that error when I try to do my test post.

I have the forum on www.mysite.com and my blog on www.mysite.com/guide.

Fresh install of the newest version of wordpress. VB Version 3.7.0

I hard-coded in the path to my site.

YoricksRequiem 05-06-2009 05:45 PM

Great addon, almost everything is working perfect.

Working:
  • Making a post on the front page also posts in the forums
  • Posting comments in the forums posts appears in the Wordpress
  • Logins are shared, some fidgiting is required but it seems to work.


Not Working:
  • When editing a post in the wordpress, it instantly changes the author to userid 1. I have to edit it in the WP database to show the proper author


Any ideas?

vprp 05-08-2009 06:27 AM

I assume this will work if I have the Facebook connect mod installed? All I have to do is map the user?

YoricksRequiem 05-08-2009 11:10 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;



Hmm, where would I put this?

lucalucius 05-09-2009 09:27 AM

It is possible to insert automatically in Wordpress' posts a link of relative thread?

Great job
Regards

amjadz4 05-09-2009 10:37 AM

Quote:

Originally Posted by Celebutopia (Post 1804694)
I keep getting the message plugin file does not exist when I try to install this. Can someone assist me please. Now i get this error as well.


Code:

Fatal error: Cannot redeclare get_userdatabylogin() (previously declared in /home/celeb/public_html/wp-includes/pluggable.php:166) in /home/celeb/public_html/wp-content/plugins/functions_vbbridge.php on line 33

Re install from scratch..disable other plugins while doing so.

mmcguire 05-11-2009 07:47 PM

Quote:

Originally Posted by rcadden (Post 1786513)

1. image uploader - still shows an error

Did anyone find a work around for this issue?

amjadz4 05-12-2009 06:35 AM

Quote:

Originally Posted by mmcguire (Post 1808891)
Did anyone find a work around for this issue?

there is only one workaround. Dont use the image uploader... upload ur images via ftp or else where and link it in the post using the image tags.

AzzX 05-12-2009 01:57 PM

Quote:

Originally Posted by mmcguire (Post 1808891)
Did anyone find a work around for this issue?

Try the Browser uploader instead. Works for me.

mmcguire 05-12-2009 08:23 PM

Quote:

Originally Posted by amjadz4 (Post 1809184)
there is only one workaround. Dont use the image uploader... upload ur images via ftp or else where and link it in the post using the image tags.

That does not work for my needs. I have multiple non-technical writers that need to upload images. The Wordpress uploader works well, but cannot be used with this plugin active. It stinks too because everything else works perfectly. Are there plans to fix this?

amjadz4 05-12-2009 08:45 PM

Quote:

Originally Posted by mmcguire (Post 1809606)
That does not work for my needs. I have multiple non-technical writers that need to upload images. The Wordpress uploader works well, but cannot be used with this plugin active. It stinks too because everything else works perfectly. Are there plans to fix this?

The mod author knows best. He might come up with the fix in the next release. Bear in mind that this mod is still a work in progress with certain limitations.

lucalucius 05-12-2009 09:22 PM

It's a problem if I have the forum in a subdomain?

WP : http://www.domainname.com/
ForumVB : http://forum.domainname.com/

Regards

Senseya 05-13-2009 07:52 AM

Watch limitations for this mod ;)
I don't use this mod for that...

WouterN 05-13-2009 08:46 AM

Quote:

Originally Posted by YoricksRequiem (Post 1805934)
Great addon, almost everything is working perfect.

Not Working:
  • When editing a post in the wordpress, it instantly changes the author to userid 1. I have to edit it in the WP database to show the proper author


Any ideas?

First of all, great addon. I am thinking of using it in my forums (130k members) and am now testing it with our new CMS (Wordpress ofcourse).

I have the same problem mentioned in the quote above. If anyone could come up with a fix for this issue it would be highly appreciated! Thanks.

Wouter.

glowinggal 05-13-2009 11:47 AM

anyone using this with wordpress 2.7.1?

WouterN 05-13-2009 12:03 PM

Quote:

Originally Posted by glowinggal (Post 1809990)
anyone using this with wordpress 2.7.1?

Yep, I do.

glowinggal 05-13-2009 12:36 PM

yea! i'm working on installing this today on our test wordpress development - we have almost 100k members and will post back on how it works out :)

diosrl 05-13-2009 02:53 PM

Any chance this would eventually work on subdomains? I have multiple subdomains, like blog, forum, links, and more to come. I truly like this script but I think I cannot give up subdomains :(

amjadz4 05-13-2009 03:57 PM

Quote:

Originally Posted by lucalucius (Post 1809645)
It's a problem if I have the forum in a subdomain?

WP : http://www.domainname.com/
ForumVB : http://forum.domainname.com/

Regards

Yes, it wont work. Mod limitation.


Quote:

Originally Posted by glowinggal (Post 1809990)
anyone using this with wordpress 2.7.1?


Yes, I am. Works perfectly! :)

Quote:

Originally Posted by diosrl (Post 1810099)
Any chance this would eventually work on subdomains? I have multiple subdomains, like blog, forum, links, and more to come. I truly like this script but I think I cannot give up subdomains :(

You can use subdomain redirects. I am having no problem with that.

icewarp 05-14-2009 03:06 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?

I am having the exact same problem. Does anyone have any clue on this?

peleh 05-14-2009 04:20 AM

Quote:

Originally Posted by Shinichi_bien (Post 1796236)
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;
}



Thank you for this, worked here.





About the author link going to vbulletin profile, does anyone here tried this code?

PHP Code:

You can also now link authors usernames to their VB profile page.  Wherever you see the code:

<?php the_author() ?>

You can replace that with something like:

<?php

if (function_exists('Comment_Handler') and $vbridge == '') {

    
$vbridge Comment_Handler($post->ID);

    global 
$vbulletin
}

if (
$vbridge[id] > 0) {
?>
<a href=<?php echo get_option('vbb_VBURL'?>/member.php?u=<?php echo $vbridge[thread_starter?>><?php echo $vbridge['postusername'?></a>

<?php
}
else {

    
the_author();

}
?>

It was writen in the readme, doesnt work here since i dont have the_author on the files, its ... :{

Here is a bit of my theme's code:
PHP Code:

<div class="postmetadata">Posted by <?php the_author_posts_link(); ?> at  <?php the_time('F  j,  Y'?>  <a href="<?php the_permalink(); ?>#discussion"></a></span>
                <span id="digg"><?php digg_this(); ?><span>


peleh 05-15-2009 05:58 AM

About the post above, i got it working by folowing this tutorial, which is not exactly like the readme instructions: http://www.sisak.info/wp-content/plugins/readme.txt

The important part:
PHP Code:

Find in any of the following templates: index.php, single.php, page.php.  

<!-- start post loop -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

ADD the following code after it:

<?php 
### Vbridge Call
$vbridge Comment_Handler($post->ID); 
###
?>

The author code:
PHP Code:

<?php the_author() ?>

You can replace that with something like:

<?php
if ($vbridge[id] > 0) {
?>
<a href=<?php echo get_option('vbb_VBURL'?>/member.php?u=<?php echo $vbridge[thread_starter?>><?php the_author() ?></a>

<?php
}
else {
the_author();
}
?>


EagleNick 05-15-2009 01:40 PM

Quote:

Originally Posted by SABRSox (Post 1768450)
I've noticed an issue. When I auto-integrate, the bridge seems to confuse the wordpress userid with the vbulletin userid.

For example, say I, with userid #2 on the blog, writes a post. With auto-integrate, it will list on the wordpress blog the article as written by whomever has userid #2 on vbulletin.

Has a fix been posted? I'm having the same issue and it's annoying.

peleh 05-15-2009 05:40 PM

Quote:

Originally Posted by EagleNick (Post 1811186)
Has a fix been posted? I'm having the same issue and it's annoying.

I guess this mod was made to run a fresh install, but you can get around that by hijaking some user accounts on your forum that match the wordpress user ID. Also, you can edit wordpress user ID at the database, but i really dont know if that could bring more problems.

EagleNick 05-15-2009 08:07 PM

Quote:

Originally Posted by peleh (Post 1811345)
I guess this mod was made to run a fresh install, but you can get around that by hijaking some user accounts on your forum that match the wordpress user ID. Also, you can edit wordpress user ID at the database, but i really dont know if that could bring more problems.

That's a good idea about changing the WordPress user ID. I don't see it having any adverse affects. We'll see. :)

bluerob 05-16-2009 06:40 AM

The mod works good but now I can't upload media in wordpress. I get an error message in the popup i-frame window. How do I fix that?

Also is there a way to fix the issue of when I log out on wordpress or VB that it also logs me out on both ends? If I log out of VB, WP still shows me as logged in, and vice versa.

Thanks.

PS> now that I integrated the two software it appears all the author gravatars and and name credits have disappeared from the site. Any idea how to fix that as well?

EagleNick 05-16-2009 10:51 AM

For some reason only the articles I post on the blog are synced with the forum, having a thread created. Another administrator of the team creates a blog entry, but a thread isn't automatically created. Why?

Also, I can't find what this adds to the database. Can somebody tell me exactly where to look and what I'm looking for? I have browsed all of the tables for both my WP database and my vB database to no avail.

AzzX 05-16-2009 12:24 PM

Quote:

Originally Posted by bluerob (Post 1811675)
The mod works good but now I can't upload media in wordpress. I get an error message in the popup i-frame window. How do I fix that?

I get the Wordpress login screen at this stage if using the flash uploader. Using the Browser uploader works no problems my end though.

bluerob 05-16-2009 06:50 PM

Anyone have any idea at all about the missing author credits on WP? It really sucks....

peleh 05-16-2009 09:06 PM

Quote:

Originally Posted by bluerob (Post 1812029)
Anyone have any idea at all about the missing author credits on WP? It really sucks....

When this was happening with me, i solved it by doing this in all .phps that have the vbridge code. https://vborg.vbsupport.ru/showpost....&postcount=467
About your problem uploading pictures, try to use Browser, not Flash based upload.


Quote:

Originally Posted by EagleNick (Post 1811737)
For some reason only the articles I post on the blog are synced with the forum, having a thread created. Another administrator of the team creates a blog entry, but a thread isn't automatically created. Why?

Also, I can't find what this adds to the database. Can somebody tell me exactly where to look and what I'm looking for? I have browsed all of the tables for both my WP database and my vB database to no avail.

Did you mapped the users before turning auto-integrate on?

EagleNick 05-16-2009 09:18 PM

Quote:

Originally Posted by peleh (Post 1812097)
When this was happening with me, i solved it by doing this in all .phps that have the vbridge code. https://vborg.vbsupport.ru/showpost....&postcount=467
About your problem uploading pictures, try to use Browser, not Flash based upload.




Did you mapped the users before turning auto-integrate on?

Yes, I mapped the users.

kursed 05-17-2009 06:00 AM

There is a problem that I'm facing with this hack as well. I've mapped a particular usergroup on vBulletin to 'Contributors' in WP.

Now, the problem is that whenever these contributors submit an article or write up for review, as soon as I (or any other administrator) chooses to publish it, the name of the author changes that to the person who authorized the publishing of the write-up.

But that's not all. If the administrator chooses to open the post, and from there publish it, the author name doesn't get affected. It only changes if you make the change from the main screen, where you can see all the posts at once.

That said, since I've not chosen to post new entries on WP to vBulletin, I believe I can't use the above mentioned code - in order to correct this problem.

Can anyone in here, help me with this issue?

peleh 05-17-2009 06:58 AM

Quote:

Originally Posted by kursed (Post 1812257)
There is a problem that I'm facing with this hack as well. I've mapped a particular usergroup on vBulletin to 'Contributors' in WP.

Now, the problem is that whenever these contributors submit an article or write up for review, as soon as I (or any other administrator) chooses to publish it, the name of the author changes that to the person who authorized the publishing of the write-up.

But that's not all. If the administrator chooses to open the post, and from there publish it, the author name doesn't get affected. It only changes if you make the change from the main screen, where you can see all the posts at once.

That said, since I've not chosen to post new entries on WP to vBulletin, I believe I can't use the above mentioned code - in order to correct this problem.

Can anyone in here, help me with this issue?

I guess you can solve the problem with the person who authorize with this: https://vborg.vbsupport.ru/showpost....&postcount=423

The only problem for me here, is that the person that "publish" keeps the credit on the vBulletin posting side. But the real autor is ok on the WP side.

kursed 05-17-2009 09:31 AM

That I already have done. But it doesn't affect this issue.

Pirat3 05-18-2009 04:59 PM

Does anyone have a problem where images that are placed in wordpress new posts are being removed/not added in forum posts? (talking about when making a new topic in wordpress not comments)


All times are GMT. The time now is 01:37 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.02460 seconds
  • Memory Usage 1,882KB
  • 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
  • (7)bbcode_php_printable
  • (23)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