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 - Nao
3496
Off-topic / Re: Spirate
« on March 4th, 2013, 05:08 PM »
For the 5th or 6th time..? ;)
3497
Okay, so... These last few days have been hectic IRL. Not in bad sense. It's been gotten hard to work on Wedge, I'm expecting 'full recovery' next weekend. I've worked exclusively on this popup, trying to make it less annoying, and been plagued with different bugs.
So, right now, what I have is a popup that only shows on focus, and gets hidden on blur, so that's all good, but I can't seem to animate it (not sure why... Have yet to look into it seriously), and most importantly, it closes as soon as I click somewhere in the popup, ah ah... I didn't think of that one, but clicking there will trigger a blur on the input box, that's very, coldly logical... I tried to turn to .focusout instead, but I can't seem to get a way to determine the current target, I'm only getting the input text I'm blurring from, so it looks like it's going to be hard. And I don't want to introduce some weird hack using some kind of static variable to keep track of where the focus is.
One of the good things of my current code, though, though, is that it no longer adds extra HTML to all pages, just a hundred bytes of JavaScript to script.js, or something like that. (It was the whole point for me, originally...)

Am I to understand that no one is interested in an implementation that's conceptually similar to what can be experienced in xenForo..? It's ultimately what I'm trying to replicate. (Without some of its bells and whistles, though.)
3498
Off-topic / Re: Spirate
« on March 4th, 2013, 04:49 PM »
And, err... SMF never did anything against them..? Even though apparently they were aware of this fork's existence..?

@Maxx> I remember you were there a lot. I was also quite interested in Bloc's work (fork and themes), although never really got into its roots. I don't remember him saying anywhere that he was going away. Then again, I'm not surprised, just a bit sad... He's always been very conflicted about his belonging to the SMF universe, after writing pretty much all of the early themes, and then leaving them to other devs.
3499
I'm a bit tired of the XML syntax, especially these days, since I had to refactor an Ajax query to return plain text due to a bug in jQuery 2.0 beta 1 (which was fixed in beta 2, and my bug report is the first on their changelog, yay :P)

I'd tend to favor plain text or JSON...
Anyway.
Oh, that reminds me -- I've recently read that the CDATA stuff inside script tags was only needed for XHTML pages. Which makes sense... And that since Wedge is using HTML5, there's no need for them at all. So I'll remove them. I'm only postponing because I'm not exactly sure whether I can also remove the HTML comments around script text... And yes, I think I can. I think it's an old thing related to some old browser that reacted badly to these things.

I'll just need to gather data on that.
3500
Off-topic / Re: Spirate
« on March 4th, 2013, 07:12 AM »
Isn't this simply a stock SMF with a modded blocweb theme..?

(What has happened to him again BTW? Last few times I checked, his sites were all down... :sob:)
3501
Development blog / Re: The saga of the Add-on Manager
« on March 2nd, 2013, 06:34 PM »
Spam. Pretty sure about it... old topic + unrelated post + generic content + commercial website link but no forum in it...
3502
Archived fixes / Re: Little Problem on Topic View
« on March 1st, 2013, 07:12 PM »
Nope, they don't... Only IE10 does.
And if IE10 keeps giving a version 10 in the user agent, no wonder everything would break.

As for IE 7-8, I have to say, it's been quite a few weeks since I last launched an IE to test Wedge on it... So, seriously, I'd expect it to be broken there. Horribly broken. And you know what...? I don't care at all. I think the last IE bugs I fixed, some time ago, were like the final nail in the coffin for my interest in keeping compatibility with IE.
Not that I'll break IE on gold release, I'll work on it, I just won't have it in my regular debug/testing workflow... Only as a last-minute thing that gets patched out of pity.
3503
Nice mockup, but it's a kind of button that would be a hassle to implement, compared to the level of use in Wedge... :^^;:

Dragooon, well, good question but... Honestly, have you tried Wedge without JavaScript on...? It's usable, but barely. (Select boxes will not show up, for starters!)
Those users can start their search in the search box (which will STILL work without JS on), then on the next page, they can click the linktree to go back to the full search page... Or whatever suits them.

Okay, current status, the popup is called on focus, it still disappears after blur though, but it's just 'the beginning'... Also, the contents of the popup are now loaded through Ajax, as I previously announced. I'm having difficulties with jQuery though -- it looks like it's giving me internal errors. Oh, and it just froze my PC, too, for like a minute, while I was writing this post... Nice! :^^;:
3504
Okay, here's what I came up with...

