Mesaja sadece videonun linkini yapıştırın, ve bırakın gerisini modifikasyon yapsın..
Modifikasyonu buradan indirebilirsiniz.Uyumluluk: 1.1.X
Desteklediği siteler:
- YouTube (Standart & Playlist)
- Google Video
- MetaCafe
- MySpaceTv
- Stage6 *(Requires Installation of Dixv Plugin)
- Veoh
- Gametrailers
- LiveLeak
- CellFish
- MyVideo.de
- ClipFish.de
- Liberio.it
- 123video.nl
- VSocial
- IFilm
- Sevenload
- Revver
- BrightCove
- Aniboom
- Vimeo
- Guba
- Glumbert
- Tudou
- dv.ouou
- Biku
- GameVideos
Bu modun yeni hali aşağıdaki gibidir.Yönetici arkadaşlardan biri bu anlatımı ilk mesaja eklerse güzel olur.Mod BilgileriName:Auto Embed Video/Audio Clips
Created By:karlbenson
Type:New Feature
First Created:08 Ekim 2007, 22:10:17
Last Modified:18 Temmuz 2008, 09:15:29
Latest Version:3.1.2
Compatible With:1.1.4, 1.1.5, 2.0 Beta 3 Public, 2.0 Beta 3.1 Public
Ekteki
Subs-AEVAC.php dosyası $sourcedir hedefine kopyalanacaktır.
Bu dosyayı
buradan indiriniz.
$sourcedir ==> Sources dosyası$sourcedir/Load.php dosyasında
Bul:$profile['signature'] = parse_bbc($profile['signature'], true, 'sig' . $profile['ID_MEMBER']);
Öncesine ekle:
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// Prevent embedding in signatures
$context['disableAEVAC'] = 1 ;
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
$sourcedir/Post.php Dosyasında
Bul:// Previewing? Go back to start.
if (isset($_REQUEST['preview']))
return Post();
Sonrasına Ekle:
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On POSTING new topic/reply
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
if(!empty($_POST['message']))
{
require_once($sourcedir .'/Subs-AEVAC.php');
$_POST['message'] = PostingProtectAndObtain($_POST['message']);
}
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
Bul:
if (isset($_POST['lock']))
{
if (!allowedTo(array('lock_any', 'lock_own'))
Sonrasına Ekle:
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On Quick Edit
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
if(!empty($_POST['message']))
{
global $sourcedir;
require_once($sourcedir .'/Subs-AEVAC.php');
$_POST['message'] = PostingProtectAndObtain($_POST['message']);
}
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
$sourcedir/Subs.php dosyasında
Bul:$open_tags = array();
$message = strtr($message, array("\n" => '<br />'));
Öncesine Ekle:
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// Protect Codes/Quotes - BEFORE Parsing of BBC
// - Disabled if embedding is disabled now (reached limits?)
// - Disabled for printer friendly pages since we won't be embedding on them anyway
// - Protection only necessary if contains http:// link and code/quote tag
if(empty($context['disableAEVAC']) && $smileys !== "print" && stripos($message, 'http://') !== false)
{
global $sourcedir;
@require_once($sourcedir.'/Subs-AEVAC.php');
// Protect all these items
$message = ProtectSections(
array(
// bbc => replace (true), retain (false)
'code' => false,
'noembed' => true,
),
$message
);
// We're adding [aevac] around the quotes, but NOT protecting the code, we're letting it parse out first
$message = preg_replace(array('~\[/aevac]'), $message);
}
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
Bul:
$message = strtr($message, array(' ' => ' ', "\r" => '', "\n" => '<br />', '<br /> ' => '<br /> ', '' => "\n"));
Sonrasına ekle:// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// Do not attempt to auto embed for
// - Printer friendly pages
// - If disableAEVAC is set (eg for signatures, wysiwyg)
// - If there are no links
// - If we've already exceeded our limits
global $sourcedir;
if($smileys !== "print" && empty($context['disableAEVAC']) && stripos($message, '<a href="http://') !== false && (!isset($autoembedmax) || $autoembedmax != 0))
{
@require_once($sourcedir.'/Subs-AEVAC.php');
// Quotes we're pre-protected, now they've been converted we can parse them out
$message = ProtectSections(array('aevac' => false), $message);
$message = AutoEmbedVideoAudioClips($message);
}
elseif(stripos($message, '[aevac]') !== false || stripos($message, 'aevac://') !== false)
{
@require_once($sourcedir.'/Subs-AEVAC.php');
// Quotes we're pre-protected, now they've been converted we can parse them out
$message = ProtectSections(array('aevac' => false), $message);
// Make Links active
if(!empty($modSettings['autoLinkUrls']))
$message = AutoLinkUrls($message, false);
// Undo the protection
$message = str_replace('aevac://', 'http://', $message);
}
// Reset the status
$context['disableAEVAC'] = 0 ;
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
SMF 2.x.x versiyonu kullananlar yukarıdaki dosyalara kod ekledikten sonra aşağıdaki dosyaya da kod ekleyeceklerdir:$sourcedir/Subs-Editor.php Dosyasında
Bul:$text = parse_bbc($text, true, '', $allowed_tags);
Sonrasına Ekle:
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// SMF 2.x Edit Only - Prevent embedding in the WYSIWYG
global $context;
$context['disableAEVAC'] = 1 ;
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
Bu kadar.Şimdi yapacağınız tek şey,videonuzun url sini yazmak.Bu kadar....
Sonra modifikasyon içinden çıkan "
Subs-AutoEmbedVideoClips.php" dosyasını Sources klasörüne yükleyin yeter.