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
4111
Features / Re: This would be an interesting feature :)
« on March 23rd, 2012, 02:42 AM »
No, it's a *lot* more complex than that, sadly.

The way it works is basically thus:
* create a function whose job it is to include or push the relevant JavaScript onto the page
* attach it to the display_main hook

The template_page_index function creates the 'Pages: [1]' thing you see at the top and bottom of content. But for multiple pages, it also adds << prev and next >>, which means it has to know how many pages there are and what page you're on currently. The same logic that uses would be borrowed for the above mentioned function that you'd add.
4112
Quote
If you ever end up releasing this under an open-source license, I will love to see the code, it sounds like it'd be an amazing learning experience.
Even if it's not open source, it'll be available for download, and PHP scripts generally aren't compiled ;) The nearest you normally get with PHP is stuff run through Zend Guard or ionCube Encoder, which raise their own sets of problems, so we won't be doing that.
4113
Features / Re: This would be an interesting feature :)
« on March 23rd, 2012, 02:28 AM »
Actually, there's almost zero PHP involved. You'd do pretty much all of it in JavaScript. All the event binding etc. would be done client-side, determining whether there's another page or not is going to involve the code that works with template_page_index(), which has to figure that out anyway, since it has to generate << prev and next >> links anyway.
4114
Quote
As for that, I would definitely understand that. Taking on such a massive fork would be crazy. It would be like expecting that forking the Linux Kernel and changing the code to improve it would introduce exactly 0 bugs.
We inherited 110k lines of code, the current codebase weighs in at around 175k lines of code (excluding comments and blank lines) and there's been an awful lot of changes under the hood. It doesn't really resemble SMF in some places any more...
Quote
I wish you all the luck in the world! :)
Thanks :)
4115
Features / Re: This would be an interesting feature :)
« on March 23rd, 2012, 02:19 AM »
Possible, yes. Practical? Doubtful.

Firstly, you'd have to make sure that it only ever applied when you weren't typing in the quick reply box, or the search box, or quick login if you're not already logged in.

Then there's the matter of how usable such a thing would actually be. Certainly it wouldn't affect mobile users, which leaves desktop. I'm also not sure how many of the desktop users routinely have their hands on the keyboard when browsing forums (unless they're hunched over, poised to reply, like vultures over a carcass), so I'm not sure there's much there either.

In short, it's an interesting idea, but I'm really not convinced it's that practical most of the time. That said, there's no reason it couldn't be whipped up as a plugin of some kind should someone really want to experiment with the idea.
4116
Quote
Anyways, if you attach a picture, will it automatically show it in the post as an image, or does something else need to be done? If so, that's an easy way around it.
It will be attached at the end of the post but otherwise show as a picture.
Quote
Bugs are always the most annoying things, I have one in my program I'm trying to iron out, but it's escaping me. I'm sure I'll get it working eventually.
There are rather a lot of bugs currently, not only the ones we've introduced with the massive number of changes we've run, but also that we inherited from SMF that have not yet been fixed in our codebase.

But as ever we'll figure it out :)
4117
Features / Users Online Today
« on March 23rd, 2012, 01:58 AM »
Some of you may have noticed that Users Online Today has sprouted here, on the main wedge.org index, and on the http://wedge.org/do/boards/ board index.

You may be disappointed, or relieved[1] to note that this is NOT a core feature of Wedge. It is in fact a plugin, so we're getting to test plugin functionality here as well.

For more details, please see the following post where I first mentioned it: http://wedge.org/pub/plugins/6929/personal-plugin-showcase-yes-i-m-an-attention-grabbing-git/msg268391/#msg268391

I currently have something like 15 plugins for Wedge in various stages of development, and more will follow in due course (and in that board, really, is where more information will be found)
 1. Depending on your view of such things, of course.
4118
Quote
What exactly caused it?
As far as we know at the present time, a bug in the preparser.
Quote
Do you know?
Not for certain.
Quote
And if so, why was it introduced in Wedge, and wasn't there in SMF?
Certainly it's something we've done, and I'm suspecting that code related to the media embedder is responsible, but I don't know until I actually sit down and go through it with a fine tooth comb. Given my current personal situation, this isn't going to happen just yet.
4119
See, I figured you actually mean *attaching it* as a forum attachment...

Anyhow, yes, we know about that bug. Fixing it is another matter entirely.
4120
Quote from pivotraze on March 23rd, 2012, 01:30 AM
In chrome it is the standard, not chromium :)
Eh, I use Chrome.
Quote from pivotraze on March 23rd, 2012, 01:30 AM
And no, I don't Aranator :(
So, what exactly happens? Does it just mysteriously not upload or what?

(Also, there's only two A's in Arantor ;))
4121
Off-topic / Re: Introduction
« on March 23rd, 2012, 01:16 AM »
Quote
Nobody gives a crap about censoring shit here. :) Well, I could be wrong there, but dirty words do go around sometimes.
The way I personally figure it, the occasional expletive is fine. Every other word isn't, but not because you're using naughty words. It's because if you're cursing every other word, your grasp of language is likely sufficiently poor that you probably won't be able to convey anything meaningful anyway.


To answer your other question, yes, I believe there is a phpBB converter. I won't vouch for its accuracy, nor will I vouch for its ability to import permissions.[1] phpBB's permissions confuse me more than the tangle that is SMF's, which is saying something. In fact, phpBB's ACP in general confuses me, but that's another matter entirely.[2]
 1. I didn't write it, but it was written by a VERY competent converter/importer developer. That said, the quality of import is still going to be based on the quality of what's being imported, rather than anything else.
 2. It has certainly thrown off the not-entirely-unfair bad press it got during the 2.x times, but I refuse to have too much to do with phpBB after having had to cope with the fallout of the phpBB 'Sphinx Search' plugin when I used to do support over there. It's incredibly badly written, and learning that the plugin's dev is one of the core dev team did nothing for my confidence.
4122
Quote
In case the image doesn't attach. It hasn't 3 times in a row. Maybe a permission thing for user with less than x posts?
Do you get an error message?
4123
Sure, and it's not like the odds are that high of doing it either, maybe just bad luck :/

I'd note that disabling the save button is exactly what WP does when autosaving drafts but of course that's a slightly different context in which to do it.
4124
Hmm, it seems to be working for me just fine?

If you happen to post between the first AJAX submission and it coming back, it won't be deleted because it won't have the id to delete. What we could do, potentially, is block posting while sending off the AJAX request, but if there's a problem it's still going to disappear into the aether like that.
4125
Development blog / Re: Aftermath of the Great Deployment
« on March 22nd, 2012, 09:54 PM »
Well, it's always been there, but adding better navigation is something added after ;)