The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Last POst Avatar

View previous topic View next topic Go down

Solved Last POst Avatar

Post by -nimbuzz- on Wed 4 Sep - 9:32




Hello Sir How To I set Like This I Mean Last POst Showing With Users Picture


Last edited by -nimbuzz- on Wed 4 Sep - 13:10; edited 1 time in total

-nimbuzz-
Forumember

Posts : 101
Reputation : 2
Language : india

Back to top Go down

Solved Re: Last POst Avatar

Post by mist3r0us_b0y on Wed 4 Sep - 9:36

avatar
mist3r0us_b0y
Forumember

Male Posts : 747
Reputation : 19
Language : english

http://sh.st/nJRXG

Back to top Go down

Solved Re: Last POst Avatar

Post by -nimbuzz- on Wed 4 Sep - 10:05

Bro Its Not Working i Think I cHecked

-nimbuzz-
Forumember

Posts : 101
Reputation : 2
Language : india

Back to top Go down

Solved Re: Last POst Avatar

Post by mist3r0us_b0y on Wed 4 Sep - 10:21

ok try this

Your js here
 
Code:
// 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)');    });});
And put this at your CSS:


Code:
        /* 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
mist3r0us_b0y
Forumember

Male Posts : 747
Reputation : 19
Language : english

http://sh.st/nJRXG

Back to top Go down

Solved Re: Last POst Avatar

Post by -nimbuzz- on Wed 4 Sep - 10:30

Bro I Put This Two Codes also But Its Not Showing avatar at last Post Sad

-nimbuzz-
Forumember

Posts : 101
Reputation : 2
Language : india

Back to top Go down

Solved Re: Last POst Avatar

Post by Sir Chivas™ on Wed 4 Sep - 11:22

Hi,

Please change the title of your topic, that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.



1.CSS Stylesheet
Code:
/* 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; }
2.Administration Panel >> Modules >> Javascript codes management >> Create new javascript
Title:Avatar index
Placement:In the home page
Javascript Code
Code:
// 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)');
    });
});
avatar
Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6801
Reputation : 433
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: Last POst Avatar

Post by -nimbuzz- on Wed 4 Sep - 13:09

yup solved thanks bro

-nimbuzz-
Forumember

Posts : 101
Reputation : 2
Language : india

Back to top Go down

Solved Re: Last POst Avatar

Post by SLGray on Wed 4 Sep - 20:09

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40448
Reputation : 2728
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum