[RFC] Include barebone template with every release

Note: We are moving the topics of this forum and it will be deleted at some point

Publish your own request for comments/change or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.2/Rhea and 3.3.
ecwpa
Registered User
Posts: 181
Joined: Mon Jan 24, 2005 2:10 am
Contact:

Re: [RFC] Include barebone template with every release

Post by ecwpa » Tue Apr 16, 2013 3:33 pm

To be honest I'm not too familiar with template inheritance, if I mantain a few templates and a new version of phpBB is released, how that helps me to update my templates?

As far as I know, every time a new release is published I have to download the full package of phpBB, then check which files were updated inside ProSilver or doing the manual search and replace method, which takes a lot of time.
Slightly better English than it was in 2005, still improving :D

User avatar
tmbackoff
Registered User
Posts: 180
Joined: Sat Jun 12, 2010 3:25 am

Re: [RFC] Include barebone template with every release

Post by tmbackoff » Tue Apr 16, 2013 4:26 pm

ecwpa wrote:To be honest I'm not too familiar with template inheritance, if I mantain a few templates and a new version of phpBB is released, how that helps me to update my templates?
https://blog.phpbb.com/2008/07/31/templ ... ot-easier/

User avatar
Un1matr1x
Registered User
Posts: 48
Joined: Mon Sep 07, 2009 10:18 pm

Re: [RFC] Include barebone template with every release

Post by Un1matr1x » Tue Apr 16, 2013 6:58 pm

ecwpa wrote:As far as I know, every time a new release is published I have to download the full package of phpBB, then check which files were updated inside ProSilver ...
That's way to much ... https://www.phpbb.com/downloads/?from=submenu
[ CODE CHANGES ]
The code changes package contains language and style changes that have taken place since previous releases of phpBB. It does not include changes made to other files. You may find this helpful if you are updating a style or language pack.

TO DOWNLOAD THIS PACKAGE, YOU MUST FIRST SELECT YOUR CURRENT PHPBB VERSION.
If you can't use template inheritance for some reasons

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: [RFC] Include barebone template with every release

Post by Oleg » Wed Apr 17, 2013 3:13 am

I like the idea of a barebones template as a foundation for style authors to build something other than prosilver with different colors/whitespace.

With that, I have no idea what a "barebones template" is supposed to look like. Any examples from other projects?

ecwpa
Registered User
Posts: 181
Joined: Mon Jan 24, 2005 2:10 am
Contact:

Re: [RFC] Include barebone template with every release

Post by ecwpa » Wed Apr 17, 2013 2:31 pm

Like this?. That was more or less what I was looking for but it was abandoned in 2010.

Here's a screenshot:
Attachments
phpbb_nostyle.png
(97.59 KiB) Downloaded 1343 times
Slightly better English than it was in 2005, still improving :D

User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

Re: [RFC] Include barebone template with every release

Post by EXreaction » Fri Apr 19, 2013 3:05 pm

To me, that looks like prosilver with some CSS for structure, but no color CSS.

User avatar
Arty
Registered User
Posts: 971
Joined: Wed Mar 06, 2002 2:36 pm
Location: Mars
Contact:

Re: [RFC] Include barebone template with every release

Post by Arty » Fri Apr 19, 2013 3:35 pm

It is a good idea, but not for current phpBB.

Barebones style would be awesome if we had:
- Only 1 main style, so barebones style could be main parent style and every other style would inherit from it.
- Style inheritance would apply to all style components, including CSS and images. Unfortunately it applies only to templates and JavaScript files.

I think this should be implemented for phpBB 4.
Formerly known as CyberAlien.

Free phpBB styles | Premium responsive XenForo styles

ecwpa
Registered User
Posts: 181
Joined: Mon Jan 24, 2005 2:10 am
Contact:

Re: [RFC] Include barebone template with every release

Post by ecwpa » Fri Apr 19, 2013 4:56 pm

EXreaction wrote:To me, that looks like prosilver with some CSS for structure, but no color CSS.
That's because it was abandoned. The "final" barebone template wouldn't look nice at all because it shouldn't have any structure.

Arty wrote:It is a good idea, but not for current phpBB.

Barebones style would be awesome if we had:
- Only 1 main style, so barebones style could be main parent style and every other style would inherit from it.
- Style inheritance would apply to all style components, including CSS and images. Unfortunately it applies only to templates and JavaScript files.

I think this should be implemented for phpBB 4.
Yeah, I'd love too see that in phpBB4.

But I still think it would be great to have a blank template to start working without worring if there's a new release a week later, and then you have to go through all Prosilver subfolder taking out files you don't use again, it should also be a template that doesn't have references to images at all, just text.
Slightly better English than it was in 2005, still improving :D

User avatar
hanakin
Infrastructure Team
Infrastructure Team
Posts: 809
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: [RFC] Include barebone template with every release

Post by hanakin » Sat Apr 20, 2013 10:37 am

Not really sure as to weather or not this is beneficial or not. I agree we need a new theme one from scratch that is actually thought out from a moden persecutive. If this is done right then a barbone really is not all that useful. If your going to make a new theme it might as well be a brand new one.

To better clarify for everyone else what i think ecwpa is referring.

Currently with PHPBB the styles are broken up in files based on what they style with random classes and selectors thrown all over the place with no real thought behind them. This leads to countless redundancy and overuse of css and classes in the markup.

For example when I work on a web application or site I have essentially 4-5 different files (not exact since I use Less but thats the gist)
  1. Reset - normalize the way browsers render everything
  2. Base - simple html selector global styling for content IE: a,p,h1,small etc....
  3. Layout - structure of the site. This is where the grid elements reside
  4. Modules - every part of a web site can be broken down into individual elements , these share common styling so we create a module to address these to allow for less code and easier maintenance
  5. Utilites - additional styles for added benefits
a final theme such as prosilver would include all of these. As well as use them in the HTML template files.

For a barbone you would only have the first two possibly the third but it would not be utilized fully and the HTML would only include those classes from the these files that were absolutely necessary.

This would keep the template files extremely clean and easier to manage. IE: Their would be no classes for the sake of describing a block of HTML such as forumlist or topiclist included.

The rendered result would look slight better than serving no CSS. There would be no structure other than type

Pro:
This would allow actual talented front-end designers to make new themes rather than repurpose one as the css is solely in their hands ad so is the design.

Con:
This would require an entire new theme from scratch to be effective and you might as well just complete it fully at that point.
Arty wrote:It is a good idea, but not for current phpBB.

Barebones style would be awesome if we had:
- Only 1 main style, so barebones style could be main parent style and every other style would inherit from it.
- Style inheritance would apply to all style components, including CSS and images. Unfortunately it applies only to templates and JavaScript files.

I think this should be implemented for phpBB 4.
Agree will be a lot easier and better with PHPBB4
However their is nothing stoping anyone from tackling this and getting it released as a custom style. I only say that as someone who has started a custom project because I dont personally fell like waiting for 4 lol ;)

Post Reply