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.
Anonymouse 2 plugin with RewriteUrls setting
yu_tang
New
@S
When I set config to:
then, discussion page shows no captcha.
I looked in HTML source and found a captcha URL like:
There is a word 'vanilla' twice so it was bad URL.
I change back RewriteUrls to FALSE, captcha appears.
I run Vanilla 2.0.16 on Local XAMPP.
I tried out a number of different plugins and I like Anonymous 2. It has cool icon too!
Any solution?
When I set config to:
$Configuration['Garden']['RewriteUrls'] = TRUE;
then, discussion page shows no captcha.
I looked in HTML source and found a captcha URL like:
<img src="/vanilla/vanilla/plugins/Anonymouse/captcha/imagettfbox.php" />
There is a word 'vanilla' twice so it was bad URL.
I change back RewriteUrls to FALSE, captcha appears.
I run Vanilla 2.0.16 on Local XAMPP.
I tried out a number of different plugins and I like Anonymous 2. It has cool icon too!
Any solution?
Tagged:
0
Comments
If you have
$Configuration['Garden']['WebRoot'] = '';
Try to change it to $Configuration['Garden']['WebRoot'] = '/vanilla';
or '/vanilla/'
Looks like a bug in Gdn_Plugin::GetWebResource()
If vanilla setup in directory $this->GetWebResource(...) return correct web path to file, but if result pass to Controller::AddCssFile() or Controller::AddJsFile() install directory will duplicated: /forum/forum/plugins/MyPlugin/some.css
$Sender->AddCssFile($this->GetWebResource(...); $Sender->AddJsFile($this->GetWebResource(...);
Playing with $Configuration['Garden']['WebRoot'] is useless.
I downloaded the latest version. It works fine!
only works once, do not correct the input image with the numbers does not appear. in the config.php file change line 36 does not work $ Configuration ['Garden'] ['RewriteUrls'] = TRUE / FALSE;
After incorrect captcha input picture with the captcha have wrong path: mysite.com/discussion/1/my_post_forum?0.45227327475611256
In first input captcha have right path: mysite.com/plugins/Anonymouse/captcha/imagettfbox.php
How to fix this bug?
how to delete link "Powered by Vanilla" from foot of page correct?
Uploaded new version (2.4.15):
- new config option $Configuration['Plugins']['Anonymouse']['NoCaptha'] = False; // enable/disable captcha;
- fixed bug with disappearance of captcha image
Also found some things:
1) plugin not working with vforg theme, bug: https://github.com/vanillaforums/Garden/issues/858
2) gdn.definition('WebRoot') works different for folder and root installation, bug: https://github.com/vanillaforums/Garden/issues/859
Anonymouse @ github.com