PDA

View Full Version : Set variable based on user title


kontrabass
09 Aug 2001, 13:22
Hello,

In 2.0beta3, I inserted the code:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



..In showthread.php, in the following While loop:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



The point is to display the "Upgrade Available" link in a user's post under their usertitle, if the user is not a "Supporting Member". This is done by simply including the $support variable in the postbit template.

However, this no longer works in 2.0.3, in the same While loop, and I can't figure out why...

Anyone have an idea how to set the $support variable based on user title and achieve the objective?

Thanks -

Freddie Bingham
09 Aug 2001, 13:48
The section is in the second function of admin/functions.php no.

Also could you please enter your vB license into your profile to continue to receive support.