Show Posts

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.

Messages - Arantor
4876
Other software / Re: SMF / Wedge and SSL?
« on February 16th, 2012, 09:16 AM »
Both do, but it is very much an all or nothing scenario for exactly the reason you mention, since if you're serving the main site in HTTPS, you need to serve all the images and all the scripts the same way. In the Server Settings area, you'll find an option for securing the site which deals with the cookies.
4877
Features / Re: Privacy options
« on February 16th, 2012, 12:15 AM »
I'm in agreement with the use of 'contacts' vs 'friends'.

As far as going with contacts, having a facility to track such things is no bad thing, especially as it covers stuff like easy-contact lists for the purpose of sending PMs, though I guess it depends how readily users can make contact lists themselves and how many lists they can have.
4878
The Pub / Re: Logo Madness
« on February 15th, 2012, 11:50 PM »
I managed to miss the entire post, I hadn't seen any of them until I posted earlier...

I prefer 8 to 6 in the above.
4879
Features / Re: New revs - Public comments
« on February 15th, 2012, 11:24 PM »
No, I'm just planning to watch an episode or two a day. Mind you, if I can find a *good* SVN client, I can develop on here as well.

(I already have Komodo Edit but it should be quite easy to make Notepad++ work)
4880
Features / Re: New revs - Public comments
« on February 15th, 2012, 10:51 PM »
Well, I haven't seen any other places where it's broken but I guess I can give it some testing; I'm on my Mac for the rest of the evening (because my PC currently can't play DVDs, and I got the Buffy collection today!) and I have MAMP on there so I can install it.
Quote
More importantly, it also sets the fallback variable type. i.e. if you have "undefined || false", it the final variable will be a boolean, not undefined.
*nods* It's a nice shortcut, however I guess I prefer the more thorough requirement with isset().
4881
The Pub / Re: Logo Madness
« on February 15th, 2012, 06:02 PM »
I missed #907 the first time around >_<

nwl1 seems more in keeping with the main logo in the current sidebar and that's grown on me so I like the image part, but I'm not keen on the font in nwl1-3, nor am I so keen on the triangles in 2 or 3 (but if it was a choice, 2 before 3)

nwl4 I like as a main logo, not so much the font. "All bold capitals" doesn't sit well with me.

nwl5, the capitals aren't as bad this time around, I'm guessing my eyes find the brown tone softer to look at, and there's consistency between the writing and the icon, but the triangles seem kinda vague.

nwl6, I like the fact the text has the colours to match the icon but I'm not liking the gradient behind it.

bom1, I like the logo itself, I like it a lot, but I'm not sold by the text.

bom2, less sold by the icon/logo, text much as before.

bom3, not a huge fan of the bendy triangles, and I'm just reminded of a sandwich toaster with the logo :/
4882
Features / Re: New revs - Public comments
« on February 15th, 2012, 05:57 PM »
Quote
you don't need to set a blank value either, although it's also the case on anything that's set to disabled
Well, I had trouble with val("") to force it to be reset at one point which is why one of the selects got an option with value 0 even though it would never be actually used for anything.
Quote
No no. It doesn't change a thing... data-hide will simply mark the item to not show up in the list. It's one of these neat little 'extra' sbox features I'm proud of
I was concerned that it would break things, because there is more than one place where a default value should be thrown at the user so they have to do something but it looks like it all works properly :)
Quote
It only broke because I'd removed the empty value on the data-hide. After noticing that it showed an area it shouldn't, I quickly restored the empty value and all was well.
Yeah, it's funny like that, though I need to change some of the code slightly as it happens because that screenshot showed me an interesting bug from the code, not a hard one to fix though.
Quote
BTW, that UI is really cool  It's like a conversation between the admin and the website...! Or a wizard, if you like!
Thanks :) That's really the point: there's no other way I could think of doing this than as a wizard type deal, simply because of the complexity involved in getting all the information required. The only decision was whether to string it out over several pages or do it all in JS in the one page.
Quote
.toggle(true) = .show()
.toggle(false) = .hide()
.toggle(hello) = {
  if (hello)
    .show()
  else
    .hide()
}
See, I forget stuff like that. It doesn't help that I haven't touched jQuery much in the last 3 months, I've been working mostly in Impact which is a very different beast, though it does all kinds of neat stuff with classes and extending thereof.
Quote
I'd love to be able to do ($something = $param || 0) in PHP
As an expression? What should that expression mean logically? (Seems to me like it means $something = (bool) $param)
Quote
Well, it's just an example. Of course PHP has default values for function parameters, but it'd be nice to have it everywhere.
Oh, essentially being shorthand for $something = isset($param) ? $param : 0, I see. The thing is, JS has a very different idea of what a variable is compared to PHP and I think I prefer PHP's idea in that direction.
4883
Features / Re: New revs - Public comments
« on February 15th, 2012, 05:29 PM »
Quote
- A class="hr" doesn't need to declare disabled, it's done by sbox automatically,
Cool, wasn't sure exactly what it did or didn't do.
Quote
- I added a couple of data-hide's
With the result that a selectbox now has a pre-filled value where it wouldn't have had one before? I've been careful with that, to make sure things have a forced empty value to work with, most importantly the selectbox that's populated with the list of rule types (name="condtype") because if it's not done that way, it's actually going to break functionality. As is the one at the top (name/id="action"), they're implicitly supposed to have a default empty value so that the user *has* to do something with them before they can proceed.
Quote
- Replaced text-align styles with left/right/center classes.
Cool.
Quote
- Some .show()/.hide() combinations were turned into .toggle()
Which ones? With some of them, there's no certainty over whether the content is hidden or shown, and it needs to be pushed to a specific state.
Quote
Removed {} when there's only one line. I don't like this jQuery "habit"
I always forget whether JS supports this syntax or not :/
Quote
Used bindEvents at one point, instead of reproducing the function. I just modified bindEvents to allow passing specific DOM elements to it.
I was gonna ask you about that, actually.
4884
Features / Re: New revs - Public comments
« on February 15th, 2012, 05:15 PM »
Feel free to modify the JS any way you see fit - as long as it works afterwards ;)
4885
Features / Re: Moderation filters UI
« on February 15th, 2012, 05:15 PM »
No, it's not the same thing at all, and that's precisely why I didn't call it 'moderation rules' as a whole thing.

