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.

Remove "Rank:" for rank images

View previous topic View next topic Go down

Remove "Rank:" for rank images

Post by bhagirath on March 5th 2012, 6:59 am

Hi,
i want to remove the text which says "rank:" in the profile. I tried to put img in place of rank: but it doesn't look good.. see below to knw what i'm saying:



Thanks Very Happy

bhagirath
New Member

Posts : 17
Reputation : 2
Language : English

Back to top Go down

Re: Remove "Rank:" for rank images

Post by Omu on March 5th 2012, 6:22 pm

Your forum version is punbb? And please, post your forum url Smile

Omu
Active Poster

Male Posts : 1019
Reputation : 86
Language : Romanian, English, French
Location : Romania

http://supportdrops.com/

Back to top Go down

Re: Remove "Rank:" for rank images

Post by YoshiGM on March 5th 2012, 10:42 pm

Try adding:

Code:
<no>

And save

YoshiGM
Forumember

Male Posts : 512
Reputation : 76
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Re: Remove "Rank:" for rank images

Post by LGforum on March 5th 2012, 10:50 pm

Lol what ^

This code will do it for a phpbb3 board, however I think it will work on a punbb board too, since the profiles follow the same structure.
Code:

$(function(){
if(/^\/u\d+$/.test(window.location.pathname)) {
  var x=document.getElementById('profile-advanced-right').nextSibling;
  x.innerHTML=x.innerHTML.replace(/Rank: /,'');
}
});

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

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