Darat
04-11-2006, 12:20 PM
I know I can just delete all the content of the postbit_ignore template and that will mean my users don't see anything when a person on their ignore list posts. But what I want to do is give them this as an option.
I've done this with threads by adding the following to the threadbits template
<if condition="($vbulletin->userinfo['field12'] == 'Yes') AND $ignore[ $thread['postuserid'] ]">
Do my ignore stuff
<else />
Standard threadbit
</if>
However I don't seem to be able to use the same code (adjusted for the custom profile field) in postbit_ignore?
Any suggestions how I could do this i.e. check if a member wants to display either nothing or the standard ignore template depending on a custom profile field?
I've done this with threads by adding the following to the threadbits template
<if condition="($vbulletin->userinfo['field12'] == 'Yes') AND $ignore[ $thread['postuserid'] ]">
Do my ignore stuff
<else />
Standard threadbit
</if>
However I don't seem to be able to use the same code (adjusted for the custom profile field) in postbit_ignore?
Any suggestions how I could do this i.e. check if a member wants to display either nothing or the standard ignore template depending on a custom profile field?