|
Joined: Jun 2006
Posts: 626
Addict
|
Addict
Joined: Jun 2006
Posts: 626 |
I sent out a message to all my members.
This is a sample of the text:
WELCOME
=======
Welcome to the new software and features at Maritime SDA OnLine.
NEW LINK
========
If you missed the previous email, the new direct link is now
Is there a way or a fix to get rid of the in each line?
Last edited by Rick; 10/15/2006 11:39 PM.
|
|
|
|
Joined: Jun 2006
Posts: 626
Addict
|
Addict
Joined: Jun 2006
Posts: 626 |
WELCOME <br />======= <br />Welcome to the new software and features at Maritime SDA OnLine. <br /> <br />NEW LINK <br />======== <br />If you missed the previous email, the new direct link is
Here it is again, as they disappeared when I edited my previous post.
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Also in "Moderator notification of post" emails, and I'm sure most emails. We REALLY need a Text Only / HTML email option in control panel.... SC has notified you of a post you should look at entitled: 'Re: Mmmm hmmmm....!'
Reason you are being notified:
Being nosy
<div class="ubbcode-block"><div class="ubbcode-header">Originally Posted By: J Geoff</div><div class="ubbcode-body">So..... You gonna come along with me in these things I have to do -- or what. Because if not.... </div></div>
Yes, I'm staying. Now what is it that you want me to do?
(Hey.... I already have Tom Hagen's hairline) <img src="/threads/images/graemlins/default/frown.gif" alt="" height="15" width="15" />
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,300 Likes: 116
|
Joined: Jun 2006
Posts: 16,300 Likes: 116 |
Shouldn't be too hard, just have an option to send the post through striptags or not before emailing it
|
|
|
|
Joined: Jun 2006
Posts: 626
Addict
|
Addict
Joined: Jun 2006
Posts: 626 |
I am still showing the <br /> in my emails to the users.
WELCOME <br />======= <br />Welcome to the new software and features at Maritime SDA OnLine. <br /> <br />NEW LINK <br />======== <br />If you missed the previous email, the new direct link is
Is there a way I can correct this?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
The notify moderator one is fixed by grabbing the post as the user entered it instead of the marked up post. Basically change line 91 of scripts/donotifymod.inc.php
Current it has
POST_BODY
that should be
POST_DEFAULT_BODY
as for the mass emailer....still working on that.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Ok, currently we are sending in plaintext only. So to fix the mass emailer you can edit line 198 of admin/dosendemail.php.
You'll want to remove this line completely:
$mailbody = str_replace("\n","<br />",$mailbody);
|
|
|
|
Joined: Jun 2006
Posts: 16,300 Likes: 116
|
Joined: Jun 2006
Posts: 16,300 Likes: 116 |
Rick, why not store one copy and use striptags?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Once copy of what, the post? Because striptags wouldn't allow it to be converted back to it's original input by the user. It would just strip all of the HTML so all of the ubbcode would be gone.
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
I hate HTML email, so I welcome it!!
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,300 Likes: 116
|
Joined: Jun 2006
Posts: 16,300 Likes: 116 |
So store the html copy then striptags for things like email or to display, then use the html version where it normally is?
not entirely sure where all the non-html version is utilized, just ideas hehe
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
ok i made the changes now I have this
Parse error: parse error, unexpected T_LNUMBER in /homepages/1/d118328893/htdocs/clubadventist/forum/admin/dosendemail.php on line 3
I am hoping to email this am for my weekly mailing to the members
H E L P
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
If you're running 7.0.2 then you don't need to make these changes. The best thing I can recommend is to upgrade to the latest version so you have all of the fixes.
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
OK I did the upgrade... thanks
NOW I can not email to groups such as Moderators and Admins... seems to me that was fixed in 7.0.1
We are doing a live interview tonight, and would like to email all the moderator reminding them...
Thanks
Stan
|
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
4 members (Gizmo, Baldeagle, Ruben, 1 invisible),
779
guests, and
156
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|