MyBB Ideas
The MyBB Ideas site allows users to suggest new features and changes in MyBB and the MyBB Group to easily review them to decide what direction MyBB should head in. Search existing ideas.
New Template system
|
10 votes
|
I don't know about the rest of the world, but I could sure use a much easier template system than the one MyBB currently uses. Editing templates and CSS online is a nightmare, and a massive time-waster. Why not include everything about the theme in a folder? Then you have a subfolder for all the HTML template files, a folder for images, a stylesheet and identifying xml file in the root, and that's all there is to it. I wouldn't imagine that fetching the new file-based HTML in the scripts would be too hard. You're mostly just switching from MySQL storage to flatfile storage. And it would make life that much easier for those of us that need to create customised templates for our sites. Given that this way of handling templates works for vBulletin, Invision, phpBB and SMF, there's no real reason it can't work for MyBB, right? ~ Wogan
|
7 Comments
-
t0m, 15th April 2008, 10:10:41 PM
How is editing CSS+Templates online a nightmare?? I know MyBB has one of the easiest systems to do it..
-
En-Gedi, 16th April 2008, 10:05:55 PM
@ t0m: one of the easiest systems? ... maybe, but when you design a new layout it´s really uncomfortable to handle.
I love Wogan´s idea ;-)
-
t0m, 17th April 2008, 11:32:11 PM
@En-Gedi: <q>maybe, but when you design a new layout it's really uncomfortable to handle</q>
As it is with most Bulletin Board systems.. -
Data, 17th April 2008, 11:57:27 PM
Oh yes, it's a hell to edit templates and CSS online!!!! I completely agree with Wogan! You should add a possibility (an option) to change the method of using (html code generation) and thus editing the template an CSS code, please!!!!! For my part on my own risk, but I don't want to waste time for that circuitous, laborious designing/modding. I think the current method is good and safe for beginners, but poor for "power designers". ;)
No harm meant! :)
-
Wogan, 18th April 2008, 1:05:07 AM
@t0m: EDIT, yes. Edit is easy. That's what MyBB is good at. But try creating a new template from scratch?
That's probably why all the MyBB templates I've seen so far look the same. Because coming up with something fresh is nearly impossible.
I did a little digging, and I have to say that MyBB's template system is probably one of the worst I've come across, lol. Firstly, the get() function resides where no plugin can go, which immediately silenced my idea of writing a workaround plugin.
Secondly, the default template consists of nearly 500 items - that would be 500 HTML files to edit and keep track of. And in these ~500, the <head> section appears over and over again.
You'd think that you'd use a common <head> for all the pages you generate. And that you would use a hell of a lot less data for your templates. Apparently not.
I really, really recommend that you guys come up with something better as a template system. And give template designers a chance to do their thing...
~ Wogan
-
t0m, 22nd April 2008, 12:50:57 AM
@Wogan: I've created a new template, and it's easy. It's like that with all boards..
-
Jeff, 4th May 2008, 9:34:15 AM
@Wogan:
That's because all the other forum software's templates have behavioral logic in it. MyBB's templates are pure HTML with no logic embedded, truly separating code from HTML.
Post a Comment
Before you can post a comment you must be a registered member of the MyBB Community Forums.
If you already have an account, log-in to it to post a comment or if you don't register a new account.