Jump to content

PHPBB Integration


Recommended Posts

I am trying to integrate PHPBB to WHMCS.

What will be the best way of doing this. I thought of 2 way of doing this.

 

1 - modify register.php to register user also in PHPBB as well as WHMCS

 

2 - When a user places new order i can create the user account on in PHPBB on checkout. But user will not have the chance to create a username.

 

I can not rely on option 1 only as there will always be users who would like order sand register on checkout.

 

what is causing to problem here is that WHMCS identifying users with email addresses where phpbb does with usernames.

 

So what do you guys think

Link to comment
Share on other sites

  • WHMCS CEO

You are experiencing the same problem that we have in implementing automatic forum account creation into the core system. I think the only way to do it would be to take what is before the @ symbol in the email address.

 

Matt

Link to comment
Share on other sites

yeah i thought of that as well but then again i am getting stuck with issue of having more than one user for example johndoe@yahho.com and johndoe@gmail.com. Or i could use their whmcs userid as username in PHPBB which they can change later themselve

 

The other thing i thought of was writing my own forum script as an additional module to WHMCS i assume that would be better integration wise but again i am still not sure got lost between thoughts

Link to comment
Share on other sites

I think i will just wiped the phpbb integration of my book and write my own forum script. It will take me shorter to write my own script than trying to integrate phpbb. i will start with a simple forum which hasn't got smilies and all that fancy stuff but do users really care to have all the features of phpbb

Link to comment
Share on other sites

I've been tempted to do the same in the checkout script forcing users to be auto-created on our forum and supporttrio systems as name-at-domain, but hit a potential issue of tracking the changes the client can then make to their profile.

 

It woudl be great if WHMCS could "interact" with phpbb/vbulletin etc by having some "auto-create user in" options on the client - 3 of those would be great :D

Link to comment
Share on other sites

  • 1 year later...
  • 7 months later...

We're in the process of doing an integration. We decided to use a username for whmcs instead of the email for logging in. To do this we had to write our own order script and place the order through the API. As part of that we have set a client custom field of "user" to hold the desired username. This is checked to be unique at the time the account is created.

 

Our order script also creates a user with that username / password in phpbb so everything matches up. We set the username field so that it can't be edited by the client and are planning on writing some trigger code to keep the passwords synched between the two.

 

To keep only one username for both the forum and whmcs we modified the login.tpl and footer.tpl to have the email address field as a hidden field and display username. Using ajax and a php file when the user enters their username and password the ajax script calls a php script with a query to return the email address associated with that username and dump it in the hidden field. WHMCS doesn't know the difference and it works great!

 

So far so good!

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated