Joomla API

debonair

Well-Known Member
Joined
Sep 10, 2008
Messages
228
Reaction score
2
Location
Cape Town
I am coding a website in codeigniter that reads information from a database used by a joomla website and am struggling with the users table, in particular the password field. I am writing a login script.

I would like to expose the joomla site as a webservice and not have to deal with the database directly. does anyone know a way I could do this? a component/plugin perhaps?

or alternatively, What kind of password encryption used in Joomla 1.5? whats before and after the colon?
 
http://forum.joomla.org/viewtopic.php?p=1368032

That should give you a good start. It discusses a few topics, one of which is the type of encryption used

Apparently the part after the colon is the salt used

So all you need to do is append the salt to the current password entered, and MD5 it to get the hash (which is the part infront of the colon)
 
Oh and that was my first hit on google when I searched for: "how to authenticate to joomla database using my own code"
 
Thanks a lot, will check it out, I was having trouble phrasing what exactly i am looking for.
 
Thanks a lot, will check it out, I was having trouble phrasing what exactly i am looking for.

sometimes just typing out the question as if you'd ask anyone is best... however, keep it simple stupid.

telling a search engine what you want to use to overcome the problem and getting to the root of the problem to search for an effective solution is 2 different things.

when my juniors come to me saying "this is what I'm doing" I tell them to STFU and tell me WHAT they WANT to do.

"I want to be able to authenticate a user using Joomla's database but my own code"

Instead of

"I want to expose Joomla! using a web service and not have to deal with the database directly"

The latter is your solution to the problem, so by searching for something like that won't get you anywhere :D
 
sometimes just typing out the question as if you'd ask anyone is best... however, keep it simple stupid.

telling a search engine what you want to use to overcome the problem and getting to the root of the problem to search for an effective solution is 2 different things.

when my juniors come to me saying "this is what I'm doing" I tell them to STFU and tell me WHAT they WANT to do.

"I want to be able to authenticate a user using Joomla's database but my own code"

Instead of

"I want to expose Joomla! using a web service and not have to deal with the database directly"

The latter is your solution to the problem, so by searching for something like that won't get you anywhere :D

And this concludes, How to speak Google 101 :D
 
Got everything to work now. Thank you for pointing me in the right direction!
 
And this concludes, How to speak Google 101 :D

Hehehe, even with all my experience its sometimes difficult to remember. But after refining and removing words 63 times you finally get to the best solution for the problem.
 
I would like to know more about using Joomla as well. Is it difficult? What are the experiences - Any good recommendations?
 
I'd stick with Wordpress. But that's just me.

If you had a question, please start a new topic. This one wasn't specific to your question really ;)
 
Top
Sign up to the MyBroadband newsletter
X