News:

Wondering if this will always be free?  See why free is better.

Main Menu

Aeva 6.9.99 and earlier (old)

Started by karlbenson, October 14, 2007, 06:22:33 PM

Previous topic - Next topic

Akyhne

Seems prefix_log_packages table isn't part of SMF 1.1.x. I can't find it in 3 different 1.1.7 forums.

Nao 尚

Hmm... I was hoping to use it to retrieve the current version of Aeva.
I guess I'll have to make my own variable :)

Edit -- Nah... Good news: there's a ready-made function in both SMF1 and SMF2 that retrieves a package's installed state. Exactly what I needed. :)
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.

ianus

Greetings!

The ability to set Max-width is a nice idea. If this setting could be done via css, it will fit my needs. But for an "normal" user who don't want do edit files manually, a setting inside the admin menu will prevent a lot of questions.

For akyhne posts and links.
His first one (with attached code.txt)
http://www.simplemachines.org/community/index.php?topic=200401.msg1879312#msg1879312
First test-post only with the given youtube link, second test-post with the contend of the code.txt. Both times the video is shown (as normal video screen not with hq or something).
(SMF 2b4, Aeva#40, no other mods – test-board only will be deleted: akyhne links)

Just decided to vote for an [aeva-sometag] and noticed that you seem to miss some patience with your polls.
;-)
I think, we will see if your decision is save for the future and can resist Mr.&Mrs. Stupid.
Your decision and I respect it.
Personally I believe that it's more easy to use a [tag], maybe not easy to code but easy to explain.
"If you want to add something to a post, you have to add a [tag] around".
Expect a link if you give an url, expect a named link if you use [url=http]named[/url].
Expect a link if you give a videosource, expect a embed player if you use [nao=http]videosource[/nao].
That's the way a message board works.
Your way is easy to use but uncommon (which is not bad, maybe visionary, but must be explained because only a few people know that there is something like [noembed].

Kind regards

JimM

Quote from: akyhne on January 15, 2009, 01:17:00 PM
Seems prefix_log_packages table isn't part of SMF 1.1.x. I can't find it in 3 different 1.1.7 forums.

You are correct.  This table does not exist in SMF 1.1.x, but does in 2.0.
Jim "JimM" Moore
Former Support Specialist

Nao 尚

My last update for today...

- I just finished integrating the "noexternalembedding" setting into the new option system. As a result, all of the YouTube-specific code in Subs-Aeva.php is gone. The aeva_youtube setting in the admin area is gone, too. I figured that if you're enabling the YouTube external embedding tests, you will enable all lookups anyway... Right?

- The noexternalembed code is now universal. Meaning, I should be able to add it for sites other than YouTube. Apart from Flickr Video, do you know of any site that allows video uploaders to enable/disable external embedding? Can anyone point me to a Flickr video that actually disallows embedding? (So that I can add support for it...)

- And, yes, Flickr Video is now supported.

- I fixed the package version code not being compatible with SMF 1.x. It should work fine, now, and it's shorter.

- As I mentioned above, the youtube homepage link bug is now solved.
- Related bug: sometimes (and that was way before I took over), link descriptions would be erased. They are now correctly kept (hopefully). Which means you should see them again if you disable Aeva.

- I'd like to take the opportunity to ask: should I "cancel" video embedding when it's given though a descriptive link? e.g. Where the hell is Matt? -> should I embed the video and make the text invisible, or embed the video and show the description below it, or not embed the video at all? Should I make it an admin setting?

@ianus> I'm not sure yet about max-width... I'll have to think about it. Won't be in the next release because I'm already adding enough new stuff as I am ;)
>as you can see, akyhne's code doesn't work on your board (the first part of his post is deleted). This is fixed in my local code.
>aeva tag: yeah, I know you're the main aeva tag fan :) Thanks. However, the tag's purpose was to be able to add settings, and that's all. Fact is, Karl already had a solution going on, the #noexternalembed thing, and I decided it would be best to be retro-compatible with earlier Aevac versions. The only way to do it is to keep the same system and put settings into the anchor. The result is very interesting, though. I'm quite surprised that I managed to pull it off in less than a couple of days (along with the rest of my recent changes).

Yeah, been busy!
Now if you could all download the new version when it's released... lol :D
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.

weightman

Nao,

Simply unbelievable. Fantastic work. Thank you very much!

Quote- I'd like to take the opportunity to ask: should I "cancel" video embedding when it's given though a descriptive link? e.g. Where the hell is Matt? -> should I embed the video and make the text invisible, or embed the video and show the description below it, or not embed the video at all? Should I make it an admin setting?

I vote for embedding the video with the description text below it.

ianus

Greetings!

I like to second weightman s post. You are doing a outstanding job.

Then.
Quote from: Nao 尚 on January 15, 2009, 02:51:27 AM
Regarding max-width...
I would like to point out that I applied it to my website without any changes to Aeva.
Open style.css
Add the end, add this:
embed { max-width: 600px }
As you can see on my test topic, it works just fine...

