Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12347
Latest: JessielGonzalez2
New This Month: 11
New This Week: 1
New Today: 0
Stats
Total Posts: 39779
Total Topics: 7005
Most Online Today: 102
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 26
Total: 26

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

+- Recent Topics

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

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

Pretty Urls extras by SMFHacks
June 06, 2019, 12:14:53 pm

About using chmod to secure files by ajac63
June 05, 2019, 04:02:28 am

Bulk upload image problem by SMFHacks
June 01, 2019, 07:24:00 pm

About Watermark Options by ajac63
May 30, 2019, 05:25:39 pm

Why PayPal only by ajac63
May 30, 2019, 04:20:47 pm

Seller ToU not showing by ajac63
May 29, 2019, 01:59:24 am

Not happy by ajac63
May 28, 2019, 06:37:58 pm

About Number of Images for Basic Ad by ajac63
May 26, 2019, 10:33:46 pm

Powered by EzPortal