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.

Username and Rank above the avatar.

View previous topic View next topic Go down

Solved Username and Rank above the avatar.

Post by Rizi Scotch on Wed 9 Oct - 21:36

How do I adjust my username and rank to stay above the avatar? They're currently below the avatar.

Rizi Scotch
Forumember

Male Posts : 41
Reputation : 2
Language : English

http://dnboys.englishboards.com/

Back to top Go down

Solved Re: Username and Rank above the avatar.

Post by levy on Wed 9 Oct - 21:37

What is your forum version ?
avatar
levy
Hyperactive

Male Posts : 2585
Reputation : 345
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

Solved Re: Username and Rank above the avatar.

Post by Rizi Scotch on Wed 9 Oct - 21:40

candy_fear wrote:What is your forum version ?
phpBB3

Rizi Scotch
Forumember

Male Posts : 41
Reputation : 2
Language : English

http://dnboys.englishboards.com/

Back to top Go down

Solved Re: Username and Rank above the avatar.

Post by levy on Wed 9 Oct - 21:49

Go in Administration Panel -> Modules -> HTML & Javascript -> Javascript Management -> Create a new javascript name what you want, tick in topics and add that

Code:
$(document).ready(function(){
  $('.post .postprofile').each(function(){
    var bef = $(this).find('dl dt a:has("img")');
    $(this).find('dl dt strong:has("a")').insertBefore(bef);
    $(this).find('dl dt strong:has("a")').after('<br>');
    $(this).find('dl dt').next('dd').insertBefore(bef);
    $(this).find('dl dt dd').wrapInner('<div class="rank_dd"></div>');
    $(this).find('dl dt dd .rank_dd').unwrap().css('margin-top','5px').css('margin-bottom','5px');
  });
});
Is very important to have the javascript enabled.
avatar
levy
Hyperactive

Male Posts : 2585
Reputation : 345
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

Solved Re: Username and Rank above the avatar.

Post by Rizi Scotch on Fri 11 Oct - 21:15

It worked! thanks.

Rizi Scotch
Forumember

Male Posts : 41
Reputation : 2
Language : English

http://dnboys.englishboards.com/

Back to top Go down

Solved Re: Username and Rank above the avatar.

Post by levy on Fri 11 Oct - 21:18

Glad could I help you . cheers
avatar
levy
Hyperactive

Male Posts : 2585
Reputation : 345
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

Solved Re: Username and Rank above the avatar.

Post by SLGray on Fri 11 Oct - 23:40

Topic Solved & Locked


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

avatar
SLGray
Administrator
Administrator

Male Posts : 38215
Reputation : 2574
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