SMFHacks.com
GDPR Pro => Support => Topic started by: Shades on May 06, 2021, 01:35:24 pm
-
How can I change the privacy policy link at bottom to point to ?action=agreement and the link text to "Terms and Privacy Policy"?
-
On SMF 2.0.X
-
yes sorry 2.0.18
-
It is added to
Sources/QueryString.php
if (!empty($modSettings['gdpr_enable_privacy_policy']) && $modSettings['gdpr_showprivacypolicylink'] == 1)
{
global $txt;
$buffer = preg_replace('~(, Simple Machines LLC</a>)~', ', Simple Machines LLC</a><br /><a href="' . $scripturl . '?action=gdpr;sa=privacypolicy">' . $txt['gdpr_privacypolicy'] . '</a>', $buffer);
$buffer = preg_replace('~(class="new_win">Simple Machines</a>)~', 'class="new_win">Simple Machines</a><br /><a href="' . $scripturl . '?action=gdpr;sa=privacypolicy">' . $txt['gdpr_privacypolicy'] . '</a>', $buffer);
}
You can change the link url and text there as well