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
1801
Archived fixes / Re: select has visibility:hidden on create new topic
« on January 27th, 2014, 04:15 PM »
No, no...
They won't compress a gz file. They have that extension. Why would they compress them again..?

Also, compressing a file by default doesn't mean it's not cached anywhere. Meaning there's a chance it'll have to recompress all of these files on every page load. One of the reasons I wrote this feature was to get rid of one of my servers' tendency to waste time on this.
1802
Archived fixes / Re: select has visibility:hidden on create new topic
« on January 27th, 2014, 12:33 PM »
Re: obfuscation: and..?

Re: CDN, I don't want to add it because it's not officially endorsed by jQuery, so it's harder for me to check whether it's been updated, where it's still active and has good performance, etc.

It doesn't prevent you from adding this as an option through a plugin... :P (Well, okay, plugins probably can't deal with these details right now, which is why I'll be re-adding file edits in the future. But my way, as I said. Anyway. When it's ready. Etc.)
1803
Development blog / Re: That'll do.
« on January 27th, 2014, 11:32 AM »
Quote from pratt on January 25th, 2014, 04:53 AM
Congratulations Nao!

Ive been a long long long time lurker, watching from the shadows how this project has evolved. Im very happy for You (and Pete)!
Thanks!
I don't know if Pete is happy about this public release, though... It's a major competitor for him, and it will now be a bit more obvious that whatever "innovation" he's implementing in SMF, actually was implemented in Wedge years ago. (Thankfully, he's mostly re-implementing his own old things, and leaving mine mostly alone. I don't think he wants to risk breaching the license agreement. I would hope that he doesn't want to risk it, at least.)
Quote from pratt on January 25th, 2014, 04:53 AM
I have a lot of stuff going on, but I would love to colaborate on your project! Lets see if I can free up some time next week and try to come up with a couple of pull requests.

Once again congrats!
I still have a huge to-do list, anyone willing to help on trimming down that one is welcome, but I have to do something and build a 'to do' board, or open github issues about them, I don't know... :^^;:
1804
Quote from Wanchope on January 27th, 2014, 10:51 AM
@Nao
No,I really like it. Hide the post from public with admin and mod permission to view and can restore it. Something like the 'post is hidden'.
"This post has been deleted."
Quote from Wanchope on January 27th, 2014, 10:51 AM
This will also checkmate some autocratic mods as they will not have the permission to hard delete posts, just soft delete. Will be a nice tool in a huge forum with multiple mods.
Anything can hard-delete a post... wesql::query('DELETE * FROM {db_prefix}messages WHERE id_msg = {literal:12345}'); would, in fact, be the shortest way to do it with only a minimal knowledge of Wedge's intricacies.
While soft-deleting would be something like, wesql::query('UPDATE {db_prefix}messages SET deleted = 1 WHERE id_msg = {literal:12345}'); -- pretty much straightforward. (No, that 'deleted' flag doesn't exist, yet.)
1805
Archived fixes / Re: select has visibility:hidden on create new topic
« on January 27th, 2014, 11:24 AM »
View source code in Chrome Mobile: open the URL bar, go to the beginning, and add view-source: to it. Thanks to backwards compatibility, you can't get away with just 'source:'. No, you have to frigging type a long text, and switch keyboard modes 4 times (instead of just once) to find the '-' and ':'. Thank you, Google... :P Or they could just add a View Source menu item if Developer mode is active, of course...
Posted: January 27th, 2014, 11:24 AM

Also, ffio.it is working just fine for me..?! (Apart from JS being disabled because you're on that frigging Google CDN, of course. I may start considering going to the jQuery CDN by default... :lol:)
1806
Plugins / Re: Request - Xmpp chat
« on January 27th, 2014, 11:22 AM »
Quote from Zaiken on January 25th, 2014, 08:09 PM
Facebook uses xmpp everywhere, you can connect to their chat directly with an xmpp client.
Oh, I didn't know they used it as well.
Quote from Zaiken on January 25th, 2014, 08:09 PM
Xmpp is its own standard, and a very low bandwidth, low resource system. I can run server all day and only generate a few mb worth of data where an ajax chat can reach 150mb or more a day with only 20 or so people online, messaging sparratically. And yes, xmpp has extensive privacy systems that can duplicate the one in wedge(with a little scripting), plus handle interactions with other websites and chat servers.
Well, fact is, I don't know how to easily implement it (and easiness is a factor because something complex is hard to maintain), I don't know how to make it 'interact' with thoughts, and I don't think if it's worth working on this now, when I have so many things left to implement.
Quote from Zaiken on January 25th, 2014, 08:09 PM
But if it can send off a realtime notification to a server admin's phone when something goes wrong in the middle of the night,
Well, I know I can send notifications to the Chrome browser, haven't tried it though (it seems to be easy, but notifications are on my back-burner right now), but I suppose if it worked in Chrome Mobile, you'd be able to get these notifications as well...

However, I have 'block mode' enabled on my phone, specifically so I don't get up because of a notification, and I'm pretty sure you'd be pissed to get out of bed just because someone sent you a PM asking how to make this frigging chat work on your forum... :P
1807
Plugins / Re: Plugin request - Ad Management
« on January 27th, 2014, 10:40 AM »
I don't underestimate your skills. To be specific, I underestimated your skills for a long time because you didn't show them off, but you've seen proved that you can be very dedicated to your current task (if anything, the German translation is nothing short of impressive -- you pulled it off from scratch in a couple of weeks, IIRC..?), I just wasn't aware until recently that you had programming skills. Just call it 'ignorance' from me, I think it's neither more nor less than that. ;)

As for the ad management plugin, perhaps we could both work on it, under the Wedge Team flag. (i.e., a 'wedge:ads' plugin.) Maintain it on Bitbucket together in a private repo, and then when we're happy with it, either release it for free, or do something related to member groups.

Re: your PMs, I'm just at a loss right now... :whistle: I need some time to answer them. (Plus all of the other outstanding PMs I have.)
1808
Archived fixes / Re: Opera is now messing up
« on January 27th, 2014, 10:36 AM »
I have no such problem on Opera Developer 20.0, so let's put it down to an 'early version' bug... :-/
Posted: January 27th, 2014, 10:31 AM

I should also specify... Try a new tab, about:flags
Search for 'web platform' and enable that feature. Restart. This now SHOULD work properly for you.
However, my Opera 20.0 specifically has that feature disabled, so that I can have two Chromium-based testing platforms with two very different feature sets each (modern for Chrome, 'standard' for Opera). And they both work for me... :-/
Posted: January 27th, 2014, 10:33 AM

Oh... Silly me?
I forgot that my implementation doesn't follow the standards and forces the sticky flag for 'chrome' (which also includes Opera 18). But the worst that should happen is that the JavaScript in Wedge notices this isn't supported, and then treats it like a static element, which it is at that point for you. And me (on Opera 20). Hmm...
1809
Support / [Aeva] Re: Soundcloud
« on January 27th, 2014, 10:27 AM »
First, let me reproduce your bug...

Code: (end of Subs-Aeva-Sites.php) [Select]
'website' => '[url]http://www.soundcloud.com[/url]',

Hmm. That's unsettling. I'll look into it when I have more time. This is one of the usual 'bugs' in BBC parsing in SMF and forks, BTW. I've fixed this kind of bug many times. It pretty much warrants a rewrite of the protection code, but parse_bbc is a behemoth that no one likes, but still is more efficient than early SMF 1.0 regex versions.

Now, when it comes to iframes, I would recommend that you use the current code in the YouTube embed array. It's more solid, because it's responsive. Then, come back to me. ;)
1810
I don't even want to know about that... :P

See, I'm a big opponent to the whole Recycle Bin thing. To me, a post should NEVER be moved outside of its context. Years ago, I suggested to Pete that we should instead leave posts in place, and just hide them with a specific flag. He wasn't into it because he believed this would hurt forum performance. Last year, I reformulated my suggestion, and instead suggested to leave posts in place, but hide them at display time. This time he was all right with the change, but...

But this was also the time when he left Wedge, and I simply *completely* forgot about implementing that; I had other priorities, and this one was buried deeper than the rest.

It's a good thing you remind me of it, though. I really, really should remove that feature, and replace it with what I had in mind. This also makes it much easier to restore a topic or posts (as long as they're not hard-deleted), because it's only about changing a flag.
Anyone for it, anyone against it..?
1811
The Pub / Re: Wedge repo -- installation feedback
« on January 27th, 2014, 10:20 AM »
Quote from MultiformeIngegno on January 27th, 2014, 09:58 AM
Quote from Harz-FEAR on January 27th, 2014, 02:45 AM
The google CDN for jquery isn't loading, and it's somehow ironic that you can't change the jquery CDN if the CDN isn't reachable.
Actually you can change CDN. You mean to change it automatically when it's down?
It's a problem I've been aware of for years, but Google never let me down for more than a few seconds, and I didn't expect they'd take so long to update their links. (See New Revs for a fix.)

