Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (capnbob), 44 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/08/06
Posts: 1465
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#165940 - 10/12/06 07:14 PM [FIXED for 7.0.1] Mass Email Text Error Bug
Daryl Fawcett Offline
addict
Registered: 06/05/06
Posts: 469
Loc: Canada
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?


Edited by Rick (10/15/06 11:39 PM)
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#165941 - 10/12/06 07:17 PM Re: Mass Email Text Error Bug [Re: Daryl Fawcett]
Daryl Fawcett Offline
addict
Registered: 06/05/06
Posts: 469
Loc: Canada
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.
Top
#165952 - 10/12/06 08:59 PM Re: Mass Email Text Error Bug [Re: Daryl Fawcett]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
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....

Quote:

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.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#165956 - 10/12/06 09:09 PM Re: Mass Email Text Error Bug [Re: jgeoff]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Shouldn't be too hard, just have an option to send the post through striptags or not before emailing it
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#166187 - 10/15/06 03:13 PM Re: Mass Email Text Error Bug [Re: Gizmo]
Daryl Fawcett Offline
addict
Registered: 06/05/06
Posts: 469
Loc: Canada
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?
Top
#166243 - 10/15/06 11:36 PM Re: Mass Email Text Error Bug [Re: Daryl Fawcett]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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.
Top
#166244 - 10/15/06 11:37 PM Re: Mass Email Text Error Bug [Re: Rick]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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);
Top
#166248 - 10/15/06 11:55 PM Re: Mass Email Text Error Bug [Re: Rick]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Rick, why not store one copy and use striptags?
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#166250 - 10/16/06 12:07 AM Re: Mass Email Text Error Bug [Re: Gizmo]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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.
Top
#166253 - 10/16/06 01:20 AM Re: Mass Email Text Error Bug [Re: Rick]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
I hate HTML email, so I welcome it!!
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33840 Topics
181693 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image