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.
The forum of the forums
4 posters

    Last POst Avatar

    avatar
    -nimbuzz-
    Forumember


    Posts : 101
    Reputation : 2
    Language : india

    Solved Last POst Avatar

    Post by -nimbuzz- September 4th 2013, 9: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, 1:10 pm; edited 1 time in total
    mist3r0us_b0y
    mist3r0us_b0y
    Forumember


    Male Posts : 747
    Reputation : 19
    Language : english

    Solved Re: Last POst Avatar

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

    avatar
    -nimbuzz-
    Forumember


    Posts : 101
    Reputation : 2
    Language : india

    Solved Re: Last POst Avatar

    Post by -nimbuzz- September 4th 2013, 10:05 am

    Bro Its Not Working i Think I cHecked
    mist3r0us_b0y
    mist3r0us_b0y
    Forumember


    Male Posts : 747
    Reputation : 19
    Language : english

    Solved Re: Last POst Avatar

    Post by mist3r0us_b0y September 4th 2013, 10: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; }
    avatar
    -nimbuzz-
    Forumember


    Posts : 101
    Reputation : 2
    Language : india

    Solved Re: Last POst Avatar

    Post by -nimbuzz- September 4th 2013, 10:30 am

    Bro I Put This Two Codes also But Its Not Showing avatar at last Post Sad
    Sir Chivasâ„¢
    Sir Chivasâ„¢
    Helper
    Helper


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

    Solved Re: Last POst Avatar

    Post by Sir Chivasâ„¢ September 4th 2013, 11: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)');
        });
    });
    avatar
    -nimbuzz-
    Forumember


    Posts : 101
    Reputation : 2
    Language : india

    Solved Re: Last POst Avatar

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

    yup solved thanks bro
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Last POst Avatar

    Post by SLGray September 4th 2013, 8: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.

      Current date/time is November 14th 2024, 9:25 pm