When you start using the functionality, it becomes very clear that its overlap with permissions is... limited at best.
4886
Features / Re: New revs - Public comments
« on February 15th, 2012, 03:54 PM »
While my testing wasn't what could be called thorough, it does seem to work as expected. I created a new user, test3, whose display name is test3 "testing" test, and I was able to send that message just fine, with all behaviour exactly as expected.
Posted: February 15th, 2012, 03:50 PM

Though, looking at it, I think somewhere we broke something, I go to a profile, and 'send a message' just goes to the base send-PM page, no user id is being passed.
Posted: February 15th, 2012, 03:53 PM

That is, going through the menu; the send-PM link in the personal info area is fine.
4887
Features / Re: Moderation filters UI
« on February 15th, 2012, 03:20 PM »
OK, well, some of the interface is working, it's still heavily WIP though (and doesn't save any rules yet)

Latest screenshot attached.
4888
Features / Re: New revs
« on February 15th, 2012, 03:18 PM »
(2 files, 2KB)

Revision: 1342
Author: arantor
Date: 15 February 2012 14:18:12
Message:
! Post count is now part of the UI for moderation filters (still as before, the backend handler doesn't exist yet) but it's another on the list of things that are implemented. (ManageModeration.template.php, ManageSettings language file)
----
Modified : /trunk/Themes/default/ManageModeration.template.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
4889
Features / Re: Selectbox
« on February 15th, 2012, 12:00 AM »
*nods* Works for me :)
4890
Features / Re: New revs
« on February 14th, 2012, 11:54 PM »
(15 modified, 25KB)

Revision: 1340
Author: arantor
Date: 14 February 2012 22:53:02
Message:
! Moved 'show quick login' to Reg/Login settings, because it's not really a theme setting any more. (install.sql, Load.php, ManageRegistration.php, Settings.template.php, Help + ManageSettings + Themes language files)

! Stupid bug with unapproved members in the menu area. (Subs.php)

! Partial commit of the add-rule interface for the moderation filters. You can go through the motions of adding rules - but only for groups and boards right now (and I'm not very happy with how the boards one looks), but the actual save button doesn't work at present. More will be added, I just wanted to get this committed at a convenient stopping place before my brain gave out. The code is not pretty, could almost certainly be reworked and improved, but this is mostly a first draft more to test the UI structure and design rather than being perfect code. (ManageModeration.php, ManageModeration.template.php, ManageSettings language file)
----
Modified : /trunk/Sources/Load.php
Modified : /trunk/Sources/ManageModeration.php
Modified : /trunk/Sources/ManageRegistration.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Themes/default/ManageModeration.template.php
Modified : /trunk/Themes/default/Settings.template.php
Modified : /trunk/Themes/default/languages/Admin.english.php
Modified : /trunk/Themes/default/languages/Admin.french.php
Modified : /trunk/Themes/default/languages/Help.english.php
Modified : /trunk/Themes/default/languages/Help.french.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
Modified : /trunk/Themes/default/languages/ManageSettings.french.php
Modified : /trunk/Themes/default/languages/Themes.english.php
Modified : /trunk/Themes/default/languages/Themes.french.php
Modified : /trunk/other/install.sql


@ This isn't particularly battle tested either, mostly because it's still so unfinished. But it took me all day to get to this point where I'm reasonably happy with it. Will look at testing all the things that have been changed in the last few commits, just not right now, because I'm a bit tired from doing this stuff, maybe tomorrow.