Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Pimped my Vanilla
Pimped my Vanilla
0
This discussion has been closed.
Comments
Any ideas on a way to make them work together?
($Context->SelfUrl == 'index.php') &&
Its about 10-15 lines down, starts with IF. Should still work but it might make a conflict with another control more likely, but only if they both use the 'Pimped' PostBackAction.
Try disabling them both then enabling 'Pimped' then 'DefaultPage' or if you are happy to do so you could edit the extensions.php file in the 'conf' directory.
I think Unauthenticated users can't access Pimped. I've edited
$Context->Configuration['BLING_REQUIRE_SESSION'] = True; // Require a valid session to show bling
to read
$Context->Configuration['BLING_REQUIRE_SESSION'] = False; // Require a valid session to show bling
but it still doesn't work. The link shows up in the sidebar where it's supposed to, but the link just keeps showing me the front page.
This is the link in my address bar after I click:
http://myforum.com/?ReturnUrl=http://myforum.com/?PostBackAction=Pimped
Thanks
Change the following line (found towards the end) from:
$Context->Session->Check($Configuration);
To:
if ($Context->Configuration['BLING_REQUIRE_SESSION'] == True) {$Context->Session->Check($Configuration);}
Works a charm here.