Welcome, Guest. Please login or register.
Did you miss your activation email?
February 11, 2012, 07:48:48 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149571 Posts in 21093 Topics by 7536 Members
Latest Member: SpokaneDude
* Home Help Search Login Register
Pages: 1 [2]   Go Down
Print
Author Topic: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG  (Read 4798 times)
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 112



WWW
« Reply #25 on: August 17, 2011, 10:24:06 AM »

Hi Lausianne,

Do you have the latest version of the Tiny MCE editor installed? Found here http://www.websitebakers.com/pages/modules/interaction/massmail-w-tiny.php This does not have to be your default WISIWYG editor it just needs the files.

I have installed a clean version of WB2.8.2 then installed tinyMCE and Massmail with TinyMCE and it is working for me using Xampp. 

I do see the error you report.  The error is from the subscriptions form.  This part of the code I have not altered from the original, and should not affect the email system but I should clean it up.
Logged
lausianne
WebsiteBaker Org e.V.

Offline Offline

Posts: 139


WWW
« Reply #26 on: August 18, 2011, 08:15:03 AM »

Hi Spritemarkiv,

Thanks a lot. Indeed, I did not have TinyMCE installed, sorry. Now your module shows up in the list of modules, and the editor is there, too. The above mentioned error message remains. Also, I cannot add or change e-mail-addresses in the from, to, or bcc fields.
Sending a message, I get this:
Code:
Notice: Undefined variable: group_id in ...\modules\massmail\save.php on line 113
Message was not sent.
Mailer error: Could not instantiate mail function.
The mailer error is perhaps due to this running locally and the mailer not being configured correctly. The undefined variable, I don't know  ...

Cheers,
Ralf.
Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 112



WWW
« Reply #27 on: August 18, 2011, 09:13:33 AM »

Good Morning,

The module pulls the email addresses from the WB defined groups. You can also add new groups just for the mail system.  If you do not have a group defined you will get this error.  Also you need the group populated with users.

The fields are lock because the info is added dynamically.  You can unlock them if you wish by changing the code of the massmail/modify.html file.
Code:
<tr><td align="right" valign="top">Bcc:</td><td><textarea name="emails" id="emails"style="WIDTH: 690px; HEIGHT: 150px" class="row_b" READONLY >{EMAILS}</textarea></td></tr>

to
Code:
<tr><td align="right" valign="top">Bcc:</td><td><textarea name="emails" id="emails"style="WIDTH: 690px; HEIGHT: 150px" class="row_b" >{EMAILS}</textarea></td></tr>

but I would recommend using the subscriptions part of the module to add email addresses.

RE:
Quote
Message was not sent.Mailer error: Could not instantiate mail function.
  If you are running locally, do you have email set up correctly? If you sign-up as a new user does the sign-up page send the password?  Or does that also fail?  In your WB settings you can change from Php mail to SMTP and configure it to send from a live site.   

Hope that helps,
Spritemarkiv
Logged
lausianne
WebsiteBaker Org e.V.

Offline Offline

Posts: 139


WWW
« Reply #28 on: August 19, 2011, 12:29:28 PM »

Hi Spritemarkiv,

thank you for the explanations. The local server is probably not set up correctly for email, which is ok, because I don't really need to send email from there. I have no groups set up and I did not know it was necessary. If it's just for a single mailing, isn't it a bit of an overkill, to set up a group instead of a simple copy/paste into the address field?
Anyway, since you explained how to unlock the address fields, I might do that. But then, that will be just as much work, as setting up a group. Oh, I'm stuck ...  tongue

But seriously, it's ok for me now. Just for clients, it would be nice to get a "civilized" alert when there's no group, rather than a php error message -> PANIC

Cheers, Ralf.
Logged
daydreamer

Offline Offline

Posts: 232


« Reply #29 on: October 08, 2011, 07:30:02 PM »

How would I add ckeditor rather than tinymce please
Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 112



WWW
« Reply #30 on: October 09, 2011, 09:15:55 AM »

Hi daydreamer,
You could rewrite the module including ckeditor instead of TinyMCE or you could check out.

http://www.websitebakers.com/pages/modules/interaction/massmail-w-fcke.php

Logged
daydreamer

Offline Offline

Posts: 232


« Reply #31 on: October 11, 2011, 12:18:25 AM »

Hi,

Thanks for the reply, I am no coder but guess it can't be that difficult so might give it a go, I really like ckeditor as I use it as main text editor for WB, so could really use it for massmail too.
Logged
Pages: 1 [2]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!