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.

Avatar beside quick reply

View previous topic View next topic Go down

Solved Avatar beside quick reply

Post by Richard. on 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.
Forumember

Male Posts : 248
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 on 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
Forumember

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

Back to top Go down

Solved Re: Avatar beside quick reply

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

:O .. Thankssss

Topic solved.

Richard.
Forumember

Male Posts : 248
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 on June 30th 2013, 11:48 pm

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 36697
Reputation : 2445
Language : English
Location : United States

http://ztwds.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