![]() |
Just as FYI... Im on holiday so to relax, I crakced this code back open to add some more functionality. Got most of it sorted so there may be a version 2.0 coming out of the blue within the next week.
Specifically, it: 1- Addresses the UTF problem mentioned on this page (title with special characters like ?) 2- Sorts out vanishing $ characters from quotes and code blocks 3- Adds support for vblog 4- Adds support for group posts Ill more than likely remove most of the 'installed' codes sinces they seem to keep changing more than I update this mod :) DJ (and others) seem to be doing a great job evolving the Code set and I think having AME come with outdated codes doesnt make much sense to new users :) Anyhoo... the above fixes and features are already done. Ill add a couple toggle switches for the new supported areas and do some gerenal housekeeping on the code before I release. If there is anything else you can think of that may be needed (apart from codes), give me a shout in this thread, however I can't guarantee that it will make it in. nJoy all :) |
nJoy indeed - the additional functionality for blogs and group posts is awesome!
Thank you TG and hope all is well! Cheers, Regs. |
Quote:
Quote:
Quote:
This would be entirely self-motivated, but an Add New option in the menu, rather then way down at the bottom of the page would be nice too (well, way down when you have 155+ entries. :erm:) From a user's perspective, I think some folks would like a multiple delete option. I like the fact that definitions don't overwrite, but when I have too much coffee and do one of my larger definition updates, a lot of folks have asked if that could be added. Maybe a checkbox type deal. I ran into a couple of posts here on the forum that suggested that AME rebuilt ALL your media link and that if you uninstalled it, you'd end up with useless links, which is why some are using PassiVid. I was hoping you could clarify that doesn't happen (unless you manually choose to) in the description, because I think some folks are misreading. Other then that, hrm, I don't know. Categories maybe? A couple of people suggested a Profile Block, but, I don't know if thats outside the scope of this mod. Eh, I'm fishing. :D This is definitely my favorite modification and I look forward to the next update. Thanks a bunch for not forgetting us. :) Will you be releasing this in the 3.7 section as well? |
I had a quick question for you, Geek. Does AME add any conditions where you could check for it on threadbit? Someone suggested recently a little TV icon by the thread title when a video is posted in it. But I didn't know what, if anything, to look for to set up an <if> conditional.
|
Quote:
1- Add a field to the thread table (i.e. ame_count) 2- in the automediaembed_prep_text_end hook, put something along these lines: PHP Code:
Saying that, you would then want to update during edits, deletes and moving of posts. A bit of a pain, but the best 'performance' method possible :D Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
I am currently working on the rebuilding of blog and group posts which is a bit long winded and will add your suggestions above. Thanks for your continued support on this project :) After looking at the current options availible, I still think AME is by far the best media embedder for customisability and performance. nJoy |
Quote:
Quote:
Quote:
Quote:
Oh, I know. I did have one more question with regard to this, and I can't believe I almost forgot to ask. Sometimes, depending on the site, it's just impossible to get the pertinent data from the URL or the source page. A lot of times it's because the video embed ID isn't part of the HTML, but generated dynamically or the embed code might be located on a separate page. Is there a way to have the RegEx look to a different page then the source? I guess an example would be like this: The source page is: www.videosite.com/dont_click The video ID is neither extractable from the URL nor the source page, but it can be found on these pop-up windows: www.videosite.com/embed_code/dont_click or www.videosite.com/embed_code/dont_click/videoid=123456 So I build a RegEx for the main URL. Either http://www\.videosite\.com/[\w]+ or ([\w]+) And somehow have a field where I can tell the RegEx/Embed RegEx to look either in a new specified source page, or in a new specified URL. I don't think there's anything that can be done for information that's buried in javascript. Also, every so often, embed code is javascript, and it just doesn't convert when posted. |
Hmmm... can't you do that with the replacement code or using the extraction method? There obviously has to be a link to the popup (which is what I would extract)
Maybe if you give me a link as an example I can get a better idea or offer some suggestions. Just remember that I am on vacation and I don't have regexp buddy installed on this box so I don't want to spend to much time getting caught up in Regexps :D |
Don't mind me. I've had more pots of coffee then the USDA Recommended Daily Allowance. Since I last posted, I knitted a Buick....
Seriously, though, I had some great examples, and I can't seem to find any of them at the moment. One or two of the sites I was having trouble with apparently just changed their URL strings. (!!) Basically, what I'm running into now and again is where the extraction method is of no use, because the pertinent data is not anywhere on that page, so the RegEx can't reference it at all. (Crazy sites where the video ID might be 3678, but every number in the HTML of the page is 3677. :confused: ) But often, the data I need is located in a pop-up window, a completely different page. If I could only get the RegEx to scan that page I could nab it. Sometimes, I'm out of luck because the entirety of the page is generated by javascript, with nary a video ID to be found. I don't think much can be done about that. Hey, like I said, I'm 90% caffeine at the moment. Enjoy your vacation. :D |
Here is beta 1 of 2.0 if you want to test and give me your feedback. Only things I have identified so far are:
1- First posts in a groupmessage via the quick reply wont AME (though subsequent ones will and editing it will) 2- I havent removed any of the defunct definitions yet nJoy |
Geek, if a Version 2 goes Gold soon then you're officially the Coolest Geek on board.
|
All times are GMT. The time now is 08:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|