DA RIOT CACTOPUS L’incarnazione del crepuscolo è giunta. Aspettatevi malizia, caos… e farfalle! Zoe è disponibile ora. Non avete ancora raggiunto il livello 30, vero? Ottenete un po’ di PE bonus con la missione bonus di Zoe. Volete vedere qualcosa […]
Come va, campioni? La pre-stagione è in pieno svolgimento! Dopo aver affrontato le modifiche al bilanciamento più urgenti in un aggiornamento di metà patch poco dopo il lancio delle Rune riforgiate, eccone qualcuna un po’ meno urgente nella 7.23. D’ora […]
Non lasciarti sfuggire questi campioni e aspetti in saldo al 50% per un periodo limitato. Aspetti in saldo Dai ai tuoi campioni un nuovo look con questi aspetti: La Prestigiosa LeBlanc 520 260 RP Tristana Ragazza Razzo 975 487 RP Bard del […]
Non lasciarti sfuggire questi campioni e aspetti in saldo al 50% per un periodo limitato. Aspetti in saldo Dai ai tuoi campioni un nuovo look con questi aspetti: Olaf il Reietto 520 260 RP Darius dell’Accademia 750 375 RP Master Yi Cacciatore […]
I saldi anticipati di novembre sono ufficialmente arrivati! Per iniziare, ecco gli aspetti non antichi rilasciati negli ultimi 4-6 mesi che saranno in saldo dalle 9:00 del 17 novembre 2017 alle 8:59 del 21 novembre 2017! Saldi anticipati di novembre: Aspetto […]
Non fatevi ingannare dal suo aspetto infantile: Zoe è un essere incredibilmente antico e una messaggera cosmica di Targon. Ovunque appaia, l’incarnazione del crepuscolo è in grado di alterare la realtà. Tuttavia, nonostante i suoi poteri, spesso si sottrae ai […]
").fadeIn('slow');
}else if(data[0] == 'remove_friend_user'){
NotifyMe(settingsNoty.remove_friend, "information");
var leave_button = $('.ajaxloadblock');
var members_area = $('.clan-members-app');
leave_button.remove();
members_area.append("
Removed from clan!
");
}else if(data[0] == 'cancel_request'){
NotifyMe(settingsNoty.remove_friend, "information");
var members_area = $('.clan-members-app');
var noti = $('#score_fin');
var leave_button = $('.ajaxloadblock');
leave_button.remove();
noti.remove();
members_area.append("
Request canceled!
");
}
return false;
}
});
});
$('#myModalDeleteClan').on('click', 'a.ajaxdeleteclan', function(){
"use strict";
$.ajax({
type: 'POST',
url: ajaxurl,
data: {"action": "blackfyre_clan_delete", "pid":$(this).attr('data-pid') },
success: function(data) {
var modal = $('#myModalDeleteClan');
var modalblack = $('.modal-backdrop');
modal.remove();
modalblack.remove();
NotifyMe(settingsNoty.clan_deleted, "information");
window.location.replace("https://energygaming.it");
return false;
}
});
});
$('#members-list-fn').on('click', 'a.ajaxloadletjoin', function(){
"use strict";
$.ajax({
type: 'POST',
url: ajaxurl,
dataType:'json',
data: {"action": "blackfyre_change_membership_let_join", "req": $(this).attr('data-req'), "pid": $(this).attr('data-pid'),"uid": $(this).attr('data-uid') },
success: function(data) {
if(data[0] == 'let_this_member_join'){
NotifyMe(settingsNoty.let_this_member_join, "information");
var user = $('.'+data[1]+' .member-list-more');
var user_pen = $('.'+data[1]+'');
var user_pen_text = $('.'+data[1]+' .pending-text');
user.empty().html("
User joined!
");
user_pen.removeClass("pending");
user_pen_text.remove();
}
return false;
}
});
});
$('#members-list-fn').on('click', 'a.ajaxloadremoveadmin', function(){
"use strict";
$.ajax({
type: 'POST',
url: ajaxurl,
dataType:'json',
data: {"action": "blackfyre_change_membership_remove_friend_admin", "req": $(this).attr('data-req'), "pid": $(this).attr('data-pid'),"uid": $(this).attr('data-uid') },
success: function(data) {
if(data[0] == 'remove_friend_admin'){
NotifyMe(settingsNoty.remove_friend, "information");
var user = $('.'+data[1]+' .member-list-more');
var user_pen = $('.'+data[1]+'');
var user_pen_text = $('.'+data[1]+' .pending-text');
user.empty().html("
Removed from clan!
");
user_pen.removeClass("pending");
user_pen_text.remove();
}
return false;
}
});
});
$('#members-list-fn .ajaxloadmakeadmin').live('click', function(event){
"use strict";
$.ajax({
type: 'POST',
url: ajaxurl,
dataType:'json',
data: {"action": "blackfyre_change_membership_make_administrator", "req": $(this).attr('data-req'), "pid": $(this).attr('data-pid'),"uid": $(this).attr('data-uid') },
success: function(data) {
if(data[0] == 'make_administrator'){
NotifyMe(settingsNoty.make_administrator, "information");
var user = $('.'+data[1]+' .member-list-more');
user.empty().html("
Added as administrator!
");
}
return false;
}
});
});
$('#members-list-fn .ajaxloaddowngrade').live('click', function(event){
"use strict";
$.ajax({
type: 'POST',
url: ajaxurl,
dataType:'json',
data: {"action": "blackfyre_change_membership_downgrade_to_user", "req": $(this).attr('data-req'), "pid": $(this).attr('data-pid'),"uid": $(this).attr('data-uid') },
success: function(data) {
if(data[0] == 'downgrade_to_user'){
NotifyMe(settingsNoty.downgrade_to_user, "information");
var user = $('.'+data[1]+' .member-list-more');
user.empty().html("
Admin downgraded!
");
}
return false;
}
});
});
$('.single-clan .ajaxdeletebck').live('click', function(event){
"use strict";
$.ajax({
type: 'POST',
url: ajaxurl,
data: {"action": "blackfyre_delete_page_background", "pid": $(this).attr('data-pid') },
success: function(data) {
var single_bck = jQuery('body.single-clan');
var delbck_button = jQuery('.ajaxdeletebck');
single_bck.attr('style', 'background: url("/wp-content/themes/blackfyre/blackfyre/img/bg.jpg")');
delbck_button.remove();
NotifyMe(settingsNoty.delete_page_background, "information");
return false;
}
});
});
$('#score_fin').on('click', 'a.ajaxloadeditsingle', function(){ console.log('tu sam');
"use strict";
$.ajax({
type: 'POST',
url: ajaxurl,
dataType:'json',
data: {"action": "blackfyre_edit_acc_rej_single", "req":$(this).attr('data-req'), "cid":$(this).attr('data-cid') },
success: function(data) { console.log(data);
if(data == "accepted"){
NotifyMe(settingsNoty.edit_accepted, "information");
}else if(data == "rejected"){
NotifyMe(settingsNoty.edit_rejected, "information");
}
location.reload();
return false;
}
});
});
$('#matches').on('click', 'a.ajaxloadedit', function(){
"use strict";
$.ajax({
type: 'POST',
url: ajaxurl,
dataType:'json',
data: {"action": "blackfyre_edit_acc_rej", "req":$(this).attr('data-req'), "cid":$(this).attr('data-cid') },
success: function(data) {
if(data[1] == "accepted"){
NotifyMe(settingsNoty.edit_accepted, "information");
var challenge = $( ".mj" ).find("[data-cid='" + data[0] + "']");
challenge.parent().empty().html("Edit accepted!");
}else if(data[1] == "rejected"){
NotifyMe(settingsNoty.edit_rejected, "information");
var challenge = $( ".mj" ).find("[data-cid='" + data[0] + "']");
challenge.parent().empty().html("Edit rejected!");
}
return false;
}
});
});
});