As you might already know, our forum offers other board styles than the default rinDark. Everybody likes some coloring on their topics and signatures, but does it look good on all board styles? I will try to make answering that question easy as possible on this tutorial.
Hey, wait a minute! Why would my topic look bad on other board styles?
Well, the answer is simple: You probably chose some colors that look bad on a different board style. I guess this little trick would be the best example for this:
This line of text won't be visible on subsilver2 board style because it's color is set to subsilver2 background color (which is "#ECECEC"). This line of text won't be visible on rinDark board style because it's color is set to subsilver2 background color (which is "#1C1C1C").
As another example, let's take a look at this signature:
It looks pretty nice right? It's colorful and formatted nicely with a list. The problem is, it looks like shit if you are using the subsilver2 board style:
The text is tiny and the yellow color is hardly readable.
When you use it, you will get a little menu at the top left of your page that allows you to switch CSS of the board style to whichever you want:
Using the SignatureTemplate
The SignatureTemplate is a simple 800x600 Photoshop Document that comes with rinDark and subsilver2 backgrounds and a 500x200 signature box which is the maximum allowed size for signature images. (Check the rules for more detail.) You can get it from here: http://rin.alicanc.com/SignatureTemplate.psd
You can use it to make a signature image without going over the size limit or test transparency of other images you make against different backgrounds. Transparency in images is important.
Edges of this image will look good on rinDark, but bad on subsilver2 because it uses rinDark's background color:
Edges of this image will look good on subsilver2, but bad on rinDark because it uses subsilver2's background color:
Edges of this image will look good on both board styles because it uses a transparent background color:
_________________ I'm convinced that the only thing that kept me going was that I loved what I did.
Post subject: Re: Making Topics and Signatures Look Good on Every Board Style
Posted: Sunday, 17 Oct 2010, 19:24
Moderator
Joined: Sunday, 12 Aug 2007, 13:54 Posts: 7432
Well, that's peachy and all, but whenever I click on either style sheet I see whiteness for a brief moment and after that everything is back to normal. Am I missing something?
Post subject: Re: Making Topics and Signatures Look Good on Every Board Style
Posted: Monday, 18 Oct 2010, 15:23
I live here Три раза сломал клаву :)
Joined: Sunday, 02 Aug 2009, 20:57 Posts: 2091 Location: Bulgaria
You better guarantee support for Firefox and IE(preferably 9).Otherwise the majority of Firefox will start flaming you and ChristX himself will make sure that you support IE9! Capiche!?
We evolved from smart users with dumb terminals to dumb users with smart terminals.
^ This man speaks the truth.
Random user don't let it be you wrote:
Sorry for my bad English
Nearly all of us don't have English as a native language,so we can't bother you for that! If you really doubt your English,go here and ask in your OWN language!
Well, I've bumped the version of the tool to 1.0.2 and marked it as Google Chrome only. You can either blame
1- The forum software for serving style sheets in the most retarded way possible: ./style.php?sid=c42d89dcc5dfb79e2a70b677e3544b15&id=2&lang=en What the fuck? Style sheets are static files. Why would you serve them trough a preprocessor? It's even wrong to serve them trough a cookie enabled domain. Static files should be served trough a cookie-less domain like "static.rin.ru" so user agents don't put that terabyte long cookie header in every HTTP request.
2- Or your browser for failing to cache two URL's with different query strings: Congratulations. You use a browser that can't tell the difference between ./style.php?sid=c42d89dcc5dfb79e2a70b677e3544b15&id=2&lang=en and ./style.php?sid=c42d89dcc5dfb79e2a70b677e3544b15&id=4&lang=en Your choice of browser describes the way you live. You are a part of a trend, a part of a movement with this choice. You are so right to feel cool for using that browser. You go with the flow and shit. You rock.
---
Anyway, this topic is not only about that stupid tool. I would like to add more to the FP if you have any ideas on the topic. Maybe you have a formatting style (for a tutorial maybe?) that other members can just C&P and use..?
_________________ I'm convinced that the only thing that kept me going was that I loved what I did.
Post subject: Re: Making Topics and Signatures Look Good on Every Board Style
Posted: Monday, 18 Oct 2010, 22:10
Moderator
Joined: Sunday, 12 Aug 2007, 13:54 Posts: 7432
I have an idea about this topic. It's to use rinDark and stop complaining, because it's actually this board's default style and it's the majority's choice.
We evolved from smart users with dumb terminals to dumb users with smart terminals.
^ This man speaks the truth.
Random user don't let it be you wrote:
Sorry for my bad English
Nearly all of us don't have English as a native language,so we can't bother you for that! If you really doubt your English,go here and ask in your OWN language!
Post subject: Re: Making Topics and Signatures Look Good on Every Board Style
Posted: Tuesday, 19 Oct 2010, 02:36
A+
Joined: Wednesday, 26 Dec 2007, 00:42 Posts: 7319
Source_engine wrote:
You better guarantee support for Firefox and IE(preferably 9).Otherwise the majority of Firefox will start flaming you and ChristX himself will make sure that you support IE9! Capiche!?
Entirely negative, won't do. Actually IE doesn't even like JavaScript in favorites ( though I suppose you could create such a shortcut manually, never tried that ) for security reasons. And the use of this is at best... well let's stay with 'having a constricted range of usage'.
Shaman AlicanC wrote:
Well, I've bumped the version of the tool to 1.0.2 and marked it as Google Chrome only.
Opera and Firefox support can't really be that hard. While Opera's share is negligible, it isn't for Firefox. ( You can host the stylesheets as static content if you want that so much )
Shaman AlicanC wrote:
1- The forum software for serving style sheets in the most retarded way possible: ./style.php?sid=c42d89dcc5dfb79e2a70b677e3544b15&id=2&lang=en What the fuck? Style sheets are static files. Why would you serve them trough a preprocessor? It's even wrong to serve them trough a cookie enabled domain. Static files should be served trough a cookie-less domain like "static.rin.ru" so user agents don't put that terabyte long cookie header in every HTTP request.
Simple reasons why: To generate stylesheets dynamically. In the end, you can change board styles in the ACP (yes I know this can be done better and all) and that requires a dynamic generation of such content. Then, you can allow certain stylesheets only for certain users and other stuff static serving cannot offer.
Shaman AlicanC wrote:
2- Or your browser for failing to cache two URL's with different query strings: Congratulations. You use a browser that can't tell the difference between ./style.php?sid=c42d89dcc5dfb79e2a70b677e3544b15&id=2&lang=en and ./style.php?sid=c42d89dcc5dfb79e2a70b677e3544b15&id=4&lang=en Your choice of browser describes the way you live. You are a part of a trend, a part of a movement with this choice. You are so right to feel cool for using that browser. You go with the flow and shit. You rock.
That again is not necissarily the browser's fault and you cannot blame it for such. As long as the headers allow caching, this may be handled either way. No browser is 'retarded' because it caches that then. If a document is returned as a stylesheet, a browser can expect it not to change, and as such cache it. Just because your beloved Chrome doesn't do this and other browsers do it, this is by no means a 'flaw'. In fact, in most situations this will actually help to speed up the user's experience.
( Yes I know you're gonna tell me 'BUT BUT THE URI CHANGED, SO IT CANT'. It can. If a file is marked as cachable, and it is a CSS stylesheet this assumption may be made. If a siteowner would not want this, there are no-cache attributes for this )
Shaman AlicanC wrote:
Anyway, this topic is not only about that stupid tool. I would like to add more to the FP if you have any ideas on the topic. Maybe you have a formatting style (for a tutorial maybe?) that other members can just C&P and use..?
You're seriously the only member I ever heard of who uses subsilver2. In fact I'm even surprised this skin still exists. If you really expect this topic to draw enough attention on that skin to make people care about it, then I suppose you will be disappointed by the outcome of this thread.
Post subject: Re: Making Topics and Signatures Look Good on Every Board Style
Posted: Tuesday, 19 Oct 2010, 10:54
Forum ghost Местное привидение
Joined: Saturday, 16 Aug 2008, 09:58 Posts: 317
First it doesn't work on latest Chrome release on dev channel ...... secondly I don't see there is an cache option in the HTTP header ..... could you just set it as cached with PHP header() function please? Connection:close Content-Type:text/css; charset=UTF-8 Date:Tue, 19 Oct 2010 07:48:00 GMT Expires:Tue, 26 Oct 2010 07:48:00 GMT Server:nginx/0.7.65 Transfer-Encoding:chunked X-Powered-By:PHP/5.2.13
Post subject: Re: Making Topics and Signatures Look Good on Every Board Style
Posted: Tuesday, 19 Oct 2010, 15:21
A+
Joined: Wednesday, 26 Dec 2007, 00:42 Posts: 7319
unknownzd wrote:
First it doesn't work on latest Chrome release on dev channel ...... secondly I don't see there is an cache option in the HTTP header ..... could you just set it as cached with PHP header() function please? Connection:close Content-Type:text/css; charset=UTF-8 Date:Tue, 19 Oct 2010 07:48:00 GMT Expires:Tue, 26 Oct 2010 07:48:00 GMT Server:nginx/0.7.65 Transfer-Encoding:chunked X-Powered-By:PHP/5.2.13
That being because there is no option to cache, only not to cache. For instance if the header was HTTP/1.1 ( chrome is omitting the HTTP version btw? ), then caching could be prevented with Cache-Control: no-cache or - that would also work on HTTP/1.0 - Pragma: no-cache.
However, this would require direct modification of phpBB's files which I don't think ResR will do, since this would naturally increase the load on the forum.
Simple reasons why: To generate stylesheets dynamically. In the end, you can change board styles in the ACP (yes I know this can be done better and all) and that requires a dynamic generation of such content. Then, you can allow certain stylesheets only for certain users and other stuff static serving cannot offer.
Style sheets are served a lot more than they are changed. If you don't really care about the layout, you might not change the style sheet even once in a year so why sacrifice so much performance for a feature (IMO: stupid feature) like that? Style sheets don't contain any data, they aren't dynamic their selves.
ChrisTX wrote:
You're seriously the only member I ever heard of who uses subsilver2. In fact I'm even surprised this skin still exists. If you really expect this topic to draw enough attention on that skin to make people care about it, then I suppose you will be disappointed by the outcome of this thread.
The fail in the serving of style sheets made me forget that I've made this topic for fun only. I wasn't really trying to change how people format their threads. I guess I'm like the only one who uses subsilver2.
ChrisTX wrote:
Just because your beloved Chrome doesn't do this and other browsers do it, this is by no means a 'flaw'. In fact, in most situations this will actually help to speed up the user's experience.
ChrisTX wrote:
[...]your beloved Chrome[...]
I sense some sarcasm right there. You can tell that I am an Apple fan from my avatar, but you especially know that I love Apple products from our chats on the IRC channel. You are also probably aware of the "iOS versus Android" situation between Apple and Google and how both companies diss each other over and over. I am no mindless fanboy and I guess having an iPhone and using Google Chrome proves that I am not. I use stuff because I think they are good (unless I have to use them for some other reason). I don't want anyone to misjudge me about this. Even if Chrome does this like that in the future, I would still see it as a mistake. Maybe I will change my browser again some day, who knows?
ChrisTX wrote:
[...]this is by no means a 'flaw'[...]
Browsers must know the difference between "index.html?a" and "index.html?b". You know that the text after the question mark is the "query string". It is a query and it is nothing but natural to expect different results from different queries. Unless there are no misconfiguration on any side, browsers must cache files with different query strings as completely different files.
BosmouZ wrote:
it works on my firefox /shrug
Really? Cool.
This is my Firefox. There are many like it, but this one is mine.
unknownzd wrote:
First it doesn't work on latest Chrome release on dev channel
That's true. (Just figured.) I don't really like to use or support non-stable builds. (I am not trying to say that they crash. They are just not marked/released as a stable release.) Seeing retarded change logs that only say "minor fixes and improvements" also discourages me to use non-stable builds.
unknownzd wrote:
set it as cached with PHP header() function
This is better done in the server configuration instead of trough PHP. When you use proper file extensions, you can configure the server to do stuff like sending all .css files with the proper MIME type and caching properties.
But, of course, phpBB sends
Source_engine wrote:
I really do like to go with the flow instead of being spied by jews.
LOL
arez wrote:
content seems useful (to some who care) but your marketing sux
That makes me a sad apple
ChrisTX wrote:
unknownzd wrote:
First it doesn't work on latest Chrome release on dev channel ...... secondly I don't see there is an cache option in the HTTP header ..... could you just set it as cached with PHP header() function please? Connection:close Content-Type:text/css; charset=UTF-8 Date:Tue, 19 Oct 2010 07:48:00 GMT Expires:Tue, 26 Oct 2010 07:48:00 GMT Server:nginx/0.7.65 Transfer-Encoding:chunked X-Powered-By:PHP/5.2.13
That being because there is no option to cache, only not to cache. For instance if the header was HTTP/1.1 ( chrome is omitting the HTTP version btw? ), then caching could be prevented with Cache-Control: no-cache or - that would also work on HTTP/1.0 - Pragma: no-cache.
However, this would require direct modification of phpBB's files which I don't think ResR will do, since this would naturally increase the load on the forum.
Wait, isn't there an "Expires" header? I guess that's enough.
_________________ I'm convinced that the only thing that kept me going was that I loved what I did.
Users browsing this forum: No registered users and 5 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum