Remove rank name when having a rank image
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
If not your topic may be ignored or locked!
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
If not your topic may be ignored or locked!
Remove rank name when having a rank image
How can I remove the rank name when I have an image for that rank?
Re: Remove rank name when having a rank image
Heres the image how can I take off the text and just leave the image.
Re: Remove rank name when having a rank image
try, this ( Back up the viewtopic_body.html )
open styles/GlossyBlack/template/viewtpoic_body.html
find:
Replace with:
open styles/GlossyBlack/template/viewtpoic_body.html
find:
Code: Select all
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
Code: Select all
<!-- IF postrow.RANK_IMG --><dd>{postrow.RANK_IMG}</dd><!-- ENDIF -->
Re: Remove rank name when having a rank image
Ok I did that, it did remove the name. What about If i do not have the image, how can I get it to have a rank name?
Re: Remove rank name when having a rank image
Is that possible? Have a rank image with no text. AND if there is no rank image to show the rank name as a text?
Re: Remove rank name when having a rank image
i am not to good at php but i was trying using statements and could not get it to work, but maybe Steve or Stoker know how, wait I am sure they will know!
Re: Remove rank name when having a rank image
This here is from my viewtopic_body
Style: SE Pro
Style: SE Pro
Code: Select all
<!-- IF postrow.RANK_IMG --><br /><dd>{postrow.RANK_IMG}</dd><!-- ENDIF -->