Active
Project:
phpBB Forum Integration
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2009 at 15:18 UTC
Updated:
18 Jan 2012 at 14:26 UTC
This happens when trying to open the link from the email:
http://exaple.com/forum/viewtopic.php?f=5&t=242&p=3223&e=3223
The link is perfect but it somehow triggers redirection to
http://exaple.com/forum-standalone/viewtopic.php?f=5&t=242&p=3223#p3223
Copying and pasting:
http://exaple.com/forum/viewtopic.php?f=5&t=242&p=3223#p3223
into the address bar works just fine, as well as removing the "&e=3223" from the original link.
I'll look into this one too to see if I can come up with some kind of temporary fix.
Comments
Comment #1
filiptc commentedOK, here we go. Replace line 1286 of file forum-standalone/includes/functions_posting.php:
'U_NEWEST_POST' => generate_board_url() . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id&p=$post_id&e=$post_id",with
'U_NEWEST_POST' => generate_board_url() . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id&p=$post_id#p$post_id",It shouldn't change functionality but fixes the issue. I'm still marking this as "needs work" as this is not a *real fix*, only a workaround.
Comment #2
vb commentedThanks, Phil
I think it will go to 3.06 patch
Comment #3
filiptc commentedBut do you have any idea of why the "e=" tag does not get redirected? That I think would be the real thing to fix...
Comment #4
fizk commentedComment #5
lintlin commentedThis is still a problem on my board. Running Drupal 6.22, phpbbforum 6.x-2.x-dev. I applied the above patch, but the mails are still sending out the link to /phpbb3/ and not /phpbbforum/.
Any ideas how to fix this?
Thanks for your help,
lintlin