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 - WP Integrate - Send vbulletin posts to wordpress (https://vborg.vbsupport.ru/showthread.php?t=207317)

robertjandreu 03-03-2009 10:00 PM

WP Integrate - Send vbulletin posts to wordpress
 
1 Attachment(s)

This plugin makes it possible to send your forum posts to wordpress and automatically post them there. Its perfect for posting news etc.

It works together with Complete Wordpress/Vbulletin Bridge. But its not needed. You can use this mod without it.

Installation:
1. Upload the included folder (wp-includes) in the root of your wordpress installation.
2. Then import product-postwordpress_(versionnumber).xml in products at vbulletin.
3. Change the settings at Vbulletin Options

3.1 Since version 1.0 of this plugin the values of "Wordpress Categories" and "Vbulletin Forums" are linked together. This means value 1 of Vbulletin Forums post to value 1 of Wordpress Categories.

So if:
Vbulletin Forums = 1,2,4,4
Wordpress Categories = 11,12,13,14

Forum 1 posts to WP category 11
Forum 2 posts to WP category 12
Forum 4 posts to WP category 13 and 14

So if you want to post multiple categories you have to set them independently for every wordpress category


Upgrade:
1. Uninstall the previous version.
2. Then import product-postwordpress_(versionnumber).xml in products at vbulletin.
3. Change the settings at Vbulletin Options
4. Overwrite the files in the wordpress root.

Troubleshooting:
For wordpress 2.8 users
for the people having troubles install your original formating.php
then open the file and search for:
Code:

function sanitize_url
and change it into:
Code:

function wp_sanitize_url
If you can't find it you don't have to change it. This should do the trick.


Requirements:
* Wordpress and Vbulletin scripts must reside on the same physical server.
* Wordpress and Vbulletin must use the same domain name.
* Stable Wordpress Version greater than or equal to 2.7.1 (didn't test with 2.7.0 or lower)
* DOES work for Vbulletin 3.8. (not tested with 3.7. or lower)

Limitations:
* Posts won't get deleted in wordpress when you delete them in vbulletin.
* Posts won't get edited in wordpress when you edit them in vbulletin.
* You need the have the charset synced between vbulletin and wordpress.


Updates:
Changelog is included in download, here is the most recent changes:

10/19/2010 - Version 1.3
* Update for wordpress 3.0.1

6/23/2009 - Version 1.2
* Update for wordpress 2.8

5/11/2009 - Version 1.2
* Attachment Support Added. (It will post the link to the attachment)

5/5/2009 - Version 1.1
* Fix for the 'sanitize_url' error that people had when posting comments with the Wordpress comment system.

5/4/2009 - Version 1.0
* You can select Multiple WP Categories for every forum. This is a quite difference with how it was working before. So please read the installation howto above!!!

4/8/2009 - Version 0.4
* Complete Support for WP/vBulletin bridge added.
* Changed to Stable release.

3/27/2009 - Version 0.3
* Support for multiple forum categories added.
* Support for multiple wordpress categories added

3/4/2009 - Version 0.2
* Added BB tags support.

3/4/2009 - Version 0.1
* First released version (alpha)


Special Thanks:
Pirat3

If you use this plug-in, and find it useful, please support us by nominating us for Mod Of The Month (MOTM) in the top right corner of this thread, or feel free to donate.


If you do install:


Made by: http://www.ftp-anime.com

robertjandreu 03-04-2009 12:00 PM

First post reserved

beduino 03-04-2009 12:17 PM

:)
hi
tks for the hack - a few questions:
1. how wordpress [utf-8] read special iso charset? like ? ? ? etc
2. image tags and other vbulletin tags works in the transfer [wordpress] post?
tks in advance
joao barroca
aka beduino

robertjandreu 03-04-2009 12:21 PM

1. You will need to set those at the same on both vbulletin and Wordpress and it will work.
2. No those tags don't work yet. As you can see this is a alpha release so it doesn't have those features yet.

robertjandreu 03-04-2009 01:16 PM

BB tags now work.

projectego 03-04-2009 01:31 PM

Could be just what I've been looking for... cheers! :D

AzzidReign 03-04-2009 02:47 PM

Could you explain, or post a link that explains how to bridge the 2? Thanks.

robertjandreu 03-04-2009 02:49 PM

Installation explanations is in the OP post

Brandon Sheley 03-04-2009 02:50 PM

interesting idea, I'll be watching this one :)

AzzidReign 03-04-2009 02:51 PM

The only thing I see is:
Quote:

It works together with Complete Wordpress/Vbulletin Bridge. But its not needed. You can use this mod without it.
Maybe I'm just not looking in the right place or I'm way out in left field.

robertjandreu 03-04-2009 03:28 PM

you don't need to do anything special to install it with the other bridge. Since it doesn't interface with it. You just need to follow the install instructions provided and it will work with the other bridge.

doraj 03-04-2009 05:42 PM

Hello Robert,

the wordpress's posts what url show? A new url with Wordpress or is possibile also shows tha same url from vBulletin post?

Thank you

Jasem 03-04-2009 07:23 PM

This is good, tnaks

Installed

robertjandreu 03-04-2009 07:36 PM

Quote:

Originally Posted by doraj (Post 1760361)
Hello Robert,

the wordpress's posts what url show? A new url with Wordpress or is possibile also shows tha same url from vBulletin post?

Thank you

doraj: You really need to try to speak better english. Because I don't exactly get what you want.

The4um 03-04-2009 09:33 PM

let's check. thank you

robertjandreu 03-05-2009 07:43 AM

don't forget to click install when you use it ^^"

Tophon 03-05-2009 04:20 PM

*Uninstalled*

Only 1 forum to post from and adds a link in footer and broke my style.

Good work though.

bart6767 03-05-2009 07:17 PM

Thanks for this .

Can you give me some more Info on the blog path ? as my blog is inside root in a folder called blog .

blog path would be then ../blog then ?

robertjandreu 03-05-2009 08:16 PM

@Tophon: you can put the footer off. Also show me a screen shot of your broken style. Because it doesn't do any style edits it can't be possible O.o.

@bart: if your forum is at www.site.com/forum/ and your blog at: www.site.com/blog/ you need to use ../blog/

bart6767 03-05-2009 08:22 PM

Quote:

Originally Posted by robertjandreu (Post 1761335)
@Tophon: you can put the footer off. Also show me a screen shot of your broken style. Because it doesn't do any style edits it can't be possible O.o.

@bart: if your forum is at www.site.com/forum/ and your blog at: www.site.com/blog/ you need to use ../blog/

Thanks but my forum is not in www.site.com/forum/ its in www.site.com/ and the blog is in www.site.com/blog/

robertjandreu 03-05-2009 08:26 PM

Quote:

Originally Posted by bart6767 (Post 1761342)
Thanks but my forum is not in www.site.com/forum/ its in www.site.com/ and the blog is in www.site.com/blog/

then you need to use ./blog/ or /blog/ just try between those

bart6767 03-05-2009 08:27 PM

Quote:

Originally Posted by robertjandreu (Post 1761344)
then you need to use ./blog/ or /blog/ just try between those

ok thanks very much for your help .

will give it a try .

Tophon 03-05-2009 08:33 PM

Quote:

Originally Posted by robertjandreu (Post 1761335)
@Tophon: you can put the footer off. Also show me a screen shot of your broken style. Because it doesn't do any style edits it can't be possible O.o.

Robert, I didn't mean to sound 'un-friendly' in my post (as it may have come accross that way), I do think it's good work and was just what I was looking for.

The link actually broke the style as it sat to the right of the footer where I have moved the VB copyright up to fit with my style. As I can remove the link to your blog, I may re-add and situate your link elsewhere on the forum, many thanks.

gigaenvy 03-05-2009 10:37 PM

There is another way to do this, but I can't remember how. Isn't this native to both WP and VB where you publish RSS feed links from VB in the WP plugin? I know I did this without any plugins.

robertjandreu 03-06-2009 05:20 AM

no it isn't. Rss feeds won't give you instant update. It always takes the time you give the cronjob to check it. I tried doing this with RSS but ended up making this plugin because its more reliable.

sensimilla 03-06-2009 07:02 AM

Works fine, but is there any chance to make attachments appear as thumbnails in worpress ? TIA

robertjandreu 03-06-2009 11:27 AM

Quote:

Originally Posted by sensimilla (Post 1761632)
Works fine, but is there any chance to make attachments appear as thumbnails in worpress ? TIA

well it isn't impossible. I will take a look at it.

skindu26 03-08-2009 07:56 AM

my forum is in http://forum.site.com and my blog is in http://blog.site.com

i used all the options for wordpress path using trial and error but only getting this error:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

much explanation would be welcome

M4GN3T 03-08-2009 01:51 PM

When there are already topics posted in the forum before the plugin was installed, will it then pull all those topics to wordpress if you install the plugin?

ArnyVee 03-08-2009 03:12 PM

Just want to confirm....this will allow for our vBulletin posts from a particular forum to be posted as "stories" or "articles" within WP? Will the 'username' and 'avatar' of the person posting come over as well if coupled with the "bridge" mod as well?

dancue 03-08-2009 03:43 PM

Will a REPLY in the forum post to the blog?

Also, I'm having an issue with the forum post not submitting the entire post to the blog. Why is that? I'm only getting about 40-60 words.

Any help would be greatly appreciated.

cooltechie 03-08-2009 09:23 PM

By using this plugin, wouldn't it be flagged as double posting or duplicate content by search engines?

robertjandreu 03-09-2009 07:56 AM

well it works as a news post plugin. I'm not sure about google. And danque I will look into the 40 - 60 word error.

robertjandreu 03-09-2009 08:03 AM

Skindu: Use ../blog and please make sure the blog and forum map are in the same directory. Some control panels put them in way different directories.

M4GN3T: No there is no option like that yet.

Arny: Yes it posts from 1 forum to 1 category. You will need to set the username for now trough the config by setting a users ID. And no it won't post a avatar.

ArnyVee 03-10-2009 10:44 PM

Quote:

Originally Posted by robertjandreu (Post 1763841)
Arny: Yes it posts from 1 forum to 1 category. You will need to set the username for now trough the config by setting a users ID. And no it won't post a avatar.

Thanks!

Can you actually set multiple categories and have specific forums (1 to 1) post to those categories? Or, is it only 1 category and 1 forum?

robertjandreu 03-11-2009 07:14 AM

you could have read that in my main post. for now its 1 on 1

onehost 03-11-2009 05:51 PM

I installed, everything seemed fine, when I tested the first post in the right forum, this is what I got when I clicked to submit post.

Warning: include(../wp-blog-header.php) [function.include]: failed to open stream: No such file or directory in [path]/newthread.php(271) : eval()'d code on line 18

Warning: include(../wp-blog-header.php) [function.include]: failed to open stream: No such file or directory in [path]/newthread.php(271) : eval()'d code on line 18

Warning: include() [function.include]: Failed opening '../wp-blog-header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/newthread.php(271) : eval()'d code on line 18

Fatal error: Call to undefined function wp_insert_post() in /home/getpaida/public_html/medicalbillingcodingandcollections.com/newthread.php(271) : eval()'d code on line 26

when I go back to the forum, the post is there, nothing on the blog...

no issues when posting in other forums, only the forum that is set to work with WP.

ideas?

I think this hack has some very good potential...It would be good if posts can be made via multiple forums and into multiple WP categories...maybe even useful that when a post does arrive into WP then a link is place on exactly where the post come from..sorta like a linkback to the forum.

cooltech does make an interesting point about double content. what is the point of having the same content
on the forum, and the blog also...I would think search engines are more into unique content.

maybe a better
idea would be to import the title only in a clickable link into wp rather then the whole forum post, this way the entire post in the forum is not duplicated into wp, just a title that a user that visits the blog can click on and reach the entire post on the forum via the forum link that is in WP. even the title maybe considered duplicate since it would already be on the forum, rather then the entire duplicated post, sorta like a live site map being posted into WP.

this is an awesome concept, and once again you face a duplicate content issue, if you could get around
that and it was unique content posted, then forums/blogs would explode. no one wants to be flagged as
having duplicate content, serves no real purpose.

robertjandreu 03-11-2009 08:18 PM

The duplicate content only counts for the same content on different sites if I'm right. I'm using this plugin myself to post my news on the main site.

Also the reason the you get that error is because your path isn't set right in options. Just look around earlier post to find the solution.

onehost 03-12-2009 02:33 AM

Quote:

Originally Posted by robertjandreu (Post 1765988)
The duplicate content only counts for the same content on different sites if I'm right. I'm using this plugin myself to post my news on the main site.

Also the reason the you get that error is because your path isn't set right in options. Just look around earlier post to find the solution.

ok

the forum is on:

www.domain.com

and the blog is on:

www.domain.com/blog

I changed the path too:

../blog/

and now I get a single line error:

Fatal error: Cannot redeclare sanitize_url() in /home/getpaida/public_html/blog/wp-includes/formatting.php on line 1177

anything that says fatal must not be good.

robertjandreu 03-13-2009 05:28 PM

well you should read the install guide for once. That mean you didn't upload the edited files for WP right. Also you shouldn't use a trailing slash


All times are GMT. The time now is 06:08 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.01489 seconds
  • Memory Usage 1,831KB
  • 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
  • (9)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