Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4268
Latest: Butiks
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43584
Total Topics: 7566
Most Online Today: 47
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 30
Total: 31

Author Topic: Unsubscribe link Incorrect  (Read 10845 times)

0 Members and 1 Guest are viewing this topic.

Offline elbeer

  • Full Member
  • ***
  • Posts: 111
    • 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: 16580
    • 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: 111
    • 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: 111
    • 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: 16580
    • 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: 111
    • 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: 16580
    • 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: 111
    • 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: 16580
    • 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: 111
    • 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
5521 Views
Last post November 29, 2006, 10:00:34 pm
by Hawk
0 Replies
5848 Views
Last post November 30, 2008, 08:45:36 am
by SteveW
3 Replies
5142 Views
Last post March 04, 2009, 07:28:19 am
by SMFHacks
1 Replies
5382 Views
Last post August 07, 2009, 09:56:31 pm
by ApplianceJunk
7 Replies
6682 Views
Last post February 25, 2015, 09:34:14 pm
by SMFHacks

+- Recent Topics

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

quoting part of message by Lirorobert
October 04, 2024, 03:21:40 pm

Does SMF Gallery support by SMFHacks
October 02, 2024, 06:14:26 am

Item count on Gallery Tab shows double by SMFHacks
September 26, 2024, 12:59:20 pm

Forum post missing when image over 4000x pixels is uploaded to gallery by Michel68
September 24, 2024, 01:37:17 pm

Setting a photo as invisible by Monocero
September 17, 2024, 02:11:56 pm

Two gallery names by SMFHacks
September 15, 2024, 02:17:49 pm

Powered by EzPortal