[mod] YouTube Video BBCode-forumda video izleyin [çalışıyor]

[url=http://www.phpbbturkey.com/mods.html:34cnv4ga]phpBB 2.0.x MOD Veritabanımızda[/url:34cnv4ga] yayınlanan ve tarafınızca eklenen tüm yeni phpBB 2.0.x sürümleri için MODların duyuruları buradan yapılmaktadır. MODlar hakkında ihtiyacınız olan desteği lütfen [b:34cnv4ga]2.0.x MOD Destek[/b:34cnv4ga] forumuna başlık açarak sorunuz.

YouTube Video BBCode modunu beğendiniz mi ?

evet
66
87%
hayır
10
13%
 
Toplam oy: 76

Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

[mod] YouTube Video BBCode-forumda video izleyin [çalışıyor]

Mesaj gönderen cupra »

evet forumlarda video izlememiz için bir mod.. uzun bir çalışma sonucu keşfettim sizlerle paylaşıyorum..
phpbbmod.com 'dan sonra ilk phpbbturkey.com'da

yazar :cupra

:arrow: demo linki : http://www.burhanabi.com

Modun 2 şekilde kurulması olası:
1. advanced bbcode box içine entegre :advanced bbcode box modu kuruluysa bu kurulumu yapın

2.ayrı ayrı Kurulum : Normal kurulum



1.Entegre Kurulum:

İndir : http://www.phpbbhacks.com/download/7067


Kod: Tümünü seç

##############################################################
## MOD Title: integrate youtube and google-video in advanced bbcode box
## MOD Author: freddie < freddie@tactic.be > http://www.tactic.be
## MOD Description: This mod adds 2 image buttons to your advanced BBcode box, one for youtube and one for google-video
## MOD Version: 1.0.0 
## 
## Installation Level: easy 
## Installation Time: 5 Minutes
## Files To Edit:
##     mods/bbcode_box/add_bbcode.js
##     mods/bbcode_box/bbcode_box.js
##     includes/bbcode.php
##     templates/subSilver/bbcode.tpl
##     templates/subSilver/posting_body.tpl
##     language/your language/lang_main.php
##
## Included Files: googlevid.gif, youtube.gif
##
## Verified Compatability: i'm running 2.0.21
##
## topic on phpbb.com with screenshots : http://www.phpbb.com/phpBB/viewtopic.php?t=458424
############################################################## 
## Author Notes: put the included images in mods/bbcode_box/images/ !!!
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
#
#-----[ OPEN ]------------------------------------------
# 
language/your language/lang_main.php

#
#-----[ FIND ]------------------------------------------ 
# 
$lang['bbcode_f_help']

#
#-----[ AFTER, ADD ]------------------------------------------
# 
$lang['bbcode_help']['GVideo'] = 'GVideo: [GVideo]GVideo URL[/GVideo]';
$lang['GVideo_link'] = 'Link'; 

$lang['bbcode_help']['youtube'] = 'YouTube: [youtube]YouTube URL[/youtube]'; 
$lang['youtube_link'] = 'Link';

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

#
#-----[ FIND ]------------------------------------------ 
# 
<img border="0" src="mods/bbcode_box/images/ram.gif" name="ram" type="image" onClick="BBCram()" onMouseOver="helpline('ram')" class="postimage" alt="Real Media">

#
#-----[ INLINE, AFTER, ADD ]------------------------------------------
# 
<img border="0" src="mods/bbcode_box/images/googlevid.gif" name="GVideo" type="image" onClick="BBCGVideo()" onMouseOver="helpline('googlevid')" class="postimage" alt="GoogleVid"><img border="0" src="mods/bbcode_box/images/youtube.gif" name="youtube" type="image" onClick="BBCyoutube()" onMouseOver="helpline('youtube')" class="postimage" alt="Youtube">

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/bbcode.tpl

#
#-----[ FIND ]------------------------------------------ 
# 
</EMBED></OBJECT><!-- END flash -->

#
#-----[ AFTER, ADD ]------------------------------------------
# 
<!-- BEGIN GVideo -->
<object width="425" height="350"> 
        <param name="movie" value="http://video.google.com/googleplayer.swf?docId={GVIDEOID}"></param> 
<embed style="width:400px; height:326px;" id="VideoPlayback" 
        align="middle" type="application/x-shockwave-flash" 
        src="http://video.google.com/googleplayer.swf?docId={GVIDEOID}" 
        allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" 
        scale="noScale" salign="TL"  FlashVars="playerMode=embedded"> 
</embed> 
</object><br /> 
<a href="http://video.google.com/googleplayer.swf?docId={GVIDEOID}" target="_blank">{GVIDEOLINK}</a><br /> 
<!-- END GVideo --> 

<!-- BEGIN youtube --> 
<object width="425" height="350"> 
   <param name="movie" value="http://www.youtube.com/v/{YOUTUBEID}"></param> 
   <embed src="http://www.youtube.com/v/{YOUTUBEID}" type="application/x-shockwave-flash" width="425" height="350"></embed> 
</object><br /> 
<a href="http://youtube.com/watch?v={YOUTUBEID}" target="_blank">{YOUTUBELINK}</a><br /> 
<!-- END youtube -->

#
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php

#
#-----[ FIND ]------------------------------------------ 
# 
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);

