Is there a way for some kind of new message to show up if someone has subscribed? Something indicating they will get an email?
At this time when someone hit subscribe the block returns to the previous state. I have the block set to let anyone (logged in or not) subscribe to the newsletter.
thank you in advance for any help you can give.
Cherie
Comments
Comment #1
sutharsan commentedI assume you refer to anonymous visitors.
There is already a message displayed after subscription, but I am open to suggestions as to changing the subscription (block) form after subscription.
1. What should the block look like after subscription?
2. What should the block look like after the next page load (the visitor continues browsing the site and has not confirmed the subscription yet)?
3. What should the block look like after confirmation?
My suggestion is that a simple confirmation message is displayed just above the subscription fields (situation 1). This requires JavaScript, with the current situation as fallback.
You can help by making a scetch/screenshot/mock-up of your desired situation.
Comment #2
thepanz commentedMy 2 cents:
1. after subscription, the block sould display (Using jQuery) a message above block fields
2. after page-load block should be displayed as default: anonymous users can subscribe friends or others users in the same session
2a. if user is a registered user, block should be displayed as "Waiting for confirmation"
3. After confirmation (for registered users) block should display "Confirmed" and a button for un-subscribe
Above ideas should be applied fo single newsletter block.
Regards
Comment #3
sutharsan commented@thePanz: Subscription of registered users (logged in) does not require confirmation.
Comment #4
thepanz commented@Sutharsan: Sorry, my mistake :(
@thePanz: don't write your ideas when you're tired! :)
Comment #5
cheriejd commentedAt this time, all users get no message. I put in a custom message thinking that it would go to a new message when someone subscribes in the Block. It just blinks back to the custom message so there is no indication that they will get an email letting them know they have to opt in (which I love). So have I messed up?
So, my thoughts:
1. What should the block look like after subscription? : the same but with a different message and no space to fill in their email address again.
2. What should the block look like after the next page load (the visitor continues browsing the site and has not confirmed the subscription yet)? I would like to see the next page block be in the same state they just left it
3. What should the block look like after confirmation? Wow, hadn't even thought about that. I like the idea of the Confirmed Message "Thank you for confirming your email address. You are now subscribed to "xxx newsletter" and a link to manage their subscriptions. No one wants to make unsubscribe too easy, ok, at least not my clients.
This appears to be a great module. I am looking forward to using it. Next up, making a template.
Comment #6
sutharsan commentedChanging to feature request.
Comment #7
AlexisWilke commentedSutharsan,
Actually, what we would need in this case is a temporary cookie that stamps the browser as subscribed. (the cookie should be a session cookie that is not saved if the browser is closed.)
The only issue then is that only 1 person can subscribe per session (close the browser and reopen and you can re-subscribe with another email address). But frankly not too many people want to subscribe friends just like that. In general the friend will go to the site himself... (actually, that could be another feature! a "tell a friend" link, he! he!)
With that cookie, the block could do many different things:
1. Disappear entirely
2. Just show that you are subscribed
3. Give you a button to unsubscribe immediately...
Thank you.
Alexis Wilke
Comment #8
mr.morton commentedI have several clients requesting to get a online confirmation in the block that a mail have been sent to the entered emailadress.
Could you either change the block with a confirmation block once the subscribe button is clicked?
Could you forward to a another page?
Anybody found a way to fix this?
Comment #9
keesje commentedSorry, this comment was not related to this issue, new issue created: http://drupal.org/node/657098
Comment #10
sutharsan commentedkees@qrios: Please create a new issue, because your problem is not related to this issue.
Comment #11
sutharsan commentedDuplicated by #715584: Subscription form with ajax.
Comment #12
ryanfc08 commentedI kind of have the same question/problem. I had opened a new thread till I learned to look here. Here is that thread: http://drupal.org/node/751080
And here is what I said:
I am trying to figure out a way to have SimpleNews give the user a message that they have signed up on the page. I know it sends an email but if the user does not have their email open at the same time that doesn't really help. I want some sort of visual confirmation on the page that the form worked.
The SimpleNews module is in a block in the left column and currently it does give a confirmation message but it is in the top of the content (in the middle column) and I have had several users and the client not notice it there. Ideally I would like to have the confirmation message display in the block in the left column where the form is after the user hits submit. However, I don't want all messages the pages give to appear there. Can someone help me with figure out how to do this. I thought about a pop-up as well but I don't want that to not show up for those who have pop-ups turned off. I have also thought about it sending the user to a new page and more clearly shows that the form has been submitted, like a thank you page. That would be an option but I prefer the user just get a message in the same block that the form is in.
If you have any questions just post and I will explain anything else that needs explaining or post code if needed. Thanks.
One other thing I should mention is that anonymous users can sign up for the form. By that I mean you do not have to create an account on the page to sign up for the newsletter.
Comment #13
ryanfc08 commentedHere is an image to show what I am talking about. I don't want every $message showing up on the left sidebar just the ones pertaining to SimpleNews.
Comment #14
danny_joris commentedWould this be helpful to you? http://drupal.org/project/ajaxsubmit The messages are given in the same form as the email input field.
I do have a little issue with this working with the simplenews subscription block, though. Callbacks are only called when submitting the form returns an error message. Not when it returns a normal status message. http://drupal.org/node/771774
Actually I also have this issue with other forms.
Comment #15
modctek commentedsubscribing
Comment #16
ksin commentedsubscribing
Comment #17
miro_dietikerSwitching this to current subject of development.
Note that as previously sad, we're outputting a message already.
FAPI is quite limited with positioning this message on the page freely.
Adding ajaxsubmit might be a good start. But the form might need some more integration work.
I'm open to clean patches that base on well established ajax approaches with clean fallbacks. Even switching to ctools (as a dependency and ajax base tool) might be an option for 6.x-2.x.
Thanks for your help.
Comment #18
simon georges commentedMore than a year without any activity, I suppose nobody is interested anymore. Please reopen if you still need something like that.
Comment #19
dreadlocks1221 commentedI'm interested in this as I need the message to appear in the block as opposed to the status message, I tried using hook_block_view_alter but to no avail