Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12387
Latest: Altha
New This Month: 11
New This Week: 0
New Today: 0
Stats
Total Posts: 39888
Total Topics: 7022
Most Online Today: 29
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 24
Total: 24

Author Topic: Unsubscribe link Incorrect  (Read 7600 times)

0 Members and 1 Guest are viewing this topic.

Offline elbeer

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Unsubscribe link Incorrect
« on: July 24, 2014, 08:35:14 am »
Hi,

The unsubscribe link in my install is showing as http://ppvguru.com/forum/index.phpUnsubscribe which obviously wont work.

How can I put the correct link for it.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Unsubscribe link Incorrect
« Reply #1 on: July 24, 2014, 08:36:25 am »
The link is auto generated for each email address. Are you using any kind of rewrite url mod?
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 elbeer

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Unsubscribe link Incorrect
« Reply #2 on: July 24, 2014, 08:38:54 am »
Possibly on the ppvguru.com will have htaccess rewriting but not on the forum itself. I can hard code it into one of the files if you give me the format and which file its in

Offline elbeer

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Unsubscribe link Incorrect
« Reply #3 on: July 24, 2014, 09:53:26 am »
Or which file constructs the unsubscribe link and what code I can ammend it to suit.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Unsubscribe link Incorrect
« Reply #4 on: July 24, 2014, 03:15:32 pm »
Link is in the form of
newstracking2.php?a=u&c=###&i=###&hash=#A-Z0-9#

And is is added in Sources/ManageNew.php
Code: [Select]
// Create Unsubscribe link
if (empty($modSettings['newspro_set_nounsubscribe']))
$_POST['message'] = str_replace('<#unsubscribe#>','<a href="' . $boardurl . '/newstracking2.php?a=u&c=' . $context['ID_LETTER'] . '&i=#ID_EMAIL#&hash=EMAILHASH">' . $txt['newspro_unsubscribe'] . '</a>',$_POST['message']);
else
$_POST['message'] = str_replace('<#unsubscribe#>','',$_POST['message']);

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 elbeer

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Unsubscribe link Incorrect
« Reply #5 on: November 18, 2016, 04:49:02 am »
Getting this error when someone unsubscribes:
Strict Standards: Only variables should be passed by reference in /home/XXX/public_html/forum/Sources/menu-editor-pro/resources/integrate.php on line 132

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Unsubscribe link Incorrect
« Reply #6 on: November 18, 2016, 08:13:14 am »
That's part of menu editor pro.
If you look at that line probably just remove &
/home/XXX/public_html/forum/Sources/menu-editor-pro/resources/integrate.php on line 132
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 elbeer

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Unsubscribe link Incorrect
« Reply #7 on: November 18, 2016, 09:02:32 am »
Oh yeah. So are you saying I should contact them mate.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Unsubscribe link Incorrect
« Reply #8 on: November 18, 2016, 09:40:44 am »
Yeah or try removing the & from that line of code.
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 elbeer

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Unsubscribe link Incorrect
« Reply #9 on: November 18, 2016, 01:51:12 pm »
There is not an & sign there is a }

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
4133 Views
Last post November 29, 2006, 10:00:34 pm
by Hawk
0 Replies
3983 Views
Last post November 30, 2008, 08:45:36 am
by SteveW
3 Replies
2933 Views
Last post March 04, 2009, 07:28:19 am
by SMFHacks
1 Replies
3690 Views
Last post August 07, 2009, 09:56:31 pm
by ApplianceJunk
7 Replies
4034 Views
Last post February 25, 2015, 09:34:14 pm
by SMFHacks

+- Recent Topics

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Problem update 1.1.21 to 2.0.15 by Rock Lee
October 06, 2019, 06:09:16 pm

[Mod]SMF 2.0.x PHP 7.2 Support by sah62
October 04, 2019, 01:46:00 pm

Ideas by shuban
October 03, 2019, 10:19:06 pm

How to space icons and multiple reacts? by shadav
October 03, 2019, 04:20:07 pm

PrettyUrls SEO Pro by Rock Lee
October 01, 2019, 09:09:38 am

How to get search preciser by SMFHacks
September 23, 2019, 10:09:56 am

How to AVOID SEO Hit when Implementing PrettyURLs by SMFHacks
September 12, 2019, 08:50:42 pm

theme by SMFHacks
September 12, 2019, 07:10:51 am

Powered by EzPortal