#
#-----[ AFTER, ADD ]------------------------------------------
#
$bbcode_tpl['GVideo'] = str_replace('{GVIDEOID}', '\\1', $bbcode_tpl['GVideo']);
$bbcode_tpl['GVideo'] = str_replace('{GVIDEOLINK}', $lang['GVideo_link'], $bbcode_tpl['GVideo']); 

$bbcode_tpl['youtube'] = str_replace('{YOUTUBEID}', '\\1', $bbcode_tpl['youtube']); 
$bbcode_tpl['youtube'] = str_replace('{YOUTUBELINK}', $lang['youtube_link'], $bbcode_tpl['youtube']);

#
#-----[ FIND ]------------------------------------------ 
# 
// [email]user@domain.tld[/email] code..
$patterns[] = "#\[email\]([a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si"; 
$replacements[] = $bbcode_tpl['email'];

#
#-----[ AFTER, ADD ]------------------------------------------
#
// [GVideo]GVideo URL[/GVideo] code..
$patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/videoplay\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
$replacements[] = $bbcode_tpl['GVideo']; 
          
 // [youtube]YouTube URL[/youtube] code.. 
$patterns[] = "#\[youtube\]http://(?:www\.)?youtube.com/watch\?v=([0-9A-Za-z-_]{11})[^[]*\[/youtube\]#is"; 
$replacements[] = $bbcode_tpl['youtube'];

#
#-----[ OPEN ]------------------------------------------
#
mods/bbcode_box/bbcode_box.js

#
#-----[ FIND ]------------------------------------------ 
# 
var symbol = 0;

#
#-----[ AFTER, ADD ]------------------------------------------
#
var youtube = 0;
var GVideo = 0;

