Ehsan Posted February 6, 2008 Share Posted February 6, 2008 So i searched up the forums and this was the only code i found on integration of vb into whmcs can anyone confirm this will work or any addition like what to edit so a username is generated by first name of client etc and if all of the code is current and up to date with latest vb version or anything can be done so when a client registers for an account they are added into vb forum too rather than after buying a product, here is the code would be cool if anyone can post a detailed tutorial ! $usergroupid = "1"; $reputation = "10"; $reputationlevelid = "5"; $username = ""; # Need to generate username based on clients name or email address probably $password = ""; # Use same password as is used in WHMCS? $signupdate = date("Y-m-d"); $joindate = mktime(date("H"),date("i"),date("s"),date("m"),date("d"),date("Y")); INSERT INTO `vb3user` (`usergroupid`, `membergroupids`, `displaygroupid`, `username`, `password`, `passworddate`, `email`, `styleid`, `parentemail`, `homepage`, `icq`, `aim`, `yahoo`, `showvbcode`, `usertitle`, `customtitle`, `joindate`, `daysprune`, `lastvisit`, `lastactivity`, `lastpost`, `posts`, `reputation`, `reputationlevelid`, `timezoneoffset`, `pmpopup`, `avatarid`, `avatarrevision`, `options`, `birthday`, `birthday_search`, `maxposts`, `startofweek`, `ipaddress`, `referrerid`, `languageid`, `msn`, `emailstamp`, `threadedmode`, `autosubscribe`, `pmtotal`, `pmunread`, `salt`, `profilepicrevision`, `showbirthday`, `importuserid`, `skype`) VALUES ('$usergroupid', '', 0, '$username', '$password', '$signupdate', '$email', 0, '', '', '', '', '', 2, 'Junior Member', 0, '$joindate', 0, '$joindate', '$joindate', 0, 0, '$reputation', '$reputationlevelid', '0', 0, 0, 0, 343, '', '0000-00-00', -1, -1, '', 0, 0, '', 0, 0, 1, 3, 2, 'v2?', 0, 0, 0, ''); 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted February 6, 2008 Share Posted February 6, 2008 can anyone confirm this will work Its a "stub" a starter/pointer in the right direction, but not "production" code you can just use. 0 Quote Link to comment Share on other sites More sharing options...
AMateos Posted February 11, 2008 Share Posted February 11, 2008 Hi, Someone know if there is some script to do the same with PHPBB3? 0 Quote Link to comment Share on other sites More sharing options...
Willx Posted April 9, 2008 Share Posted April 9, 2008 Thats nice but I don't want my vb and whmcs database to be together at all.. 0 Quote Link to comment Share on other sites More sharing options...
bin_asc Posted April 17, 2008 Share Posted April 17, 2008 Well, the above is a start ... 0 Quote Link to comment Share on other sites More sharing options...
nowares Posted May 8, 2008 Share Posted May 8, 2008 I'm working on intergrating it into IPBv2.3.5, does anyone use IPB here? 0 Quote Link to comment Share on other sites More sharing options...
bin_asc Posted May 8, 2008 Share Posted May 8, 2008 I believe there already is an IPB loginshare, check the user contribution forum. 0 Quote Link to comment Share on other sites More sharing options...
caminoz74 Posted June 13, 2012 Share Posted June 13, 2012 Hi, has this been developed anywhere yet? thanks 0 Quote Link to comment Share on other sites More sharing options...
disgruntled Posted June 13, 2012 Share Posted June 13, 2012 there is no need to integrate fully with whmcs, you just need whmcs to be able to make the client an account on the forum installation, you can use a hook to do that at payment time is you wanted to. disable registrations in the normal sense and you have a client only forum. 0 Quote Link to comment Share on other sites More sharing options...
Manchester Web Hosting Posted September 4, 2012 Share Posted September 4, 2012 there is no need to integrate fully with whmcs, you just need whmcs to be able to make the client an account on the forum installation, you can use a hook to do that at payment time is you wanted to. disable registrations in the normal sense and you have a client only forum. Do you have a sample of the hook by any chance? 0 Quote Link to comment Share on other sites More sharing options...
uname-r Posted October 29, 2012 Share Posted October 29, 2012 Hi, Here is something that might interrest you i think : http://www.whmcs.com/members/communityaddons.php?action=viewmod&id=83 It's an addon that seems to do what you want. I never tested it, but might be usefull for you! Have a nice day! 0 Quote Link to comment Share on other sites More sharing options...
sahostking Posted November 23, 2012 Share Posted November 23, 2012 This is brilliant. Going to test this out today. 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.