porno escort diyarbakır iskenderun escort canlı casino siteleri sagedatasecurity.com fashionplaytes.com casino siteleri en iyi casino siteleri hoşgeldin bonusu veren siteler gerçek takipçi satın al

Birden fazla bbcode için editörde bunları birarada barındıran açılır kapanır kısım yapılabilir mi?

Konuyu değerlendir: Geçerli Reyting :

Görüntüleme : 4510

Yorumlar : 2

Bilgilendirme : Bu konuya son mesaj 3036 gün önce yazıldı . Eğer yazınız doğrudan bu konu ile ilgili değil ise yeni bir konu başlatmanızı tavsiye ederiz.
  1. offline
    niho - ait Kullanıcı Resmi (Avatar)

    Exclamation Birden fazla bbcode için editörde bunları birarada barındıran açılır kapanır kısım yapılabilir mi?

    Birden fazla bbcode için editörde bunları birarada barındıran açılır kapanır bir kısım yapılabilir mi?

    Kullanmam gereken bbcode sayısı çok olunca görsellik çok kaba oluyor. Onun için bir çözüm arıyorum.

    İstiyorum ki aynı grupta hizmet edecek bbcodeları tek bir alanda açılan pencerede bulundurayım ve açılır kapanır bir kısımda kullanayım.
    MySimS3k® Bunu beğendi.
  2. #1
    Birden fazla bbcode için editörde bunları birarada barındıran açılır kapanır bir kısım yapılabilir mi?

    Kullanmam gereken bbcode sayısı çok olunca görsellik çok kaba oluyor. Onun için bir çözüm arıyorum.

    İstiyorum ki aynı grupta hizmet edecek bbcodeları tek bir alanda açılan pencerede bulundurayım ve açılır kapanır bir kısımda kullanayım.
    MySimS3k® Bunu beğendi.

  3. offline
    eTiKeT™ - ait Kullanıcı Resmi (Avatar)

    Cevap: Birden fazla bbcode için editörde bunları birarada barındıran açılır kapanır kısım yapılabili

    MySimS3k® Bunu beğendi.

  4. offline
    niho - ait Kullanıcı Resmi (Avatar)

    Cevap: Birden fazla bbcode için editörde bunları birarada barındıran açılır kapanır kısım yapılabili

    @eTiKeT™ bahsettiğin konuyu okudum. İlgili konu editörde alıntı butonu yanına buton ekleme ve kaldırma ile ilgili.

    Editörde zaten var olan bir işlevi oraya kaydırmak mümkün olabilir belki ancak kendi oluşturduğumuz bbcode ların işlevini oraya aktarmak kolay değil diye düşünüyorum. Bunu yapmak için oluşturduğumuz bbcode ların fonksiyonlarını da editör dosyaları içine tanımlamak gerekir. Bu da çok zor ve uzun bir süreç. Yine de ilgilendiğin için teşekkürler.

    İlgilenen arkadaşlara oradaki bilgileri aşağıda vereyim belki çözüm bulan olur.

    This article explains how to add or remove buttons from CKEditor by using Ckeditor and vBulletin plugins. No standard file edits needed.

    To add a button to CKEditor, you need to create a CKE plugin. This is an example code for such a plugin. It will add "Hello World" to the editor and spawn a JS alert.
    Important note: This article is on the technique of adding a button, not on how you will get your button to do whatever it is you want it to do. There are plenty sites out there that give support for CKEditor plugins. CKEditor 3 JavaScript API Documentation



    First step: Create the CKEditor plugin

    The editor plugin files reside in the folder [forumroot]/clientscript/ckeplugins. Create a new folder in there. For the purpose of this article, I'll name it celButtonDemo. Inside that folder, create a file called plugin.js. So you end up with this:
    [forumroot]/clientscript/ckeplugins/celButtonDemo/plugin.js
    Important note: Please take notice that "celButtonDemo" will have to be replaced in the folder name and in the following code examples accordingly!.

    Inside plugin.js goes the plugin code:

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...

    Second step: vB Operations - register your button, add it to the toolbar, and more

    In a second step we will create two vB plugins and a vB phrase. You should bundle all that together to a product, to have it all nicely together.

    Let's start with the phrase: Go to AdminCP, create a phrase in the CKEditor phrase group, and name it CelButtonDemo. Enter "Hello World, hello Button" - or whatever. Save. Done.

    Then create a new plugin at hook "editor_construct". This will add our button to the CKE configuration.

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...



    OK, now let's create the second plugin at hook "editor_toolbar_filter":
    In this example, our button will be inserted after the Quote-Button. Your options to place the button can be found in /vb/ckeditor.php. See line 7 in the following code:

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...



    Last, not least, we need a nice little icon for our button. Upload that to /images/buttons and name it celButtonsDemo.png. Dimensions: 21x21 px.



    Result (Screencast):
    http://screencast-o-matic.com/watch/clnqDcazQ



    Removing buttons

    The technique used above to add the button can also be used to remove a button. Example: Removing the image button would look like that (hook "editor_toolbar_filter")

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...



    Please note that removing the button will not render the attached bbcode inactive! However, you can use

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...



    Restricting buttons by editor-mode or usergroup

    You have everything available to you in the vB-universe to restrict access to your button, just extend the if-condition. You can restrict by usergroup, or you can show a button only in a certain editor

    The editor mode can be queried via $this->editor_type in plugins at editor_toolbar_filter:
    fe = full
    qr = quick reply
    qe = quick edit
    cms_article

    Example:

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...



    Have fun!
    MySimS3k® Bunu beğendi.
  5. #3
    @eTiKeT™ bahsettiğin konuyu okudum. İlgili konu editörde alıntı butonu yanına buton ekleme ve kaldırma ile ilgili.

    Editörde zaten var olan bir işlevi oraya kaydırmak mümkün olabilir belki ancak kendi oluşturduğumuz bbcode ların işlevini oraya aktarmak kolay değil diye düşünüyorum. Bunu yapmak için oluşturduğumuz bbcode ların fonksiyonlarını da editör dosyaları içine tanımlamak gerekir. Bu da çok zor ve uzun bir süreç. Yine de ilgilendiğin için teşekkürler.

    İlgilenen arkadaşlara oradaki bilgileri aşağıda vereyim belki çözüm bulan olur.

    This article explains how to add or remove buttons from CKEditor by using Ckeditor and vBulletin plugins. No standard file edits needed.

    To add a button to CKEditor, you need to create a CKE plugin. This is an example code for such a plugin. It will add "Hello World" to the editor and spawn a JS alert.
    Important note: This article is on the technique of adding a button, not on how you will get your button to do whatever it is you want it to do. There are plenty sites out there that give support for CKEditor plugins. CKEditor 3 JavaScript API Documentation



    First step: Create the CKEditor plugin

    The editor plugin files reside in the folder [forumroot]/clientscript/ckeplugins. Create a new folder in there. For the purpose of this article, I'll name it celButtonDemo. Inside that folder, create a file called plugin.js. So you end up with this:
    [forumroot]/clientscript/ckeplugins/celButtonDemo/plugin.js
    Important note: Please take notice that "celButtonDemo" will have to be replaced in the folder name and in the following code examples accordingly!.

    Inside plugin.js goes the plugin code:

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...

    Second step: vB Operations - register your button, add it to the toolbar, and more

    In a second step we will create two vB plugins and a vB phrase. You should bundle all that together to a product, to have it all nicely together.

    Let's start with the phrase: Go to AdminCP, create a phrase in the CKEditor phrase group, and name it CelButtonDemo. Enter "Hello World, hello Button" - or whatever. Save. Done.

    Then create a new plugin at hook "editor_construct". This will add our button to the CKE configuration.

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...



    OK, now let's create the second plugin at hook "editor_toolbar_filter":
    In this example, our button will be inserted after the Quote-Button. Your options to place the button can be found in /vb/ckeditor.php. See line 7 in the following code:

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...



    Last, not least, we need a nice little icon for our button. Upload that to /images/buttons and name it celButtonsDemo.png. Dimensions: 21x21 px.



    Result (Screencast):
    http://screencast-o-matic.com/watch/clnqDcazQ



    Removing buttons

    The technique used above to add the button can also be used to remove a button. Example: Removing the image button would look like that (hook "editor_toolbar_filter")

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...



    Please note that removing the button will not render the attached bbcode inactive! However, you can use

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...



    Restricting buttons by editor-mode or usergroup

    You have everything available to you in the vB-universe to restrict access to your button, just extend the if-condition. You can restrict by usergroup, or you can show a button only in a certain editor

    The editor mode can be queried via $this->editor_type in plugins at editor_toolbar_filter:
    fe = full
    qr = quick reply
    qe = quick edit
    cms_article

    Example:

    Kod:

    Bu alandaki kodları görebilmek için üye olmanız gereklidir.Üye Olmak İçin Tiklayın...



    Have fun!
    MySimS3k® Bunu beğendi.

Benzer Konular
  1. aynı eklentiyi birden fazla nasıl yüklerim
    Konu Sahibi gelecegiz Forum vBulletin Sorunlarınız
    Cevap: 2
    Son Mesaj : 24.Ocak.2015, 14:13
  2. vBulletin Konu İçeriğini Açılır-Kapanır Gizleme BBcode
    Konu Sahibi LaDezs Forum vBulletin bbcode
    Cevap: 0
    Son Mesaj : 10.Ağustos.2014, 14:06
  3. Güncel BBCode İçine Birden Fazla {param} ve {option} Nasıl Ekleyebilirim ?
    Konu Sahibi Scofield Forum vBulletin Sorunlarınız
    Cevap: 5
    Son Mesaj : 18.Mart.2014, 16:22
  4. Çözüldü forumda alt kısım düzenlemesi nasıl yapılabilir.
    Konu Sahibi ENSAR Forum vBulletin Sorunlarınız
    Cevap: 7
    Son Mesaj : 07.Aralık.2013, 03:04
  5. Vbulletin 4.2.0 birden fazla database sorunu
    Konu Sahibi aydaki_iz Forum vBulletin Sorunlarınız
    Cevap: 2
    Son Mesaj : 02.Kasım.2012, 23:15