Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12359
Latest: volkerstraehle
New This Month: 5
New This Week: 2
New Today: 0
Stats
Total Posts: 39803
Total Topics: 7013
Most Online Today: 150
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 32
Total: 33

Author Topic: Unsubscribe link Incorrect  (Read 7541 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: 14916
    • 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: 14916
    • 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: 14916
    • 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: 14916
    • 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
4095 Views
Last post November 29, 2006, 10:00:34 pm
by Hawk
0 Replies
3934 Views
Last post November 30, 2008, 08:45:36 am
by SteveW
3 Replies
2893 Views
Last post March 04, 2009, 07:28:19 am
by SMFHacks
1 Replies
3665 Views
Last post August 07, 2009, 09:56:31 pm
by ApplianceJunk
7 Replies
3988 Views
Last post February 25, 2015, 09:34:14 pm
by SMFHacks

+- Recent Topics

Getting an error while installing SMF Gallery Pro by SMFHacks
August 18, 2019, 06:54:37 pm

Hashtag Mod Install Error by SMFHacks
August 15, 2019, 08:17:45 am

Rotating Image URLs by SMFHacks
August 05, 2019, 04:26:57 pm

[Mod]Block Proxy VPN On Registration by SMFHacks
August 01, 2019, 10:42:37 pm

[Mod]Nofollow Signature Links by SMFHacks
July 30, 2019, 11:52:28 am

Thinking of getting Ad Seller Pro as well by ajac63
July 28, 2019, 04:46:34 am

Just some questions about Ad Management mod by ajac63
July 26, 2019, 12:12:26 pm

[Mod]Login Menu Button by SMFHacks
July 05, 2019, 03:26:24 pm

Update by SMFHacks
June 19, 2019, 10:58:25 am

About Comments Approval by ajac63
June 12, 2019, 07:48:52 pm

Powered by EzPortal