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
3 posters

    Avatar beside quick reply

    Richard.
    Richard.
    Forumember


    Male Posts : 249
    Reputation : 12
    Language : English,Romanian
    Location : Durham, NC - USA.

    Solved Avatar beside quick reply

    Post by Richard. June 29th 2013, 4:15 am

    is there anyone that you could put userrs avatar beside the quick reply box? I know there are some codes for phpbb3 and invision, but i need something for phpbb2.
    mangaka
    mangaka
    Forumember


    Female Posts : 121
    Reputation : 5
    Language : Indonesia
    Location : Well

    Solved Re: Avatar beside quick reply

    Post by mangaka June 29th 2013, 7:43 am

    Add this to your Javascript management(make sure it's in the topics)

    Code:
    jQuery(document).ready(function() {
            $('#quick_reply').before('<div id="av_quickreply"></div>');
              if(typeof(_userdata)!="undefined") {
                $('#av_quickreply').html(_userdata['avatar']);
              }
              else {
                $('#av_quickreply').load('/profile?mode=editprofile&page_profil=avatars #register .forumline .row1 img');
              }
            });

    Then,add this code to your CSS Stylesheet

    Code:
    #av_quickreply img{
              position: relative;
              top: 35px;
              left: 15px;
            }
         
            #av_quickreply {
              float: left;
            }

    Hope this will helpful
    Richard.
    Richard.
    Forumember


    Male Posts : 249
    Reputation : 12
    Language : English,Romanian
    Location : Durham, NC - USA.

    Solved Re: Avatar beside quick reply

    Post by Richard. June 30th 2013, 6:29 am

    :O .. Thankssss

    Topic solved.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Avatar beside quick reply

    Post by SLGray June 30th 2013, 11:48 pm

    Topic Solved & Locked



    Avatar beside quick reply Slgray10

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

      Current date/time is November 11th 2024, 10:01 pm