Show Membership level in profile email - DONE
Howdy!
I've done some searching and I'm not quite sure how to integrate the user's membership level in the profile modified email tpl. Any help would really really be appreciated. I have moderated memberships on, but all the User receives is an email with their contact info when I "approve" their membership. From the client side this is a little clunky. ************************************* SOLUTION ************************************* 1. Create new label. Admin, Languages, Pull Down Lang (English in my case), create new label "lbl_your_membership" with text "Your current membership level is: ". 2. Edit template skin1/mail/profile_modified.tpl. Insert User Membership information from database by calling "userinfo.membership". My adds are in bold. {$lng.lbl_first_name}: {$userinfo.firstname} {$lng.lbl_last_name}: {$userinfo.lastname} {$lng.lbl_your_membership}{$userinfo.membership} {$lng.lbl_billing_address}: {$lng.lbl_address}: {$userinfo.b_address} {$lng.lbl_city}: {$userinfo.b_city} ******************************* RESULT ******************************* First Name: Jerry Last Name: Seinfeld Your current membership level is: Sponsored by ADP Billing Address: Address: 123 Sesame Street City: Somewhere Easy. Figured it out myself but I thought I would leave this tiny mod for anyone else interested in doing the same, but unsure of where to start. :) |
A very useful and quick mod for people to do. :D
|
I like it! :)
|
All times are GMT -8. The time now is 06:53 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.