SMFRegister 2.0

Hello, David!

I installed your SMF Modules today. It works fine for the new registered pilots. But is there a way to set the existing pilots in to this integration too without having to make it manually?

Hello, David!

I installed your SMF Modules today. It works fine for the new registered pilots. But is there a way to set the existing pilots in to this integration too without having to make it manually?

I have a script somewhere that I wrote to convert them, I will try to find it and post it for you. The module itself will not do it. I have started using the SMF API to auto login members with phpVMS and then there is no need for the pilot to be in both member lists.

Thank you so much, David. I’ll wait. Tks!

David, is the offer still available? regarding the script mentioned above?

I am not sure if you can find it around the forum. I had posted it to pastebin but can not seem to find it again. I will have to look in my old archives as I have not used it since I started using the SMF api library by Andre Nickatina - You can find more information about that here -> http://www.simplemachines.org/community/index.php?topic=458832.0

I really hope you can find that piece of script. The usage of API it’s way too complicated - for me.

Stupid question perhaps,

but where do I install the smf?

somwhere in a folder \www\forum?

Where you install the forum does not matter as long as it is under the same domain. You do have to put the smf database in the same table as phpVMS for it to work though.

I wouldn’t like for anyone to register manually when entering the forums, therefore I have disabled the forum registration, however I’m wondering whether SMFRegister will be still able to register users when they register to the site?

Yes, it works fine even you have deactivated new forum registrations.

2 Likes

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. :wink:

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.

Link?

Link?

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.

Does your smf database tables have “smf_” as table prefix?

Yes, they do. I’ve just double checked all of the tables.

What is the sub-domain?

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

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.