News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

mesaj editör yardım

Started by alonepoet, July 24, 2007, 10:57:02 AM

Previous topic - Next topic

alonepoet

Arkadaşlar daha önceden ücretsiz bir forumum vardı orda konulara link ve resim eklerken  link ekleye tıklayınca otomalik pencere açılıyordu ilkine linki ikincisine linke vermek istediğimiz ismi yazıyoduk 1,1,3 te bu yok ve eklenen linkler kötü gözüküyor bunun çözümü varmı caba dediğim şekilde yapabilirmiyiz

hcm_erhan

[url=LİNK]LİNKE VERMEK İSTEDİĞİN İSİM[/url]

alonepoet

teşekkürler arkadaşım ama benim istediğim  link botununa tıkladığımızda direk lingi girmek için pencere açılıyo linki girip ok deyince bukez isim girmek için pencere açılıyo bu verdiğin şekili ben biliyorum fakat üyelerin %90 ı bilmiyor onlar için kolay olsun diye düşündüm eski kullandığım ücretsiz hazır smf forumda dediğim gibiydi yiede bilgi için teşekkürler dostum

Yağız...

Arama yapın.Anahtar kelime: url popup

alonepoet

çok teşekkürler ghg anahtar kelimeyi bilmediğim için bulamadım ben msj editör olarak aratmıştım yardım için telrar teşekkürler

alonepoet

aşşağıdaki kurulumu yaptım fakat olmadı 1,1,3 e uyumlu değilmi acaba

tema/Post.template  dosyasında

Bul

Quote// Print a drop down list for all the colors we allow!


devamına ekle
Quote// Java script to handle URL input boxes ...
    echo '<script language="JavaScript" type="text/javascript">
          // <!' . '--
          function urlINPT(){
             // Enter URL .........................................
             var urlLINK = prompt("Lütfen URL Adresini Giriniz:","http://");
             if (urlLINK == null ){ //cancel pressed . . .
             }
             else if (urlLINK == "" || urlLINK == " "){ //ok pressed but with Notext . . .
                     alert("Sorry no text entered!");
             }
             else
             { //ok pressed and there is something :)
             // Enter Description ...................................
             var urlNAME = prompt("Lütfen URL Adi Giriniz:","");
             if (urlNAME == null ){ //cancel pressed . . .
             }
             else if (urlNAME == "" || urlNAME == " "){  //ok pressed but with notext so use URL only!
                    surroundText(\'\'+urlLINK+\'\', \'\', document.', $context['post_form'], '.', $context['post_box_name'], ');
             }
             else //ok pressed with text so use URL and Name!
                    surroundText(\'\'+urlNAME+\'\', \'\', document.', $context['post_form'], '.', $context['post_box_name'], ');
             }
          }
          // --' . '>
          </script>';


bul
Quote
foreach ($context['bbc_tags'][1] as $image => $tag)
      {
         if (isset($tag['before']))
         {
            // Is this tag disabled?
            if (!empty($context['disabled_tags'][$tag['code']]))
               continue;

devamına ekle
Quote// only replace the URL tag! . . . . . . . . . . .
      if (isset($tag['code']) && $tag['code'] == 'url')
   {
          echo '<a href="javascript:void(0);" onclick="urlINPT(); return false;"><img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" border="0" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
      continue;
   }

Yağız...


alonepoet

#7
// sadece böyle iconlar çıktı yine popup olarak çıkmadı iki kere denedim :(

Cözdüm arkadaşlar ikinci koda benzer başka bir kod daha vemış onla katıştırmışım yardım için teşekkürler dostum

temhem007

#8
Pek Bunu ReSim butonuna da yapoa bilirmiyiz ?   onunda Çözümü varmı

Yağız...

Kalın yazmana gerek yok!!!Küçükte yazabilirsin!
Image popup olarak ara.

Advertisement: