Membership Renewal Button Conditional Display

I am using php to create an EOT time for all members level 3 and above.

It’s now membership renewal time, and I want to display a membership renewal button (level 3 and above) IF they have not already renewed their membership. Using s2If I am able to get this button to display to the correct levels, but it displays to everyone regardless of whether they’ve updated their membership already or not. What s2If code would I use for this?

It is possible to do this, using [s2If] with this hack. You will need to create a PHP function to recognise “renewed” from “not renewed” members.