Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Looking for alternative to DNNSubscriber moduleLooking for alternative to DNNSubscriber module
Previous
 
Next
New Post
9/18/2007 8:59 AM
 

Hi all,

I'm looking for an alternative to one of HP's nice little modules:

Basically it runs in two modes:

  1. Signed-in users enter their email address to be added or removed from a specified role
  2. Anonymous users enter their email address and trigger a subscription or removal email to be sent.

It seems to have various problems in DNN4 and hasn't been touched for a couple of years now. It doesn't validate in anonymous mode for me, and I see in the forum where people are reporting problems with the signed-in mode, which I haven't tried yet. It'd be an excellent module if it were updated.

Any ideas are very much appreciated
Rob

 
New Post
9/18/2007 10:10 AM
 

I will see if I can improve it. Once I finished, I will post it for free download.


Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
9/18/2007 8:44 PM
 

xiaoqi98 wrote

I will see if I can improve it. Once I finished, I will post it for free download.

That would be brilliant! I'll definitely buy one of your modules if you manage to do this :) 
And of course I'll do any beta testing as well if required.

Regards
Rob

 

 
New Post
9/20/2007 5:53 AM
 

     Hi,robax
    Today I download the source code package(DNNSubscriber_3_0_2_Source.zip) from http://www.schelian.com/Modules/DNNSubscribe/Download/tabid/443/Default.aspx , and ready to improve it. After read the original code, I found there are something difference with your description.

     1.Signed-in users don't need supply their email address, they simply need to click "Subscribe"  button( if they have not subscribe before) or "Unscribe" button(if they have subscribe before). then they will be add to a specific role(or remove from this specific role if unscribe).  the specific user role can be set in module settings and a mail will be sent to user mail address to notice this action.

     2.Anonymous users can not subscribe or unsubscribe , module will simply give a tips that they need to register before subscribe.

    It's very simple,and has many  diffrence with what you described, but it is what I learned from the source code. Do I miss something?Or what I download is the old version? Is these function enough?


Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
9/20/2007 8:36 AM
 

hmmm... that sounds very different from the module I have installed. I installed the file "DNNSubscriber_3_0_2_PA.zip". I'll check the module again now and see exactly what it does.

I'm going into the settings page (it would be a good enhancement if the module settings were on a separate menu so non-admins could change them).

I've made a screenshot of the settings. Click the thumbnail and see if it's the same for you. I expanded all of the yellow help tips, because that's where the instructions are.

Free Image hosting by ImageSnap

  • The first two fields can contain different text to display to anonymous and signed in users.
  • The labels for the subscribe and remove buttons can be changed.
  • Those two buttons can be made invisible
  • Then there's a box to enable email notification - I have this enabled and it works. The module sends me an email when an anonymous person puts their email address in the box.
  • Then it has two boxes for subscribe and unsubscribe email addresses.
  • And a box for the email subject
  • Then there's a tick-box to enable role membership - I have not tried this yet, but it is supposed to add or remove the user to/from the role set in the dropdown box below.

The forum I linked to in my first post has a couple of posts from people who say that the role-assignment doesn't work right in DNN4.

I am going to try that setting now and see what happens... 
Ok, I'm signed in and my email address is now pre-populated in the subscribe field. I'll press the button to subscribe and see if it assigns me to the role I specified..... Yes, it assigned me to the role. Now I will unsubscribe...  when I click to unsubscribe, the page changes to my user account details and it does not remove me from the role. So that's only half-working.

Also... When the option to assign to role is enabled, anonyous users can no longer subscribe at all. The field is greyed out and they cannot enter an address. I don't know if that's a bug, but it would of course be useful if anonymous and registered modes both worked at the same time.

And the last problem I found.. on my site in DNN4.5.5 I have found that submitting the form without an address in it causes the exception pasted below.

So, you can see there are some problems with it. I'll try and describe what I think it should do. I've marked everything in green that the current module is supposed to do, and everything in red that  it doesn't do, but maybe could do.

  • Allow anyone to type an email address into the box, and click subscribe or remove
  • As a result, the module should send an email to an address with a specific subject line - this can be used to subscribe and unsubscribe from conventional mailing list servers.
  • If the user is registered and signed in, then he will be assigned or removed to/from a specified role - and the email will also be sent.
  • If the user is not signed in, but the email address is recognised, then perhaps that would still assign the account with that email address to the role - This may not be possible?
  • The module should have a success message depending on whether they have subscribed or unsubscribed.
  • It should have a tick-box that says "I accept the terms" or similar, that needs to be ticked when subscribing.

I hope all that makes sense. I can show you the module on a site if you need to see it running. The most important function is to allow anonymous users to enter their email address and the module sends the add/remove emails to the site owner. Tehre are other modules that can assign a registered user to a role, but this is the only one that subscribes to external lists.

Thanks for looking into it.

Rob

InnerException: The parameter 'from' cannot be an empty string. Parameter name: from
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Net.Mail.MailMessage..ctor
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The parameter 'from' cannot be an empty string. Parameter name: from ---> System.ArgumentException: The parameter 'from' cannot be an empty string. Parameter name: from at System.Net.Mail.MailMessage..ctor(String from, String to) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Bcc, String Subject, String Body, String Attachment, String BodyType, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword) at DotNetNuke.Common.Globals.SendNotification(String MailFrom, String MailTo, String Bcc, String Subject, String Body, String Attachment, String BodyType) at HPS.DNN.Modules.DNNSubscriber.DNNSubscriber.cmdSubscribe_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Looking for alternative to DNNSubscriber moduleLooking for alternative to DNNSubscriber module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out