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
1456
Other software / Re: Will Wedge import data from SMF?
« on February 25th, 2013, 05:34 AM »
The real standard and expectation is that you try it out and give us feedback. Even if it's just things you like/don't like/wished it had, it lets us know you're trying it out. Especially if you've come from SMF, there are a *lot* of changes to see and get a feel for.

There's also a lot of things that are rough around the edges right now and I've forgotten half of them ;)
1457
Other software / Re: Will Wedge import data from SMF?
« on February 25th, 2013, 05:23 AM »
Well, when Nao gets up in the morning, he'll have a read of the post in the other thread and we'll see what happens.

What I will say is that we've had some people who joined as beta testers whose participation was... unexciting and uneventful.
1458
Other software / Re: Will Wedge import data from SMF?
« on February 25th, 2013, 05:13 AM »
Currently it is a 2.0 only importer - note that it is an importer, not a converter as such.

You install Wedge, fire up the importer and point it at your old DB. Hasn't been tested lately, may be broken, may need some refinements, not sure yet.
1459
Other software / Re: Will Wedge import data from SMF?
« on February 25th, 2013, 03:56 AM »
Yes, there is a converter. We used it to import to here originally from 2.0 RC4 ;)
1460
The Pub / Re: Language editing inside Wedge
« on February 24th, 2013, 09:57 PM »
OK, another update. Probably the last for the evening because I'm at the stage where I'm not entirely sure what to do with it, so throwing it open a bit.

First up, the more finalised list of templates. Aside from the fact everything is now linked to where it should be, the things of note are that I moved Modlog from main to admin panel and gave it a better description, plus I created a block for 'configurable language crap that isn't in this area', namely the email templates and the agreements. I have no qualms about them being outside the language editor, they are where they are for a very good and specific reason, namely that they have a bunch of other specific behaviours that are attached to them that have no place being here.[1]

Then we have the actual editing page itself. You may remember SMF's was a two-pane affair. I didn't like it, still don't like it, and I've started on a half-assed replacement but I'm really not that fond of THAT either. It's just marginally better to me than what we had before. Second screenshot shows the main index, part way down - mostly so it shows the one actual entry I have that does have both a master value and a replaced value (namely 'admin', which is the main $txt['admin'] menu item)

I'm open to any suggestions of what to do with it because I got nothing right now!

 1. Email templates has all the stuff related to variable injections, agreements do not currently but will have the whole 'force reagreement' facility. Either way it's a ton of stuff that is unique to those areas and would get in the way of the rest of the stuff.
1461
The Pub / Re: This describes me somewhat
« on February 24th, 2013, 09:46 PM »
Except those of us idiotic enough to make language editors :lol:
1462
Off-topic / Re: Crashing PHP in one easy lesson (aka WTF?)
« on February 24th, 2013, 05:52 PM »
I know there were issues a bit back with using compression and it interfering with Xcache and Xdebug, not sure if they're still issues or not, I haven't tried using the profiler lately.

But this is very unusual, hence the topic. I can only assume a parser bug, but I've seen moved on past it, heh.
1463
Off-topic / Re: Crashing PHP in one easy lesson (aka WTF?)
« on February 24th, 2013, 05:38 PM »
HELLO THIS IS IT HAVE YOU TRIED TURNING IT OFF AND ON AGAIN?[1]

I stopped and restarted Apache, but I didn't fuss with gzip or anything like that, and yes it is the default php.ini. It isn't gzip related because it's causing PHP to die before it gets back to Apache.

I have no idea what causes it to fail but since I removed more of the surrounding stuff, it's fine. I've seen odd stuff like this before and I think it's just a random parser bug somewhere. :/ I'm not on the current PHP release, this is 5.3.10.
 1. Yes, I have seen the IT Crowd. Not one of the best British comedies I've ever seen but it has some great comedic moments. The 'new emergency number' still tickles me.
1464
Features / Re: Micro feature: escliteral type
« on February 24th, 2013, 04:18 PM »
Quote
Why not just call ob_sessrewrite($string) directly..?
Actually, that's a very good question. More importantly from my perspective, though, is the desire not to have it do extra queries that it doesn't need to do - it assumes (reasonably rightly) that it's going to be run once per page, not multiple times, so I don't see why it would bother staticifying or globalising anything it gets in terms of query results, but it'd need to do that to avoid it making queries it shouldn't here.
Quote
It's a very, very minor thing... But one that has been 'in your face' ever since the early days of SMF 2.0
Some things that are very minor are not so minor when they grate on you over time.
Quote
But when I go through Subs.php, and all of these pretty similar functions (semantically at least), I just can't a hold of it. Why is this camel-cased, while that one isn't..?
It is an unusual policy, yes. If it's just the odd function, sure, rename it. But I'd be wary of lots of renaming because then I'll forget what we did ;)

