Page 1 of 4 123 ... LastLast
Results 1 to 15 of 51

Thread: Joomla Bridge

  1. #1
    Join Date
    Feb 2007
    Posts
    1

    Default Joomla Bridge

    ok, I've searched and searched, then started over.
    There is tons of talk about WHMCS and Joomla, mainly in reference to templates and look/feel.

    Does anyone know how to combine the username/password database for Joomla & WHMCS?

    It would be so nice if users could just login to joomla, and be already logged into WHMCS. Just my 2c.

    Thanks
    Tim

  2. #2
    Join Date
    Jul 2007
    Posts
    221

    Default

    Yes I agree. It would be nice if there was a component version for Joomla as well instead of just a bridge.

  3. #3
    Join Date
    Dec 2005
    Location
    Henderson, KY
    Posts
    779

    Default

    A Joomla component or module would be pretty cool. Maybe this thread should be moved to the Joomla site to generate some interest from their community...
    “An elective despotism was not the government we fought for. ” ~Thomas Jefferson
    ver 5.2.4
    WHMCS since 2005

  4. #4
    Join Date
    Mar 2007
    Posts
    787

    Default

    this could work (best) if you use WHMCS as your login, assuming you have adapted the session code in Mambo or Joomla. You should use 1 set of user/passwords only, otherwise you need to synch the databases.

  5. #5
    Join Date
    Aug 2007
    Location
    Belfast, Northern Ireland
    Posts
    14

    Default

    I'd also like this,
    Preferable a bridge.

    Not really a bridge.
    Something that will sync WHMCS accounts with joomla.
    So when you signup to WHMCS you can login to my forum also.

    This would help for those who bridge
    SMF forum
    PHPBB forums to.


  6. #6
    Join Date
    Jan 2008
    Posts
    5

    Default

    Quote Originally Posted by Roger View Post
    A Joomla component or module would be pretty cool. Maybe this thread should be moved to the Joomla site to generate some interest from their community...
    Absolutely !!!
    But there has to be official addon made first.

  7. #7
    Join Date
    Aug 2007
    Location
    São Luis, MA - Brazil
    Posts
    65

    Default

    such thing has been already done. check www.joomlancers.com
    I think if we can gather money, we can hire someone to do it. then we can make it available somewhere for free (for the community)

  8. #8
    Join Date
    Apr 2008
    Posts
    68

    Default

    I am more than willing to pay for this.

  9. #9
    Join Date
    Aug 2007
    Location
    São Luis, MA - Brazil
    Posts
    65

    Exclamation working on it

    I am working on it

    what features would you guys like to see?

  10. #10
    Join Date
    Sep 2008
    Posts
    27

    Default

    that would be pretty cool

  11. #11
    Join Date
    Mar 2008
    Location
    Washington, D.C.
    Posts
    6

    Default

    Has this ever been completed? If so, could you please provide us with a link to the bridge? Thanks in advance!

  12. #12
    Join Date
    Aug 2008
    Location
    Brisbane, Austalia
    Posts
    495

    Default

    Quote Originally Posted by jtrag View Post
    Has this ever been completed? If so, could you please provide us with a link to the bridge? Thanks in advance!
    Im thinking about doing something now.
    More of a module than a bridge. But i have to read the code more.
    Its a matter of weather we insert details into the J! db.

    But i am looking at making some modules that allow you to insert the WHMCS cart and items.
    Shaun - Kadeo
    WHMCS Modules || Custom WHMCS Mods/Development || Systems Development

  13. #13
    Join Date
    Oct 2008
    Posts
    56

    Default

    this is EXTREMELY easy to do. just write a short function to make the following call to the WHMCS API while storing the user's joomla profile info in an array called $DetailArray:

    Code:
    	$url = "api.php"; # URL to WHMCS API file
    	$username = "admin"; # Admin username goes here
    	$password = "admin"; # Admin password goes here
    	$postfields["username"] = $username;
    	$postfields["password"] = md5($password);
    
    	$postfields["action"] = "addclient"; 
    	$postfields["firstname"] = $Detail_Array[firstname];
    	$postfields["lastname"] = $Detail_Array[lastname];
    	$postfields["companyname"] = $Detail_Array[business];
    	$postfields["email"] = $Detail_Array[email];
    	$postfields["address1"] = $Detail_Array[address];
    	$postfields["address2"] = $Detail_Array[address2];
    	$postfields["city"] = $Detail_Array[city];
    	$postfields["state"] = $Detail_Array[state];
    	$postfields["postcode"] = $Detail_Array[postcode];
    	$postfields["country"] = "AU";
    	$postfields["phonenumber"] = $Detail_Array[phone];
    	$postfields["password2"] = $Detail_Array[password];
    
    	$ch = curl_init();
    	curl_setopt($ch, CURLOPT_URL, $url);
    	curl_setopt($ch, CURLOPT_POST, 1);
    	curl_setopt($ch, CURLOPT_TIMEOUT, 100);
    	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    	curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields);
    	$data = curl_exec($ch);
    	curl_close($ch);
    
    	$data = explode(";",$data);
    	foreach ($data AS $temp) {
    		$temp = explode("=",$temp);
    		$results[$temp[0]] = $temp[1];
    	}
    
    	if ($results["result"]=="success") {
    		# Result was OK!
    		echo("Success, new client id is ". $results["clientid"]);
    	} else {
    		# An error occured
    		echo "The following error occured: ".$results["message"];
    	}
    then just save the user's $clientID into a field in the joomla user table. You can then submit their username and password to the WHMCS login page using a link on your joomla homepage.

    We did the same thing on our website, but we dont use Joomla. its the same deal though.

    I've never actually used Joomla, but if it's writen in PHP with MySQL, then you should be able to use this code (mostly borrowed from the WHMCS API documentation) to do what you want to do.

  14. #14
    Join Date
    Aug 2008
    Location
    Brisbane, Austalia
    Posts
    495

    Default

    This is kinda th idea but most people want to user WHMCS as the master and then have the data goto into Joomla!.

    Its possible using the plugin auth of Joomla! to make this module.
    Shaun - Kadeo
    WHMCS Modules || Custom WHMCS Mods/Development || Systems Development

  15. #15
    Join Date
    Mar 2008
    Location
    Washington, D.C.
    Posts
    6

    Default

    Excellent! Thank you. I take it there are no pre-made modules/components for Joomla to do this yet?

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Joomla, Community Builder User Login Bridge
    By pointaction in forum Feature Requests
    Replies: 0
    Last Post: 01-05-12, 09:25 PM
  2. Bridge
    By viniciuscainelli in forum Customisation & Integration Questions
    Replies: 0
    Last Post: 08-20-09, 07:00 PM
  3. Bridge to WHMCS
    By VirtualSims in forum Feature Requests
    Replies: 1
    Last Post: 12-15-08, 12:31 AM