Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 182
Total: 182

Author Topic: Unsubscribe link Incorrect  (Read 10473 times)

0 Members and 1 Guest are viewing this topic.

Offline elbeer

  • Downloads Pro Customer
  • 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: 16436
    • 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

  • Downloads Pro Customer
  • 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

  • Downloads Pro Customer
  • 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: 16436
    • 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

  • Downloads Pro Customer
  • 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: 16436
    • 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

  • Downloads Pro Customer
  • 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: 16436
    • 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

  • Downloads Pro Customer
  • 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
5360 Views
Last post November 29, 2006, 10:00:34 pm
by Hawk
0 Replies
5791 Views
Last post November 30, 2008, 08:45:36 am
by SteveW
3 Replies
4909 Views
Last post March 04, 2009, 07:28:19 am
by SMFHacks
1 Replies
5301 Views
Last post August 07, 2009, 09:56:31 pm
by ApplianceJunk
7 Replies
6470 Views
Last post February 25, 2015, 09:34:14 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal