Hey bro sorry to bother you . i want to ask some help because
www.avacweb.net is down and it hosting like button script
you definitely know this
http://help.forumotion.com/t108561-a-new-like-dislike-system-phpbb3-and-invision#709635as you can see this link
http://www.avacweb.net/likesystem in the script i mention above is now dead and now like button do not appear anymore
i manage to find some screenshot of that page in the web
here

i tried to replicate the text and replace the link with the script
my version
- Code:
function lglike(b,a){var d=a.innerHTML;a.innerHTML="Loading...";a.onclick="#";$.get(b,function(){a.className+=" LGnovote";a.innerHTML=d;var
c=a.nextSibling,b=parseInt(/\d+/.exec(c.innerHTML)[0])+1;c.innerHTML=c.innerHTML.replace(/\d+/,b)})};
function init_lg_like_system() {
for(var x = $('.vote'), i = 0, vote; (vote = x[i++]); ) {
var count = 0, plus = 0, bar = $(' .vote-bar', vote)[0], button = $('.vote -button', vote)[0];
if (bar) {
var info = bar.title.match(/\d+/g);
plus = Math.round(parseInt( info[1] ) * parseInt( info[0] )) / 100;
}
button = button ? '<span onclick="lglike(\'' + button.firstChild.href + '\',this);" class="LGlike">' + avacweb_like_system.vote_singular + '</span>' : '<span class="LGlike
LGnovote">' + avacweb_like_system.vote_singular + '</span>';
var votes_text = '<span class="LGlikecount>' + plus + ' ' + (plus == 1 ? avacweb_like_system.vote_singular : avacweb_like_system.vote_plural) + '</span>';
var total_button = '<div class="LGvote" style="margin:3px">' + button + votes_text + '</div>';
if(avacweb_like_system.callback) avacweb_like_system.callback(vote, total_button);
}
x. remove();
};
avacweb_like_system.dom_ready ? init_lg_like_system() : $(function () { init_lg_like_system() });
i dont really know much about coding but i manage to make like button appear but it cannot be pressed. i dont know what caused the problem maybe there some error in the code i try to replicate or it missing soe bracket so i need your help master
please help me master to change the like button script so it didnt get the script from
www.avacweb.net you might also benefit other people who use this script
sorry for bad english im not native english speaker