Hello,,,
This is my first product
I am so excited about it
But I have a problem in it
The Product is to hide some Profiles and I tryed to do that in the plugin but it didn't work so I did it in MEMBERINFO Template.
I know what is wrong but I don't know what to do to fix it.
Code:
<if condition="$vboptions[on_off]">
<if condition="$userinfo['userid'] == $vboptions[profileid]">
standard_error('Sorry you are not allowed to view this profile')
</if>
</if>
The problem is in
PHP Code:
standard_error('Sorry you are not allowed to view this profile')
How can I fix that?