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.

Avatar beside quick reply

3 posters

Go down

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.
Richard.
Richard.
Forumember

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

http://forum.phpbbonline.com/

Back to top Go down

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
mangaka
mangaka
Forumember

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

Back to top Go down

Solved Re: Avatar beside quick reply

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

:O .. Thankssss

Topic solved.
Richard.
Richard.
Forumember

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

http://forum.phpbbonline.com/

Back to top Go down

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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51554
Reputation : 3524
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