View Single Post
Old 01 May 2016, 18:11
Scandal's Avatar
Scandal Scandal is offline
Join Date: Dec 2005
Real name: Peter
Originally Posted by m0nde View Post
Thank you. I'm not at all experienced in doing any of this.

--------------- Added 30 Apr 2016 at 04:11 ---------------

In the end, in addition to my error with declaring instead of comparing values, I found that I needed to use $bbuserinfo instead of $memberinfo. I still don't understand when to use which.
You should use $bbuserinfo for the user who load the page.
If you need to apply code for the user of an item (for example on the postbit/postbit_legacy), you could use $post['fieldX'] (= it will return the fieldX value for the user of the post).
Reply With Quote