MyBB Depo Forum
Mybb Teşekkür Et Butonunu Css Yapmak [DERS] [HD] - Baskı Önizleme

+- MyBB Depo Forum (https://mybbdepo.com)
+-- Forum: Mybb Ders Deposu (https://mybbdepo.com/mybb-ders-deposu-forumu)
+--- Forum: Videolu Anlatım Deposu (https://mybbdepo.com/videolu-anlatim-deposu-forumu)
+--- Konu Başlığı: Mybb Teşekkür Et Butonunu Css Yapmak [DERS] [HD] (/mybb-tesekkur-et-butonunu-css-yapmak-ders-hd-konusu.html)

Sayfalar: 1 2


Mybb Teşekkür Et Butonunu Css Yapmak [DERS] [HD] - Ömer ÖZKAN - 13-02-2013

Bu sitede hiçbir mesaja cevap verilmez mi ya ? 1 konu 13 mesaj, flood diz boyu, bir tane yardım edecek Allahın kulu çıkmadı, pes!


Mybb Teşekkür Et Butonunu Css Yapmak [DERS] [HD] - MarVeL - 19-02-2013

Sesin çok güzel Açık Ağızlı Gülümseme


Cvp: Mybb Teşekkür Et Butonunu Css Yapmak [DERS] [HD] - Ertac Karacan - 12-07-2013

Kardeşim videoda gösterdiğin gibi dosyayı notepad ile açtım fakat,videoda gösterdiğin yer bende çıkmadı.Rica etsem bana düzenleyip verebilirmisin ?


Cvp: Mybb Teşekkür Et Butonunu Css Yapmak [DERS] [HD] - meganonur - 13-01-2014

Bu işlemi TeşekkürEt/Beğen pluginindeki "Beğen" sistemine nasıl uygulayabilirim.

jscripts/thankyoulike deki kodlar;

PHP Kod:
var thankyoulike = {
    
init: function()
    {
    },
    
    
tgl: function(pid)
    {
        if(
tylCollapsible == 1)
        {
            if($(
'tyl_data_'+pid).visible())
            {
                $(
'tyl_data_'+pid).hide();
                $(
'tyl_title_'+pid).hide();
                $(
'tyl_title_collapsed_'+pid).show();
                $(
'tyl_i_expcol_'+pid).src = $('tyl_i_expcol_'+pid).src.replace("collapse.gif""collapse_collapsed.gif");
                $(
'tyl_i_expcol_'+pid).alt "[+]";
                $(
'tyl_a_expcol_'+pid).title "[+]";
            }
            else
            {
                $(
'tyl_data_'+pid).show();
                $(
'tyl_title_collapsed_'+pid).hide();
                $(
'tyl_title_'+pid).show();
                $(
'tyl_i_expcol_'+pid).src = $('tyl_i_expcol_'+pid).src.replace("collapse_collapsed.gif""collapse.gif");
                $(
'tyl_i_expcol_'+pid).alt "[-]";
                $(
'tyl_a_expcol_'+pid).title "[-]";
            }
        }
    },
    
    
add: function(pid)
    {
        if(
use_xmlhttprequest == && tylEnabled == 1)
        {
            if(
tylUser == 0)
            {
                return 
true;
            }
            
this.spinner = new ActivityIndicator("body", {imageimagepath "/spinner_big.gif"});
            new 
Ajax.Request('thankyoulike.php?ajax=1&action=add&pid='+pid+'&my_post_key='+my_post_key, {method'post'onComplete: function(request) { thankyoulike.addDone(requestpid); }});
            
document.body.style.cursor 'wait';
            return 
false;
        }
        else
        {
            return 
true;
        }
    },
    
    
addDone: function(requestpid)
    {
        if(
request.responseText.match(/<error>([^<]*)<\/error>/))
        {
            
message request.responseText.match(/<error>([^<]*)<\/error>/);

            if(!
message[1])
            {
                
message[1] = "An unknown error occurred.";
            }

            if(
this.spinner)
            {
                
this.spinner.destroy();
                
this.spinner '';
            }
            
document.body.style.cursor 'default';
            
alert(message[1]);
        }
        else
        {
            
tylVisible 2;
            if(
tylCollapsible == && $("tyl_"+pid).style.display != "none")
            {    
                if($(
'tyl_data_'+pid).visible())
                {
                    
tylVisible 1;
                }
                else
                {
                    
tylVisible 0;
                }
            }
            $(
"tyl_"+pid).update(request.responseJSON.tylData);
            $(
"tyl_"+pid).style.display "";
            $(
"tyl_btn_"+pid).update(request.responseJSON.tylButton);
            if(
tylCollapsible == 1)
            {
                if(
tylVisible != 2)
                {
                    if(
tylVisible == 1)
                    {
                        $(
'tyl_data_'+pid).show();
                        $(
'tyl_title_collapsed_'+pid).hide();
                        $(
'tyl_title_'+pid).show();
                        $(
'tyl_i_expcol_'+pid).src = $('tyl_i_expcol_'+pid).src.replace("collapse_collapsed.gif""collapse.gif");
                        $(
'tyl_i_expcol_'+pid).alt "[-]";
                        $(
'tyl_a_expcol_'+pid).title "[-]";
                    }
                    else
                    {
                        $(
'tyl_data_'+pid).hide();
                        $(
'tyl_title_'+pid).hide();
                        $(
'tyl_title_collapsed_'+pid).show();
                        $(
'tyl_i_expcol_'+pid).src = $('tyl_i_expcol_'+pid).src.replace("collapse.gif""collapse_collapsed.gif");
                        $(
'tyl_i_expcol_'+pid).alt "[+]";
                        $(
'tyl_a_expcol_'+pid).title "[+]";
                    }
                }
            }
        }
        
        if(
this.spinner)
        {
            
this.spinner.destroy();
            
this.spinner '';
        }
        
document.body.style.cursor 'default';
    },
    
    
del: function(pid)
    {
        if(
use_xmlhttprequest == && tylEnabled == 1)
        {
            if(
tylUser == 0)
            {
                return 
true;
            }
            
this.spinner = new ActivityIndicator("body", {imageimagepath "/spinner_big.gif"});
            new 
Ajax.Request('thankyoulike.php?ajax=1&action=del&pid='+pid+'&my_post_key='+my_post_key, {method'post'onComplete: function(request) { thankyoulike.delDone(requestpid); }});
            
document.body.style.cursor 'wait';
            return 
false;
        }
        else
        {
            return 
true;
        }
    },
    
    
delDone: function(requestpid)
    {
        if(
request.responseText.match(/<error>([^<]*)<\/error>/))
        {
            
message request.responseText.match(/<error>([^<]*)<\/error>/);

            if(!
message[1])
            {
                
message[1] = "An unknown error occurred.";
            }

            if(
this.spinner)
            {
                
this.spinner.destroy();
                
this.spinner '';
            }
            
document.body.style.cursor 'default';
            
alert(message[1]);
        }
        else
        {
            
tylVisible 2;
            if(
tylCollapsible == && $("tyl_"+pid).style.display != "none")
            {
                if($(
'tyl_data_'+pid).visible())
                {
                    
tylVisible 1;
                }
                else
                {
                    
tylVisible 0;
                }
            }
            if(
request.responseJSON.tylData == '')
            {
                $(
"tyl_"+pid).style.display "none";
            }
            $(
"tyl_"+pid).update(request.responseJSON.tylData);
            $(
"tyl_btn_"+pid).update(request.responseJSON.tylButton);
            if(
tylCollapsible == && $("tyl_"+pid).style.display != "none")
            {
                if(
tylVisible != 2)
                {
                    if(
tylVisible == 1)
                    {
                        $(
'tyl_data_'+pid).show();
                        $(
'tyl_title_collapsed_'+pid).hide();
                        $(
'tyl_title_'+pid).show();
                        $(
'tyl_i_expcol_'+pid).src = $('tyl_i_expcol_'+pid).src.replace("collapse_collapsed.gif""collapse.gif");
                        $(
'tyl_i_expcol_'+pid).alt "[-]";
                        $(
'tyl_a_expcol_'+pid).title "[-]";
                    }
                    else
                    {
                        $(
'tyl_data_'+pid).hide();
                        $(
'tyl_title_'+pid).hide();
                        $(
'tyl_title_collapsed_'+pid).show();
                        $(
'tyl_i_expcol_'+pid).src = $('tyl_i_expcol_'+pid).src.replace("collapse.gif""collapse_collapsed.gif");
                        $(
'tyl_i_expcol_'+pid).alt "[+]";
                        $(
'tyl_a_expcol_'+pid).title "[+]";
                    }
                }
            }
        }
        
        if(
this.spinner)
        {
            
this.spinner.destroy();
            
this.spinner '';
        }
        
document.body.style.cursor 'default';
    }
};    
Event.observe(document'dom:loaded'thankyoulike.init); 



Cvp: Mybb Teşekkür Et Butonunu Css Yapmak [DERS] [HD] - hguler07 - 03-03-2014

aferin len, hay senin azını öpim karşıdakine bişey anlatmak istiyorsan işte böyle açık ve net anlatıcaksın haftalardır çözmediğim sorun 3 dk da çözüldü Allah razı olsun..