Video paylaşım siteleri için bbcode eklentisi lazım!

Eklentiler ile ilgili gelişmeler. Yeni modlar, güncellemeler.

Video paylaşım siteleri için bbcode eklentisi lazım!

İleti eren 16.07.2006, 19:03

video.google ve youtube.com gibi Video paylaşım sitesi linkini phpbb foruma eklemek için mod lazım !

http://video.google.com/googleplayer.swf?docId=5615212328010933613
eren
Üye
Üye
 
İleti: 45
Kayıt: 30.12.2005, 10:05
Konum: İstanbul

İleti g_unit90 16.07.2006, 19:05

elimdeki bir mod
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

Kullanıcı avatarı
g_unit90
Üye
Üye
 
İleti: 177
Kayıt: 01.04.2006, 20:29
Konum: Ankara

İleti eren 16.07.2006, 19:14

peki ya !
video google için ?

daha doğrusu 2 si için tek bir modul yokmu ??

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
eren
Üye
Üye
 
İleti: 45
Kayıt: 30.12.2005, 10:05
Konum: İstanbul

İleti g_unit90 16.07.2006, 19:47

ikisi için bir mod yok bu ikisi senin işini görecektir
Kullanıcı avatarı
g_unit90
Üye
Üye
 
İleti: 177
Kayıt: 01.04.2006, 20:29
Konum: Ankara

Cvp: video.google ve youtube.com gibi Video paylaşım sitesi linkini phpbb foruma eklemek için mod la

İleti eren 29.07.2006, 07:54

malesef 2 side çalışmadı .

bu arada bu işe yararmı ?

daha doğrusu BBcode nedir .!

--------------------------------------------------

HTML BBcode MOD

MOD Name: HTML BBcode MOD
Author: markus_petrux
MOD Description: This MOD adds an HTML BBcode to your forum, which allows you to enter HTML tags yourself when posting a message. It is also possible to post JavaScript, Flash or Java objects, Forms, etc. You can even use other BBCode tags within an HTML block! Syntax is pretty simple: [html]text[/html].
While this BBCode is powerful, it is also somehow dangerous! By default, it is only allowed for the main board administrator. It can also be allowed for other Admins or members of a usergroup via ACP.

WARNING: You shouldn't allow anyone to post HTML unless you trust them 100%. Use at your own peril!

MOD Version: 1.1.4
Installation Level: Intermediate
Installation Time: ~ 30 Minutes

Download File: html_bbcode_mod_1_1_4.zip
File Size: 5270 Bytes
eren
Üye
Üye
 
İleti: 45
Kayıt: 30.12.2005, 10:05
Konum: İstanbul

İleti REBooT 29.07.2006, 18:11

BB Code Mod Uzun Gelebilir ya da bulamayabilirseniz şunu izleyebilirsiniz, Admin Paneli >Genel Yönetim>Ayarlar> "izin verilen HTML etiketleri" ne "embed" i ekleyin ve de normal html video koduyla forumda video çalıştırabilirsiniz. Türevleride var, "a"= link verme "center"= her hangi bir şeyi ortalama ,gibi ama BB Code Mod Tavsiyemdir.
.:: By DRaCuLaDeV2N ::.
Kullanıcı avatarı
REBooT
Üye
Üye
 
İleti: 41
Kayıt: 16.11.2005, 11:52

İleti eren 29.07.2006, 19:54

REBooT yazdı:BB Code Mod Uzun Gelebilir ya da bulamayabilirseniz şunu izleyebilirsiniz, Admin Paneli >Genel Yönetim>Ayarlar> "izin verilen HTML etiketleri" ne "embed" i ekleyin ve de normal html video koduyla forumda video çalıştırabilirsiniz. Türevleride var, "a"= link verme "center"= her hangi bir şeyi ortalama ,gibi ama BB Code Mod Tavsiyemdir.


abiciğim gözünü seveyim misal
Kod: Tümünü seç
<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=5615212328010933613"> </embed>


bu konuda adam copy & paste yapıp forma eklesen nasıl görecem bunun için şu


Allowed HTML tags Separate tags with commas
kısmında [ b,i,u,pre, ] yazıyor ! :(

allah aşkına yaw deli olacam bir yanda sıcaklar bir yandan saatlerce süren uğraşlar :(
eren
Üye
Üye
 
İleti: 45
Kayıt: 30.12.2005, 10:05
Konum: İstanbul

İleti REBooT 30.07.2006, 17:57

Allowed HTML tags Separate tags with commas
kısmında [ b,i,u,pre, ] yazıyor !
oraya "embed" eklersen swf, mpg, wmv vs. çalışır.
kardeş ben urlsi direkt olan (Örn: http://www.site.com/video.mpg vb.) normal video ya da swf leri kasdetmiştim, google a ya da youtube ye bişey diyemem, :(
.:: By DRaCuLaDeV2N ::.
Kullanıcı avatarı
REBooT
Üye
Üye
 
İleti: 41
Kayıt: 16.11.2005, 11:52


Duyurular & Güncellemeler



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron