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
4351
Features / Re: New revs - Public comments
« on October 4th, 2012, 05:55 PM »
- I'm okay with adding a $context var next to $txt['copyright'] or whatever. :)
- I'm just not confident enough with plugin writing to even be able to do something as simple as hooking into that variable...

- Also, just wanted to say that locally, I'm finished with the install bugs. They're 100% fixed (hopefully), I even fixed a few bugs that weren't visible, and also fixed clean_cache() to work properly on sub-folders (I'm afraid it didn't cut it before then...)
I'm just left with committing the stuff... And it's quite a huge commit, intertwined with many CSS tweaks done over the week (or simply today, ah.) I'm actually tempted to just commit everything in a batch, rather than split files such as index.css which would need to be committed several times for thematic reasons... :-/
4352
Off-topic / Re: Happy birthday, Arantor!
« on October 4th, 2012, 03:49 PM »
I was born around an hour and a half before it was officially Aries time, but it doesn't matter much -- I am not like a Pisces in any way. At least from the descriptions I found... Which are often contradictory, because, well, it's all bullshit anyway innit?
If anything, I should be a Capricorn or Aquarius if we have to consider the Sun's position in the sky... :^^;:
4353
Off-topic / Re: Happy birthday, Arantor!
« on October 4th, 2012, 11:37 AM »
You're a March 21 too? :)
I don't know many people who were born on the same date! Except for the usual celebrities: Timothy Dalton, Matthew Broderick (the only winning move is not to play, eh!), Ayrton Senna, Gary Oldman and my personal favorite, Nobuo Uematsu.

