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.

The Profile Position

View previous topic View next topic Go down

Solved The Profile Position

Post by perfectSTORM! on November 20th 2012, 2:18 pm

I've tried to move the profile position in posts from the left to the right in the ACP, but it wont seem to work. Also, is there any way to expand the space that it is so where the avatars won't be too big?

URL: www.wildwoodacademy.forumotion.com

perfectSTORM!
Forumember

Male Posts : 328
Reputation : 8
Language : English | Spanish [1] | HTML

http://themagicgames.forumotion.com/

Back to top Go down

Solved Re: The Profile Position

Post by Sir Chivas™ on November 20th 2012, 3:38 pm

Hi,

I've notice that in some skins, changing the position of the profile doesn't change via panel. Try this:

Code:
.postprofile dt img {
    width: 110px !important;
    height: 110px !important; 
    margin: 5px;
    padding: 1px;
 
    border: 1px solid #000000; 
}

and to have a button to change the position of the profile, create a new JavaScript:
Code:
var CopyrightNotice = 'Post profile toggle for forumotion phpBB3 boards. Copyright 2011 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';

var prloc='left';

function setprofile(loc) {
    prloc=loc;
    if (loc=='left') {
        $('.postprofile').css({'float':'left','border-left':'none','border-right':'1px solid #c8c8c8'});
        $('.postbody').css('float','right');
    }
    else {
        $('.postprofile').css({'float':'right','border-left':'1px solid #c8c8c8','border-right':'none'});
        $('.postbody').css('float','left');
    }
}

function toggleprofile() {
    var x = prloc;
    if (x=='left') {x='right';}
    else {x='left';}
    setprofile(x);
}

$(function() {
    if ($('.addthis_button')[0]) {
        $('.addthis_button').eq(0).before('<button class="button2" title="Toggle post profile location" onclick="toggleprofile();"><img style="padding:0px 2px;" src="http://illiweb.com/fa/edit.png" /></button> ');
        setprofile(prloc);
    }
});



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: The Profile Position

Post by perfectSTORM! on November 22nd 2012, 12:08 am

Thanks, Smile

perfectSTORM!
Forumember

Male Posts : 328
Reputation : 8
Language : English | Spanish [1] | HTML

http://themagicgames.forumotion.com/

Back to top Go down

Solved Re: The Profile Position

Post by Sir Chivas™ on November 22nd 2012, 2:17 am

No problem, anytime. Wink



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: The Profile Position

Post by Jophy on November 22nd 2012, 5:14 am

Topic Solved & Locked

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

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