The only thing about using underscores, aside from the extra typing (I'd rather camelCase than underscore personally), is that sometimes odd things happen in terms of where the underscore is. ob_sessrewrite never looks right when I type it. I always think of it as obsess_rewrite. Freud has much to answer for. :^^;:

The other thing is that functions are case insensitive in PHP (or should be), meaning that if it's all camelCased, getting case wrong doesn't matter as much as misplacing _ does.
1465
Off-topic / Re: Crashing PHP in one easy lesson (aka WTF?)
« on February 24th, 2013, 04:10 PM »
Weirder still, if I drop the break between the two and make it one longer echo (there used to be something in the middle that was conditional, but now removed), it works fine.
1466
Off-topic / Crashing PHP in one easy lesson (aka WTF?)
« on February 24th, 2013, 04:07 PM »
So I'm working on the language editor, and moved its templates into its own handy dandy file, ManageLanguages.template.php. And as such I'm removing the old code I don't want.

But if I remove this one div from it, see before/after shots, so you can see what was removed - just removing that div on line 319 will not generate a 500, it will simply force PHP to abort entirely with just this in the Apache error log:
Code: [Select]
[Sun Feb 24 15:03:23 2013] [notice] Parent: child process exited with status 255 -- Restarting.

I have no idea WTF is going on.
1467
Off-topic / Re: System visitations: vB 3.8.7
« on February 24th, 2013, 04:02 PM »
Quote
I think this is open for discussion right?
Sure it is. :)
Quote
1) I'm fairly sure SMF can easily support the different backends, the information is not all that different. Although the API itself in SMF needs improvement (I've said this before).
It mostly can. The problem is that different backends require different information and I wasn't sure whether the backends exposed any configuration items + template requirements to SMF/Wedge. CCBill in particular has half a dozen items it actually needs.
Quote
they find that there members prefer to pay in their own currency
*nods*
Quote
3) The multiple gateways also help a lot, mostly PayPal, 2checkout and recently Google Checkout from what I've observed. AlertPay (Payza now a days?) is also a pretty good alternative for those in India.
Oh, certainly. I certainly have no problem with adding them, and while I've mused the possibility of breaking the payment stuff into its own system, I'm not sufficiently convinced enough to remove it from the core, if that makes sense. I can see the arguments but this stuff encourages me to keep it core and make it better.
Quote
4) Logging of transaction is also pretty useful especially if multiple gateways are supported, I'd love that even now. Saves having to log into the respective gateway's site and cross checking anything. Plus it can also help to see if any subscription/payment wasn't awarded without any actual payment.
*nods* I will look at it sometime.
1468
Features / Re: Micro feature: escliteral type
« on February 24th, 2013, 03:38 PM »
Quote
Is it still in the news..? I know I wanted to do that 'back in the day', but I can't remember why I stepped back, though.
Yup. It is something we need to do, because outgoing emails don't get the translation. This gets incredibly hairy when you realise that in some cases multiple calls are going to be needed, depending on the way email is handled. I'm thinking of the cases where you load one template per language that you're sending out. Fortunately it should be doable within loadEmailTemplate rather than every instance of sendmail manually.
1469
Features / Re: Micro feature: escliteral type
« on February 24th, 2013, 03:09 PM »
Quote
Oh, right, you probably weren't there at the time SMF underwent the {change}
No, I was a happy SMF user but ignorant of such things.
Quote
Over the months, though, the devs ensured that the initial mess was mostly cleaned up, but they still left a lot of {int:zero} things here and there...
I remember Orstio publicly saying "Is this meant to be some kind of joke?"
Quote
Anyway: sorry if my sarcasm wasn't too obvious. Maybe it's the lack of sleep... Only had less than 3 hours today.
Bed is this way --->
<--- unless it's this way.
Quote
Do you want to do the rest by yourself, BTW..? I think I did at least half of them.
I'm really not that worried. I never really planned to go on a blitz through the source, I figured I'd just update them as I encountered them, much how <URL> is being applied.
1470
Plugins / Re: Plugin server
« on February 24th, 2013, 03:01 PM »
It seems perfectly logical to me, it is yet another 'simple machine' ;) I couldn't decide whether I preferred 'Pulley' or 'Lever' for the translation tool on this site. Now THAT's a silly name :lol: