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
5746
Archived fixes / Re: Not sure what to make of this
« on March 28th, 2012, 10:54 PM »
Fixed!! :)

The bug was mine! In wedit::fixNesting, where I was testing against a list of non-self-closed tags. media is defined as a closed tag, but 'me' isn't, and so it was foolishly looking for [me and found one. I'm upset at me that I forgot to add a \b after the tag list!!
Posted: March 28th, 2012, 10:42 PM

Pandos, can you tell me if it works for you now?
5747
Off-topic / Re: Behind on standards.
« on March 28th, 2012, 10:52 PM »
It's rule #34 of the Interwebs man, rule #34! One can't escape rule #34 :P
5748
Features / Re: New revs
« on March 28th, 2012, 10:47 PM »
rev 1516
(2 files, 2kb)

! Fixed random tag closers being added at the end of a post by preparsecode() if a self-closed tag starting with the same characters was found in it. For instance, the  self-closed tag was thought of as a [me] tag by wedit::fixNesting(), and a closing [/me] was added. Fixed by adding a clear separator at the end of the list of tags to be tested. (Class-Editor.php)

! Fixed undefined variable errors in Who's Online page if someone was visiting a gallery item page. This is due to that particular case being accumulated into an array to be treated later, when $data[$k] should always be treated in the loop because of the final str_replace(). Fixed by setting up a blank $data[$k] to begin with, and forcing plugins and AeMe to simply use array_merge() instead of array concatenation... (Who.php)
5749
Off-topic / Re: Behind on standards.
« on March 28th, 2012, 10:08 PM »
Only reason I didn't start the new show is probably that Cheetara lost her sexy leotard from the original... :lol:
5750
Features / Re: New revs
« on March 28th, 2012, 10:03 PM »
rev 1515
(6 files, 3kb)

+ Added a ssi_recentTopicTitles function that does what it does: ssi_recentTopics, but *without* any preview, thus saving the server from having to parse plenty of posts when you don't plan to show their previews. (SSI.php, Home.template.php)

! Fixed Preview button forcing a full page reload because of broken JavaScript. (Post.template.php)

! Permissions admin page would show permission inheritance select boxes over two different lines, instead of just one per option. (admin.css, sections.css)

! Fixed long topic titles breaking layout in post headers. (sections.css)

* Spacinazi. (ManageSmileys.english.php)
5751
Archived fixes / Re: Not sure what to make of this
« on March 28th, 2012, 09:55 PM »
Hmm yes, I think I know the outcome of that JS bug: previewing was no longer refreshed automatically -- only done through going to a new page. Which isn't that important, really... I actually thought it was always done that way ;)

Hey, added the media code, and although preview showed me the 'me' closer, it wasn't in the final posted code!

Posted: March 28th, 2012, 09:54 PM


Okay, it only shows when doing a quick edit or a preview. Not when posting it directly. And since I fixed preview JS, the post box is no longer updated with the 'fixed' code that we see in preview. Which also means that previewing will fix stuff that posting won't.....??!!

PS: the me closer is added at the very end of the post.
5752
Archived fixes / Re: Not sure what to make of this
« on March 28th, 2012, 09:51 PM »
First of all... A bug that shows up when doing Preview. Undefined variables in JS. It's actually caused by PHP sending a list of strings, but not surrounded by quotes, so they're taken as variable names, which don't exist... Fixed it here. I'm not even sure what this 'broke', because I never noticed any bugs with the previewer... Anyway!
5753
Archived fixes / Re: Not sure what to make of this
« on March 28th, 2012, 09:45 PM »
Okay ill give it a quick look right now.
5754
Off-topic / Re: Behind on standards.
« on March 28th, 2012, 09:42 PM »
I've heard it's pretty good. I'm not a big fan of the original --although the theme Rob Hubbard wrote for the c64 game was a masterpiece I still adore-- but the new show was made by a Japanese studio with a proven track record.
5755
Archived fixes / Re: Not sure what to make of this
« on March 28th, 2012, 09:29 PM »
Even then it doesn't make sense..?
5756
Off-topic / Re: Behind on standards.
« on March 28th, 2012, 09:23 PM »
Im not sure that one is profitable though!

I love Opera but I'm really worried about their future because they need to catch up with Chrome and right now they're six months behind their usual schedule.

Just like I'm worried about Saint Seiya Omega. The followup to my favorite show of all time which ended in 1989 is a product of its new era. Targeted at kids. Made by very talented people but I fear that the producers killed it before it even began. I'm going to a cinema preview in 2 days and I'm worried. Hey, could be worse. I could be seriously I'll or something, ahah. But it's my entire childhood which is at stake here. And I dont want it to become the new Sailor Moon. Sob.

Why was I talking about this already?!
5757
Archived fixes / Re: Not sure what to make of this
« on March 28th, 2012, 09:14 PM »
Pandos -- that doesn't make any sense as a bug. I believe you but can you confirm
 The code you posted above...?
5758
I think I should instead have asked if select boxes were working for everyone again ;)
5759
Archived fixes / Re: Not sure what to make of this
« on March 28th, 2012, 07:59 PM »
Okay, let's reuse that topic for another bug... :P

Post this in a message:
[media id=65]

It works.

Now post this (add any parameters, any will do):
[media id=65 type=full]

It adds a closing [ /me] automatically. Not even a [ /media], no... a [ /me].
[ /media] is still wrong because it's a self-closing tag anyway, but 'me'...? Something tells me that it's a bug in the way the me tag is implemented.

Gotta go. Anyone got any idea where I could look to spot this bug...? It can be reproduced simply with the Preview button, or with a Quick Edit.

PS: added spaces before closer slashes because Wedge wouldn't allow me to post otherwise... Gotta love this mismatched tag detector though, even if it 'failed' here, normally it would be in its right to complain ;)
5760
Okay guys, just post if it doesn't work, it'll be easier :P