Thread: BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender
View Single Post
  #946  
Old 12-24-2010, 05:19 AM
BSViper BSViper is offline
 
Join Date: Mar 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fly View Post
Those who don't have it working on 4.1 - Read the first post of the thread, specifically the part that starts: "NOTE ABOUT vB4.0.3"

This mod works perfectly on 4.1.
After spending whole day, i finally find solution.

Now this mod working for me on 4.1
For example, i'll talk about youtube.

If you want up&run this mode, try doing next:
1. Make sure, what your forum parsing youtube links. For this try make new post by extended editor, and insert link by standard "video link" dialog (pic 1.)
2. If link still not work check two settings. First - make sure, what allow remote retrieval count not equal zero. Go to Admin CP => Options => BB Code Settings (pic 2). Second - make sure, what forum where your try post link have enabled IMG tag. Go to Admin CP => Forum and moderators => Forum manager => Your forum, choose edit=> Enable\Disable Features, and check [IMG] settings (pic 3).
3. Then, if your link start working properly, you may install AME as described. After install, just edit this file - functions_video.php.

Find
Code:
global $vbulletin;
and insert after this
Code:
require_once(DIR . '/includes/ame_prep.php');
$providers = ame_data_preparse($pagetext);
If you wan't edit any file, try this version - https://vborg.vbsupport.ru/showpost....&postcount=713
It's worked for me also.

Yep. You're done!

Nothing new, just placed in one place..
Attached Images
File Type: jpg editor.jpg (47.2 KB, 0 views)
File Type: jpg bbcode.jpg (24.7 KB, 0 views)
File Type: jpg option.jpg (46.0 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02210 seconds
  • Memory Usage 1,790KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_code
  • (1)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
  • (3)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete