How to Create a Subscription block/page

that0n3guy - March 3, 2008 - 23:05
Project:phplist Integration Module
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello,

I have been trying to test phplist and drupal out but can not seem to figure out how to create my own subscription page and/or block.

Can anyone point me in the right direction?

Thanks

#1

that0n3guy - March 5, 2008 - 19:54

To be a little more clear, I have tried the method described here:

http://docs.phplist.com/CustomSubscribeForm

But when I try to subscribe the page just seems to reload, and no user is added to my phplist db.

I am trying to create an anonymous user signup block. I have used this patch : http://drupal.org/node/225083 and I think this is even included in the newest dev (which I am currently using), but it does not seem to work. It always give me the "Oops, please contact sys admin" error, and no user is added to my phplist db.

Also, this pre-made anon user block only shows email, I need first name also.

I also want to be able to make a more indepth newsletter registration (anonymous) page, how is this done?

Anyone have any segestions?

Thanks

#2

paulbeaney - March 6, 2008 - 17:44

Hi,

Have you confirmed that your subscribe page in phpList itself works ok independently of Drupal? Have you modified the text that gets sent to the user? That patch relies on matching a certain text string upon a successful signup. That said, it sounds more to me like you phpList installation maybe isn't working quite right.

As for the first name and "more in-depth registration" I suggest you create a feature request and hopefully someone will be kind enough to add it in. It would be worth clarifying what you mean my "more in depth" too ;) I'm currently tied up on a big Drupal e-commerce site for a couple of months so I can't help for the moment, sorry.

Regards,

- Paul

#3

that0n3guy - March 6, 2008 - 21:21

Hey Paul,

I understand that your busy, thanks for taking some time out to give me some info.

To answer some of your questions:
-PHPlist is working fine outside of drupal
-I have not modified anything, I was just trying to get it to work with drupal

-By "more in-depth registration" I mean something with name, address, phone, haircolor (just a weird example) etc. Basically anything I wanted, phplist can do any number of attributes for its subscription page.

I guess I am confused about how this exactly integrates (I'm not a php guy so thats a shocker hu..) with phplist. Am I limited to use only the email attribute for phplist and drupal? If so, is that because drupal has its own value for first name in the database from the profile module?

Just get back to me when you have time, or if someone else wants to hit me up that would be awesome.

Thanks

#4

wickwood - October 4, 2008 - 21:10

Subscribing, because I too am trying to figure out how to collect a first name for anonymous registrants.

 
 

Drupal is a registered trademark of Dries Buytaert.