PDA

View Full Version : Only show RPG in postbit if they had created their charactor


nguyenvuan
17 Jan 2005, 07:10
In my forum, someone don't wanna play RPG, so they did not created their Charactors. Can I make their charactor hiden in postbit? If YES, what should I do?

Revan
17 Jan 2005, 08:39
Here's the solution :)

Find in template postbit or postbit_legacy:
<!-- START LEFT RPG POSTBIT BAR -->
Add before:
<if condition="$rpname != 'N/A'">

Find in same template:
<!-- END LEFT RPG POSTBIT BAR -->
Add after:
</if>

I am unsure whether or not the script allows you to have RPG Name empty after creating your character, I will check this out at a later point (because this should not happen).


//peace

nguyenvuan
18 Jan 2005, 04:09
Thank you very much!

sub_ubi
16 Jul 2005, 02:34
Thank you, this should be in the hack!