Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

jsConnect, no $user['uniqueid'] in own user table

Hey, I'm trying to embed my Vanilla forum into my site and want to use jsConnect to archive this. During the integration of jsConnect I have to edit these four lines of code:

// CHANGE THESE FOUR LINES.
$user['uniqueid'] = '123';
$user['name'] = 'John PHP';
$user['email'] = 'john.php@anonymous.com';
$user['photourl'] = '';

Seems pretty straightforward, but what if your own user table does not use integers as id's? If possible I'd like to avoid adding addition data to my user table, especially since there is no need for an integer as id since e-mail addresses have to be unique and can act as an id as well.

Just want to check before I do have to add a new column to my table.

Comments

Sign In or Register to comment.