Remove "Rank:" for rank images

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
avatar
Omu
Active Poster

Male Posts : 1019
Reputation : 87
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
avatar
YoshiGM
Forumember

Male Posts : 726
Reputation : 102
Language : Spanish, English & Italian (16%)
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: /,'');
}
});
avatar
LGforum
Hyperactive

Male Posts : 2263
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum