Jump to content

Recommended Posts

Posted

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. ;-)

  • 4 weeks later...
Posted

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.

  • 7 months later...
  • 4 months later...
Posted

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.

  • Moderators
Posted

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. ;)

  • 6 months later...
  • Moderators
Posted

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.

Posted

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.

  • Moderators
Posted

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

  • 4 weeks later...
  • 2 months later...
  • 2 weeks later...
Posted

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

  • 8 months later...
  • 3 weeks later...
Posted

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',

  • Like 1
  • 1 month later...
  • 6 months later...
  • 3 weeks later...
Posted

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.

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...