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.
Problems adding a banner
Hi,
I did add a banner above my Vanilla forum like explained in the documentation (Look here). It should not be shown when logging in or out (people.php), But it does anyway.
The php-code looks like that:
-----------------------------
if (in_array($Context->SelfUrl, array("index.php", "account.php", "categories.php", "comments.php", "post.php", "search.php", "settings.php"))) {
echo "BANNER";
}
-----------------------------
Does anyone has a hint how to not display it while logging in and out?
I did add a banner above my Vanilla forum like explained in the documentation (Look here). It should not be shown when logging in or out (people.php), But it does anyway.
The php-code looks like that:
-----------------------------
if (in_array($Context->SelfUrl, array("index.php", "account.php", "categories.php", "comments.php", "post.php", "search.php", "settings.php"))) {
echo "BANNER";
}
-----------------------------
Does anyone has a hint how to not display it while logging in and out?
0
This discussion has been closed.
Comments