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.
1126
Plugins / [Plugin] Re: Notifications system (1.0)
« on March 28th, 2013, 04:54 PM »
It's no more creepy than Facebook is, after all ;)
(I think XF has that as an option, actually)
(I think XF has that as an option, actually)
1127
Plugins / [Plugin] Re: Notifications system (1.0)
« on March 28th, 2013, 04:51 PM »
Well, yes, that's what I meant :P But you see what I'm getting at - some people will want notifications on *everything* and some just on what interests them.Quote Sounds legit :bravo:
plus the notify on all vs notify on unread is something that's easily resolvable via handleMultiple as far as I can think.
1128
Plugins / [Plugin] Re: Notifications system (1.0)
« on March 28th, 2013, 04:43 PM »What is the difference between "notify" and "watching" a topic? Seems redundant to me?
(And I can imagine admins wanting to beat their users with a stick YOU WILL HAVE NOTIFICATIONS ON ALL POSTS AND YOU WILL LIKE IT >_<)
1129
Plugins / [Plugin] Re: Notifications system (1.0)
« on March 28th, 2013, 04:37 PM »
Is that notification on 'new topics', 'new posts in topics you're watching' and 'new posts in topics you're watching but only for the first unread post'?
As for boards, is that 'new topics', 'new topics and new posts in topics you're watching', 'new topics and all new posts'?
There are people who want this stuff >_<
(I'm not sure whether it *should* be, I'm just trying to get a feel for what it currently is and what the plans are for it rather than whether it should do these things.)
As for boards, is that 'new topics', 'new topics and new posts in topics you're watching', 'new topics and all new posts'?
There are people who want this stuff >_<
(I'm not sure whether it *should* be, I'm just trying to get a feel for what it currently is and what the plans are for it rather than whether it should do these things.)
1130
Plugins / [Plugin] Re: Notifications system (1.0)
« on March 28th, 2013, 04:32 PM »
Just checking ;)
That would also mean we need to figure out some way of getting people to notify for a given board or topic that they're watching... and that does need to be in the core.
That would also mean we need to figure out some way of getting people to notify for a given board or topic that they're watching... and that does need to be in the core.
1131
Plugins / [Plugin] Re: Notifications system (1.0)
« on March 28th, 2013, 04:19 PM »
That works for me.
Also, when looking through the code the other day, I realised the subtle change that occurs... it actually replaces the old notifications area for board/topic notifications by replacing area=notification in the profile. I take it that was intentional?
Also, when looking through the code the other day, I realised the subtle change that occurs... it actually replaces the old notifications area for board/topic notifications by replacing area=notification in the profile. I take it that was intentional?
1132
Features / Re: Plugin revs
« on March 28th, 2013, 04:15 PM »
(2 files, 1KB)
Revision: 78
Author: arantor
Date: 28 March 2013 15:14:56
Message:
! [Calendar] Update permissions setup.
! [Topic Solved] Update permissions setup.
----
Modified : /calendar/plugin-info.xml
Modified : /topic_solved/plugin-info.xml
Revision: 78
Author: arantor
Date: 28 March 2013 15:14:56
Message:
! [Calendar] Update permissions setup.
! [Topic Solved] Update permissions setup.
----
Modified : /calendar/plugin-info.xml
Modified : /topic_solved/plugin-info.xml
1133
Features / Re: New revs - Public comments
« on March 28th, 2013, 04:00 PM »At some point you renamed 'simple' and 'classic' to 'name', at other points to 'group'. I suspect the one above should say 'group' instead of 'name', but I'm not sure
:edit: One deals with the permission groups, one deals with the individual permissions and the group it is supposed to go into. They should not both be the same. I will fix it in my next rev.
True enough. Although not always done... (e.g. notification action.)
(It is so tempting for me to remove themes as a feature entirely, because skins can do so much more... The only thing they have for themselves, is the ability to replace a template file. But it should be possible to simply put these files into our skin files... Why not?! I'm so familiar with my skin code, and so unsure about theme code... Heck, I've never tried to install an additional theme in Wedge. Everything can be done with skins so...)
So, I take it it's untested, right..?
I don't know, Pete.
All I know is that SMF has this:
And you have a similar one, except you're using $txt instead of file_get_contents.
The rest is the same, i.e. you parse_bbc it. If you didn't want it to be parsable, you should remove the parse_bbc call and revert the $txt strings to use HTML instead
The reason my file had no line breaks and br tags in it is because I ran it through preparsecode. That's what preparsecode does, amongst other things: strips the line breaks and converts them to br tags. I then specifically call un_preparsecode on it when I prepare it for the rich text editor so that people can use full formatting it without having to get their hands dirty like they had to in the old days - hell, most people didn't even know the agreement supported bbc parsing.
So I checked parse_bbc and lo, there is a linebreak to br conversion, yet I cannot think of a single time outside of this one area where this ever EVER comes into play.
The news area... stores all news items, one per line, with preparsecode having chewed through and converted all the line breaks to br tags.
Posts... they're all on one line, not that it seriously matters either way.
Agreements... they're the odd ball. I deliberately tried to harmonise it - working under the assumption that it had to be that way as it was my understanding that parse_bbc didn't do linebreaks.
But now everywhere that uses parse_bbc gets its content with preparsecode attached, agreements never used to get that IIRC. Result: everywhere that parse_bbc gets content, it's doing it without line breaks, therefore no need for parse_bbc to convert line breaks, therefore agreements shouldn't have line breaks anyway.
Well, exactly... I was talking about translators, in this case.
In which case, having a long line of text will be annoying to translate for them, unless they enable wrap mode, but not everybody thinks of that. (Heck, I pretty much never enable wrap mode, except when I have to read a TXT file that was built that way...)
What do you mean, Pete? They get the Welcome template by default. Which is geared towards a 'starting' forum. Heck, I can't bother to write the UI for the default homepage target, allowing for users to choose whether they want to target a specific page, or action, or board list, or specific board (or even topic, why not...)
The idea of having a template like this is a noble one, but it's also sadly naive of our userbase - it's giving them infinitely more credit than most of them would actually be due.
This is why I've been talking about content management and adding a CMS into the mix for the simple reason that most admins can only manage something if given a nice UI to play with, it's why so many of them jump to Simple Portal and co, so that they can have nice front pages and so on.
First thing for that is to allow for the homepage (most often modified page) to be overridden and redirected to another page of yours.
1134
Features / Re: Crazy idea: fonts as a preference
« on March 28th, 2013, 03:40 PM »In order to offer different font choices to the user:
I'm thinking a single dedicated option in the profile area. Or even in the sidebar. And then along with it a change-of-font-size menu. This would be a nightmare to do with skins since you'd need to have multiple variations of each skin.
1135
Features / Re: New revs
« on March 28th, 2013, 04:53 AM »
(7 files, 6KB)
Revision: 2031
Author: arantor
Date: 28 March 2013 03:52:37
Message:
! Missed English UK translation. It's entirely possible there will be more. (Reports.english-uk.php)
! Group styling is now handled with CSS classes, dynamically pulled into index.css. It's all very magical. If you're very good, I might even extend this to include bold and italics and stuff. But only if you're very well behaved. (ManageMembergroups.php, Profile-Modify.php, Subs-Cache.php, Subs-Membergroups.php, Subs-Template.php, index.css)
----
Modified : /trunk/Sources/ManageMembergroups.php
Modified : /trunk/Sources/Profile-Modify.php
Modified : /trunk/Sources/Subs-Cache.php
Modified : /trunk/Sources/Subs-Membergroups.php
Modified : /trunk/Sources/Subs-Template.php
Modified : /trunk/Themes/default/languages/Reports.english-uk.php
Modified : /trunk/Themes/default/skins/index.css
Revision: 2031
Author: arantor
Date: 28 March 2013 03:52:37
Message:
! Missed English UK translation. It's entirely possible there will be more. (Reports.english-uk.php)
! Group styling is now handled with CSS classes, dynamically pulled into index.css. It's all very magical. If you're very good, I might even extend this to include bold and italics and stuff. But only if you're very well behaved. (ManageMembergroups.php, Profile-Modify.php, Subs-Cache.php, Subs-Membergroups.php, Subs-Template.php, index.css)
----
Modified : /trunk/Sources/ManageMembergroups.php
Modified : /trunk/Sources/Profile-Modify.php
Modified : /trunk/Sources/Subs-Cache.php
Modified : /trunk/Sources/Subs-Membergroups.php
Modified : /trunk/Sources/Subs-Template.php
Modified : /trunk/Themes/default/languages/Reports.english-uk.php
Modified : /trunk/Themes/default/skins/index.css
1136
Features / Re: Additional formatting of user names
« on March 28th, 2013, 04:46 AM »
Anyway, I have a working version of it using classes rather than inline styles. I haven't benchmarked it for size, but it should perform a little better because I don't need to fetch all the colours as such, I only need to fetch (and thus *cache*) the actual name->primary group association, because colours are already cached elsewhere.
This also means the usual gamut of appropriate cache flushing, which I think I've nailed.
There are some other interesting possibilities that come out of this. I've implemented it as top level classes, i.e. quite literally .group1, .group2 etc for all groups that actually have colours. What it does mean is that the often-requested 'Blizzard style posts' can be done *crazy* easy, because now the principle styling of groups is not tied into the group itself.
So if you want to style an entire post with the same formatting, just add the relevant class in - which shouldn't really be a problem from my perspective. There are all kinds of weird exceptions, like quotes, but I figure that's all fixable too. What I want to know is whether people would genuinely find it useful to have that, or whether I shouldn't bother making it an option or anything. Doing it as a plugin would be possible but not particularly pleasant (it would be better to make it core rather than not)
I haven't figured out what I want to do with things like offering easy options in the admin panel about group icons or anything like (but that could actually be a plugin!) or styling things like bold, italic etc. (which I'd rather were core than not, because while it's possible to do the UI side of it, doing the admin side is going to be... not so nice)
Oh hell I just found a problem, and I'm really not sure how best to fix this.
The profile links in topic display all have class .umme attached to them, and currently the rewriter is adding two class attributes. I presume similar would happen with the mentions tag too (since the member bbc converts to include a class="mention", though I don't see what it's doing at present)
I might try and modify wedge_profile_colors() to get pre-existing classes, but that's where I'm up to.
OK, I think I fixed it, by modifying wedge_profile_colors() but also that feels hacky; strpos and string slicing seems not how I should be doing this but it is at least linear in operation.
Yup, fixed it, wedge_profile_colors now does it correctly. I think Imma go commit this.
This also means the usual gamut of appropriate cache flushing, which I think I've nailed.
There are some other interesting possibilities that come out of this. I've implemented it as top level classes, i.e. quite literally .group1, .group2 etc for all groups that actually have colours. What it does mean is that the often-requested 'Blizzard style posts' can be done *crazy* easy, because now the principle styling of groups is not tied into the group itself.
So if you want to style an entire post with the same formatting, just add the relevant class in - which shouldn't really be a problem from my perspective. There are all kinds of weird exceptions, like quotes, but I figure that's all fixable too. What I want to know is whether people would genuinely find it useful to have that, or whether I shouldn't bother making it an option or anything. Doing it as a plugin would be possible but not particularly pleasant (it would be better to make it core rather than not)
I haven't figured out what I want to do with things like offering easy options in the admin panel about group icons or anything like (but that could actually be a plugin!) or styling things like bold, italic etc. (which I'd rather were core than not, because while it's possible to do the UI side of it, doing the admin side is going to be... not so nice)
* Arantor continues to ramble on late into the night.
Posted: March 28th, 2013, 03:45 AM
Oh hell I just found a problem, and I'm really not sure how best to fix this.
The profile links in topic display all have class .umme attached to them, and currently the rewriter is adding two class attributes. I presume similar would happen with the mentions tag too (since the member bbc converts to include a class="mention", though I don't see what it's doing at present)
I might try and modify wedge_profile_colors() to get pre-existing classes, but that's where I'm up to.
Posted: March 28th, 2013, 04:07 AM
OK, I think I fixed it, by modifying wedge_profile_colors() but also that feels hacky; strpos and string slicing seems not how I should be doing this but it is at least linear in operation.
Posted: March 28th, 2013, 04:30 AM
Yup, fixed it, wedge_profile_colors now does it correctly. I think Imma go commit this.
1137
Features / Re: Crazy idea: fonts as a preference
« on March 28th, 2013, 03:27 AM »- Way too many people do not know about this, not only about the hot keys, but even the options in the View menu. In Opera it's much easier/visible though.
- After all this is a zoom function, so it resizes not only the text.
1138
Features / Re: Crazy idea: fonts as a preference
« on March 28th, 2013, 02:14 AM »Hmm, can't I control that in my browser prefs already?
Now before anyone goes off and says crazy things like 'well users can have their own style sheet' or 'people can pick different skins if they want different fonts', let me say that you're missing the point. Yes, users can have their own style sheet. They can pick different skins if they want. But if they can pick different skins, why shouldn't they be able to pick a choice of fonts that works better for them than what a skin necessarily mandates?
IMO an easy way to change font size is a must, and I do not think there is a need to explain why. As for font type it's rarely a problem for me, but this post:
http://www.simplemachines.org/community/index.php?topic=490658
...made me realize that font type could be very important for some people. And maybe it's of big importance not only for the people with dyslexia.
1139
Plugins / [Plugin] Re: Notifications system (1.0)
« on March 28th, 2013, 12:14 AM »
Sure it was... it's debugging information in trying to figure out where the popup should be displayed.
1140
Features / Crazy idea: fonts as a preference
« on March 27th, 2013, 11:40 PM »
Forum use is inherently a reading activity and different people prefer different font sizes and styles.
Kindle allows people to choose different themes and font sizes, the iBooks app allows people to choose different themes, font sizes and has a choice of fonts.
The idea of presenting different fonts as a choice to users intrigues me.
Now before anyone goes off and says crazy things like 'well users can have their own style sheet' or 'people can pick different skins if they want different fonts', let me say that you're missing the point. Yes, users can have their own style sheet. They can pick different skins if they want. But if they can pick different skins, why shouldn't they be able to pick a choice of fonts that works better for them than what a skin necessarily mandates?
I'm not saying this has to be a core feature, nor am I saying it has to be a plugin, or anything of the sort. I just want people to consider the idea of having font choices :)
Kindle allows people to choose different themes and font sizes, the iBooks app allows people to choose different themes, font sizes and has a choice of fonts.
The idea of presenting different fonts as a choice to users intrigues me.
Now before anyone goes off and says crazy things like 'well users can have their own style sheet' or 'people can pick different skins if they want different fonts', let me say that you're missing the point. Yes, users can have their own style sheet. They can pick different skins if they want. But if they can pick different skins, why shouldn't they be able to pick a choice of fonts that works better for them than what a skin necessarily mandates?
I'm not saying this has to be a core feature, nor am I saying it has to be a plugin, or anything of the sort. I just want people to consider the idea of having font choices :)