Name not set?

Name not set?

Hi, I downloaded your free module.. thank you very much for this! One thing I found is that when the person is auto added to the Sendy list, the email is there, but the name shows 'not set' ? Any ideas? has something changed?

Edited by: oligib - Oct-14-14 09:34:04
oligib
Oliver
useravatar
Offline
2 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Name not set?

Also, one other thing.. I cannot find the details on the API where I can add a user with one line of API code? Could you point me in the right direction? That would be really helpful as it's all a bit confusing ! I wanted to try and use this to subscribe users from Opencart/Mijoshop guest checkout ... as currently only people that register an account are signed up the list sendy list.

Edited by: oligib - Oct-14-14 09:36:33
oligib
Oliver
useravatar
Offline
2 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Name not set?

Oliver,
Sorry for the delayed response!

API commands
Yeah, we need to put a document together about this. Fortunately, it's really easy. To add a user, simply use the following code:

Code:

Sendy::getInstance()->subscribeUser($email, $list);

Where $email = "[email protected]" and $list = 2 (the list ID set in the Sendy System plugin, *NOT* the long string ID from Sendy itself.

Name field
As for the name, it seems like we're not setting that during registration right now. When we developed the plugin for our purposes, it just wasn't a field we needed since we don't merge names into our newsletters (mainly because Joomla is very lax about name policies and there's no way to separate first/last name).

That's something we may add in the future, and it's likely not difficult to do, but I don't have a timeline on when we'd do so right now.

I hope that helps get you going for now though,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23813 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11498
Total Polls:
0
Total Posts:
48411
Posts today:
4
User Info
 
Total Users:
47473
Newest User:
martinpleon
Members Online:
1
Guests Online:
578

Online: 
cyberspyder
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program