Remove rank name when having a rank image

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
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.
Else your topic may be ignored or locked!
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 863
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Remove rank name when having a rank image

Post by Steve »

heredia21 » 15 Apr 2010, 04:12 wrote:Pretty tricky huh
try this relacement instead:

Code: Select all

<!-- IF postrow.RANK_IMG --><dd>{postrow.RANK_IMG}</dd><!-- ELSE --><dd>{postrow.RANK_TITLE}</dd><!-- ENDIF -->

tested works
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Remove rank name when having a rank image

Post by cisco007 »

i think i tried that last night and it didn't work, or i think i used <!-- ELSEIF blah, blah -->
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 863
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Remove rank name when having a rank image

Post by Steve »

no it works honest
one.PNG
2.PNG
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
heredia21
BBCoder IV
BBCoder IV
Posts: 179
Joined: 07 Apr 2010, 20:42
Contact:

Re: Remove rank name when having a rank image

Post by heredia21 »

Steve© » 15 Apr 2010, 11:23 wrote:
heredia21 » 15 Apr 2010, 04:12 wrote:Pretty tricky huh
try this relacement instead:

Code: Select all

<!-- IF postrow.RANK_IMG --><dd>{postrow.RANK_IMG}</dd><!-- ELSE --><dd>{postrow.RANK_TITLE}</dd><!-- ENDIF -->

tested works
Incredible! That definately works.
#1 BlackBerry News site - BlackBerry Empire. Come visit us!
Locked