General support topic for Aeva Media (Latest release: July 28, 2010)

Started by Nao 尚, October 14, 2007, 04:28:15 PM

Previous topic - Next topic

Nao 尚

I have nothing to reply, I just added that in my to-do-list for further analysis in Aeva Media. I can't do everything at once... And remember, Mark? You should be happy that it's in my to-do-list. I told you long ago that I didn't give a damn about the BBC any more. Actually, the only reason I took care of this issue is that I'd like to get rid of the non-Javascript system for SSI.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

realnc

Quote from: Nao/Gilles on December 01, 2009, 10:18:27 AM
realnc, I think I've fixed it. What's even cooler is, I've fixed it directly within the sitelist, when I was about to start working on a hardwired fix inside Aeva itself :)
I just added this next to the parenthesis in local patterns:

(?=")

Hmm. I updated the sitelist (per adding ;checkaeva in a page embedding a YT video) but the problem persists and it seems I'm not picking up the update at all. The string ?=" doesn't appear anywhere (I did grep -r "?=\"" the whole forum.)

QuoteI've updated the sitelist. Hopefully it won't break anything. Hopefully you won't break me for being so nerdy.
That's OK. After coding stuff in C and C++ for over 15 years I can deal with a bit of nerdy-ness, even though I never dealt with PHP ;)

CodeDev

Thank you for your reply.

I was hoping that I could define rules for local MP3 files.

However, if I uncheck the MP3 support and add it on my way in the custom sites, it still gets parsed the way AEVA does.

To reproduce this, unckeck the checkbox from embed MP3 local files in AEVA settings, and add it to the custom file with different player definitions.

Thanks in advance.

gitchuone

Not sure what happened, but even before I updated to the new version all my embeds have now died out. I completed the upgrade and still... embedding is broken.

damnitmike

Mine also.....haven't had time to check into it, had to uninstall, tried reinstalling, same thing....

It's doubling up  the http://

Like so, http://http://

butchs

#626
I love the mod.   O:)  It works great except on preview where my Safari 4.0.4 browser crashed.  Should the SMF 2RC2 code for "$sourcedir/Post.php" be changed from "after" to "before" so that the mod can be ignored on preview?  Or is there another reason my browser crashed?
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Arantor

Quote from: damnitmike on December 01, 2009, 08:29:42 PM
Mine also.....haven't had time to check into it, had to uninstall, tried reinstalling, same thing....

It's doubling up  the http://

Like so, http://http://

Just upgraded to 1.1.11? Uninstall the patch, delete it from package manager then reupgrade. There was a last minute bug crept in just before the patch was released.

Arantor


mark7144

Quote from: Nao/Gilles on December 01, 2009, 05:20:11 PM
I have nothing to reply, I just added that in my to-do-list for further analysis in Aeva Media. I can't do everything at once... And remember, Mark? You should be happy that it's in my to-do-list. I told you long ago that I didn't give a damn about the BBC any more. Actually, the only reason I took care of this issue is that I'd like to get rid of the non-Javascript system for SSI.
Nao:  When I said "reply", that wasn't me asking you to give me a fix. The fact you've just told me it's on your to-do-list is a very satisfying reply, thank you :)

Nao 尚

@realnc> Could you try again, please?

@IceBurn> What do you mean, the way Aeva does?

@butchs> Have no idea. Probably not Aeva related. Probably not even SMF related...

Quote from: Arantor on December 01, 2009, 09:16:38 PM
Just upgraded to 1.1.11? Uninstall the patch, delete it from package manager then reupgrade. There was a last minute bug crept in just before the patch was released.
Okay, seriously-- I've upgraded to rev 9460 (which is the latest one for smf2...) and it's doing that now. http://http://myurl. It's freaky. It does it for all links (not only Aeva's.) Is there some topic where this is being discussed, or is it out of my view?
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Arantor

Nao: Rev 9457 is the issue. Seems that the || in the changed code was supposed to be && but I'm hearing that may not be the entire story.

Nao 尚

Okay, looks like this fixed it. I changed all ||'s in the strpos stuff and it worked.

But -- oh the horror, the agony. It seems like any link embedded within [noembed] (Aeva-specific) will get the extra http:// now. How are mod authors supposed to make things work? :-/
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Arantor


CodeDev

Quote from: Nao/Gilles on December 02, 2009, 05:44:55 AM
@IceBurn> What do you mean, the way Aeva does?

I get the player stated in the original AEVA sites, instead of the customized player I define in the custom sites file.

Btw, I have no urgency on this, as I manage to add my custom mp3 player with html bbcode tag.

Thank you.

Nao 尚

Quote from: Arantor on December 02, 2009, 06:05:09 AM
I have no idea, sorry :(
It's very annoying. I traced the bug to this... (the very code you mentioned earlier.)
In 'url' (unparsed_content)

if (strpos($data, \'http://\') !== 0 && strpos($data, \'https://\') !== 0)

When using the [noembed] tag, the URL starts with aeva://myurl.com (in Aeva Media, the URL is "noae://myurl.com").
I don't see myself as imposing SMF to replace this six times (!) with:

if (strpos($data, \'http://\') !== 0 && strpos($data, \'https://\') !== 0 && strpos($data, \'aeva://\') !== 0) (or its noae variant for Aeva Media)

That would be an extra strpos for each img and url tag. It is not needed for img tags, but how do I make the difference between the various validation functions? If I enclose more data in the XML script, it's bound to end up failing upgrade at some point. We're talking about parse_bbc, the most important function in SMF... :-/

Or, maybe I could turn http://aeva:// into http:// at some point, but I have yet to look into this.
Also -- won't URLs like [url]ftp://...[/url] fail with the new code? (Not with the ftp tag, of course, but who knows about THAT tag?)
I'm not sure if they were accepted in the first place, but it's beginning to represent a lot of problems when it comes to inserting links... (Remember how image tags no longer can handle question marks in their URLs?)

:-[
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Nao 尚

Quote from: IceBurn on December 02, 2009, 06:34:36 AM
I get the player stated in the original AEVA sites, instead of the customized player I define in the custom sites file.
Uh... Is this for local files, or 'external' local files? Or both?
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

realnc

Quote from: Nao/Gilles on December 02, 2009, 05:44:55 AM
@realnc> Could you try again, please?

Still nothing. Can you tell me which file is the one that should get updated? Is it "Subs-Aeva-Generated-Sites.php"?

Nao 尚

Just in case someone's looking for a solution to v1.1.11's incompatibility with Aeva -- I've worked it out (with my second solution, the cleaner one), and I'm working on a subsequent release of v706 today.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Nao 尚

No, it's not possible. It is technically possible, of course, but has never been done.

I could add this as a permission in Aeva Media.

Two questions remain --
1/ WHY didn't Karl Benson implement this back in his days?
2/ Will I have time to implement this myself? It *will* require changes to the SMF code, so it's not trivial.

Anyone else interested?
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Advertisement: