Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11778
Latest: robgratt
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40981
Total Topics: 7173
Most Online Today: 63
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 34
Total: 34

Author Topic: Privacy Link  (Read 516 times)

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • SMF Gallery Pro Customer
  • Newbie
  • *****
  • Posts: 24
  • 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"?

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

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15464
    • 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

  • SMF Gallery Pro Customer
  • Newbie
  • *****
  • Posts: 24
  • 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

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

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15464
    • 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
4155 Views
Last post January 24, 2007, 11:55:31 am
by Livethefire
5 Replies
6863 Views
Last post February 14, 2007, 02:36:31 pm
by avidum
No link?

Started by Marshall « 1 2 » Support

16 Replies
8358 Views
Last post September 02, 2011, 03:19:32 pm
by Erik Hansen
2 Replies
2647 Views
Last post February 08, 2012, 03:46:49 am
by chinaren
2 Replies
2707 Views
Last post December 23, 2012, 09:21:53 am
by SMFHacks

+- Recent Topics

Where are original uploaded files stored? by robgratt
June 20, 2021, 12:41:48 pm

Errors for nonexistent members by Krash
June 14, 2021, 09:51:47 pm

Error message: cannot access upload path by SMFHacks
June 08, 2021, 10:06:22 am

How to change order of the Classifieds board by SMFHacks
May 31, 2021, 09:57:36 am

Standard version of Downloads mod value missing by SMFHacks
May 25, 2021, 11:32:48 pm

Privacy Link by SMFHacks
May 14, 2021, 11:11:51 am

Gallery font by SMFHacks
May 13, 2021, 09:58:02 am

Mod Using Google App Script by T7i
May 09, 2021, 08:19:03 pm

Guest has high bid? by Shades
May 06, 2021, 01:36:08 pm

Simple Portal Block - Classifieds by Shades
May 06, 2021, 12:24:32 pm

Powered by EzPortal