Page 1 of 1

Add User ID to Membership Level/Label

PostPosted: July 29th, 2011, 12:38 am
by Kevin
In short, I would like to make my Level 0 membership label say "Test Subject xxx", where "xxx" is their WP User ID number... I wasn't sure if the Level/Label field would recognize some type of function call or if it would be better to write some hard code calling the function (like current_user_id or similar) into the Level 0 code that adds the User ID after whatever custom text is added in the S2 Label field (ie. Test Subject).

I'm not new to s2, but I'm not fluent with PHP... I can read it pretty much and edit certain parts to suit my needs as long as its not overly complex. So I wont mind getting my hands dirty if needed... but any assistance would be very appreciated.

I used to have another account here with some other questions, but I couldn't seem to find my login info or what email/username I signed up with, so I had to create a new account... but I'll do my best to help others with what I do know.

Thanks again for the assistance.

Re: Add User ID to Membership Level/Label

PostPosted: July 29th, 2011, 3:47 pm
by Cristián Lávaque
Hi Kevin. What emails could you have used for the other account?

About your question: Where do you plan to display the level label witht he user ID?