Operator Posted March 14, 2009 Share Posted March 14, 2009 Hi, This module sets up a newsletter system in whmcs allowing clients to select whether they wish to receive one or not using a custom client field. INSTALL 1.) Upload the unzipped newsletter folder to /public_html/whmcs/modules/admin/ 2.) navigate to the file via whmcs ie: Utilities > Addon modules > newsletter 3.) Enter a whmcs admin username and password for the cron to be able to send the emails out via the api. 4.) Edit the newsletter template in the email templates page however you want your newsletter. 5.) Set the cron to run whenever you want the emails to be sent out. Note: By default the newsletter is opt in so all current clients will have to elect to receive it. It will prompt new customers on signup if they wish to receive it or not. Any questions let me know. Screen Shot: newsletter.zip 0 Quote Link to comment Share on other sites More sharing options...
HostOrca Posted March 14, 2009 Share Posted March 14, 2009 I like the idea of an intergrated newsletter, but why does it need the admin username and password if it's integrated. 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted March 14, 2009 Author Share Posted March 14, 2009 (edited) im using the api to send the emails and in order to access the api you have to authenticate, this way it gets sent however you have your whmcs to send emails it will also log it to the clients recent emails by doing this. Edited March 14, 2009 by Operator 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted March 14, 2009 Share Posted March 14, 2009 Can't it obtain whmcs login from the DB? 0 Quote Link to comment Share on other sites More sharing options...
Redsign Posted March 14, 2009 Share Posted March 14, 2009 Can't it obtain whmcs login from the DB? You should create a user purely for API access, and under Administrator roles, limit access just to the API: http://wiki.whmcs.com/API:About Bej 0 Quote Link to comment Share on other sites More sharing options...
RikeMedia Posted March 14, 2009 Share Posted March 14, 2009 Sorry, wheres the content that goes inside the template kept? 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted March 15, 2009 Author Share Posted March 15, 2009 Sorry, wheres the content that goes inside the template kept? Click the link on the module page that says "edit the newsletter email template here" Which will take you to the email templates page where you will see newsletter under the general category. 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted March 15, 2009 Author Share Posted March 15, 2009 You should create a user purely for API access, and under Administrator roles, limit access just to the API: http://wiki.whmcs.com/API:About Bej Yep correct. 0 Quote Link to comment Share on other sites More sharing options...
mojowill Posted March 15, 2009 Share Posted March 15, 2009 was hoping it fuller be a bit better featured than this, maybe nice to create more than one newsletter so that old ones can be accessed from an achive by clients? 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted March 15, 2009 Author Share Posted March 15, 2009 Hi, I'm not sure what benefit would there be from creating a database of past newsletters? Most of the offers/things you say will be outdated or could be followed up in the next newsletter. The current newsletter is stored in the clients recent emails list as is all email from whmcs. 0 Quote Link to comment Share on other sites More sharing options...
Magik Posted March 15, 2009 Share Posted March 15, 2009 Hi, Is there anyway to allow subscriptions to this newsletter with visitors having to actually be members? eg: I have a subscription form on my site that just accepts subscriptions, not necessarily being members or customers... Thanks.. 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted March 15, 2009 Author Share Posted March 15, 2009 Hi Magik, The best way to do this would be to allow signups to whmcs without buying a product this would then allow them to choose if they want the newsletter or not. 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted March 16, 2009 Author Share Posted March 16, 2009 Sorry guys uploaded wrong files here are the new ones newsletter.zip 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted March 22, 2009 Share Posted March 22, 2009 Hi Looks like this could ve a very nice addition.... Do the new files incorporate any of the above suggestions, are are they merely, 'the correct files'? Cheers 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted March 23, 2009 Author Share Posted March 23, 2009 Hi Chris the files are the same as the original version ie still version 1.0. Although the two suggestions so far i have commented on already. 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted March 23, 2009 Share Posted March 23, 2009 Thanks ever so much for answering. I am happy with what was said in your previous replies.... just curious Nice add-on, thumbs up. 0 Quote Link to comment Share on other sites More sharing options...
flip Posted March 25, 2009 Share Posted March 25, 2009 (edited) How would you set all current customers to ... "Subscribed", and then add a little note in the newsletter "To unsubscribe, please click here". EDIT: And the link available to click on, is unique to their account, so you can monitor/track users, and also run a report to determine how many users are clicking on the newsletter email link, vs. browsing the website? How would you subscribe everyone on your database, or perhaps a certain group (users) and not resellers for example..... Once all clients are enrolled to the newsletter, they can manually remove it if they please. However, 80% of our clients are happy with the newsletter we send out (via some PC software). Have we solved the multiple newsletter problem? i.e. have multiple newsletters. Or is WHMCS not currently capable, and just to be used as a simple newsletter system? Thanks again! Looks great! Edited March 25, 2009 by flip edit 1st sentance. 0 Quote Link to comment Share on other sites More sharing options...
flip Posted March 30, 2009 Share Posted March 30, 2009 Here is both v1.0.0 and v1.0.1. I've included all help information, to aid and assist users. Also should this file be posted elsewhere, it includes both the installation info and a link back to this thread with your name, Operator, on it. Thanks Operator for your great work! Download: WHMCS Add-on - Newsletter v1.0.0 - 2009.03.14.zip WHMCS Add-on - Newsletter v1.0.1 - 2009.03.16.zip 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted April 7, 2009 Share Posted April 7, 2009 Damn fine add on. A couple of observations, though really related to WHMCS. Would be good to add this to a per contact (and therefore the template) rather than the primary client? then could it show as just another checkbox (from clients perspective) under each contacts' email settings? ....unless of course some-one can show me how to add a custom field to contacts I also wonder if it would be possible to add information in a method such as is used for tickets, eg inserting KB articles - although announcements would be more useful in this case. Well done on the mod, will be looking out for others 0 Quote Link to comment Share on other sites More sharing options...
rodeoXtreme Posted April 7, 2009 Share Posted April 7, 2009 Nice Addon! We installed it and was planning on running a few tests with our Company Account; but discovered that when the cron job ran; it sent it to everyone one 4 times. Is there something that we missed. I confirmed that the only one that was checked to receive the emails was our account but it went to everyone too! 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted April 8, 2009 Author Share Posted April 8, 2009 (edited) Hi, I have released a new version 1.2 is now out Get it here Changes: -Prevented http access to cron file can now only be run via cron (prevents people just running it from browser) -Fixed possible issue reported by rodeoXtreme <Thanks for reporting -Fixed bug where on some server setups cron.php would not run -General code tidy Edited April 8, 2009 by Operator 0 Quote Link to comment Share on other sites More sharing options...
redrat Posted April 8, 2009 Share Posted April 8, 2009 Thanks Operator. 0 Quote Link to comment Share on other sites More sharing options...
Impact-John Posted April 8, 2009 Share Posted April 8, 2009 (edited) what i am starting to not understand here is is this just a system to ask who wants to be in the mailing lists (newsletter) or is it actually the newsletter system as well cause if it is i cant find where you send the newsletters from at all ***EDIT*** Never mind i figured it out its in the email templates got ya but when they activate they want to accept the newsletters does the cron job make it send the email template at the set time ? Edited April 8, 2009 by Impact-John 0 Quote Link to comment Share on other sites More sharing options...
flip Posted April 8, 2009 Share Posted April 8, 2009 (edited) Hi My question still hasn't been answered. Is there a way, once installed, to enabled the newsletter to all current users, and then allow them to login and disable/unsubscribe from them if they wish? As i don't want to wait 3-6 months before people start ticking the box, and that would leave out the current userbase too. Thanks for the quick patches. I've nearly recovered all the users' data from the wipe in your earlier version... Thanks again. p.s. it might be a good idea to add the version number to your download files. As i've now got 3 newsletter.zip files in my downloads, and no idea which is which! (except for the date) em Edited April 8, 2009 by flip 0 Quote Link to comment Share on other sites More sharing options...
jozeph Posted April 17, 2009 Share Posted April 17, 2009 Please, make this addon as GPL so other users can contribute with the development. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.