#
#-----[ FIND ]------------------------------------------ 
#
function helpline(help) {

#
#-----[ BEFORE, ADD ]------------------------------------------
#
function BBCGVideo() {
   var FoundErrors = ''; 
   var enterURL   = prompt("Give the URL of the page containing the movie", "http://"); 
   if (!enterURL)    { 
      FoundErrors += " Error: Didnt gave an URL"; 
   } 
   if (FoundErrors)  { 
      alert("Error:"+FoundErrors); 
      return; 
   } 
   var ToAdd = "[GVideo]"+enterURL+"[/GVideo]"; 
   PostWrite(ToAdd); 
} 

function BBCyoutube() { 
   var FoundErrors = ''; 
   var enterURL   = prompt("Give the URL of the page containing the movie", "http://"); 
   if (!enterURL)    { 
      FoundErrors += " Error: Didnt gave an URL"; 
   } 
   if (FoundErrors)  { 
      alert("Error:"+FoundErrors); 
      return; 
   } 
   var ToAdd = "[youtube]"+enterURL+"[/youtube]"; 
   PostWrite(ToAdd); 
}

#
#-----[ OPEN ]------------------------------------------
#
mods/bbcode_box/add_bbcode.js

#
#-----[ FIND ]------------------------------------------ 
# 
var symbol = 0;

#
#-----[ AFTER, ADD ]------------------------------------------
#
var youtube = 0;
var GVideo = 0;
#
#-----[ FIND ]------------------------------------------ 
#
function helpline(help) {

#
#-----[ BEFORE, ADD ]------------------------------------------
#
function BBCGVideo() {
   var FoundErrors = ''; 
   var enterURL   = prompt("Give the URL of the page containing the movie", "http://"); 
   if (!enterURL)    { 
      FoundErrors += " Error: Didnt gave an URL"; 
   } 
   if (FoundErrors)  { 
      alert("Error:"+FoundErrors); 
      return; 
   } 
   var ToAdd = "[GVideo]"+enterURL+"[/GVideo]"; 
   PostWrite(ToAdd); 
} 

function BBCyoutube() { 
   var FoundErrors = ''; 
   var enterURL   = prompt("Give the URL of the page containing the movie", "http://"); 
   if (!enterURL)    { 
      FoundErrors += " Error: Didnt gave an URL"; 
   } 
   if (FoundErrors)  { 
      alert("Error:"+FoundErrors); 
      return; 
   } 
   var ToAdd = "[youtube]"+enterURL+"[/youtube]"; 
   PostWrite(ToAdd); 
}

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM


2. Ayrı ayrı kurulum

2 aşamadan oluşuyor 2 mod kuracağız..

1. Multiple BBCode MOD
2. YouTube Video BBCode

sırayla bu modları kurup videolarınızı izletiyoruz..
1.

Kod: Tümünü seç

## easymod compliant
############################################################## 
## MOD Title:    Multiple BBCode MOD
## MOD Author:   Nuttzy99 < nospam@blizzhackers.com > (n/a) http://www.blizzhackers.com
## MOD Author, Secondary: wGEric < eric@best-dev.com > (Eric Faerber) http://mods.best-dev.com/
##
## MOD Description:  Allows you to install BBCode MODs that
##    add quick BBCode buttons in post edits.  Without this
##    MOD, there is no standard way of installing BBCode MODs.
## MOD Version:  1.4.0c
## 
## Installation Level:  EASY
## Installation Time:   2 minutes
## Files To Edit:       posting.php
##                      templates/subSilver/posting_body.tpl
## Included Files:      n/a
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/
############################################################## 
##
## Author Notes:
##     + if Multi BBCode MOD v1.0.1 is already installed, use the update to 1.2.0 MOD
##          and do NOT install this MOD script
##     + Works with phpBB 2.0.2 thru 2.0.10
##     + installable with EasyMOD
##
##	Version 1.4.0 makes it so MOD Authors don't have to set a hotkey for their BBCodes.
##
##	I have added instructions to the MOD that tell MOD Authors what to do in the language files
##	This isn't required but I heavily recommend that you do it anyways just in case the MOD Authors
##	use something in what I have added as their FIND.
##
############################################################## 
##
## MOD History:
##
##    2004-09-26 - Version 1.4.0
##	   + Sets hot key automatically
##	   + Adds it to Private Messages (version b)
##	   + Fixes a help line bug (version c)
##
##    2003-09-25 - Version 1.2.1
##         + improved MOD Template compliance
##
##    2003-08-15 - Version 1.2.0
##         + updated for 2.0.6
##         + allows additional hotkeys - Xore did most of the work ;-)
##         + made EasyMOD compatiable
##
##    2003-02-03 - Version 1.0.1
##         + updated for 2.0.4
##         + no code changes required, just updated the header info
##
##    2002-08-31 - Version 1.0.0
##         + initial release
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 


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


# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
# make_jumpbox('viewforum.'.$phpEx);
#
make_jumpbox(


# 
#-----[ AFTER, ADD ]---------------------------------
#
Multi_BBCode();

# 
#-----[ OPEN ]---------------------------------
# 
privmsg.php


# 
#-----[ FIND ]---------------------------------
#
	generate_smilies('inline', PAGE_PRIVMSGS);


# 
#-----[ AFTER, ADD ]---------------------------------
#
Multi_BBCode();

# 
#-----[ OPEN ]---------------------------------
#
includes/bbcode.php
# 
#-----[ FIND ]---------------------------------
#
$bbcode_tpl = null;
# 
#-----[ AFTER, ADD ]---------------------------------
#

// MULTI BBCODE-begin
function Multi_BBCode()
{
	global $template, $lang;

	// DO NOT CHANGE THIS ARRAY
	$hotkeys = array('', 'd', 'e', 'g', 'h', 'j', 'k', 'm', 'n', 'r', 't', 'v', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0');

	//NOTE: the first element of each array must be ''   Add new elements AFTER the ''
	$EMBB_widths = array('') ;
	$EMBB_values = array('') ;
	for ($i=1; $i<count($EMBB_values); $i++)
	{
		// load BBcode MODs info
		$val = ($i*2)+16 ;
		$help_lang = ( !empty($lang['bbcode_help'][(strtolower($EMBB_values[$i]))]) ) ? $lang['bbcode_help'][(strtolower($EMBB_values[$i]))] : $lang['bbcode_help'][$EMBB_values[$i]];
		$template->assign_block_vars('MultiBB', array(
			'KEY' => $hotkeys[$i],
			'NAME' => "addbbcode$val",
			'HELP' => sprintf($help_lang, $hotkeys[$i]),
			'WIDTH' => $EMBB_widths[$i],
			'VALUE' => $EMBB_values[$i],
			'STYLE' => "bbstyle($val)")
		);
	}
}
// MULTI BBCODE-end

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


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

# 
#-----[ AFTER, ADD ]---------------------------------
#
<!-- BEGIN MultiBB -->
{MultiBB.VALUE}_help = "{MultiBB.HELP}";
<!-- END MultiBB -->

#
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#			  <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>
#
	name="addbbcode16"
	</td>

# 
#-----[ AFTER, ADD ]---------------------------------
#

			<!-- BEGIN MultiBB -->
			<td><span class="genmed">
			  <input type="button" class="button" accesskey="{MultiBB.KEY}" name="{MultiBB.NAME}" value="{MultiBB.VALUE}" style="width: {MultiBB.WIDTH}px" onClick="{MultiBB.STYLE}" onMouseOver="helpline('{MultiBB.VALUE}')" />
			  </span></td>
			<!-- END MultiBB -->
# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#					<select name="addbbcodefontcolor" onChange="bbfontstyle('[color=' + this.form.addbbcodefontcolor.options[this.form.addbbcodefontcolor.selectedIndex].value + ']', '[/color]')" onMouseOver="helpline('s')">
#
	name="addbbcode18"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
name="addbbcode18"


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
name="addbbcodefontcolor"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode18.options


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontcolor.options


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode18.selectedIndex


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontcolor.selectedIndex


# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#					</select> &nbsp;{L_FONT_SIZE}:<select name="addbbcodefontsize" onChange="bbfontstyle('[size=' + this.form.addbbcodefontsize.options[this.form.addbbcodefontsize.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
#
	name="addbbcode20"

# 
#-----[ IN-LINE FIND ]---------------------------------
#
name="addbbcode20"


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
name="addbbcodefontsize"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode20.options


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontsize.options


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode20.selectedIndex


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontsize.selectedIndex

# 
#-----[ OPEN ]---------------------------------
#
language/lang_english/lang_main.php

# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#	$lang['bbcode_f_help'] = 'Font size: [size=x-small]small text[/size]';
#
$lang['bbcode_f_help']

# 
#-----[ AFTER, ADD ]---------------------------------
#

//
// bbcode help format goes like this
// $lang['bbcode_help']['value'] = 'BBCode Name: Info (Alt+%s)';
//
// value is what you put in $EMBB_values in posting.php
// %s gets replaced with the automatic hotkey that the bbcode gets assigned
//
$lang['bbcode_help']['value'] = 'BBCode Name: Info (Alt+%s)';

#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------------
#
# EoM

2.

Kod: Tümünü seç

############################################################## 
## MOD Title: YouTube Video BBCode 
## MOD Author: michaeltripp < iamdrscience@hotmail.com > (Mike) http://itsbeenconfirmed.com 
## MOD Description: Adds a new bbcode allowing you to easily embed videos from YouTube.com.
## MOD Version: 1.0.1 
## 
## Installation Level: (Easy) 
## Installation Time: ~5 Minutes
## Files To Edit: - includes/bbcode.php,
##                - langugage/lang_english/lang_main.php,
##                - templates/subSilver/bbcode.tpl,
##                - templates/subSilver/posting_body.tpl
## Included Files: n/a
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
############################################################## 
## For security purposes, please check: http://www.phpbb.com/mods/ 
## for the latest version of this MOD. Although MODs are checked 
## before being allowed in the MODs Database there is no guarantee 
## that there are no security problems within the MOD. No support 
## will be given for MODs not found within the MODs Database which 
## can be found at http://www.phpbb.com/mods/
############################################################## 
## Author Notes: 
##   You must have Multiple BBCode MOD installed for this to work.
##      Get it here: http://www.phpbb.com/phpBB/viewtopic.php?t=74705
##
##      example:
##  [youtube]YouTube URL[/youtube]
##
##  YouTube URL is the "Video URL (Permalink)" or the URL of the page the video 
##  is on, NOT the "Embeddable Player" code they have on their video pages.
## 
############################################################## 
## MOD History: 
##
##  2006-03-20 - Version 1.0.1
##	-Changed the names of the variables tbat are replaced in bbcode.tpl
##	from VIDEO and LINK to YOUTUBEID and YOUTUBELINK, because the names
##	were too common making it likely that they would conflict with other mods.
##
##  2006-03-17 - Version 1.0.0
##
##  2006-03-16 - Version 0.9.3
##	-Fixed a problem in the regex that allowed some invalid but benign input
##
##  2006-03-15 - Version 0.9.2
##	-Made the word "link" was a language variable
##	-Made the link open in a new window
##	-YouTube video IDs can have dashes, so I changed the regex to account for this
##	-Moved the link underneath the video instead of beside it
##
##  2006-03-07 - Version 0.9.1
##	-Added link for browsers YouTube's player doesn't like, i.e. Opera :(
##
##  2006-03-06 - Version 0.9.0
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

#
#-----[ OPEN ]---------------------------------
#
includes/bbcode.php

#
#-----[ FIND ]---------------------------------
#
$EMBB_widths = array(''

#
#-----[ IN-LINE FIND ]---------------------------------
#
 array(''

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'60'

#
#-----[ FIND ]---------------------------------
#
$EMBB_values = array(''

#
#-----[ IN-LINE FIND ]---------------------------------
#
$EMBB_values = array(''

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'YouTube'

#
#-----[ FIND ]------------------------------------------
#
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
#
#-----[ AFTER, ADD ]------------------------------------------
#

$bbcode_tpl['youtube'] = str_replace('{YOUTUBEID}', '\\1', $bbcode_tpl['youtube']);
$bbcode_tpl['youtube'] = str_replace('{YOUTUBELINK}', $lang['youtube_link'], $bbcode_tpl['youtube']);

#
#-----[ FIND ]------------------------------------------
#
$replacements[] = $bbcode_tpl['email'];
#
#-----[ AFTER, ADD ]------------------------------------------
#

// [youtube]YouTube URL[/youtube] code..
$patterns[] = "#\[youtube\]http://(?:www\.)?youtube.com/watch\?v=([0-9A-Za-z-_]{11})[^[]*\[/youtube\]#is";
$replacements[] = $bbcode_tpl['youtube'];
#
#-----[ OPEN ]---------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]---------------------------------
#
# NOTE: the full line to look for is:
#$lang['bbcode_f_help'] = "Font size: [size=x-small]small text[/size]";
#
$lang['bbcode_f_help'] =

#
#-----[ AFTER, ADD ]---------------------------------
#

$lang['bbcode_help']['youtube'] = 'YouTube: [youtube]YouTube URL[/youtube]';

$lang['youtube_link'] = 'Link';
#
#-----[ OPEN ]------------------------------------------ 
#
templates/subSilver/bbcode.tpl
    
#
#-----[ FIND ]------------------------------------------ 
#
<!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</a><!-- END email -->
#
#-----[ AFTER, ADD ]------------------------------------------ 
#

<!-- BEGIN youtube -->
<object width="425" height="350">
	<param name="movie" value="http://www.youtube.com/v/{YOUTUBEID}"></param>
	<embed src="http://www.youtube.com/v/{YOUTUBEID}" type="application/x-shockwave-flash" width="425" height="350"></embed>
</object><br />
<a href="http://youtube.com/watch?v={YOUTUBEID}" target="_blank">{YOUTUBELINK}</a><br />
<!-- END youtube -->
#
#-----[ OPEN ]---------------------------------
#
templates/subSilver/posting_body.tpl

#
#-----[ FIND ]---------------------------------
#
# NOTE: the actual line to find is MUCH longer, containing all the bbcode tags
#
bbtags = new Array(

#
#-----[ IN-LINE FIND ]---------------------------------
#
'[url]','[/url]'

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'[youtube]','[/youtube]'

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
#
# EoM

mesajlarda kullanım şekli

Kod: Tümünü seç

[youtube]http://youtube.com/watch?v=UY0xwRIGOdc[/youtube]

önemli not:
phpbbmod.com tarafından hazırlanmış ve test edilmiştir..


bu bilgiyi buradan alıp kendinize mal edecekseniz bile phpbbmod.com'dan alıntılanmıştır demeniz emeğe saygıyı gösterir..
cupra


Türkiyenin #1 phpBB kaynağı phpbbturkey.com
En son cupra tarafından 17.11.2006, 13:13 tarihinde düzenlendi, toplamda 6 kere düzenlendi.
Kullanıcı avatarı
Mirach
Destek Ekibi Lideri
Destek Ekibi Lideri
Mesajlar: 1664
Kayıt: 27.03.2006, 01:06
Konum: İstanbul

Mesaj gönderen Mirach »

çok tehlikeli paylaşımlar bunlar .. kıskanmasınlar ? ...
işte mükemmellik ..
Profilinde phpBB forumunun adresini girmemiş üyelere ve kurallara aykırı şekilde açılmış başlıklara destek verilmez.
Resim Resim Resim
Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

Mesaj gönderen cupra »

mirach teşekkürler, bilenler biliyordur muhakkak ama bişey bulunca dakkasında paylaşmayı seviyorum..
kullanan herkes güle güle kullansın..
Kullanıcı avatarı
crowzer
Kayıtlı Kullanıcı
Mesajlar: 623
Kayıt: 05.06.2006, 19:38
İletişim:

Mesaj gönderen crowzer »

Aynı Moda Senle aynı Anda Bende Bakıyordum Herhalde Çünkü Senin İsmini phpbb.com'da Görmüştüm Tam 2. Kodlardakini bulmuştum ve yapıyordum ki

includes/bbcode.php 'da şu kodu bulamadım

Kod: Tümünü seç

#-----[ OPEN ]--------------------------------- 
# 
includes/bbcode.php 

# 
#-----[ FIND ]--------------------------------- 
# 
$EMBB_widths = array('' 

# 
Neyse Birincisini Yapacağız Artık Süper Bir Paylaşım Teşekkürler :lol:
FoRumOlayi.com
Benimde İmzam Olmasın Ne Var Yani
Kullanıcı avatarı
crowzer
Kayıtlı Kullanıcı
Mesajlar: 623
Kayıt: 05.06.2006, 19:38
İletişim:

Mesaj gönderen crowzer »

Düzeltiyorum Birincisini kurmadan 2. sini Kuramıyormuş hehe :lol:
FoRumOlayi.com
Benimde İmzam Olmasın Ne Var Yani
Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

Mesaj gönderen cupra »

Kod: Tümünü seç

$EMBB_widths = array(''
bu kodu bulamazssanız çünkü multibb kurulmadan editlenmiyor..
bunu bulmak için kırk yeri deştim. türkiyede bu konuda takılan çok insan oldu youtube kuramadan sildiler..
ben sildirtmem :P
Kullanıcı avatarı
crowzer
Kayıtlı Kullanıcı
Mesajlar: 623
Kayıt: 05.06.2006, 19:38
İletişim:

Mesaj gönderen crowzer »

Teşekkürler Bu Mod İçin

Çupra başlığı Değiştirsen İyi Olur Bu da google Videoları İçin Mod :lol:

phpbb.com'dan

Kod: Tümünü seç

##############################################################
## MOD Title: Google Video Mod
## MOD Author: Perldude69 < perldude69@gmail.com > (James Hughes) http://www.wachadoo.com
## MOD Description: Add Google Videos to your phpBB site. 
## You must have Multiple BBCode MOD installed for this to work.
## Get it here: http://www.phpbb.com/phpBB/viewtopic.php?t=74705 
## MOD Version: 1.0.1b
## 
## Installation Level: Easy
## Installation Time: 2 minutes
## Files To Edit: 
## Included Files: 
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
## Generator: MOD Studio [ ModTemplateTools 1.0.2288.38406 ]
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: You must have Multiple BBCode MOD installed for this to work.
## Get it here: http://www.phpbb.com/phpBB/viewtopic.php?t=74705 
## Credits to YouTube Mod Author: michaeltripp < iamdrscience@hotmail.com > (Mike) http://itsbeenconfirmed.com 
## 
## This is just a modified version of his YouTube Mod
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################


#-----[ OPEN ]---------------------------------
#
includes/bbcode.php

#
#-----[ FIND ]---------------------------------
#
$EMBB_widths = array(''

#
#-----[ IN-LINE FIND ]---------------------------------
#
 array(''

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'60'

#
#-----[ FIND ]---------------------------------
#
$EMBB_values = array(''

#
#-----[ IN-LINE FIND ]---------------------------------
#
$EMBB_values = array(''

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'GVideo'

#
#-----[ FIND ]------------------------------------------
#
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
#
#-----[ AFTER, ADD ]------------------------------------------
#

$bbcode_tpl['GVideo'] = str_replace('{GVIDEOID}', '\\1', $bbcode_tpl['GVideo']);
$bbcode_tpl['GVideo'] = str_replace('{GVIDEOLINK}', $lang['GVideo_link'], $bbcode_tpl['GVideo']);

#
#-----[ FIND ]------------------------------------------
#
$replacements[] = $bbcode_tpl['email'];
#
#-----[ AFTER, ADD ]------------------------------------------
#

    // [GVideo]GVideo URL[/GVideo] code..
    $patterns[] = "#\[GVideo\]http://video.google.com/videoplay\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
    $replacements[] = $bbcode_tpl['GVideo'];


#
#-----[ OPEN ]---------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]---------------------------------
#
# NOTE: the full line to look for is:
#$lang['bbcode_f_help'] = "Font size: [size=x-small]small text[/size]";
#
$lang['bbcode_f_help'] =

#
#-----[ AFTER, ADD ]---------------------------------
#

$lang['bbcode_help']['GVideo'] = 'GVideo: [GVideo]GVideo URL[/GVideo]';

$lang['GVideo_link'] = 'Link';
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/bbcode.tpl
   
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</a><!-- END email -->
#
#-----[ AFTER, ADD ]------------------------------------------
#


<!-- BEGIN GVideo -->
<object width="425" height="350">
        <param name="movie" value="http://video.google.com/googleplayer.swf?docId={GVIDEOID}"></param>
<embed style="width:400px; height:326px;" id="VideoPlayback"
        align="middle" type="application/x-shockwave-flash"
        src="http://video.google.com/googleplayer.swf?docId={GVIDEOID}"
        allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff"
        scale="noScale" salign="TL"  FlashVars="playerMode=embedded">
</embed>
</object><br />
<a href="http://video.google.com/googleplayer.swf?docId={GVIDEOID}" target="_blank">{GVIDEOLINK}</a><br />
<!-- END GVideo -->

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

#
#-----[ FIND ]---------------------------------
#
# NOTE: the actual line to find is MUCH longer, containing all the bbcode tags
#
bbtags = new Array(

#
#-----[ IN-LINE FIND ]---------------------------------
#
'[url]','[/url]'

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'[GVideo]','[/GVideo]'

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
En son crowzer tarafından 16.09.2006, 22:39 tarihinde düzenlendi, toplamda 1 kere düzenlendi.
FoRumOlayi.com
Benimde İmzam Olmasın Ne Var Yani
Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

Mesaj gönderen cupra »

ok buda çalışır teşekkür..
Kullanıcı avatarı
crowzer
Kayıtlı Kullanıcı
Mesajlar: 623
Kayıt: 05.06.2006, 19:38
İletişim:

Mesaj gönderen crowzer »

Bende Buton Hatalı çıkıyor Üzerinde Yazı Çıkmıyor Ne Yapmam Gerekiyor.Bir Türlü Bulamadım.
Ayrıca Google ı Çalıştıramadım Açıkçası :lol: :lol: :lol:
FoRumOlayi.com
Benimde İmzam Olmasın Ne Var Yani
Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

Mesaj gönderen cupra »

subsilverda çalıştımı, submerged biraz farklı bir tema belki farklılık var diyeceğim ama çözemedim.. o butonda bir hata var sanırım, zaten düzgün çalışmıyor..
Kullanıcı avatarı
crowzer
Kayıtlı Kullanıcı
Mesajlar: 623
Kayıt: 05.06.2006, 19:38
İletişim:

Mesaj gönderen crowzer »

Düzeltiyorum

Burasıyla uyuşmuyor

Kod: Tümünü seç

#-----[ FIND ]--------------------------------- 
# 
#  NOTE - the full line to look for is: 
#               <select name="addbbcodefontcolor" onChange="bbfontstyle('[color=' + this.form.addbbcodefontcolor.options[this.form.addbbcodefontcolor.selectedIndex].value + ']', '[/color]')" onMouseOver="helpline('s')"> 
# 
   name="addbbcode18" 


# 
#-----[ IN-LINE FIND ]--------------------------------- 
# 
name="addbbcode18" 


# 
#-----[ IN-LINE REPLACE WITH ]--------------------------------- 
# 
name="addbbcodefontcolor" 


# 
#-----[ IN-LINE FIND ]--------------------------------- 
# 
this.form.addbbcode18.options 


# 
#-----[ IN-LINE REPLACE WITH ]--------------------------------- 
# 
this.form.addbbcodefontcolor.options 


# 
#-----[ IN-LINE FIND ]--------------------------------- 
# 
this.form.addbbcode18.selectedIndex 


# 
#-----[ IN-LINE REPLACE WITH ]--------------------------------- 
# 
this.form.addbbcodefontcolor.selectedIndex 


# 
#-----[ FIND ]--------------------------------- 
# 
#  NOTE - the full line to look for is: 
#               </select> &nbsp;{L_FONT_SIZE}:<select name="addbbcodefontsize" onChange="bbfontstyle('[size=' + this.form.addbbcodefontsize.options[this.form.addbbcodefontsize.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')"> 
# 
   name="addbbcode20" 

# 
#-----[ IN-LINE FIND ]--------------------------------- 
# 
name="addbbcode20" 


# 
#-----[ IN-LINE REPLACE WITH ]--------------------------------- 
# 
name="addbbcodefontsize" 


# 
#-----[ IN-LINE FIND ]--------------------------------- 
# 
this.form.addbbcode20.options 


# 
#-----[ IN-LINE REPLACE WITH ]--------------------------------- 
# 
this.form.addbbcodefontsize.options 


# 
#-----[ IN-LINE FIND ]--------------------------------- 
# 
this.form.addbbcode20.selectedIndex 


# 
#-----[ IN-LINE REPLACE WITH ]--------------------------------- 
# 
this.form.addbbcodefontsize.selectedIndex 
FoRumOlayi.com
Benimde İmzam Olmasın Ne Var Yani
Kullanıcı avatarı
crowzer
Kayıtlı Kullanıcı
Mesajlar: 623
Kayıt: 05.06.2006, 19:38
İletişim:

Mesaj gönderen crowzer »

Bende ki temada Numara Farklılığı var

Şöyleki

Kod: Tümünü seç

					<select name="addbbcode20" onChange="bbfontstyle('[color=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">
Burası 18 olması Gerekiyor Bende 20

Birde şurası

Kod: Tümünü seç

					</select> &nbsp;{L_FONT_SIZE}:<select name="addbbcode22" onChange="bbfontstyle('[size=' + this.form.addbbcode22.options[this.form.addbbcode22.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
Burda 20 olması Gerekiyor Bende 22

Burdan Kaynaklanıyor Gibime Geliyor.
FoRumOlayi.com
Benimde İmzam Olmasın Ne Var Yani
Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

Mesaj gönderen cupra »

20 ise 18 gibi düşünerek editle olmazmı ?
Kullanıcı avatarı
crowzer
Kayıtlı Kullanıcı
Mesajlar: 623
Kayıt: 05.06.2006, 19:38
İletişim:

Mesaj gönderen crowzer »

Öyle Yaptım Zaten Butunun ancak Bu kadarını Gördüm :lol:
Diğer Türlü
Hiç Gözükmüyordu
FoRumOlayi.com
Benimde İmzam Olmasın Ne Var Yani
Kullanıcı avatarı
crowzer
Kayıtlı Kullanıcı
Mesajlar: 623
Kayıt: 05.06.2006, 19:38
İletişim:

Mesaj gönderen crowzer »

Tuşları Düzettim Ancak Şu Anda Hide Tuşuyla Çakışıyor. Youtube 'ye Basınca Hideye Basıyormuşsun gibi oluyor :lol: :lol:
FoRumOlayi.com
Benimde İmzam Olmasın Ne Var Yani
Kilitli

“2.0.x MOD Duyuruları” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 6 misafir