View Single Post
  #1406  
Old 08-25-2008, 06:54 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
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.
Hmm... Thats kind of a cool idea, but out of the scope of this mod. However it could easily be done by creating an add on that uses AME's hooks:
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:
if ($flag)
{
global 
$threadid;
//update ame_count


you could then use the ame_count field in a conditional for the TV icon.

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

Quote:
Originally Posted by Digital Jedi View Post
Hrm, well, from a developer's standpoint, I would love a toggle switch to select/deselect all definitions in the Export screen. I've got a trick where I can Tab+Spacebar through the list pretty quick, but as you can imagine, with 155 definitions, my hand starts to cramp right around 50.
ok

Quote:
Originally Posted by Digital Jedi View Post
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
np

Quote:
Originally Posted by Digital Jedi View Post
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.
Make sense

Quote:
Originally Posted by Digital Jedi View Post
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.
AME can overwrite media links if you want. That is what the conversion tool is for, it essentially takes the plethora of [media] tags and turns them into URL tags, essentially allowing you to uninstall them. Without breaking old posts. From that point you could then run the rebuild tool to convert into AME codes if that is what you wanted, however AME doesnt do this by default, you would have to run the tool.

Quote:
Originally Posted by Digital Jedi View Post
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.
Yea, it really is outside the scope as AME is designed to scan blocks of text for userdefined URL patterns. A profile block would KNOW that it was geting a media URL and could simply display it in an object tag. In fact, that is pretty easy to do, the only messy part is adding a block as IMO it is very easy and doable, just kind of messy.

Quote:
Originally Posted by Digital Jedi View Post
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 suppose it will need to go into the 3.7 section as it won't work on 3.6 and it should infer that it works with 3.7x (thought this version does too).

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
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01081 seconds
  • Memory Usage 1,797KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete