vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - Wordpress vBulletin integration (https://vborg.vbsupport.ru/showthread.php?t=296819)

obscureclouddon 04-02-2013 10:00 PM

Wordpress vBulletin integration
 
1 Attachment(s)
Integrate your vBulletin forum with Wordpress.

The lite version of this Wordpress vBulletin bridge allows your Wordpress posts to be posted to vBulletin.

This is a Wordpress plugin that facilitates this functionality. Just install it in your WP plugin folder and set up the path to your vBulletin installation. As long as the forum is on the same server, this works well.

No need to combine the databases. No need to modify core WP files.

It's that easy!

All of your Wordpress posts will be posted in your forum. You will designate a forum to take these posts. If you have sub forums that match the name of the category of the Wordpress post, this plugin will automatically put the post there.

The full version, available at wp-vb-bridge.obscurecloud.com// allows more functionality to fully integrate your Wordpress and vBulletin including:

Wordpress->vB features:
  1. *Registration sync - new users created on WP are automatically created on vB
  2. *New post sync - new WP posts are intelligently posted to the matching forum. There are some controls on which forum they are posted to.
    Options:
    - Posts can be attributed to the user posting or
    - All posts can be attributed to a designated user
  3. *Comment sync - new comments made on WP are posted to the synced forum
  4. *Login sync - when you login or logout of WP, the vB session is created or destroyed at the same time
  5. *Avatar sync - vBulletin avatars are used on WP comments (requires user-photo WP plugin)
  6. *No modification of core WP files!
  7. *No modification of WP config file!
  8. *100% plugin setting based - install the plugin, set your forum path, activate the features you want, enjoy!

vBulletin ->Wordpress features *NEW*
  • *Registration sync - new users created on vB are automatically created on WP
  • *New thread sync - new vB threads are intelligently posted to the matching WP category.
    Options:
    - Only post to designated category
    - Try to match forum name (or any of its parents) to a WP category then post to the designated category if no match is found.
    - Try to match forum name (or any of its parents) to a WP category then create a new WP category
  • *Reply sync - replies made to synced threads will have replies posted to the matching WP post
  • *Login sync - when you login or logout of vB, the WP session is created or destroyed at the same time
  • *No modification of core vB files!
  • *No modification of vB config file!
  • *100% plugin based - this plugin will create the vB plugins needed through the WP plugin settings page!

This is still a work in progress so the code will be updated often.

Feel free to let me know how it works, additional features you'd like, and if you have any problems.

Here is a guide from a user:
Thanks a bunch for putting this together BAJR
Quick Guide.

First unpack the folder into plugins, where all the files and sub folders should reside in [wb-vb] folder.

now in Wordpress Plugins, activate the plugin and then go to Settings --> WP Vb integration


Essentials are as follows: (everything else you can play with!)


1) Path to vBulletin. / means the Vbulletin Forum is in your root folder. ie www.mysite.com/
/forum/ means the Vbulletin Forum is in a folder called forum. ie www.mysite.com/forum/
ALWAYS add the trailing /


2) Activate login sync feature [check box]


3) Activate post sync feature [check box]

4) Forum ID - this is the NUMBER of your desired linked forum ( sub forums are added from this) so look at your vbulletin URL

http://mysite.com/forumdisplay.php?6-The-Forum the ID would be 6


5) vBulletin user id to assign posts to - this is numerical as well. so ID number of who you want to add these too.



6) vBulletin -> Wordpress Settings

Add vBulletin plugins ... click add


7) go back up and click [TEST] - if all is well you should see... vB loaded Plugins - 1|1|1|1|1|1|1



8) SAVE CHANGES...

Conscars 04-03-2013 07:31 AM

