1 (edited by Helix 2009-02-09 05:08)

Topic: Creating a user from my own php script.

What would be required to create a user from my own php scritp rather than the registration page from PunBB?

[EDIT]
Nevermind, found what I needed.

Re: Creating a user from my own php script.

Do you already have the code to create an entry in a mysql db?

3

Re: Creating a user from my own php script.

Yes, I solved the problem by just using PunBB's membership system. However, the /config.php took over all of my <forms> (it gives me that cancel/confirm dialogue screen). Anyway to skip the whole CSRF checking thing based on my own forms?

Re: Creating a user from my own php script.

You should generate csrf-token on every page where you are using forms. You can find and example of generating one in post.php at lines 295-303. Maybe, this extension will also be useful to you to add users quickly.