This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
7891
The Pub / Re: Wedge & SEO
« on March 31st, 2011, 09:49 AM »
Firstly, please read http://www.simplemachines.org/community/index.php?topic=427913.0
Secondly:
* proper use of headers is not that significant, especially in an environment where the bulk of the actual content is user generated and that trying to optimise it is more like picking the exact shade of a colour rather than picking the colour as a whole
* there are no alt attributes in the code for the majority of images seeing that HTML 5 does not require them (and we use an HTML 5 doctype)
* image width and height - funny how even the W3C has been pushing for years to deprecate those
* most of the input elements have labels anyway
* default privacy policy is a bit difficult seeing how while it's a legal requirement in most places, that puts the onus on us to figure out a default policy that meets the legal requirements of all the different countries - which we're not responsible for in the slightest
* Can-Spam Act... do the notifications not include a link to unsubscribe from them?
* Proper Contact-Us, we can probably do
I should note that other than the first item, none of the above are actually useful in SEO terms.
Secondly:
* proper use of headers is not that significant, especially in an environment where the bulk of the actual content is user generated and that trying to optimise it is more like picking the exact shade of a colour rather than picking the colour as a whole
* there are no alt attributes in the code for the majority of images seeing that HTML 5 does not require them (and we use an HTML 5 doctype)
* image width and height - funny how even the W3C has been pushing for years to deprecate those
* most of the input elements have labels anyway
* default privacy policy is a bit difficult seeing how while it's a legal requirement in most places, that puts the onus on us to figure out a default policy that meets the legal requirements of all the different countries - which we're not responsible for in the slightest
* Can-Spam Act... do the notifications not include a link to unsubscribe from them?
* Proper Contact-Us, we can probably do
I should note that other than the first item, none of the above are actually useful in SEO terms.
7892
Other software / Re: So, I've been asked...
« on March 31st, 2011, 09:34 AM »
I did call 'em out on it, waiting for a follow-up reply. Seems that the current management aren't aware that one of the 'core devs' links to a phpBB forum in their signature, which hardly seems like an appropriate behaviour, and if anything worse than I'm doing.
Yes, I'm well aware of the SMF-Friends saga, only too acutely. Which is why I removed it in the first instance and then challenged it, so that they have absolutely no grounds to claim that I'm being unreasonable about it.
Yes, I'm well aware of the SMF-Friends saga, only too acutely. Which is why I removed it in the first instance and then challenged it, so that they have absolutely no grounds to claim that I'm being unreasonable about it.
7893
Plugins / Re: Plugin hooks
« on March 31st, 2011, 09:29 AM »
I was going to write up a rebuttal to each of the points being made here, but I'll sum it up in two sentences.
Firstly, did it occur to anyone reading this debate that the above points *hadn't* gone through either or both of our minds?
Secondly, I see a lot of talk about being the best it can be and doing it a certain way which certainly sounds grand - but wake me up when you actually have some idea of how you think it should be implemented, because I'm telling you from a practical POV, it really isn't as grand as that in reality, reality just doesn't work that way.
Firstly, did it occur to anyone reading this debate that the above points *hadn't* gone through either or both of our minds?
Secondly, I see a lot of talk about being the best it can be and doing it a certain way which certainly sounds grand - but wake me up when you actually have some idea of how you think it should be implemented, because I'm telling you from a practical POV, it really isn't as grand as that in reality, reality just doesn't work that way.
7894
Other software / So, SMF has declared the cold war...
« on March 31st, 2011, 02:24 AM »
Apparently, there's a rule that no links to other forum packages - the example given was MyBB - in signatures and would I remove the Wedge image from my sm.org sig.
I have just replied asking whether it's appropriate for team members to be linking to phpBB forums and will await the reply with interest.
EDIT: Did I mention that I'd never heard of this rule before now?
EDIT 2: Wait until I point out a few things of interest, such as the fact that it violates their Core Values. This is going to be hilarious.
:edit: 3 by Nao: renamed topic from "So, I've been asked..." to something that's clearly more in line with the contents.
I have just replied asking whether it's appropriate for team members to be linking to phpBB forums and will await the reply with interest.
EDIT: Did I mention that I'd never heard of this rule before now?
EDIT 2: Wait until I point out a few things of interest, such as the fact that it violates their Core Values. This is going to be hilarious.
:edit: 3 by Nao: renamed topic from "So, I've been asked..." to something that's clearly more in line with the contents.
7895
Plugins / Re: Plugin hooks
« on March 31st, 2011, 12:19 AM »Think of a switch statement. You have a list of conditions and a default. The very nature of a switch is faster than a nested if. Make a small c prog and look at the machine code/object code.
Find out if that action has a hook then contenue through the action then knowing the path needed to go.
Make hooks one of the first things done when an action is requested by way of a switch.
Template system. 100% static.
Only echo predefined values. Gives modders a way of changing the template, without changing the template.
Mysql storable, cacheable.
Different templates for different days, so to speak
Use switches in every possible time, instead of ifs.
Dont use memory/hd unless there is no other way to do it.
Mysql and apache are already using resourses, reuse those in every conceivable fashion instead of drawing more resources.
If you dont need a particular setting, dont load it.
Even comments generate more lines of code cause it has to determine if it is a comment or not.
What im saying is, preprocess, process, display using as few steps as possible.
7896
Off-topic / Re: Hi all!
« on March 30th, 2011, 11:46 PM »
Sorry, kid. You got the gift, but it looks like you're waiting for something.
[inevitably] What?
Your next life, maybe. Who knows? That's the way these things go.
[inevitably] What?
Your next life, maybe. Who knows? That's the way these things go.
7897
Off-topic / Re: Post count fever
« on March 30th, 2011, 06:02 PM »
I'm ... an afternoon's worth (at most) behind?
7898
The Pub / Re: Is there some documentation for mod writers / theme designers ready?
« on March 30th, 2011, 04:33 PM »
Considering that the code is replaced with HTML of the theme's choice later, yes...
7899
Off-topic / Re: Hi all!
« on March 30th, 2011, 04:04 PM »
I can't remember if we did that or not, actually...
7900
Off-topic / Re: Hi all!
« on March 30th, 2011, 04:02 PM »
Wasn't me either, which rules out deliberate action - so it's either a software error or user error...
7902
The Pub / Re: Is there some documentation for mod writers / theme designers ready?
« on March 30th, 2011, 01:57 PM »
There are sprite images, but they're not stupid ones. The bbcode images, for example, is a sprite - but they can be overridden. The little images by menu icons (like here) are a single sprite, but again it's possible to override that to individual images.
But the core of the default theme is not to use massive images like that where possible, and use CSS normally to achieve things.
That said, it's not a huge amount of work if you want to revert things; one of the things Nao did was create a meta code of sorts, <we:cat> and <we:title> that get turned in to the relevant divs and h3 tags that make the cat and title bars. Here's where it's neat: that's defined in the settings of a theme or theme variation, which means the templates all use <we:*> (so it's trivial to keep consistency in add-ons) and the theme dictates the code it wants to use, meaning you could use Curve's HTML if you wanted. Not that it would be a good idea... but you could if you wanted.
But the core of the default theme is not to use massive images like that where possible, and use CSS normally to achieve things.
That said, it's not a huge amount of work if you want to revert things; one of the things Nao did was create a meta code of sorts, <we:cat> and <we:title> that get turned in to the relevant divs and h3 tags that make the cat and title bars. Here's where it's neat: that's defined in the settings of a theme or theme variation, which means the templates all use <we:*> (so it's trivial to keep consistency in add-ons) and the theme dictates the code it wants to use, meaning you could use Curve's HTML if you wanted. Not that it would be a good idea... but you could if you wanted.
7903
The Pub / Re: Is there some documentation for mod writers / theme designers ready?
« on March 30th, 2011, 01:36 PM »
It's one of the best things I've seen in a long while, it makes creating theme variations and theme editing a ton simpler IMO. (I was able to navigate around that a whole lot faster than SMF's own CSS, certainly)
7904
Plugins / Re: Plugin hooks
« on March 30th, 2011, 11:59 AM »
Yeah, modifying the output isn't the same as modifying the template. Anything that's fragile enough to require editing the template itself is going to hit problems sooner or later.
7905
The Pub / Re: Is there some documentation for mod writers / theme designers ready?
« on March 30th, 2011, 10:40 AM »
No, there isn't. Kind of hard to document something that is a moving target and being modified regularly as it evolves...
There are quite a few differences, and likely there will be more as time goes on.
There are quite a few differences, and likely there will be more as time goes on.