Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Fixed a bug in the core
I installed Vanilla 2 and integrated it with WordPress. I renamed the directory that holds Vanilla from 'vanilla' to 'forum.'
I could do most things, but after deleting a discussion I got forwarded to the Bonk page. I turned on verbose warnings and figured out that applications/vanilla/controllers/class.discussioncontroller.php has the directory hard coded.
Line 542 was:
$this->RedirectUrl = GetIncomingValue('Target', '/vanilla/discussions');
And it worked after changing it to:
$this->RedirectUrl = GetIncomingValue('Target', '/forum/');
Best,
Zinko
I could do most things, but after deleting a discussion I got forwarded to the Bonk page. I turned on verbose warnings and figured out that applications/vanilla/controllers/class.discussioncontroller.php has the directory hard coded.
Line 542 was:
$this->RedirectUrl = GetIncomingValue('Target', '/vanilla/discussions');
And it worked after changing it to:
$this->RedirectUrl = GetIncomingValue('Target', '/forum/');
Best,
Zinko
0
Comments