joomla1.5

How to log into joomla through an external script?

霸气de小男生 提交于 2019-11-26 19:55:13
问题 We have a standalone script on our site that sits adjacent to a Joomla 1.5 installation. We are using Joomla authentication to restrict access to our script. At this point we are redirecting any unauthorized users to the Joomla site to log in. We want to add a login capability within our script, though. Does anyone know how to log into joomla from an external script using a username/password? Thanks! 回答1: <?php //http://domain.com/script/script.php?username=username&passwd=password define( '

Logging In To Joomla 1.5 Using External Form (not within joomla folder, but on same server)

 ̄綄美尐妖づ 提交于 2019-11-26 17:28:26
问题 I currently have a Joomla 1.5 installation, as well as another website. They both reside on the same web server. They are in different folders within the wwwroot directory, however. I would like to place a login form within the non-joomla website, which will log the user in to Joomla. I have already tried copying and pasting the Joomla login form code into a page on the non-joomla site, and everything works fine up until the secret form value is not correct. Any help is greatly appreciated.

How can I create a new Joomla user account from within a script?

瘦欲@ 提交于 2019-11-26 12:59:47
问题 We\'re creating an XML API for Joomla that allows partner sites to create new accounts for their users on our website. We\'ve created a standalone PHP script that processes and validates the API request, but now we need to actually create the new accounts. We were originally thinking about just doing a CURL call to submit the signup form, but we realized that there is an issue with the user token. Is there another clean way to create a user account without going into the guts of Joomla? If we

Why should I keep my Joomla version up to date?

醉酒当歌 提交于 2019-11-26 12:49:24
问题 When posting a question and referring to my Joomla version, I have always been told to update to the latest version. I don\'t see why updating is such a big deal. What are the benefits of updating? 回答1: Whenever I see someone post a question and stating an old version of Joomla, usually, the first thing I say is "Upgrade to the latest version of Joomla (1.5.26, 2.5.26 or 3.3.5 depending what build you're on)". I shouldn't have to explain why upgrading to the latest version is important, but I

Best practice for using window.onload

好久不见. 提交于 2019-11-26 11:46:20
I develop Joomla websites/components/modules and plugins and every so often I require the ability to use JavaScript that triggers an event when the page is loaded. Most of the time this is done using the window.onload function. My question is: Is this the best way to trigger JavaScript events on the page loading or is there a better/newer way? If this is the only way to trigger an event on the page loading, what is the best way to make sure that multiple events can be run by different scripts? Luca Matteis window.onload = function(){}; works, but as you might have noticed, it allows you to

Best practice for using window.onload

安稳与你 提交于 2019-11-26 02:35:57
问题 I develop Joomla websites/components/modules and plugins and every so often I require the ability to use JavaScript that triggers an event when the page is loaded. Most of the time this is done using the window.onload function. My question is: Is this the best way to trigger JavaScript events on the page loading or is there a better/newer way? If this is the only way to trigger an event on the page loading, what is the best way to make sure that multiple events can be run by different scripts