Teamspeak Registration Module

Sorry - This didn’t work.

Yes, they’re autoloaded in when you use them

Okay thanks, this should work then

I’m getting

Parse error: syntax error, unexpected T_VARIABLE in /home/linkv/public_html/core/modules/TeamspeakRegister/TeamspeakRegister.php on line 51

Also, wouldn’t it pose a security risk having the teamspeak admin details in core/modules/TeamspeakRegister/TeamspeakRegister.php?

James

Thanks,

That error should be fixed now, updated version in original post.

And, it poses the same risk as having your database details in core/local.config.php.

Okay. I have updated…

I fill in the registration details, press Submit, and get the following, on a white, blank page.

Confirmation Sent

Thanks for registering for Link UK Virtual Airlines :: www.linkvirtual.info, you will be notified via email of your registration status.

Fatal error: Call to undefined function admin_dbuseradd() in /home/linkv/public_html/core/modules/TeamspeakRegister/TeamspeakRegister.php on line 50

There is no user created on my TS.

Cheers,

James

Ok, new version on original post (again)

This time it should work. If it doesn’t… im clueless 

Updated, the error has gone, everything seems fine…but there is no user created in my TS database.

James

Oh.. sure all your details are right? The HTTP and TCP port are not always default so it’s worth checking those.

Yeah i’m not sure to be honest - since changing servers a few months back I can no longer get a TS Viewer to work with the server…the only one that works is the crappy iFramed one that i’m using now. According to their checker, the port is 51234 - how can i check to make sure?

James

I haven’t used a TS panel for quite some time.. but do you have access to the web admin? It should tell you in there. Otherwise, contact the host?

Attachment removed from original post. I’ll work on this and release a new version in a few days (hopefully) which works.