I already have a complicated module that these particular functions are used in relation to.
I already use two
Smarty [43] plugins:
/modules/pnRender/plugins/function.pnusermemberstatus.php
to see simply whether somebody is a member or not (I use this in my
HTML module templates to only show members member stuff) and
/modules/Xanthia/plugins/function.membershiplinks.php
to determine the actual membership status and generate the links this particular thread started off talking about.
I think what I need to know is; in a
Smarty [44] plugin how do I call a function from a
PHP script that's not part of the
PN core like pnUser.php
Is it simply a case of including:
include("/modules/Membership/newFunctions.php");
at the start of my plugin?
While we're on it, what's the difference between the pnRender and Xanthia plugin directories?