Everything looks good to me. It should be behaving as expected on your site unless there's just something mysterious with in your Forum settings or you actual web server set up, like redirects or something???thanks for post:new topic:Code:
{"heading":"Test Board","title":"Test User has thanked you for this post:","text":"\"My Topic.\"","url":".\/viewtopic.php?p=46129#p46129","avatar":{"src":"https:\/\/www.mytestboard.com\/forumfolder\/download\/file.php?avatar=g2_1568531610.png"}}
Code:
{"heading":"Test Board","title":"New topic by Test User:","text":"\"My Topic.\"","url":".\/viewtopic.php?t=6892","avatar":{"src":"https:\/\/www.mytestboard.com\/forumfolder\/download\/file.php?avatar=322_1724365068.jpg"}}
One hack you could try is to mod this file in Thanks for posts extension:
notification/thanks.php:
change:
Code:
return append_sid($this->phpbb_root_path . 'viewtopic.' . $this->php_ext, "p={$this->item_id}#p{$this->item_id}");
Code:
return generate_board_url() . '/' . append_sid('viewtopic.' . $this->php_ext, "p={$this->item_id}#p{$this->item_id}");
Statistics: Posted by MattF — Sat Sep 07, 2024 4:18 pm