This plugin seems to have everything I need but only in one direction (correct me if I'm wrong). How can I achieve two-way syncing of comments, users, and login? For example, I would like it if logging in/registering on the forum also means logging in/registering on WP. Also, replying to the forum thread creates a new comment on WP.

obscureclouddon 04-03-2013 02:29 PM

That's the next feature set I'll be working on.
I'll update when that is done.

xirenia 04-03-2013 02:59 PM

i need the opposite, from my VB autopost to WP .... is that possible?

obscureclouddon 04-03-2013 04:24 PM

I will work on that functionality.

iask 04-04-2013 03:00 PM

Wen a plugin wp-vb actveer

Warning: include_once(admin/controllers/index.php) [function.include-once]: failed to open stream: No such file or directory in /home/xxxxx/domains/xxxxxx.be/public_html/wp/wp-content/plugins/wp-vb.php on line 35

Warning: include_once() [function.include]: Failed opening 'admin/controllers/index.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/xxxxxxxx/domains/xxxxxxx.be/public_html/wp/wp-content/plugins/wp-vb.php on line 35

Fatal error: Class 'osc_wpvb_AdminMenu' not found in /home/xxxxxx/domains/xxxxxx.be/public_html/wp/wp-content/plugins/wp-vb.php on line 36

obscureclouddon 04-04-2013 03:36 PM

Quote:

Originally Posted by iask (Post 2414228)
Wen a plugin wp-vb actveer

Warning: include_once(admin/controllers/index.php) [function.include-once]: failed to open stream: No such file or directory in /home/xxxxx/domains/xxxxxx.be/public_html/wp/wp-content/plugins/wp-vb.php on line 35

Warning: include_once() [function.include]: Failed opening 'admin/controllers/index.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/xxxxxxxx/domains/xxxxxxx.be/public_html/wp/wp-content/plugins/wp-vb.php on line 35

Fatal error: Class 'osc_wpvb_AdminMenu' not found in /home/xxxxxx/domains/xxxxxx.be/public_html/wp/wp-content/plugins/wp-vb.php on line 36

Sorry about that. Download the updated version now.

Manoel J?nior 04-04-2013 09:52 PM

Version FULL is very hard!

:(

obscureclouddon 04-05-2013 12:02 AM

Quote:

Originally Posted by Manoel J?nior (Post 2414304)
Version FULL is very hard!

:(

What do you mean? I'd be happy to fix any issues that are found.

sticky 04-05-2013 01:41 AM

Where is an example of the blog?

obscureclouddon 04-05-2013 03:44 AM

I just set up a demo section.
If you post a WP comment on this page Here, you will see it on the synced forum here

You can see the post sync feature with the lite version on this thread.

v123shine 04-05-2013 02:56 PM

I hope i can integration my wp site with vbulletin.

astakov 04-05-2013 03:21 PM

Not work with Wordpress 3.5.1 and vbulletin 3.8.7 p3.Thanks.
Checked in here: http://toucharchive.com

obscureclouddon 04-05-2013 07:24 PM

Quote:

Originally Posted by astakov (Post 2414461)
Not work with Wordpress 3.5.1 and vbulletin 3.8.7 p3.Thanks.
Checked in here: http://toucharchive.com

There is already a bridge for vB 3.x
But if I get time, I'll check into that.

obscureclouddon 04-05-2013 07:25 PM

Quote:

Originally Posted by v123shine (Post 2414454)
I hope i can integration my wp site with vbulletin.

That's what this plugin does. If you need help, let me know.

Beezilbub 04-05-2013 08:13 PM

Does the formatting that you can do in wordpress transfer over to vBulletin? The example post you have linked doesn't show any formatting or any images in the post. I'm curious to see how a fully formatted post in word press would appear in vbulletin.

obscureclouddon 04-06-2013 06:38 AM

Quote:

Originally Posted by Beezilbub (Post 2414553)
Does the formatting that you can do in wordpress transfer over to vBulletin? The example post you have linked doesn't show any formatting or any images in the post. I'm curious to see how a fully formatted post in word press would appear in vbulletin.

Yes, it works with html only if the receiving forum is set to accept html.

You can see it in action on this site:
Forum
Blog

nezr 04-06-2013 07:08 AM

This is great, thank you doing this.

Beezilbub 04-06-2013 02:53 PM

Thanks, Obscure. Works great.

obscureclouddon 04-06-2013 10:46 PM

Yea, thanks for the nice words.

jluerken 04-08-2013 07:09 AM

Code:

Warning: include_once(__dir__/admin/controllers/index.php) [function.include-once]: failed to open stream: No such file or directory in /path/wp-content/plugins/wp-vb/wp-vb.php on line 35

Warning: include_once() [function.include]: Failed opening '__dir__/admin/controllers/index.php' for inclusion (include_path='.:/usr/local/lib/php') in /path/wp-content/plugins/wp-vb/wp-vb.php on line 35

Fatal error: Class 'osc_wpvb_AdminMenu' not found in /path/wp-content/plugins/wp-vb/wp-vb.php on line 36

I wanted to give it a try but get aboves error message.

Beezilbub 04-08-2013 12:56 PM

Hello,

I can't get the posts to post into sub forums at all. I have the name of my word press category matching the name of the subforum but it doesn't place the post at all. Uncategorized posts will go into the vBulletin forum I have designated but categorized posts will not go to vBulletin at all. Is there a setting I'm neglecting perhaps?

obscureclouddon 04-08-2013 01:46 PM

Quote:

Originally Posted by jluerken (Post 2415033)
Code:

Warning: include_once(__dir__/admin/controllers/index.php) [function.include-once]: failed to open stream: No such file or directory in /path/wp-content/plugins/wp-vb/wp-vb.php on line 35

Warning: include_once() [function.include]: Failed opening '__dir__/admin/controllers/index.php' for inclusion (include_path='.:/usr/local/lib/php') in /path/wp-content/plugins/wp-vb/wp-vb.php on line 35

Fatal error: Class 'osc_wpvb_AdminMenu' not found in /path/wp-content/plugins/wp-vb/wp-vb.php on line 36

I wanted to give it a try but get aboves error message.

What is your PHP version? The error suggests you have a version lower than 5.3.0.

obscureclouddon 04-08-2013 02:19 PM

Quote:

Originally Posted by Beezilbub (Post 2415061)
Hello,

I can't get the posts to post into sub forums at all. I have the name of my word press category matching the name of the subforum but it doesn't place the post at all. Uncategorized posts will go into the vBulletin forum I have designated but categorized posts will not go to vBulletin at all. Is there a setting I'm neglecting perhaps?

I'e just posted an update. Please let me know if you still have trouble.

Beezilbub 04-08-2013 03:26 PM

Quote:

Originally Posted by obscureclouddon (Post 2415096)
I'e just posted an update. Please let me know if you still have trouble.

That fixed it. Great work you are doing on this plug in. I really hate the native CMS system on vBulletin and this allows me to use wordpress as a substitute. Thanks!!

Also I thought I would mention there is a way to make sure that WordPress's ability to left or right float images in the articles also works in the vBulletin posts as well. You just have to add a few CSS styles from word press into your additional css style sheet on vBulletin. Not sure if anyone would find that useful but I thought I would mention it in case someone does.

obscureclouddon 04-08-2013 05:19 PM

Quote:

Originally Posted by Beezilbub (Post 2415125)
Also I thought I would mention there is a way to make sure that WordPress's ability to left or right float images in the articles also works in the vBulletin posts as well. You just have to add a few CSS styles from word press into your additional css style sheet on vBulletin. Not sure if anyone would find that useful but I thought I would mention it in case someone does.

Glad to hear that worked.
As for the float, in theory, if you use the theme unification method, the WP CSS will be on all vB pages and should have the same formatting.

jluerken 04-09-2013 04:38 AM

Quote:

Originally Posted by obscureclouddon (Post 2415080)
What is your PHP version? The error suggests you have a version lower than 5.3.0.

I am running 5.2.17

obscureclouddon 04-09-2013 05:39 AM

Quote:

Originally Posted by jluerken (Post 2415245)
I am running 5.2.17

Yea... this plugin requires 5.3 or better. Sorry.

jluerken 04-09-2013 09:36 AM

5.2.x is not that old and very stable. It's default at some hosters I know.
Any chance to make it working for lower versions too?

ZGeek 04-09-2013 10:53 AM

Sorry, just want to be clear with the sync of the comments.

Once a thread is posted on the forums from wordpress. Does any comment on the vbulletin thread get pulled into the wordpress system? Or is it just wordpress to vbulletin?

obscureclouddon 04-09-2013 11:16 PM

Quote:

Originally Posted by ZGeek (Post 2415284)
Sorry, just want to be clear with the sync of the comments.

Once a thread is posted on the forums from wordpress. Does any comment on the vbulletin thread get pulled into the wordpress system? Or is it just wordpress to vbulletin?

Right now it's just wp->vb

obscureclouddon 04-10-2013 12:07 AM

Quote:

Originally Posted by jluerken (Post 2415273)
5.2.x is not that old and very stable. It's default at some hosters I know.
Any chance to make it working for lower versions too?

Sure, why not?
:D

ZGeek 04-10-2013 03:09 AM

Quote:

Originally Posted by obscureclouddon (Post 2415424)
Right now it's just wp->vb

Bugger. Is it possible to get this feature added so it's both ways?

Basically if this can be done, I'll buy and install this plugin and love it as my own :D

obscureclouddon 04-10-2013 04:50 AM

Quote:

Originally Posted by ZGeek (Post 2415452)
Bugger. Is it possible to get this feature added so it's both ways?

Basically if this can be done, I'll buy and install this plugin and love it as my own :D

Ok, I can do this pretty easily I think.
The issue is that there are so many options....

Should all users' threads be posted to WP? Only users who have access to post? Where should they go?

This is going to be a project......

ZGeek 04-10-2013 06:51 AM

Good to hear!

I think you are 50% there already. The post and comments come from wordpress no worries, but it then needs to monitor the thread and pull any new posts from there into the wordpress. Not sure how much work that is.

The way I would set it up on my site is to have a dedicated forum for all the threads (wordpress articles) and the comments show both on the thread and in WP.

That forum itself, threads can only be created by wordpress posts.

Hope that helps in some way. I tend to talk a lot of sh1t.

obscureclouddon 04-10-2013 07:06 AM

That's helpful.
So you'd really only need the comments (vb replys) synced then....

I've got a good start on it. It is a lot of work to make sure it is easy to use.

dr1 04-10-2013 07:14 PM

How about in the other direction?

Registration syncing - new vB users are automatically created in WP.
Single login - login in to vB and automatically be logged into WP.

obscureclouddon 04-10-2013 08:53 PM

Quote:

Originally Posted by dr1 (Post 2415587)
How about in the other direction?

Registration syncing - new vB users are automatically created in WP.
Single login - login in to vB and automatically be logged into WP.

I'm working on the framework for vb->wp now.

dr1 04-10-2013 09:22 PM

Quote:

Originally Posted by obscureclouddon (Post 2415610)
I'm working on the framework for vb->wp now.

Great! You get that working and I'm a buyer!

ZGeek 04-11-2013 10:22 PM

Just thinking if possible, some extra features. Maybe this could be including in a widget?

1. Show online users
2. Show unread number of PMs
3. Latest posts/replies for whole forum


All times are GMT. The time now is 10:32 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.01543 seconds
  • Memory Usage 1,844KB
  • 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
  • (2)bbcode_code_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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