The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Last POst Avatar

4 posters

Go down

Solved Last POst Avatar

Post by -nimbuzz- September 4th 2013, 8:32 am

Last POst Avatar J9kK2Bg


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


Last edited by -nimbuzz- on September 4th 2013, 12:10 pm; edited 1 time in total
avatar
-nimbuzz-
Forumember

Posts : 101
Reputation : 2
Language : india

Back to top Go down

Solved Re: Last POst Avatar

Post by mist3r0us_b0y September 4th 2013, 8:36 am

mist3r0us_b0y
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- September 4th 2013, 9:05 am

Bro Its Not Working i Think I cHecked
avatar
-nimbuzz-
Forumember

Posts : 101
Reputation : 2
Language : india

Back to top Go down

Solved Re: Last POst Avatar

Post by mist3r0us_b0y September 4th 2013, 9:21 am

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; }
mist3r0us_b0y
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- September 4th 2013, 9:30 am

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

Posts : 101
Reputation : 2
Language : india

Back to top Go down

Solved Re: Last POst Avatar

Post by Sir Chivas™ September 4th 2013, 10:22 am

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)');
    });
});
Sir Chivas™
Sir Chivas™
Helper
Helper

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

https://aforums.org

Back to top Go down

Solved Re: Last POst Avatar

Post by -nimbuzz- September 4th 2013, 12:09 pm

yup solved thanks bro
avatar
-nimbuzz-
Forumember

Posts : 101
Reputation : 2
Language : india

Back to top Go down

Solved Re: Last POst Avatar

Post by SLGray September 4th 2013, 7:09 pm

Topic Solved & Locked


Last POst Avatar Slgray10

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

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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