Currently, it's hardcoded in the HTML, and shows on popup; it's just a mockup...

The HTML is pretty close to the Search template's, so we might be able to get away with pushing it to a separate template that we call in both situations, with some tweaks, but then it probably means we should do the same for PMs... (?)
Posted: March 1st, 2013, 06:37 PM

Oops, a classic, forgot the attachment... ;)
3505
I don't get what you're trying to say...
If the popup shows up on focus, nothing forces anyone to use it..? Dismissing it (i.e. leaving its options as is) would then perform a regular quick search.

I was thinking, maybe I could push the destination select box to that popup, actually...
3506
Tis true that quick search implies a search within the current topic or board, so we could do away with that...

I'll give it a try.
3507
The Pub / Re: Language editing inside Wedge
« on March 1st, 2013, 04:48 PM »
Quote from Arantor on March 1st, 2013, 02:21 PM
The underlying editing code (i.e. the likes of Class-Editor itself, plus stuff like un_preparsecode, un_htmlspecialchars and friends) expects never to deal with line breaks. No post has line breaks in it, because preparsecode strips them and converts to <br>s (and this needs to stay, too)
But apparently, here, it converts them...
Quote
Well, there's no reason not to have it, if the WYSIWYG editor is reliable. I did not do any tests specifically with WYSIWYG, I merely added the correct code and in theory it should work *shrug*
When I say Wysiwyg editor, I simply mean post box, with all smileys etc. I don't use Wysiwyg either, as you well know, so I'd hardly enable it by default... ;)

So, the extra line is in 'normal' mode.
Quote
Well, there's master and current and both could easily be made italic. It's the sort of thing that I got fed up with it for, I didn't really know what to do with the UI going forward.
I dunno, maybe having the Master/Current captions in italics, the actual strings in regular, and if the current version is different from master, show it in bold...? (Like in Firefox's hidden setting page ;))
Quote
What I meant to do was add another layer of linktree to point to the specific template.
Is there a problem in simply updating the link...? :unsure:
Quote
As per r1961's changelog: "Also note the search function doesn't work yet either." ;)
All right then. I tend to overlook the changelog, it reminds me too much that I have to finish translations... :lol:
Quote
Quote
- I forgot... Do you still plan to allow for caching English + French next, or something...? I don't remember.
It's the plan. It's just a plan at this stage though.
It's a bit strange to be in a situation where missing strings are again generating errors... :^^;: (e.g. EmailTemplates.)
3508
I know, there's no easy solution. The xF version looks great, but it also adds 2 kilobytes of HTML, so I thought about doing it in Ajax, but it requires refactoring the search template, and I don't really have time for this this week (I think.) (Then again maybe I'll do it in ten minutes..)
I originally wanted to do the mini-menu popup, and only on focus, but failed on both accounts, so I took the easy way out, ah ah...
Warm search box is also broken, BTW, because of the difference in alignment (left sidebar) and color (left sidebar and bottom sidebar.)
I'll need to fix that...
3509
Features / Re: New revs
« on March 1st, 2013, 03:33 PM »
rev 1969 - I'm stepping through the door, and I'm floating in a most peculiar way...[1]
(6 files, 3kb)

+ As promised, here's a dropdown for the 'Advanced Search' link in the search box... It uses the HTML and CSS for main menus, adding about 12 gzipped bytes of HTML, 19 of CSS and 4 of JavaScript. It looks... All right. Especially for the cheap price.[2] (index.template.php, index.css, script.js)

* Simplified and improved the board list/label list areas in search pages. (PersonalMessage.template.php, Search.template.php)

! Fixed search input background in some pages. (sections.css)
 1. Remember an old sig of mine? :P
 2. Very interested in opinions! Should I switch to a mini-menu style instead..? It'll probably be a bit more expensive. And what about an Ajax-called panel? I'm still interested in doing that.
3510
Features / Re: New revs
« on March 1st, 2013, 01:04 PM »
rev 1968 -- ob-la-di, ob-la-da, life goes oooon...
(4 files, 2kb)

* Strict mode was complaining with Packer, too... Ahem. So, I had to add dummy variables here and there. And remove an entire function that was mistaken for the constructor. Well, technically, it's the author's fault in the first place, but it's okay, the function never was used anyway... (Class-Packer.php)

! Typos. (EmailTemplates.french.php)

! This translation needed to be viewed in context before it made sense to me, ah ah... (ManageSettings.french.php)

* Pathetic spacinazi. Someone hasn't taken their medication today... (JSEditor.php)