Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthoroutbreak
    • CommentTimeMay 30th 2005 edited
     # 1
    ####Minisweeper####
    For the benefit of users searching for the migrator, I'm going to steal outbreaks first post which requested that someone wrote a migrator, and instead use it to give people a link to the migrator download.

    HERE IS THE LINK

    Now, although I've made it nice and easy to find at the start of the discussion, if you plan on using it i'd still appreciate you reading the next few pages of discussion before using it for the safety of your data, my sanity, and the general good nature of the community.
  1.  # 2
    i'm not overly familiar with the phpbb database structure but on the basis that they're both mysql i dont see why it should be that hard. I assume its just a matter of moving the data from one database into the right place in the vanilla database.

    No doubt you're more than welcome to write a translator!
    •  
      CommentAuthoroutbreak
    • CommentTimeMay 30th 2005
     # 3
    i wish i could, because i would. i can hack some stuff, but i cant write scripts from scratch. :(
    •  
      CommentAuthorcmacias
    • CommentTimeMay 30th 2005
     # 4
    I think it's not difficult to do translators from principal forums...
  2.  # 5
    Depending on the way Vanilla is set up I think it is potentially possible. phpBB, vBulletin and other forum software have extras that could be stripped out pretty easy. Whilst retaining relevant information, posts, users and forums.
  3.  # 6
    outbreak - if you could get me the database structure for a phpBB forum and the database structure marks using for vanilla i'll have a go at making one for you if noone else wants to do it?
    •  
      CommentAuthoroutbreak
    • CommentTimeMay 31st 2005 edited
     # 7
    oh man, that would be sweet! you should definitely submit it as a download for the lussumo site once this goes live too.

    how do i give you the db structure for phpbb? i dont know much about mysql.
  4.  # 8
    I'll install it on my server when vanilla gets released so i can compare the databases (unless ofcourse mark is willing to release the database structure/a sample database so i can work on it for release?)

    Then you just need to bug me for a while till i actually do it ;)

    Mark - is vanilla running on MySQL or Postgre?
    •  
      CommentAuthoroutbreak
    • CommentTimeMay 31st 2005
     # 9
    heh, ok awesome.
  5.  # 10
    So i just installed phpbb...29 tables?! I sure hope vanilla doesnt have that many!

    Most seem to be for the extra shit they pile on though so i assume its only the users/posts that need to be transferred over.

    Main problem i think we'll have is translating between the Categories system and the different boards type idea phpBB uses - but i'm sure we Can work it out

    (my pC doesnt seem to like me using lower Case C's so i'll get baCk to you tomorrow and get on watChing this film
    •  
      CommentAuthorMark
    • CommentTimeMay 31st 2005
     # 11
    I'll certainly pass along the database structure for Vanilla.

    I was thinking that "forums" on phpBB would translate to categories on vanilla, and everything else *should* be pretty straightforward. I didn't want to take on this task, so if you're up to it, Mini, I'd be happy to give you whatever you need.

    For the record, Vanilla has 18 tables. Of those, you'd only really need to concern yourself with 4 of them when doing a transformation from one forum to another: Users, Categories, Discussions & Comments.
  6.  # 12
    Cool. Well if you could perhaps build up a sample database (containing only the things that are really necessary if it's easier for you) and mail me it i'll try my best!

    Or if its easier i can just make you a database login on my server and you can set it up on there?
  7.  # 13
    So mark just mailed me the database...he wasnt joking when he said the whisper system was a very integral part of the board. Curious where he got the idea and why he made it so central? Cool anyway.

    It'l take me a while to dig through stuff and compare the board setups...i refuse to let myself start now (its 4am here :() but i'll try and work up some enthusiasm to get stuck in when i wake up.

    Wish me luck!
    •  
      CommentAuthoroutbreak
    • CommentTimeMay 31st 2005
     # 14
    good luck!!!

    i think putting together a phpbb to vanilla conversion tool will help to increase the popularity tenfold.
    •  
      CommentAuthorMark
    • CommentTimeMay 31st 2005 edited
     # 15
    he wasnt joking when he said the whisper system was a very integral part of the board. Curious where he got the idea and why he made it so central?

    Well, while it does have columns in the discussion table, and it is central to the way the code queries the database, it could actually be removed pretty easily.

    Like, I could just leave all of the columns and tables in place, but change the front-end queries so they don't use those columns at all - in essence removing the feature. It would certainly speed up the discussion list.

    But I think whispers are cool.

    I got the idea one day last year when a friend of mine and I were throwing ideas around for how to make forums cooler. My buddy said, "Wouldn't it be cool if you could whisper to someone like you can on IRC or you could back in the days of MUDDs and MUSEs on Telnet?"

    I was totally taken with the idea, and it was pretty much what drove me into heavy development on Vanilla.
  8.  # 16
    Fair enough. Cool stuff. I'll try and get to work soon but i've just been rudely awoken by my mum suggesting i do some revision. And i dont like being rudely awoken. Or even awoken atall. Unless there are blowjobs involved.
    •  
      CommentAuthorMark
    • CommentTimeMay 31st 2005
     # 17
    hahaha - what does your mum want you to revise?
  9.  # 18
    Physics. If you could teach me about particles, radiation, and quantum phenomena while i work on this it'd be cool?
    •  
      CommentAuthorMark
    • CommentTimeMay 31st 2005
     # 19
  10.  # 20
    haha. Maybe i'll stick to doing it myself...but i've got till the 10th anyway.

    Should get to work on the converter tonight, i've been out all day fixing peoples shit and had to bring a laptop home which needs data saving and formatting blah blah and then returning tomorrow morning. But hopefully while its working away i'll get some code done.
  11.  # 21
    Mark - do you have some sort of IRC? Could do with a quick chat about a few things.
    •  
      CommentAuthorMark
    • CommentTimeMay 31st 2005
     # 22
    do you aim?
  12.  # 23
    Dont have an account. I have irc or msn?
    •  
      CommentAuthorMark
    • CommentTimeMay 31st 2005
     # 24
    nope :P
    I'll get msn - what's your msn contact?
  13.  # 25
    bad4ssg@msn.com If its easier for you you can use http://gez.fr4g.com/irc and just /msg gez hi :)
    • CommentAuthorMinisweeper
    • CommentTimeMay 31st 2005 edited
     # 26
    I have officially made a start. For those who want to track my progress it looks a little something like this:

    openingphptag
    closingphptag
    •  
      CommentAuthorcmacias
    • CommentTimeMay 31st 2005
     # 27
    Good Luck !
  14.  # 28
    So can i just double check with some phpBB users - i'm digging through the tables and there dont appear to be any real name references...

    Does it just ignore that people might have real names?
  15.  # 29
    Mark - is it worth me keeping the user language column from phpbb databases for when people choose to make language translations?
  16.  # 30
    p.s. outbreak if you could also hop on some form of IRC for a while this evening it could be very useful.. Or anyone else who uses phpBB
    •  
      CommentAuthorMark
    • CommentTimeJun 1st 2005
     # 31
    I wouldn't bother with the language translations for now.
  17.  # 32
    *salutes
  18.  # 33
    Right. I've got the basic user info in quite happily. Now its just a matter of picking the remaining user related bits out of all the other tables phpBB uses.
    Why cant everyone be as simple as mark!
    • CommentAuthorMinisweeper
    • CommentTimeJun 1st 2005 edited
     # 34
    Update: I've got the following information taken care of:
    First/Last Name - set to phpbb / user by default due to phpbb not having them
    username
    password - set to Default - due to encryption people will need to reset passwords
    Email + Show email
    Icon - linked to avatar. Assumed this was preferably over Picture -> Avatar.
    Discussion + Comment Counts
    Date first/last active.
    Date last comment/discussion.

    I cant find any way of working out how many visits someones made? If anyone's familiar with the phpBB database and knows otherwise please let me know.

    Main problem i've come across is that where phpBB has 3 levels (Category - Forum - Topic), vanilla has only 2 (Category - Discussion). Any suggestions of the best way to merge the two would be greatfully accepted. I assume i'll just have to collaps the phpBB categories and call Forums categories?
    •  
      CommentAuthorcmacias
    • CommentTimeJun 1st 2005
     # 35
    Category is not important. It has no repercusion.
    •  
      CommentAuthoroutbreak
    • CommentTimeJun 1st 2005
     # 36
    phpbb -> vanilla

    categories -> nothing
    forums -> categories
    topics - > topics

    make sense?
  19.  # 37
    yeah i figured that out a little later on cheers.

    Can you get on irc or anything?
  20.  # 38
    Guys i badly need access to a running phpBB instal. I've got most of what i need from the startup database but i cant see how things will go on a more complicated install without checking a few things out.

    Outbreak?
    •  
      CommentAuthoroutbreak
    • CommentTimeJun 1st 2005
     # 39
    yeah i can get you an install if you need. i dont know how to run IRC though, i never got into that. i have aim. any other way we could work this out?
    •  
      CommentAuthor3stripe
    • CommentTimeJun 1st 2005 edited
     # 40
    minisweeper.... good luck with this... interesting thread!

    i have a phpbb installation which is ok, but vanilla is so much cleaner/faster/simpler.

    (if you want me to install a fresh phpbb forum for you to play with, please get me on msn/email.... quietjames@hotmail.com)
    •  
      CommentAuthorcmacias
    • CommentTimeJun 2nd 2005
     # 41
    the PhpBB use a md5 encrypt method for the passwords... maybe this could be a problem... or not ?
  21.  # 42
    cmacias - yeah. we're just gonna stick random passwords in for everyone and have it so they either have to request a new password (would also help clear out old users) or one is sent to them automatically.

    3stripe - i've got a fresh phpBB install which i've been working from so far but i need a populated one so i can get more of an idea of whats what on the more detailed stuff. Also i deleted my users table by accident :) SO if you could let me have a peek at your database or a copy that'd be awesome.
  22.  # 43
    Someone give me some motivation. I got about 2 hours solid sleep last night (with about 3 more on and off), my body's aching from exercise (i swear its bad for you), and i have work in 23 minutes.

    Ugh.
    •  
      CommentAuthoroutbreak
    • CommentTimeJun 2nd 2005
     # 44
    i'll give ya motivation...

    COME ONNNNNNNNNN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    DO ITTTTTTTT!!!!!!!!!!!!!!!!!!!!!!!
    •  
      CommentAuthorcmacias
    • CommentTimeJun 2nd 2005 edited
     # 45
    Go Go Go Go Go
    •  
      CommentAuthorMark
    • CommentTimeJun 2nd 2005
     # 46
    3stripe - if you do pass along an active copy of your database, do your users a favour and wipe out their passwords, real names, and email addresses before you do. Just a thought.
    • CommentAuthorMinisweeper
    • CommentTimeJun 3rd 2005 edited
     # 47
    Haha mark. Well phpBB uses un reversible encryption and doesnt even have capacity to store real names.

    I dont really care about email addresses but i suppose its only fair.

    Any chance of getting it 3stripe? I'm off to bed now so if you can possibly mail it to me then i can get working on it in the morning. Cheers
    •  
      CommentAuthorchrissy
    • CommentTimeJun 3rd 2005
     # 48
    GWAN G

    And because of this phpBB -> Vanilla conversion a la lack of sleep, he was a grumpy bastard all day yesterday >:/
  23.  # 49
    outbreak - i've loaded up the bulk of your db so i'll get working again in and around exams. Keep your eye out i might need some extra help.
  24.  # 50
    Right. The new database just confirms the fear i had with phpBB - it treats groups like shit.
    It appears to have a different group for all users even though they have the same capabilities and i cant find how or where it differentiates between users/admins/moderators or whatever. Do you know if this is done using 'groups' or 'ranks' or something i've missed, and how?

    Alternatively, annoying as it might be for some users, would it be such an issue if the migration tool just setup the user who was doing the migration (or a selected user) as admin and left the rest as normal users who could then be promoted if necessary?