Okay we definitely need to create an Aries gang and a Libra gang here..!
4354
Features / Re: New revs - Public comments
« on October 4th, 2012, 11:31 AM »
Quote from Arantor on October 3rd, 2012, 11:56 PM
It wasn't meant to be a final solution. I only really cared enough about it actually letting me install.
Well, I'm getting to it personally... As of now, except for the updateSettings problem for stats, everything is okay, and I've overhauled the install screen in a fashion that makes it now look cool. (Well, basically, I've mostly added a large size Wedge logo in the top left corner and added an easy gradient to the progress bar... :lol:)

Oh, there's also a bug with my clean_cache code... It doesn't seem to work, ah ah. At least with folders -- I added code to remove empty folders but it doesn't seem to work, even after force-deleting index.php, hmm...
Quote
I did notice it threw an error but I wasn't overly bothered, knowing that the plan is to remove those anyway in the end.
You should have reported it, still... ;) If only because it was my fault... I hate it when I add bugs.
Quote
Sure, just trying to work out how best to do that. What occurs to me is me is that while it's possible to insert the SVN revision, just by munging $txt['copyright'] easily enough - inserting the Facebook bit is not quite so easy. What occurs to me as a consequence is to build an array in $context for the items that appear in the footer, which can be extended easily from a plugin.
I'm not a big fan of making it easy to remove the copyright text, but I'd like to make it easy to ADD to it, precisely because it encourages people to add instead of removing stuff... Maybe a small template hook at that point?
Quote
There are only so many things that can be done in a plugin - either creating a template within some kind of template layer, or replacing the template in its entirety, or we have some structure that can be manipulated inside the template. It might be nice to have a $context variable that can be updated, though, in case people want to have custom copyrights in the footer (even if we think it's generally unnecessary when having the credits page)
Yes, the credits page would be the best place, but this is a discussion to be saved between plugin authors and plugin users, mostly -- do they feel their theme/plugin/poopoo warrants a footer copyright, or is it okay to have it in the credits page?
Quote
I am also inclined to make the revision number available from the admin panel rather than being a file, just seems like it might be easier (and faster) - but I'm happy to make it either way.
I don't know, I update the file manually when I do my uploads... To me, it's just a way to quickly tell people that I've updated the site. Having to go to the admin panel for that would add an unnecessary step in my upload process, I'd say...
Quote
It's completely that. The final step - DeleteInstall - is the step that calls updateStats which calls updateSettings, and is the point of not setting WEDGE_INSTALLER on every single install step.
Well then, why doesn't it work on my local install...?
Does it work on yours? Did you have the error last time you tried?
4355
Off-topic / Re: Happy birthday, Arantor!
« on October 4th, 2012, 08:23 AM »
http://nao.noisen.com/3534/je-ne-sais-plus-qui-je-suis/
It's in French but it basically explains my situation: I was born about an hour before we 'officially' switched to the Aries sign, which makes me a Pisces. However, I only discovered that right before I wrote the blog post. Earlier, I was 'just' an Aries because I'm from the usual Aries date. I didn't know you had to take the *hour* into account when calculating your sign. Which usually isn't a problem except of course if you happen to be born on a transition day... Well, I'm from the first day of the zodiacal calendar, if you may say.

So, I lived all my life as an Aries, and I'm a 100% Aries, and none of my personality is even remotely close to that of a Pisces. I've known several Pisces and never got along well with them. (Believe me, I've lived with one for over 5 years...)
So yeah, ever since that day, I have absolutely no belief in zodiacal signs. My belief is rather that we are *conditioned* to see what our 'sign' is about, and then conform to it, or at least its main aspects.
4356
Archived fixes / Re: Error message on search
« on October 4th, 2012, 08:07 AM »
Sure, that's no biggie.
4357
Archived fixes / Re: Error message on search
« on October 3rd, 2012, 11:46 PM »
Security.php is definitely the latest here.
topic_solved is the latest as well... At least out of what's on the svn!
4358
Features / Re: New revs - Public comments
« on October 3rd, 2012, 11:44 PM »
Quote from Arantor on October 2nd, 2012, 11:38 PM
Not entirely. The error it fails on, at the first hurdle is the wesql is not loaded. But that's symptomatic of a larger problem - it isn't going to get database settings it can actually use until the beginning of the third step (step 1 = welcome + checking for fundamentals, step 2 = gathering database settings, step 3 is getting other stuff)
It has other issues... Like, defining WEDGE_INSTALLER in the first few steps when they're called at the same time -- it generates a warning so I had to add a defined() test before defining it.

Also... Plenty of other little bugs. Like, in rev 1710 I committed an unfortunate change to the ban groups table structure -- by renaming id_ban_group to id_ban_id_group. Probably a failed search & replace...!

Anyway -- I've successfully installed a copy without any bugs.

I should be able to make a commit tomorrow. I'm also going to commit a few changes to Welcome.template.php -- it's been left alone for so long, it's become very ugly...

BTW would it be possible to have you write a small plugin for wedge.org...? I'd just like to move the rev.txt and Facebook code to a plugin so that it doesn't end up by mistake in our final files... ;)
That's in index.template.php, of course.
Posted: October 3rd, 2012, 11:33 PM

Any ideas how to fix that one..?

8: Undefined index: latestRealName
File: /Sources/Subs.php
Line: 1534
(And more.)

It's the common_stats code. Very likely a bug caused by updateSettings being disabled during the install process..? But it should be enabled at that point, shouldn't it...?
4359
Quote from Arantor on September 30th, 2012, 05:02 PM
Consider what would happen if we did accept money for the project.
Although I don't actually remember siliconsara offering me $100 for anything...?!
Quote
For every person that provided money, there would be an increased implication of owing something. If you give money, you expect something in return, it stops being anything other than a contract of sorts.
Not really, from my experience... It depends if people feel that the 'price is right'. Some will have problems and won't even bother to tell us, even if we made them pay, because they'll assume it's their issue to fix, not ours (whether it's true or not). Others will think it's expensive (even if it's $5 or whatever) and expect us to install and configure everything for them. There's always going to be a wide range of people with different technical skills, different expectations and different behaviors.
Just don't reduce everyone to the smaller group of whiners, really most people are nice, probably even nicer than the 'free' crowd, because if they give you money, sometimes it's not only for the software, or the service, but because they just plain like you :)
4360
Off-topic / Re: Happy birthday, Arantor!
« on October 3rd, 2012, 05:31 PM »
Okay I dug up the other topic for that... :whistle:
We're not going to create new topics for everyone are we? Or I should create a new board for them... :P
4361
Off-topic / Re: Happy birthday, Arantor!
« on October 3rd, 2012, 04:44 PM »
And Aaron too, I love you guys! :eheh:
4362
Archived fixes / Re: Error message on search
« on October 3rd, 2012, 04:19 PM »
(Simplified your path :P)

We're aware of that bug, it shows up in the error log everytime someone does a search, it was discussed in a more general topic, but unfortunately I'm not sure whether it's been fixed yet. Pete did some changes to the permission system vs plugins AFAIK, and it had an impact on boardsAllowedTo(), and I thought he fixed it recently but apparently it's not the case...
4363
Features / Re: Birthday greetings
« on October 3rd, 2012, 02:50 PM »
And happy birthday Aaron!

(There, a Libra again, what did I say!!)
4364
Features / Re: Categories as boards
« on October 3rd, 2012, 02:19 PM »
It's an interesting suggestion, one I actually pondered over back when I worked on AeMe and we had these sub-category things.
I would even be tempted to say 'ditch categories and replace them with boards-you-can't-post-to', because if anything, it might simplify a designer's job when styling categories. And modders would be happy too, I'm sure.

However, it's the kind of thing you don't really want to start working on these days, if only because I can guarantee it'll take at least several months of work to 'get it right', and it can be done at the same time as AeMe is converted to a board system.

I'm not saying it can't be done, I'm saying it's going to be more work than we'd want *for version 1.0* of Wedge. I'd recommend waiting until the software is stable enough to start considering it.
Then again, maybe people will be upset that we change such an important thing after 1.0 when they already had to go through so many changes in 1.0. Then again (bis), maybe it's best to offer radical changes one at a time, in which case it's best to wait as I suggested... :lol:

Tell you what, maybe it's simpler to change than I thought. After all, it's just a matter of spotting all the calls to {db_prefix}categories and adapt them, basically...
How about you do a branch somewhere and see if it can be applied to the trunk relatively quickly..?
4365
Features / Re: Hellbanning, aka global ignore
« on October 3rd, 2012, 02:14 PM »
I absolutely love the idea... Wish I had it first :lol:

There are two things to say about it.

- How things could go wrong:
(1) Wedge is known to offer this feature,
(2) Banned user may not be so stupid and might read about it,
(3) they may simply log off (if they're not also tracked by IP), or look for their topics through google, then explore the cached version (in which case IP tracking won't help at all), and they would then be able to see the guest version of their topic -- which doesn't have their posts.
(4) User might then choose to retaliate for the waste of time and/or to complain about the silent censorship.

- How this could be implemented:
* That's an even better opportunity to rename the 'approved' field to 'status', and have it set between several flags, such as 'unapproved' (has to go through approval), 'live' (normal post), 'ignored' (hellbanning), 'hidden' (user chose to temporarily hide their post through a button, which they can re-publish later)... Or even, although I wouldn't recommend it, 'scheduled', i.e. post won't be shown until the scheduled time is right. Of course I'd rather have a separate table for scheduled posts, because otherwise the post ID would give away that it's not a live post, you could even recover the original posting date by comparing with posts with similar IDs.
* At hellban time, give the moderator the choice between 'ignoring all existing posts' (e.g. spammers), or 'ignoring future posts' (i.e. do not change status for existing posts).
* User can view own posts normally. Moderators can view them but with a specific style around the post showing that it's globally ignored, and the Quote/Reply buttons should be disabled to prevent a moderator from accidentally quoting a post and then having others point out that the post was non-existent in the first place.

I think it's an interesting thing to explore, provided we find workarounds for the 'things that could go wrong' area...