![]() |
|
|
Mod Options |
vBulletin-WordPress Bridge Details »»
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
vBulletin-WordPress Bridge
Developer Last Online: Jan 2010 This modification is in the archives.
I have been looking around for a WordPress - vBulletin plug-in and can’t seem to find one. I had time today to look at the WordPress code and tried out some things, and came up with a small hack for a bridge.
This bridge will let you use vBulletin as the main comments area for the blog entry. A copy of the intro blog entry is automatically created in a specific forum you choose, as well as a link back to the original blog entry from the forum. The blog entry will also show the total comments made. Let me first say that I don’t have any experience in creating plug-ins for WordPress so please don’t ask me to convert this to one. If you plan to make this as an official plug-in or improve on it, please make sure to let me know so I can place a link on this article to yours. Thanks and I hope you all enjoy it. Note:
Database Changes: I have added a new column in WordPress’ posts table to maintian the vBulletin thread id that will be automatically generated for the blog entry. Note that the table name prefix might be different from your WordPress table settings:
Files to Upload: Save the following as vb3–settings.php and upload it to the Wordpress wp-includes folder:
Added in v1.1: In the attached files at the right, download postfeed.php and upload it to the root folder of your vB forums (it should be in the same folder where external.php is). Files to be Modified: Here comes the slightly harder part. We need to modify some WordPress files. Part of the changes assume that you are using the Kubrick default theme. If you are using a different theme, change the corresponding files accordingly. wp-includes/comment-functions.php Replace:
With:
Below:
Add:
Save file. Added in v1.1: wp-includes/feed-functions.php Replace:
With:
Save file. wp-admin/post.php Below:
Add:
Below:
Modified in v1.2: Add:
Save file. If you are using the Kubrick default theme, open wp-content/themes/default/comments.php Replace contents with:
Save File. If you are using the Kubrick default theme, open wp-content/themes/default/single.php Replace:
With (note that you are adding the path of the forum):
Save file. If you are using the Kubrick default theme, open wp-content/themes/default/footer.php Replace:
With:
Save file. Lastly, open wp-rss2.php Replace:
With (note that you are specifying the complete URL of the forum here):
Save file. vBulletin Settings: The RSS feed will not work if you haven't activated RSS External synidcation on your forum. To do this, on your forums admincp, go to vBulletin Options->External Data Provider and check 'Yes' on Enable RSS Syncidcation. Final Words: Well, that’s about it! I’m not sure how often I can visit this thread but I hope those who find success in implementing the bridge, can help those who are having problems. Again, if you have suggestions on improving the script, let me know. Thanks and happy modding! ![]() Live Demo: http://www.internettablettalk.com/blog/ Revision History: v1.2 (12/7/2005): Uses correct vB user id and user name of the blog author. This will work only if the username of the Wordpress user is exactly the same as the vB username. If not, it uses $vb_userid and $vb_username defined in the settings. v1.1 (8/19/2005): Revisions are based on reports by Darth Gill (see discussion). New version includes vB RSS thread parser and a bug fix on vB not displaying recently added blog entry on the forum level. Current revisions are marked in green. Changes:
Screenshots: Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| VBulletin-Wordpress Bridge for 3.64 | imranbaig | vBulletin 3.6 Add-ons | 53 | 22 Mar 2008 17:41 |
|
#166
|
||||
|
||||
|
OK, I've been running this for a while now, and I'm certain it's worth another beta. From the textfile:
|
|
#167
|
|||
|
|||
|
Can't seem to get it working on VB 3.6
![]() I get this mess
__________________
Ultimate Online Forums |
|
#168
|
|||
|
|||
|
And if I try and publish anything, I get
__________________
Ultimate Online Forums |
|
#169
|
||||
|
||||
|
You're missing the vb3-settings file, it seems. Although the latest file I attached has the modification steps, you'll need to check rsuplido's first post in this thread for the missing stuff (don't forget to grab postfeed.php too).
Let me know how it goes - I'm still running this on vB3.5.4 and WP 2.0.2, and it would be a nice surprise to see if it's forward-compatible ![]() Last edited by ScruffyDeluxe : 29 Aug 2006 at 07:51. |
|
#170
|
|||
|
|||
|
Anyone got this working with WP 2.0.4 and vB 3.6?
|
|
#171
|
|||
|
|||
|
Originally Posted by Kurisu
+1 :cross-eyed:
|
|
#172
|
|||
|
|||
|
Originally Posted by Kurisu
I did this yesterday using the file in this post and in my initial testing it looks like its working as it should.
2 things I had to change: 1. I had the same problem as mentioned above "failed to open stream: No such file or directory" when in fact my vb3-settings file was exactly where it was supposed to be. I even hard coded the path - same error. I don't have an explanation, but I changed the file name to vb36settings.php and the references in the code - it worked fine. 2. Looks like 3.6 changed a table name. In the text file above it had this {$vb_dbprefix}post_parsed and I changed it to this: {$vb_dbprefix}postparsed After those 2 things it looks to be working fine. My thanks to those who put this together. baze |
|
#173
|
|||
|
|||
|
Originally Posted by baze22
I think I figured out what the problem here was. When I created the vb3-settings.php file, I copy/pasted the file name from the instructions at the top of the page. But it isn't the same - you get when you type it in. It is hex char 96 as opposed to the hex char 2D you get when typing it in. Bottom line would probably work if the file name was typed in when saving the file instead of copied & pasted from above. I figured this out when I copied & pasted the filename from above into TextPad and the - showed up as a special character.
baze |
|
#174
|
|||
|
|||
|
never mind, got it working
Last edited by thedigitalsin : 24 Oct 2006 at 07:11. |
|
#175
|
|||
|
|||
|
I was wondering if someone could help me. I have 2 issues....I'm trying to set this up. The first issue that Im coming up with is that in wp-admin/post.php I dont see the following code:
$result = $wpdb->query($postquery); so I can add the follwing as per instructions... "// VB Bridge Start...etc.etc 2nd thing is that accord to instructions "im supposed to find ......function get_comments_number( $comment_id ) ...... section I think the closest thing I have to that in the comments-functions.php is ......function get_comments_number( $post_id )....... etc.etc is this ok to make the change Thanks |
|
#176
|
|||
|
|||
|
Just upgraded WP 2.0.4 to WP 2.0.5 and currently running VB 3.5.4.
I just reapplied the instructions given in this post to the new 2.0.5 files: http://www.vbulletin.org/forum/showp...&postcount=137 Worked great. |
|
#177
|
|||
|
|||
|
Hi nice hack, With Few modifications to above post. I was able to make it work with wp 2.05 and VBulletin 3.63.
If the author allows I will release this as a plugin. Thanks regards. |
|
#178
|
|||
|
|||
|
That would be great! Go ahead and release it.
Thanks. |
|
#179
|
|||
|
|||
|
Hell yeah! that'd be sweet.
__________________
Ultimate Online Forums |
|
#180
|
|||
|
|||
|
aite let me pick them up all into orderd folders maybe a small readme, I will release it tonight.
Thanks. by the way you can check it here www.mobile-junction.com nothing is added yet just making mods and plugins. right now making a plugin for vb to send sms for free across 200+ countries using simple phpmail function. EDIT: There are few things which I need to correct before I can release it ![]() Last edited by imranbaig : 20 Nov 2006 at 12:53. |
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 18:18.








