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.

Problem with Avatar in Quick Reply

View previous topic View next topic Go down

Solved Problem with Avatar in Quick Reply

Post by Van-Helsing on March 19th 2014, 12:11 am

Hi,
I am facing problem with avatar in quick reply on phpbb2

I am using the following codes:

Javascript:
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');
}
});
I have checked the box in the Topics

CSS:
Code:

#av_quickreply img {
position: relative;
top: 100px;
left: 40px;
width: 80px;
height: 80px;
border:2px solid #0000CD;
border-radius: 4px;
background-image: url(http://i57.servimg.com/u/f57/18/21/41/30/vaoolo11.png);
}
#av_quickreply {
float: left;
}

The CSS doesnt modify the size of the avatar and it doesnt place it to the correct point as declared in CSS

The problem has been appeared after the problem of scrolling announcement previously it worked fine.

Best Regards,
Dark-Avenger


Last edited by Dark-Avenger on March 19th 2014, 12:38 am; edited 1 time in total

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: Problem with Avatar in Quick Reply

Post by Sir Chivas™ on March 19th 2014, 12:27 am

Add this CSS instead:
Code:

#av_quickreply img {
        position: relative;
        top: 100px;
        left: 40px;
        width: 80px !important;
        height: 80px !important;
        border:2px solid #0000CD;
        border-radius: 4px;
        background-image: url(http://i57.servimg.com/u/f57/18/21/41/30/vaoolo11.png);
}
#av_quickreply {
        float: left;
}



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

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

Back to top Go down

Solved Re: Problem with Avatar in Quick Reply

Post by Van-Helsing on March 19th 2014, 12:37 am

Hi Sir Chivas,
Thank you very much it was need the [code]!important[code] at the commands.

The problem has been solved

With Best Regards,
Dark-Avenger

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: Problem with Avatar in Quick Reply

Post by Sir Chivas™ on March 19th 2014, 12:39 am

Yes, sometimes it interferes with other codes, so you must force the code.

You're welcome,

Topic Solved & Locked.



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

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

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