Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43261
Total Topics: 7519
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 272
Total: 273

Author Topic: Privacy Link  (Read 1713 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: 16436
    • 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: 16436
    • 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
3907 Views
Last post December 23, 2012, 09:21:53 am
by SMFHacks
2 Replies
1290 Views
Last post August 24, 2021, 10:26:40 am
by Shades
1 Replies
1403 Views
Last post September 03, 2021, 07:46:57 pm
by Shades
3 Replies
1306 Views
Last post March 07, 2022, 07:47:57 pm
by Shades
1 Replies
6021 Views
Last post April 23, 2022, 10:35:53 am
by SMFHacks

+- Recent Topics

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
Today at 08:27:36 am

No thumbnails on new uploads by Tonyvic
Today at 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Powered by EzPortal