Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBJournal to WordPress MU Conversion Details »
vBJournal to WordPress MU Conversion
Mod Version: 1.00, by Cloud-Warrior (Member) Cloud-Warrior is offline
Developer Last Online: Apr 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 2
Released: 27 Jun 2005 Last Update: Never Downloads: 5
Not Supported  

This is for advanced users only, and your mileage may vary.

With the demise of vBJournal recently, I wrote some pretty basic scripts to convert to WordPress MU. Since I just finished them about an hour ago, and I'm about to go on a month's holidays, there are bound to be some bugs. However, I have managed to convert around 100 journals from vBJournal to WordPress MU and so far it looks okay. I would advise that only those who are familiar with PHP and MySQL use these scripts.

I am attaching them to save other people time who may be thinking of doing something similar.

Note that users have to login to WPMU with a new account, details of which will be e-mailed to them using the e-mail address from their vBulletin account.

The procedure:
  • Download and install WordPress MU STABLE from http://mu.wordpress.org/
  • If you want to use the same database (not recommended) as vBulletin, you would skip the next two steps.
  • Dump your user, journals, journal_entries, journal_comments tables from your vB database, e.g.:
    mysqldump -u vbusername -p vbulletin user > vbulletin_user.sql
    mysqldump -u vbusername -p vbulletin journals > vbulletin_journals.sql
    mysqldump -u vbusername -p vbulletin journal_entries > vbulletin_journal_entries.sql
    mysqldump -u vbusername -p vbulletin journal_comments > vbulletin_journal_comments.sql
  • Import these tables into your WordPress MU database, e.g.
    mysql -u wpmuusername -p < vbulletin_journals.sql (and the same for user, journal_entries, journal_comments)
  • Download the three script files here and copy to your wpmu/wp-inst directory.
  • Edit the three script files, and change things like your_url (in wp-vbjusers.php), database, username, password, where_vbulletin_is, etc.
  • From the command line (since it uses a HTTP POST to create each account, which can be slow if you have multiple accounts), in the wp-inst directory, do a php wp-vbjusers.php to create a blog for each user. Repeat this process for wp-vbjentries.php and wp-vbjcomments.php.

Good luck!

John.
--

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 27 Jun 2005, 21:10
Cloud-Warrior's Avatar
Cloud-Warrior Cloud-Warrior is offline
 
Join Date: Feb 2002
I think I've put this in the wrong place - sorry
__________________
Dr. John Breslin
http://www.johnbreslin.com/
Sites: boards.ie | boards.jp
Hacks: news2vb | vBFOAF | vBFriends
Reply With Quote
  #3  
Old 27 Jun 2005, 22:20
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
No user intergration huh? Thats the tough part that would be great to have.
Reply With Quote
  #4  
Old 27 Jun 2005, 23:06
nexialys
Guest
 
if there is no link with vBulletin, it does not have to be released here...

this is not a forum for Wordpress development..,
(even if i work on the project myself!)
Reply With Quote
  #5  
Old 28 Jun 2005, 01:52
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Originally Posted by nexialys
if there is no link with vBulletin, it does not have to be released here...

this is not a forum for Wordpress development..,
(even if i work on the project myself!)
Negative as usual. It's a shame that you can't be just be a tiny bit positive when I guys trying to help people who have a Journal hack from here which isn't working properly.
__________________
Face Your Fears, Live Your Dreams
www.altnation.com

Last edited by Ghostsuit; 28 Jun 2005 at 09:54.
Reply With Quote
  #6  
Old 28 Jun 2005, 10:33
Cloud-Warrior's Avatar
Cloud-Warrior Cloud-Warrior is offline
 
Join Date: Feb 2002
Well, I hope this helps those who are 'stranded' but agree that this is the wrong place too. Maybe this can be moved to a non-modifications forum on the site?
__________________
Dr. John Breslin
http://www.johnbreslin.com/
Sites: boards.ie | boards.jp
Hacks: news2vb | vBFOAF | vBFriends
Reply With Quote
  #7  
Old 28 Jun 2005, 10:40
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Moved here since we don't really have a good place for it, and this section was so empty.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #8  
Old 28 Jun 2005, 12:38
Cloud-Warrior's Avatar
Cloud-Warrior Cloud-Warrior is offline
 
Join Date: Feb 2002
I think the next version of WPMU will have a single table for users, at that stage some integration may be easier (either a daily import, or a direct connection).
__________________
Dr. John Breslin
http://www.johnbreslin.com/
Sites: boards.ie | boards.jp
Hacks: news2vb | vBFOAF | vBFriends
Reply With Quote
  #9  
Old 28 Jun 2005, 17:42
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
not to intrude but i actually have one done but i want KirbyDE to check over it to make sure i caught everything
Reply With Quote
  #10  
Old 28 Jun 2005, 18:30
Qwest Qwest is offline
 
Join Date: Jun 2004
Originally Posted by AN-net
not to intrude but i actually have one done but i want KirbyDE to check over it to make sure i caught everything
Are you gonna start a new vbjournal thread or reopen the old one?
Reply With Quote
  #11  
Old 28 Jun 2005, 21:27
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
i believe the old will be reopened. i think im going to start on version two for vb 3.0.7
Reply With Quote
  #12  
Old 28 Jun 2005, 21:47
Cloud-Warrior's Avatar
Cloud-Warrior Cloud-Warrior is offline
 
Join Date: Feb 2002
Cool - looking forward to it, I have vBJournal on another site that I don't want to change to WPMU just yet so will be implementing your fixed files when they are up.
__________________
Dr. John Breslin
http://www.johnbreslin.com/
Sites: boards.ie | boards.jp
Hacks: news2vb | vBFOAF | vBFriends
Reply With Quote
  #13  
Old 28 Jun 2005, 22:04
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Real name: Dennis
Originally Posted by AN-net
i believe the old will be reopened. i think im going to start on version two for vb 3.0.7
I'll be very happy to have a fix.
Reply With Quote
  #14  
Old 29 Jun 2005, 01:44
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Originally Posted by AN-net
not to intrude but i actually have one done but i want KirbyDE to check over it to make sure i caught everything
Excellent News.
__________________
Face Your Fears, Live Your Dreams
www.altnation.com
Reply With Quote
  #15  
Old 05 Jul 2005, 23:46
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Originally Posted by nexialys
if there is no link with vBulletin, it does not have to be released here...

this is not a forum for Wordpress development..,
(even if i work on the project myself!)
I see your back online... That is a good thing.
__________________
http://www.t3media.com (Ideas at the speed of thought.)
http://www.sprnch.com social networking!
http://hunterex.com (cellphones super cheap!)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:55.

Layout Options | Width: Wide Color: