PDA

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


nguyenvuan
01-17-2005, 06:10 AM
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
01-17-2005, 07:39 AM
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
01-18-2005, 03:09 AM
Thank you very much!

sub_ubi
07-16-2005, 01:34 AM
Thank you, this should be in the hack!