Well as i say, i'll probably leave that bit to you, i've never used javascript and as you've done so nicely with the vanilla installer i think it'd be cool if they went hand in hand.
Right. I've mailed mark it to work his wicked ways and transform it into a fantastic piece of engineering. So i imagine it'l be included in the next release...or whenever he finds time to do it.
P.S. As it stands its just the migrator - i've put the (slightly edited) bbcode translator thing in so mark can implement it if he chooses to. And it doesnt do private messages -> whispers yet, but either mark or i will probably get round to that..eventually.
It probably won't be the next revision since I've got a fully jam-packed social calendar this week / weekend. But it will certainly be out soon.
I *am* going to have to re-write it so it will be similar to the installer that was in the last two revisions. But the hardest part (figuring out how phpBB is set up and how to translate that to my db) is done thanks to mini :)
heh chris. I can send the phpBB one your way to give you a rough idea of what needs migrating if you think it'd help. I dunno how similar the board are...
Not sure what else would be needed, haven't given it too much thought. But with vB getting more and more features by the day *rolleyes* I'm not sure how hard it'd be to break it all down and just get what I need... but yeah the phpBB one would be nice if you can... chris [at] chrisgwynne [dot] com
Mini - i got and took a look at your bbcode code - It wasn't really turning my crank, so I did some digging online and ended up doing a regex version of your code.
And there was a bbcode formatting extension sent out in the latest revision (today).
haha mark - i didnt think you would. I've never really experimented with regex so i didnt know of the best way to do it.
I'd be surprised if any of my code turned your crank...most of it atleast does the job though which is as far as i ever got in learning php ;(
Chris - Yeah obviously its only the LUM_User, LUM_Category, LUM_Discussion, LUM_Comment tables (in that order) you can fill but the phpBB thing might just give you a few ideas where to look to get the stuff you need and what cells of those tables you're likely to be able to fill. I'll send it eitherway.
Well i sent the code to mark to work his wicked ways on and get it into a nice format for public release, last i heard he'd put it on the back burner and was gonna have a go at it post-release.
If you're desperate in the mean time i can send you my code which will do the job it's just a lot uglier. Depending what mark does you might need to run his version when he's finished with it, though so far as data transfer goes i dont see as he can change it a great deal.
Jstripe, if you have the pre-release of Vanilla up and running, it should be under your extensions section. By default, all extensions are turned off. You'll need to enable them and allow yourself to see the all of the "format comment as (text/markdown...) options
Settings > Manage extensions > enable the BB Code extension Account > Forum Prefs > Show the comment format type selector when adding comments (under comments form)
nah lech, thats the bbcode formatter, this is the little thing i wrote to migrate data from a phpBB forum to a vanilla setup so people can move between the forums without losing all their stuff.
ok thanks minisweeper, figure i should wait for the official finished version of this....
there is 1 feature i would love to have for vanilla from phpbb... an optional signature for each user... do you think anyone will do a plugin for this...?
(only because my forum is for a club night... so people tend to promote events using banner ad's in their signature....)
On a serious note, i imagine a signature would be a *very* simple thing to add. Surprisingly enough i havent actually looked at the code, but i'm sure its just a question of pulling it through in the query and then adding it to the bottom of the post in whatever fashion preferable.
Ofcourse getting the signature from phpBB is also easy enough, though whether this'd be part of the extension or what i dunno.
Oh man. Do I ever hate signatures. I purposefully left them out. What a waste of screen space.
But if they really wanted it - you could enable the clipboard and they could set up a ton of different signatures on their clipboard and then just paste in whichever one they wanted when posting.
yeah, i know sigs are not a very pretty feature asethetically but i think it is the only thing that users of my board would complain about if i switched it over to vanilla.... sigh...
anyhows as i'm not a programmer might just have to give this a miss... hmmm
haha. i think i was on 1500 users and ~25000 posts. Check further up this thread for rough times i achieved...theyre probably beatable but otherwise certainly a target.
Yeah - Chris - that's awesome. Please be sure to let me know how it goes. I can put your code up on lussumo after it's finished if you want to share it with others.
i just had a great idea - as it's common knowledge that anyone who uses phpBB is a lame-o to the Xtreem, how's about canning this idea and replacing it with an option to import from a phpBB that, instead of importing from phpBB, deletes everything it can on the server and displays a "YOU SUCK" message.
i know it may be a little late in development for this idea, but i think it should be considered.
I'll admit I haven't read this in its entirety, but did anyone ever get a functional converter up and running? I've got a bit of a nasty job I'd like to pull... converting a YaBB to phpBB and then to Vanilla. Should be fun!
no, mini is away mark has a beta version of the converter i believe, as far as it being released fully, it hasn't yet.. so ask mark for it i guess, otherwise mini's back tomoro i believe
I don't know when I'll have time. Now that Vanilla is released I'm trying to focus all of my work-day hours to "work" (not counting posting this, of course :) and all of my spare time to wrapping up the documentation.
Once the documentation is finished I'll get on the converter. I don't imagine it will take much longer than a day to complete.
epohs - if i still have the file you're more than welcome to a copy of it but depending how desperate you are its probably worth waiting for mark to release.
What does the converter consist of and how would I go about doing it? Would I need to set up a version of Vanilla parallel to my existing version of phpBB and then slide content/users from one to the other?
Markle: Yeah - that's sounds about right. Though, you'd only need the database of phpBB, not the entire application. So if you were thinking of setting up Vanilla on a different server, you could do a mysqldump of the phpBB database from your old server, then create a new copy of the phpBB database on the new server and re-insert everything from your mysqldump file. Then run this script that Mini wrote to copy over the relevant data.
I would really like to take this task on myself, but my hands are quite full at the moment.
It should be possible to access the old phpBB database remotely, provided you have enough access to grant access from hosts other than localhost. Note of course that if your database is particularly large the data transfer times will be quite sizeable.
I really wanted to make a script that functions similarly to the filebrowser's thumbnailer. Where it takes on the tables one-at-a-time and refreshes after each step of the process. I wanted to make a very basic template so that other importers could follow a similar process (and so I wouldn't have to write every single one). We'll see if I ever get a chance.