05-06-2012, 10:30 AM
PHP Code:
|
It's that right, for a selected user? I would like to issue the user with the id 1. He should get a certain image.
Thanks
|
It's that right, for a selected user? I would like to issue the user with the id 1. He should get a certain image.
Thanks
|
|
The image is displayed, only I do not know if it works on permanent.
best thanks anyway
(05-07-2012 07:36 AM)MrBrechreiz Wrote: [ -> ]Too bad it's not work for me.Note that the basic idea is, the $mybb->settings['pnX'] value is the min num of posts for a user to get the $mybb->settings['amX'] medal.
(05-07-2012 07:36 AM)MrBrechreiz Wrote: [ -> ]In your code above, there is no comparison. The code above means, if the user's id is 1, and the $mybb->settings['pn1'] has a value (no matter whatever the value is), the user will get the $mybb->settings['am1'] medal (no matter how many posts the user has).PHP Code:
<if $post['uid'] == 1 && $mybb->settings['pn1'] then> {$mybb->settings['am1']} </if>
|
You don't need to create any settings for that.
Again, I'm really sorry if I misunderstand what you want.
|
very nice just that I was looking for. please excuse that I have expressed myself so indistinctly. I wanted to give the user with uid1 a permanent medal and the automatic with the medals I understand how it works. thank you very much for your time invested for me.