The only 'sure-fire' solution is the widely documented <script> hack right after the CDN link. For instance, ElkArte implemented it (look at their source code, more particularly window.jQuery || document.write...)
The problem is, this adds over a hundred bytes to all pages. It's acceptable, but not something I'm looking forward to doing, especially given that Google never let me down until now. So, to me, it's been a bit of a waste of space...
Additionally, Wedge can't link directly to the jQuery files, because they're protected by htaccess. I used to do that to prevent people from looking into my JS code while the Wedge source code was heavily guarded, but it's no longer a problem. However, I could imagine that some people might want to write some extra scripts and hide them from view, and thus might enjoy this htaccess file too. (If they're writing a plugin, they can always take that file and put them into their own plugin folder, it should work the same.)
So, that would force me to do a 'dummy' gz version of the jQuery files, which is fine by me, but not yet implemented, ah ah. (Because JS files are only gzipped as they're requested, and when using a CDN, the local jQuery is obviously never requested.)
1812
The Pub / Re: Wedge repo -- installation feedback
« on January 27th, 2014, 10:14 AM »
I know that soft-merging is cool, but if you're adding to your earlier post (e.g. they're thematically linked), please click the Merge button afterwards to hard-merge them together, because otherwise what I get when I read posts (and I read them all from the Recent Posts section), is your last post, then your middle one, then your first one. Which can get confusing. Soft-merging is only for posts that you feel don't belong together, and can thus serve as new 'starting nodes' for threaded replies if this is ever implemented.
Quote from MultiformeIngegno on January 26th, 2014, 11:01 PM
I get a 404 when I try to load the CSS file
Would have helped to post the URL...
Quote from MultiformeIngegno on January 26th, 2014, 11:01 PM
Ok now it works! It was CloudFlare's fault... -_-
What with CloudFlare? Can you be specific..? I can't expect everyone on a CloudFlare-powered hosting to sort out their problems by themselves... Not everyone's as specialized in it as you are. :^^;:
1813
Archived fixes / Re: Parent CSS overwriting children.
« on January 27th, 2014, 10:10 AM »
I've never experienced this, and I wrote the whole thing.

Wuthering specifies Wine as its parent in the skin.xml file.
Wedge builds a chain of nested skins (Weaving < Wine < Wuthering), and then proceeds to load the CSS in order (Wuthering in last, then.)
If you can't override a setting from Wine, you may have done it incorrectly.

The first thing to test is using the reset keyword. Just add it to a selector you want to restyle from scratch. Just use #linktree reset instead of #linktree if you're about to overwrite the linktree. Ensure that you copy all CSS you want to keep from the parents, of course. 'reset' will delete *any* CSS declarations prior to the one found in that place, so even declarations found within the same extra.css file will be erased if they're made before. All right..?

Then, there's the order in which files are loaded. 'extra.css' comes after 'index.css' and 'sections.css', so it should override anything in those, regardless of whether they're in Weaving, Wine or your own skin. So, normally you've got everything covered here.
1814
Features / Re: New revs
« on January 27th, 2014, 10:03 AM »
[Commit revision f9df14d]
Author: Nao
Date: Mon, 27 Jan 2014 10:00:06 +0100
Stats: 1 files changed; +4 (insertions), -0 (deletion)

  • For those of you new testers who had JavaScript not working, replace your Load.php file with the one in this version. It temporarily disables the Google CDN until they get their act together and update to the newest jQuery. Seriously, they're two days late, it's unacceptable for me this early in the alpha test process. (Load.php)
1815
Archived fixes / Re: select has visibility:hidden on create new topic
« on January 27th, 2014, 09:58 AM »
- I did say in the New Revs topic (which I expect everyone to read, *at least the grayed out comments* except for new installers), that I had updated jQuery to 2.1, and that it wasn't available yet on Google. What I didn't expect was for Google to STILL not have it up two days later (when it's happily available on the jQuery and Microsoft CDNs.) It's too long a time, and means every new install of Wedge breaks. I'll have to revert this for the time being. (Next commit.)

- This can be due to many things. What do you get when you click the css.gz links directly?