Should I still proceed and implement it?
I gave you only an quick answer. No need to hurry or to add this at all.

Have a nice weekend.

Nao 尚

One of my other challenges, hmm hmm...
My own concept of lookup fixes for videos that don't have the actual video ID in the URL, is to put the actual video ID in the anchor, such as: http://originavideosite.com/fakevideo/af7bc680/#correctID123456789
The cool thing in this, is that it allows you to keep visiting the video link, and you get to have the correct ID to embed it.
But -- most of Karl's lookup-based video sites don't work that way, unfortunately. He only checks for a modified correct ID video link (http://originalvideosite.com/correctlink.swf?id=123456789), and if it's not there, it just won't embed, until you edit the post to "fix" the original link.

My question would then have to be... Should I:
- leave it the way it is and learn to deal with it (older videos won't be able to follow their associated links, such as BBC News videos)
- add a few "new" site arrays to the database, fixing the most important sites, such as BBC News (BBC News would then have two site arrays... "BBC News (old)" and "BBC News (new)"...)
- replace progressively all site arrays in the database with the new system

Whaddayathink?
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.

mark7144

Quote from: Nao 尚 on January 16, 2009, 09:11:47 AM
- add a few "new" site arrays to the database, fixing the most important sites, such as BBC News (BBC News would then have two site arrays... "BBC News (old)" and "BBC News (new)"...)
Either do that or somehow come up with a script that finds all the XML based links and figures out the standard URL to that video and replaces it. No idea if that is possible.

Nao 尚

Hmm... No, not possible.
Interestingly, although XML files can't be turned into STM files for BBC News, the other way around is possible -- what I mean is, lookups were only used to find out whether there were videos in the page in the first place. There was no need for retrieving the actual URL, which could be computed with an extra line. Karl's solution is okay (saves the cost of computing etc.), but it prevents us from getting clickable URLs. I don't know what would be best.
It's always a bit hard to maintain compatibility with previously posted links ;)
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.

Eliana Tamerin

Converter time? Or perhaps just accept that old links will remain old, and new links will have the newer features? There's something to be said for the cost outweighing the benefit, and if the cost of making a converter script or maintaining an older method does indeed outweigh the benefit, then don't do it.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

mark7144

Nao: A converter script should be possible as the XML pages contain the original URL:

<link rel="alternate" href="http://news.bbc.co.uk/sport1/hi/tennis/7832696.stm"/>

Nao 尚

Mark, that's cool, but that still won't show the old links... You'll have to edit all posts manually to run a lookup. And it still forces me to do an extra entry for BBC News.

Well, I'm putting the finishing touches to the admin area (buggy saving, etc.), then I'll be able to release a public version... I don't know if I'll have time to do it before tomorrow. Fingers crossed. Today was a "day without". Didn't do much I'm afraid... >_<
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.

mark7144

I know it might require a lot of time but I don't see why technically you cannot create a separate script that searches for XML links in the database, follows each of those links, grabs the alternative URL and replaces the XML with the alternative (correct) link.

Totally understand if you do not consider worth your while but to my mind, it seems possible.

Nao 尚

Oh... An external script... Right... Well I dunno... Maybe one day.
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 尚

Okay, here we go... Fellow beta testers, please... beta test! ;)
The usual SVN address. Unpack, repack, upload to package manager and install.

! Site list wasn't saving correctly when changing settings in admin area
- Removed YouTube external embedding test, as it is now a regular lookup check
! Replaced "#fs" for 4/3 YouTube videos with a simple "#" (to denote lookup doesn't need to be launched again)
+ Added support for Flickr Video (requires lookups), along with custom width/height
! Package version test wasn't compatible with SMF 1.x (Subs-Aeva-Admin.php)
! Fixed a bug where putting a link to the YouTube homepage might break the page contents
! Fixed link descriptions getting erased when a lookup was required
! JujuNation had lookups enabled while they weren't needed
@ Tentative public release 5.1.42 (will just need to update the changelog and quickly test it)
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.

mark7144

#2696
Is Aeva automatically detecting widescreen yet? And is there max-width?

I haven't upgraded for a while, just waiting for a few things.

Nao 尚

Quote from: mark7144 on January 16, 2009, 03:07:20 PM
Is Aeva automatically detecting widescreen yet?
Yes.

QuoteAnd is there max-width?
No. As I said earlier -- css is the best solution because you can put several max-widths according to the container/parent div.
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 尚

One of the things to test for-- the site list! Please make sure the admin area tells you it updated it. It should only do the check once a day. Normally, it will do it as soon as you install v42 and go to the admin area.
Also make sure it doesn't ask you to update Aeva itself. (It should do it as soon as I release a new update after v42.)
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.

unformatted_

Hi!

I've just installed this mod on smf 1.1.6 and i'm lving it.
I'm using for player mp3 files.
It's possible to change de mp3 player (swf) to something much bigger and more pretty? And where is the .swf player?

thanks!

Advertisement: