[MOD] BBcode Quick time Player / BBkod Quick time Oynatıcı

EftelyA

Yaşayan Forum Efsanesi
22 Kas 2007
9,097
59
EsEs
###############################################
## MOD İSMİ: Quick time Player BBCODE
## VERSİYONU: 0.1
## YAPIMCISI: Jikey
## AÇIKLAMASI: Let's you play Quick time Media files.
## Compatibility: 2.0.8
## URL : English Support: www.jikey.net/english
## Chinese Support: www.jikey.net/chinese
## KURULUM SEVİYESİ: KOLAY
## KURULUM SÜRESİ : 3 DK
## Files To Edit: 4
## bbcode.php
## bbcode.tpl
## posting.php
## lang_main.php
###############################################
## This hack is released under the GPL License.
## This hack can be freely used, but not distributed, without permission.
## Intellectual Property is retained by the hack author(s) listed above.
###############################################

#
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php
#
#-----[ FIND ]------------------------------------------
#
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
#
#----[ AFTER, ADD ]-----------------------------------------
#
//www.jikey.net
$bbcode_tpl['quick'] = str_replace('{URL}', '\\1', $bbcode_tpl['quick']);
#
#-----[ FIND ]------------------------------------------
#
// [email protected] code..
$patterns[5] = "#\[email\]([a-z0-9\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si";
$replacements[5] = $bbcode_tpl['email'];
#
#----[ AFTER, ADD ]-----------------------------------------
# Note: you may need to change array number if used with other BBcode mods
#
//[ quick ]and[ /quick ]for quicking audio.
$patterns[6] = "#\[quick:$uid\](.*?)\[/quick:$uid\]#si";
$replacements[6] = $bbcode_tpl['quick'];
#
#-----[ FIND ]------------------------------------------
#
//
code..
$text = preg_replace("#\[img\](http(s)?://)([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+]+)\[/img\]#si", "[img:$uid]\\1\\3[/img:$uid]", $text);
#
#----[ AFTER, ADD ]-----------------------------------------
#
//[ quick]image_url_here[/quick ]code..
$text = preg_replace("#\[quick\](([a-z]+?)://([^, \n\r]+))\[/quick\]#si", "[quick:$uid]\\1[/quick:$uid]", $text);
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/bbcode.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</A><!-- END email -->

#
#----[ AFTER, ADD ]-----------------------------------------
#
<!-- BEGIN quick -->
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="420" HEIGHT="276" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0">
<PARAM NAME="controller" VALUE="TRUE">
<PARAM NAME="type" VALUE="video/quicktime">
<PARAM NAME="autoplay" VALUE="true">
<PARAM NAME="target" VALUE="myself">
<PARAM NAME="src" VALUE="{URL}">
<PARAM NAME="pluginspage" VALUE="http://www.apple.com/quicktime/download/indext.html">
<EMBED WIDTH="420" HEIGHT="276" CONTROLLER="TRUE" TARGET="myself" SRC="{URL}" type="video/quicktime" BGCOLOR="#000000" BORDER="0" PLUGINSPAGE="http://www.apple.com/quicktime/download/indext.html"></EMBED>
</OBJECT>
<!-- END quick -->


#
#-----[ OPEN ]------------------------------------------
#
posting.php


#
#-----[ FIND ]------------------------------------------
#

'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_BBCODE_qt_HELP' => $lang['bbcode_qt_help'],

#
#-----[ OPEN ]------------------------------------------
#
lang_main.php

#
#-----[ FIND ]------------------------------------------
#
$lang['bbcode_f_help'] = "Font size: [size=x-small]small text[/size]";

#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['bbcode_qt_help'] = "Quick time online: [quick]http://link_of_quick_time[/quick]";

#
#-----[ OPEN ]------------------------------------------
#
templates/xxx/posting_body.tpl

#
#-----[ FIND ]------------------------------------------
#
f_help = "{L_BBCODE_F_HELP}";


#
#-----[ AFTER, ADD ]------------------------------------------
#
qt_help = "{L_BBCODE_qt_HELP}";

#
#-----[ FIND ]------------------------------------------
#
,'',''

#
#-----[ AFTER, ADD ]------------------------------------------
#
,'[quick]','[/quick]'

#
#-----[ FIND ]------------------------------------------
#
<td><span class="genmed"><input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" /></span></td>
#
#-----[ AFTER, ADD ( note: +2 if you hack other bbcode )]------------------------------------------
#
<td><span class="genmed"><input type="button" class="button" accesskey="qt" name="addbbcode18" value="quicktime" style="width: 80px" onClick="bbstyle(18)" onMouseOver="helpline('qt')" /></span></td>
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.