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.
Auth-Integration for minishowcase
Yesterday I integrated the Vanilla-Authentication in the realy cute minishowcase-Galleryscript...
It was easy and functionaly... - Thanx to the vanilla-developers!
So go on:
- Copy the gallery as a subfolder into the vanilla folder.
- Make the minishowcase-settings...
- Paste the following code at the beginning before the opening php-tag
It was easy and functionaly... - Thanx to the vanilla-developers!
So go on:
- Copy the gallery as a subfolder into the vanilla folder.
- Make the minishowcase-settings...
- Paste the following code at the beginning before the opening php-tag
<?php</pre> of the index.php in the minishowcase folder:<?php /* * Vanilla-Integration */ include("../appg/settings.php"); include("../appg/init_people.php"); if ($Context->Session->UserID > 0) { ?>
- Paste the following code at the end after the closing html-tag < / html> of the index.php in the minishowcase folder:<?php } else { header("Location: http://www.your-vanilla-url.here/"); } ?>
- U are done!
I only wanna know, how I can use the vanilla-header and -footer with the minishowcase-gellery... - Someone here that has an idea!?
Greetings
sokai
0
This discussion has been closed.
Comments