hoser70 Posted April 30, 2013 Report Share Posted April 30, 2013 Great script - works as published. I'd like to have it only register a user upon the acceptance of their registration though, not as soon as they register. I'm digging through the site files to figure out how to do this, but if there's a quick answer that someone would like to share, I'm all ears. ;-) Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted May 23, 2013 Report Share Posted May 23, 2013 As with many other addons around here, I don't think Nabeel has made any hooks to catch an event only after it is accepted. This has been an issue with phpBB auto register and a few other scripts. On another note, I would love to figure out that API thing to log people in automatically to the forum once logged on to phpVMS. I have looked at it a few times and can't make heads or tails of it. Quote Link to comment Share on other sites More sharing options...
filipmkd Posted January 17, 2014 Report Share Posted January 17, 2014 Link? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 21, 2014 Author Administrators Report Share Posted January 21, 2014 Link? http://forum.phpvms.net/topic/6962-code-now-hosted-at-github/ Quote Link to comment Share on other sites More sharing options...
HighFlyerPL185 Posted June 8, 2014 Report Share Posted June 8, 2014 Hi David, I have noticed an issue with this. I have a subdomain on which I use the same skin, and it is connected to the same database. However, when users register on the subdomain, they are not registered with SMF. Any workaround to this? Perhaps it may be an issue on my side, but everything works on the main domain. Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted June 8, 2014 Moderators Report Share Posted June 8, 2014 Does your smf database tables have "smf_" as table prefix? Quote Link to comment Share on other sites More sharing options...
HighFlyerPL185 Posted June 8, 2014 Report Share Posted June 8, 2014 Yes, they do. I've just double checked all of the tables. Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted June 8, 2014 Moderators Report Share Posted June 8, 2014 What is the sub-domain? Quote Link to comment Share on other sites More sharing options...
HighFlyerPL185 Posted June 8, 2014 Report Share Posted June 8, 2014 http://britain.flyeurova.com I have redirected the registration for now to the main domain, but as a new user registers on the subdomain, no account is created on the forum, which is located over at http://flyeurova.com/forum Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted June 8, 2014 Moderators Report Share Posted June 8, 2014 I can see that you have not installed the module on the phpvms website which is on the sub-domain. If you don't install it, it is not going to work. Quote Link to comment Share on other sites More sharing options...
HighFlyerPL185 Posted June 8, 2014 Report Share Posted June 8, 2014 Explains it then haha. Alright, thanks for the help! Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted June 8, 2014 Moderators Report Share Posted June 8, 2014 It is the first thing you have to check if you have any problem. You're welcome Quote Link to comment Share on other sites More sharing options...
richipilot Posted January 6, 2015 Report Share Posted January 6, 2015 Is there a tpl compatible version of the module if it´s needed for tpl php version? Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted January 6, 2015 Moderators Report Share Posted January 6, 2015 This module does not have any template file cause it is not accessible to your pilots. It just works in the background and registers, the pilots who register on your phpVMS website, to your SMF forum too. Quote Link to comment Share on other sites More sharing options...
richipilot Posted January 7, 2015 Report Share Posted January 7, 2015 This module does not have any template file cause it is not accessible to your pilots. It just works in the background and registers, the pilots who register on your phpVMS website, to your SMF forum too. Oh, nice thanks. Any special setting on the forum to get this works? I mean something special for example in SMF regustration process settings or something like this. Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted January 7, 2015 Moderators Report Share Posted January 7, 2015 - Your smf database must reside in the same datbase as your phpVMS install and use the standard "smf_" prefix. - I have built this to work with smf forum version 2.0, it has not been tested with any other version. - The module will register a new user in the forum when a new pilot registers with the VA. the format for registration into the forum is: user: John Smith ABC1234 pass: same as they used to register on the main site. Only the above. There is no need to set anything on your forum settings although i would suggest to disable the registrations on your forum in order to avoid any confusion. Quote Link to comment Share on other sites More sharing options...
amir Posted January 30, 2015 Report Share Posted January 30, 2015 Hi any one knows if this module will work with SMF V2.0.9? Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted January 30, 2015 Moderators Report Share Posted January 30, 2015 I do not think that you will have any problem with it. 1 Quote Link to comment Share on other sites More sharing options...
Angel Air Posted April 17, 2015 Report Share Posted April 17, 2015 Hi, Is there a way to add existing users to the Forum DB I know simpilot said he thought he had a script? If not I will have to add them manually Regards Scott Quote Link to comment Share on other sites More sharing options...
Fernando Posted April 29, 2015 Report Share Posted April 29, 2015 Hello, When a new driver registers the following error appears Non-static method SMFRegisterData::forum_register() should not be called statically, assuming $this from incompatible context in /home/munheke/public_html/3.0/core/modules/SMFRegister/SMFRegister.php on line 24 Quote Link to comment Share on other sites More sharing options...
smokey68 Posted January 23, 2016 Report Share Posted January 23, 2016 ok i have fresh installed the smf forums in the same database as phpvms now how do i get my allready registered users on my phpvms site into the smf site Quote Link to comment Share on other sites More sharing options...
TennShadow Posted February 13, 2016 Report Share Posted February 13, 2016 I changed mine to the following format. Username: ABC1234 Display Name: John Smith ABC1234 Open SMFRegisterData.class.php Change line 18 from $username = $eventinfo[2]['firstname'].' '.$eventinfo[2]['lastname'].' '.$pid; to $username = $pid; Insert this after line 18 $name = $eventinfo[2][firstname].' '.$eventinfo[2][lastname].' '.$pid; Change line 44 from '$username', to '$name', 1 Quote Link to comment Share on other sites More sharing options...
Mickey Posted April 3, 2016 Report Share Posted April 3, 2016 My database has populated like this once installed. Is this why it doesn't work to automatically reg new pilots? Quote Link to comment Share on other sites More sharing options...
TennShadow Posted April 3, 2016 Report Share Posted April 3, 2016 Your forum needs to be installed in the same database as PHPVMS. Quote Link to comment Share on other sites More sharing options...
Mickey Posted April 3, 2016 Report Share Posted April 3, 2016 OK thanks. This is where i may get stuck then... Quote Link to comment Share on other sites More sharing options...
TennShadow Posted April 3, 2016 Report Share Posted April 3, 2016 OK thanks. This is where i may get stuck then... Check this post out. It should help get you started on doing this. http://forum.phpvms.net/topic/5695-smfregister-20/#entry39173 Quote Link to comment Share on other sites More sharing options...
KenG Posted November 2, 2016 Report Share Posted November 2, 2016 Anyway to run this manually such as part of the registration_complete.php? Seems the automated listener is not working correctly. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 20, 2016 Report Share Posted November 20, 2016 This module was made for a very old version of SMF. Are we even sure it ever worked on anything greater than version 2.0 SMF? I used it for a good while but frankly speaking, i couldn't get the swing of SMF forums permissions. I am curious what versions of SMF people have this working on. Right now I have a phpBB3 forum and do all manual registrations. Quote Link to comment Share on other sites More sharing options...
Cor Posted November 20, 2016 Report Share Posted November 20, 2016 I work with version 2.0.12 I works ok but still I need to change manually the member_name as this is their pilotnumber what changes after they signed up and are accepted. Regards, Cor Quote Link to comment Share on other sites More sharing options...
KenG Posted November 20, 2016 Report Share Posted November 20, 2016 Interesting, I have SMF 2.0.12 and phpvms 5.5.2 running under php 5.5 and it is not working. I was wondering if maybe a different version of php or if I can get this running with a manual call. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.