Hello Sir How To I set Like This I Mean Last POst Showing With Users Picture
Last edited by -nimbuzz- on September 4th 2013, 1:10 pm; edited 1 time in total
// Avatar in index by giObanii phpbb2$(document).on('ready', function() {Â Â $('.forumline tr .row3.over').prepend('<div class="avatar-index"><div>');Â Â $('.forumline tr .row3.over .avatar-index').each(function () {Â Â Â Â var profileUser = $(this).parent().children('span').children('span').children('strong').children('a').attr('href');Â Â Â Â $(this).html('<a href="' + profileUser + '" class="avatar-index-enlace"><img src="http://cdn1.iconfinder.com/data/icons/basicset/user_64.png" alt="No Avatar" /></a>');Â Â Â Â $(this).children('a').load(profileUser + ' .forumline .row1.gensmall[align="center"]:eq(0) img:eq(0)');Â Â });});
    /* Avatar in index by giObanii phpbb2*/    .avatar-index { float: left; }    .avatar-index img { width: 40px; height: 40px; padding: 1px; border: 1px solid #DDD; margin: 0 5px; }
/* Avatar in index by mastersly phpbb2*/
.avatar-index { float: left; }
.avatar-index img { width: 40px; height: 40px; padding: 1px; border: 1px solid #DDD; margin: 0 5px; }
// Avatar in index by mastersly phpbb2
$(document).on('ready', function() {
$('.forumline tr .row3.over').prepend('<div class="avatar-index"><div>');
$('.forumline tr .row3.over .avatar-index').each(function () {
var profileUser = $(this).parent().children('span').children('span').children('strong').children('a').attr('href');
$(this).html('<a href="' + profileUser + '" class="avatar-index-enlace"><img src="http://cdn1.iconfinder.com/data/icons/basicset/user_64.png" alt="No Avatar" /></a>');
$(this).children('a').load(profileUser + ' .forumline .row1.gensmall[align="center"]:eq(0) img:eq(0)');
});
});