# Phpbb conversion

**URL:** <https://www.ruby-forum.com/t/phpbb-conversion/47926>\
**Category:** Ruby-Forum\
**Created:** [November 15, 2005, 6:35am UTC](https://www.ruby-forum.com/t/phpbb-conversion/47926 "2005-11-15T06:35:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![signal15](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@signal15](https://www.ruby-forum.com/u/signal15)\
**Post date:** [November 15, 2005, 6:35am UTC](https://www.ruby-forum.com/t/phpbb-conversion/47926/1 "2005-11-15T06:35:38Z")

</div>

I’m not looking at converting until 0.2 is out. But, I’m wondering if  
anyone knows what would be involved in converting the content from an  
existing phpbb installation over to RForum.

Also, it’s fairly important that I somehow keep a similar interface  
(alternating colors for each line, same color style sitewide). Can I  
get this done with CSS?

Additionally, if I were to add a rails based Wiki, how hard would it be  
to have the RForum and Wiki authenticate against the same user table?

---

<div class="post-metadata">

**Author:** ![signal15](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@signal15](https://www.ruby-forum.com/u/signal15)\
**Post date:** [November 15, 2005, 4:42pm UTC](https://www.ruby-forum.com/t/phpbb-conversion/47926/2 "2005-11-15T16:42:10Z")

</div>

signal15 wrote:

> I’m not looking at converting until 0.2 is out.

You can use the current version from the repository. There won’t be any  
incompatible changes in the data structure, the only thing missing for  
0.2 is some documentation and cleanup.

> But, I’m wondering if  
> anyone knows what would be involved in converting the content from an  
> existing phpbb installation over to RForum.

I have written a converter script for my own forum:  
[http://rforum.andreas-s.net/trac/file/trunk/script/import\_mikrocontroller.net.rb](http://rforum.andreas-s.net/trac/file/trunk/script/import_mikrocontroller.net.rb)  
Writing something similar for phpBB should be pretty straightforward.

> Also, it’s fairly important that I somehow keep a similar interface  
> (alternating colors for each line, same color style sitewide). Can I  
> get this done with CSS?

Alternating line colors are possible with CSS.

> Additionally, if I were to add a rails based Wiki, how hard would it be  
> to have the RForum and Wiki authenticate against the same user table?

That depends on the Wiki, but in general it should not be a big problem.

---

<div class="post-metadata">

**Author:** ![signal15](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@signal15](https://www.ruby-forum.com/u/signal15)\
**Post date:** [November 18, 2005, 7:07pm UTC](https://www.ruby-forum.com/t/phpbb-conversion/47926/3 "2005-11-18T19:07:43Z")

</div>

Isn’t the PHPBB structure completely different than the RForum  
structure?

I corruped my database awhile back and had to fix it, and I had nothing  
but problems because literally everything is “intertwined.” PHPBB has  
fields in tables that tell posts what other data they are linked to, so  
not only will I just have to move data, but I think I will have to  
modify it also. Let me know if you think I’m wrong, I frequently am.  
🙂

As far as RForum vs. PHPBB goes, can you think of any major features  
that are missing besides Private messaging?

I will try intalling it this weekend on a test machine and see if I can  
get things converted. I’m primarily sick of PHPBB because of all of the  
security problems I have to patch against. The code looks like  
spaghetti, and it’s nearly impossible to figure out what’s going on in  
it when I want to make changes.

---

<div class="post-metadata">

**Author:** ![signal15](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@signal15](https://www.ruby-forum.com/u/signal15)\
**Post date:** [November 18, 2005, 8:25pm UTC](https://www.ruby-forum.com/t/phpbb-conversion/47926/4 "2005-11-18T20:25:27Z")

</div>

signal15 wrote:

> Isn’t the PHPBB structure completely different than the RForum  
> structure?

Yes. Converting “in place” won’t work, but that’s completely  
unnecessary. You just have to write a script that iterates over all  
forums, topics and posts in the phpBB database and inserts them in the  
RForum database. Really no big deal, even if phpBB has ugly table  
structures.

> As far as RForum vs. PHPBB goes, can you think of any major features  
> that are missing besides Private messaging?

A lot of small gimmicks that phpBB has are missing in RForum, but I  
can’t think of any major features. Post markup formatting maybe, but  
that is trivial to implement (one-liner).

> I will try intalling it this weekend on a test machine and see if I can  
> get things converted. I’m primarily sick of PHPBB because of all of the  
> security problems I have to patch against. The code looks like  
> spaghetti, and it’s nearly impossible to figure out what’s going on in  
> it when I want to make changes.

That’s the problem with most forum softwares I tried. But phpBB is  
probably the worst.
