Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: DrMobius on April 07, 2010, 08:26:12 AM

Title: Newsletter varialbles
Post by: DrMobius on April 07, 2010, 08:26:12 AM
Is there a way to send the user there user name?
I've tried quite a few different variants, but there does not seem to be a variable to do this.

Some of my members forget the name they used to login with, it would be nice if I could just send it to them from the newsletter interface.

QuoteIn this message you can use a few "variables". These are:
{$board_url} - The URL to your forum.
{$current_time} - The current time.
{$member.email} - The current member's email.
{$member.link} - The current member's link.
{$member.id} - The current member's id.
{$member.name} - The current member's name. (for personalization.)
{$latest_member.link} - The most recently registered member's link.
{$latest_member.id} - The most recently registered member's id.
{$latest_member.name} - The most recently registered member's name.

Thanks for any help...
Title: Re: Newsletter varialbles
Post by: Liam. on April 07, 2010, 09:01:42 AM
Quote{$member.name} - The current member's name. (for personalization.)

Why won't that do?
Title: Re: Newsletter varialbles
Post by: DrMobius on April 07, 2010, 09:23:55 AM
Well member name is very good, but if they modify their username to reflect their real name. That is the issue that I have. The member name will get sent but not the actual username.
Title: Re: Newsletter varialbles
Post by: Kindred on April 07, 2010, 12:42:36 PM
they can always use their email address as an alternative login
Title: Re: Newsletter varialbles
Post by: DrMobius on April 07, 2010, 04:12:48 PM
Well thanks abunch. That will work just as well for me.
I did not know that would work. If there is any input into
the next version I think more variables would be nice to have.  Thank you very much.
Title: Re: Newsletter varialbles
Post by: Nibogo on May 05, 2010, 12:24:18 AM
You should post that suggest here: Feature Requests (http://www.simplemachines.org/community/index.php?board=3.0)