Thread Like Summary
isaac
Total Likes: 1
Original Post (Thread Starter)
by Ruben
Ruben
I tested this whith a virgin install.
But anyway I was checking for gdpr compliance, etc and I noticed a issue in the footer.
Which seems to be in the language files mailer.php
In particular the top 4 keys in the raw zip file:
Code
$ubbt_lang['EMAIL_HEADER_TEXT'] = "{$config['COMMUNITY_TITLE']}<br>----------------------------------<br>";
$ubbt_lang['EMAIL_HEADER_HTML'] = "{$config['COMMUNITY_TITLE']}";
$ubbt_lang['EMAIL_FOOTER_TEXT'] = "This email was auto-generated. Please do not reply.<br><br>Manage your email preferences:<br>{$config['FULL_URL']}/ubbthreads.php?ubb=editdisplay<br><br>Update your forum profile:<br>{$config['FULL_URL']}/ubbthreads.php?ubb=editbasic<br><br>";
$ubbt_lang['EMAIL_FOOTER_HTML'] = "This email was sent by <a href=\"{$config['HOMEPAGE_URL']}\">{$config['HOMEPAGE_TITLE']}</a>.<br>To control which emails we send you, <a href=\"{$config['FULL_URL']}/ubbthreads.php?ubb=editdisplay\">update your email preferences</a>.";

But after a net new install I get in the language file in the cp:
Ca't seem to copy paste the key with the text so will manually enter it
Code
EMAIL_HEADER_TEXT <br>----------------------------------<br>
EMAIL_HEADER_HTML 
EMAIL_FOOTER_TEXT  This email was auto-generated. Please do not reply.<br><br>Manage your email preferences:<br>/ubbthreads.php?ubb=editdisplay<br><br>Update your forum profile:<br>/ubbthreads.php?ubb=editbasic<br><br>
EMAIL_FOOTER_HTML This email was sent by <a href=""></a>.<br>To control which emails we send you, <a href="/ubbthreads.php?ubb=editdisplay">update your email preferences</a>.
So what happens when you send a email from the site what is displayed in the footer is first no community title and the link to change your preferences is a relative url which will not redirect the user.
Attached two images of the email
Attachments
Liked Replies
by Ruben
Ruben
Great. It seems like it was the placeholder that referenced using the $config values that made it bark.
In the language files there were like 8 items as I recall that I found.
I fat fingered them in for now.

Thanks again.
1 member likes this
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (1 invisible), 920 guests, and 238 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)