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.
A few peculiar needs... any suggestions?
Hi everyone!
I think Vanilla is great, but I have a few particular needs to be met before I can use it on my site. I develop a multiplayer online game where members register for the game, and then I have some custom code that adds that same username to my forum (currently phpbb). This ensures that players only have to register once, and that they don't need to remember two passwords. I'd love to switch to Vanilla, but I have 3 requirements:
1. I need a way to migrate my current phpbb users and posts to Vanilla.
2. I need a way to disable signing up directly to Vanilla, so that it is not possible for a Vanilla user to be created directly, and then a conflict arises when a player registers with the same username.
3. I need a way to manually (via PHP) add and remove user accounts to Vanilla.
Can anyone help with these 3 items? I can probably make modifications myself, but I'd need a little guidance. Thanks!
0
This discussion has been closed.
Comments
2. You can write an extension that sends them back to the index when they look at the people.php file. Something like:
<?php /* Extension Name: Avoid Registration Extension Url: http://lussumo.com/docs/ Description: Blocks users from using the vanilla registration page. Version: 1.0 Author: Mark O'Sullivan Author Url: http://www.markosullivan.ca/ */ $PostBackAction = ForceIncomingString('PostBackAction', ''); // If looking at the people page and any of the actions which utilize the ApplyForm control, redirect them. if ($Context->SelfUrl == 'people.php' && in_array($PostBackAction, array('ApplyForm','Apply'))) { header('location:'.GetUrl($Configuration, 'index.php')); die(); } ?>
3. Insert them into the LUM_User table with sql. Really not very hard even for a novice PHP programmer.
Alternately you can use Vanilla's database mappings so that Vanilla uses YOUR existing user table instead of it's own - so there's no need for any further PHP coding.
you could just create users manually by creating accounts for themself (if the list is below <10).
At least get aquainted with <i>phpMyAdmin. It helps you a lot. Something between (doing all things manually and createing php scripts).