Quantcast
Viewing all articles
Browse latest Browse all 2189

Extensions in Development • Re: [3.3][RC] Browser Push Notifications

thanks for post:

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"}}
new topic:

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"}}
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???

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}");
to:

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



Viewing all articles
Browse latest Browse all 2189

Trending Articles