Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4219
Latest: Toddie
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 42850
Total Topics: 7463
Most Online Today: 96
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 67
Total: 67

Author Topic: Privacy Link  (Read 1271 times)

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Privacy Link
« 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"?

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16256
    • View Profile
Re: Privacy Link
« Reply #1 on: May 06, 2021, 03:17:31 pm »
On SMF 2.0.X
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Privacy Link
« Reply #2 on: May 06, 2021, 05:28:27 pm »
yes sorry 2.0.18

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16256
    • View Profile
Re: Privacy Link
« Reply #3 on: May 14, 2021, 11:11:51 am »
It is added to
Sources/QueryString.php

Code: [Select]

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
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
3278 Views
Last post December 23, 2012, 09:21:53 am
by SMFHacks
2 Replies
725 Views
Last post August 24, 2021, 10:26:40 am
by Shades
1 Replies
827 Views
Last post September 03, 2021, 07:46:57 pm
by Shades
3 Replies
635 Views
Last post March 07, 2022, 07:47:57 pm
by Shades
1 Replies
753 Views
Last post April 23, 2022, 10:35:53 am
by SMFHacks

+- Recent Topics

Question on Completed Listing & Reserve Price by SMFHacks
May 31, 2023, 01:43:19 pm

[Mod]GDPR Helper by Nicole
May 29, 2023, 11:58:49 pm

RSS Feed Poster Database Error by SMFHacks
May 22, 2023, 06:26:18 pm

Errors With Older Version. by Ken.
May 09, 2023, 05:35:40 pm

Pretty Urls SEO Pro by SMFHacks
May 06, 2023, 03:30:11 pm

New Post Image Upload Error by Mike66
April 28, 2023, 07:30:28 am

Copyright Removal Key by SMFHacks
April 03, 2023, 02:44:28 pm

Converting from Aeva Media by sudhakar
April 02, 2023, 11:09:54 am

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Permissions query by davejo
March 26, 2023, 04:43:48 am

Powered by EzPortal