2007-01-08, 07:49 PM
After download and installing mybb I was interested to see how easy it would be to customize a theme and or template, what I found that it was ridiculously hard.
The idea of importing/exporting CSS as XML files is stupid I think. It can be hard enough to learn the names of the different CSS elements and try understand how they affect different parts of the webpage. When you export it as XML and surround everything with CDATA tags you make everything close to impossible to read and comprehend.
I was hoping that MyBB would be easier to customize than phpbb but sadly I found this not to be the case. I want a fully featured forums that can be easily embedded into a current page design so that it looks like it is apart of the website and not like it was added on as afterthought. The forums has to FLOW with the rest of the site design, and MyBB in its current iteration does NOT do a good job of making it easy for the web developer.
I have a couple suggestions to vastly improving MyBB, I am not here to just blueberry and moan without offering anything constructive.
Let me elaborate some more on these things I have listed.
Look at Smarty Template Engine to see how to use a templating system for your forums. Some forums that actually do a good job at this is PunBB. I have included their default template file as an example.
Store the name of the CSS file in the database. Place them in the ~/css or ~/style directory. You can easily generate a path if the directory name is static and the name of the CSS file is in the database. Then you can just echo $stylesheetpath to get whatever the current theme is.
Leave the HTML chunks in the database, that doesn't seem that big a deal. It would be nice however to create some sort of interface in the admin side that allowed you to edit the chunks easily. There must be close to 400 different chunks and its very complicated to try and figure out what chunk is what. PunBB parses the template file when it sees "< pun_head >" (spaces added) it knows to spit out the standard header chunks. This is where it figures out the CSS include and other stuff.
Well that is about it. I hope you listen to what I had to say and make MyBB easier to customize, if you do I think you will see a lot more people using it. I'll check back in a year or so and see how you guys are doing. Good luck fixing things.
Regards,
llbbl.com
The idea of importing/exporting CSS as XML files is stupid I think. It can be hard enough to learn the names of the different CSS elements and try understand how they affect different parts of the webpage. When you export it as XML and surround everything with CDATA tags you make everything close to impossible to read and comprehend.
I was hoping that MyBB would be easier to customize than phpbb but sadly I found this not to be the case. I want a fully featured forums that can be easily embedded into a current page design so that it looks like it is apart of the website and not like it was added on as afterthought. The forums has to FLOW with the rest of the site design, and MyBB in its current iteration does NOT do a good job of making it easy for the web developer.
I have a couple suggestions to vastly improving MyBB, I am not here to just blueberry and moan without offering anything constructive.
- Implement a true templating system
- Remove CSS from the database and place in a static file that is included based on its Name and place in the directory structure
- Access the HTML chuncks in the database by parsing the template file.
Let me elaborate some more on these things I have listed.
Look at Smarty Template Engine to see how to use a templating system for your forums. Some forums that actually do a good job at this is PunBB. I have included their default template file as an example.
Store the name of the CSS file in the database. Place them in the ~/css or ~/style directory. You can easily generate a path if the directory name is static and the name of the CSS file is in the database. Then you can just echo $stylesheetpath to get whatever the current theme is.
Leave the HTML chunks in the database, that doesn't seem that big a deal. It would be nice however to create some sort of interface in the admin side that allowed you to edit the chunks easily. There must be close to 400 different chunks and its very complicated to try and figure out what chunk is what. PunBB parses the template file when it sees "< pun_head >" (spaces added) it knows to spit out the standard header chunks. This is where it figures out the CSS include and other stuff.
Well that is about it. I hope you listen to what I had to say and make MyBB easier to customize, if you do I think you will see a lot more people using it. I'll check back in a year or so and see how you guys are doing. Good luck fixing things.
Regards,
llbbl.com