HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Turn Welcome Email into Registration Email?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#107714 (In Topic #20988)
Avatar

Fan in training

We have to add members manually - can I send username & password via Welcome Email feature?

Hi there,

We are utilizing this portal as a "value-added" bonus feature for our best paying customers. That said, we want to be able to manually add all members. It looks like the registration email only gets sent out to those who join for themselves.

Is it possible for me to set up the "Welcome Email" feature to send out Username and Password to manually added members? 

Thanks,
Stevie
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris GrahamLiked by ARTStevieLiked by RichT)  
Rating:
#107715
Avatar

Community saint

Hi and welcome Stevie!

Out of the box, I don't think ocPortal can do this without some custom programming. The main issue with the Welcome Email is that it is sent after the account is created. Once the account is created, the password is encrypted and stored in the database. Once encrypted, there is no way to convert it back to the original password and therefore it can't be sent out in the Welcome Email. This one-way password encryption is the reason ocPortal can't email lost passwords to website members and instead walks them through a process to reset the password through email. However, it may be possible to do some custom modifications that tap into the ocPortal signup process at some point before the password is encrypted and send out an email at that point.

As an alternative, you could use the Recommend add-on and invitations which will allow you to limit signups to only those people that receive invitations. You should be able to restrict access to the Recommend module (AdminZone>Security>Permissions Tree Editor - expand 'Zone: Welcome' and look for 'Module: Recommend'. Select 'Module: Recommend' and scroll down to the bottom of that web page and uncheck all non-admin usergroup boxes in the View Access column.) so only admins have access to send recommendations/invites. And then you will need to turn on the Invites Enabled option (AdminZone>Setup>Configuration>Member and Forum Options>General). I think admins are exempt from the 'invites per-day' limit. I'm not certain about that, so you may need to set that option to a higher number. With the Recommend module restricted to admins and the Invites Enabled option turned on, only admins can send out invitations and new members can only join if they join with the same email address to which the invite was sent. You can customise the invite email by going to AdminZone>Style>Translate/re-phrase the software, select the recommend codename in the Language File section, and then click the Choose button. From there, alter the INVITE_MEMBER_MESSAGE as needed. 

If you have any followup questions or need more details, feel free to ask.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Jason Verhagen)  
Rating:
#107720
Avatar

I think admins are exempt from the 'invites per-day' limit

That's correct.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Jason Verhagen)  
Rating:
#107727
Avatar

Fan in training

Thank you! It worked like a charm.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: