quicklyweb Posted July 18, 2007 Share Posted July 18, 2007 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 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted July 18, 2007 WHMCS CEO Share Posted July 18, 2007 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 0 Quote Link to comment Share on other sites More sharing options...
quicklyweb Posted July 18, 2007 Author Share Posted July 18, 2007 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 0 Quote Link to comment Share on other sites More sharing options...
trine Posted July 19, 2007 Share Posted July 19, 2007 quicklyweb, I think matt was referring to johndoeyahho.com and johndoegmail.com, not just johndoe. Or, better yet, do a quick lookup if johndoe exists and append a numerical suffix to it ie: johndoe1 0 Quote Link to comment Share on other sites More sharing options...
quicklyweb Posted July 23, 2007 Author Share Posted July 23, 2007 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 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted July 23, 2007 Share Posted July 23, 2007 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 0 Quote Link to comment Share on other sites More sharing options...
quicklyweb Posted July 27, 2007 Author Share Posted July 27, 2007 How important is it to use PHPBB or Vbulletin. Do you use all the features this softwares use. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted July 27, 2007 Share Posted July 27, 2007 How important is it to use PHPBB or Vbulletin VERY, for many businesses the forum is their lifeblood 0 Quote Link to comment Share on other sites More sharing options...
Roger Posted July 27, 2007 Share Posted July 27, 2007 I would certainly put it to use. 0 Quote Link to comment Share on other sites More sharing options...
MultiHosts Posted March 12, 2009 Share Posted March 12, 2009 Any more news from anyone? I'd love to be able to integrate 0 Quote Link to comment Share on other sites More sharing options...
bhorton Posted October 29, 2009 Share Posted October 29, 2009 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! 0 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.