fedai |
|
---|---|
Arkadaşlar mesela moviegallery eklentisi textboxer2 eklentisine ihtiyaç duyuyor. Ama cotonti'de bu eklenti yok, texboxer bölümünü nasıl entegre edeceğiz eklentilere veya moviegallery eklentisine.
moviegallery.php de //Textboxer 2 integration require_once("plugins/textboxer2/inc/textboxer2.lang.php"); require_once("plugins/textboxer2/inc/textboxer2.inc.php");böyle entegre edilmiş. Bu konu açılmışken böyle seditio eklentilerini cotontiye uygun hale getirmek lazım. "peace in the homeland, peace in the world" K.ATATÜRK
personal blog: http://www.sametbal.net |
oc |
|
---|---|
Eklenti adresini verebilir misiniz ?
|
fedai |
|
---|---|
http://subs.com.ru/datas/tmp/soft/neocrome/sed_plugins/moviegallery-v140.zip buradan indirebilirsin eklentiyi.
http://subs.com.ru/datas/tmp/soft/neocrome/sed_plugins/ ayrıca burda bir sürü seditio eklentileri var "peace in the homeland, peace in the world" K.ATATÜRK
personal blog: http://www.sametbal.net |
oc |
|
---|---|
Eklentiye baktım, textboxer koymak kolay iş, daha doğrusu textboxer'lı yerleri silip yerine şimdiki editörü koymak zor değil.
Ama zamanı geçmiş (deprecated) bir fonksiyon var (sed_bbcode_urls($str)) bu fonksiyon olmadan tam çalışmıyor, ama cotonti de bu fonksiyonu desteklemiyor. Ayrıca şunu da belirteyim, eklenti tasarım olarak da pek uyuşmuyor yeni nesille. Neyse, dediğim gibi aşırı uyumsuz ama, birkaç düzenlemeyle çalışır hâle gelebilir belki, buradan: moviegallery_12.rar |
fedai |
|
---|---|
Ya gelişmiş(ajaxla desteklenmiş son teknoloji) bir video galeri eklentisi lazım cotontiye
oc, bu entegrenin nasıl yapıldığını anlatsaydın daha iyi olacaktı; bunun gibi bir sürü eklenti var çünkü. Örneğin bu: http://subs.com.ru/datas/tmp/soft/neocrome/sed_plugins/guestbook-100.rar "peace in the homeland, peace in the world" K.ATATÜRK
personal blog: http://www.sametbal.net |
|
This post was edited by fedai (2009-03-13 21:44, 15 years ago) |
oc |
|
---|---|
Çok basit. Textboxer'la ilgili bölümlerde textboxer plugin dosyaları çağırılıyor, genelde:
require_once('textboxer2.php'); benzeri bir olay ile oluyor bu. Onu kaldıracaksınız, ya da yorum haline (kodun önüne // koyarak) getireceksiniz, sonra bir de textboxer'ın textboxer yaratma fonksiyonu var, atıyorum textboxer('ryazi', $yazi_icerigi); gibi. bu genelde şöyle ekrana yazdırılıyor: "PLUGIN_TEXTBOXER" => $fonksiyon; siz bunun yerine "PLUGIN_TEXTBOXER" = > '<textarea name='ryazi' class='editor'>'.$yazi_icerik.'</textarea>', gibi birşey yazacaksınız ve editör tamamen değişecek. |
fedai |
|
---|---|
# oc : Çok basit. Textboxer'la ilgili bölümlerde textboxer plugin dosyaları çağırılıyor, genelde:Teşekkürler Peki bunu nasıl yapacaz? <?PHP
/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net
[BEGIN_SED]
File=plugins/textboxer2/tb2.faq.php
Version=2.5
Updated=2008-Apr-21
Author=Arkkimaagi
Description=Textboxer extension for T3 Faq
[END_SED]
==================== */
if (!defined('SED_CODE')) { die('Wrong URL.'); }
require_once("plugins/textboxer2/inc/textboxer2.lang.php");
require_once("plugins/textboxer2/inc/textboxer2.inc.php");
$tb2Buttons = array(
'tb_ieOnlyStart',
2,
'copy',
'cut',
'paste',
'}',
'tb_ieOnlyEnd',
'bold',
'underline',
'italic',
3,
'left',
'center',
'right',
'}',
4,
'quote',
'spoiler',
'code',
'list',
'hr',
'spacer',
'ac',
'p',
'}',
5,
'image',
'thumb',
'colleft',
'colright',
'}',
6,
'url',
// 'urlp',
'email',
// 'emailp',
'}',
7,
'black',
'grey',
'sea',
'blue',
'sky',
'green',
'yellow',
'orange',
'red',
'white',
'pink',
'purple',
'}',
8,
'page',
// 'pagep',
'user',
// 'link',
// 'linkp',
'flag',
'pfs',
'topic',
'post',
'pm',
'}',
1,
'smilies',
'}',
'more',
//'title',
'preview'
);
$tb2DropdownIcons = array(-1,49,1,7,10,15,19,23,35);
$tb2MaxSmilieDropdownHeight = 300; // Height in px for smilie dropdown
$tb2InitialSmilieLimit = 20; // Smilies loaded by default to dropdown
$tb2TextareaRows = 10; // Rows of the textarea
$tb2ParseBBcodes = T3FAQ_BBCODE;
$tb2ParseSmilies = T3FAQ_SMILIES;
$tb2ParseBR = T3FAQ_LINEBRAKE;
?>
Added 291 days later: if (!defined('SED_CODE')) { die('Wrong URL.'); }
require_once("plugins/textboxer2/inc/textboxer2.lang.php");
require_once("plugins/textboxer2/inc/textboxer2.inc.php");
$tb2Buttons = array(
'tb_ieOnlyStart',
2,
'copy',
'cut',
'paste',
'}',
'tb_ieOnlyEnd',
'bold',
'underline',
'italic',
3,
'left',
'center',
'right',
'}',
4,
'quote',
'code',
'list',
'hr',
'spacer',
'ac',
'p',
'}',
5,
'image',
'thumb',
'colleft',
'colright',
'}',
6,
'url',
// 'urlp',
'email',
// 'emailp',
'}',
7,
'black',
'grey',
'sea',
'blue',
'sky',
'green',
'yellow',
'orange',
'red',
'white',
'pink',
'purple',
'}',
8,
'page',
// 'pagep',
'user',
// 'link',
// 'linkp',
'flag',
'pfs',
'topic',
'post',
'pm',
'}',
1,
'smilies',
'}',
'more',
//'title',
'preview'
);
$tb2DropdownIcons = array(-1,49,1,7,10,15,19,23,35);
$tb2MaxSmilieDropdownHeight = 300; // Height in px for smilie dropdown
$tb2InitialSmilieLimit = 20; // Smilies loaded by default to dropdown
$tb2TextareaRows = 10; // Rows of the textarea "peace in the homeland, peace in the world" K.ATATÜRK
personal blog: http://www.sametbal.net |
|
This post was edited by fedai (2010-01-09 21:43, 15 years ago) |