joomla1.5

Joomla Login redirection back to page to the previous page

戏子无情 提交于 2019-12-01 05:32:37
问题 I have certain pages that require to a user to be logged in Joomla. When they click on the links to those pages a login box appears in an iframe overlay. Once they login, I want to redirect them back to the page they were trying to login to, however, Joomla seems to only allow a user to be redirected to a page that is predefined in the login form parameters. Is there a way to do this without completely hacking Joomla. If not, does anyone have a recommendation on how to hack this an easy way.

How does the '&' symbol in PHP affect the outcome?

混江龙づ霸主 提交于 2019-11-30 15:50:30
问题 I've written and played around with alot of PHP function and variables where the original author has written the original code and I've had to continue on developing the product ie. Joomla Components/Modules/Plugins and I've always come up with this question: How does the '&' symbol attached to a function or a variable affect the outcome? For instance: $variable1 =& $variable2; OR function &usethisfunction() { } OR function usethisfunction(&thisvariable) { { I've tried searching through the

How to secure Joomla and prevent being hacked?

早过忘川 提交于 2019-11-29 16:14:24
I know securing any website is a very tough and broad topic to be discussed upon but i want to relate this question to my specific website which i've been working on. It was coded in php by some other programmer around 2007 and i am responsible for it's management. My problem is it's being hacked time and again. Please help me Joomla version 1.5.18(With Virtuemart) Bhavik Mulia From this guide : 8 Ways to secure Joomla and prevent being hacked! Change the default database prefix (jos_) Use a SEF component Use the correct CHMOD for each folder and file. Password protect your administrative area

How to install component and route plugin in one package?

旧街凉风 提交于 2019-11-29 15:42:34
I have created custom component and a route plugin for Joomla 1.5 to to provide SEO URLs for my component and also articles and categories which are not menu tied. Now I have to install my component and route plugin separately. Is there a way to install both in one package please? Thank you in advance! Vojtech When any extension installed Joomla triggers an event 'com_yourcomponent_install()' to your install file, which you have mentioned in xml file. write a function com_yourcomponent_install in which get the path of plugin folder and install it $installer = new JInstaller(); // Install the

Joomla Login Authentication from external app

筅森魡賤 提交于 2019-11-27 19:56:31
I need to check that a Joomla username and password is valid from my external application. It is not necessary that the user is logged into the system just that their account exists. How do I do this? GmonC I'm supposing your external application will have access to Joomla's database and is written in php as well. I've already answered a similar question about creating a user outside joomla , you could use the same approach, but instead of calling the save method from JUser , you could use bind to check if the password is correct. Or something better : simply copy and paste Joomla's own

How to log into joomla through an external script?

南笙酒味 提交于 2019-11-27 19:31:41
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! <?php //http://domain.com/script/script.php?username=username&passwd=password define( '_JEXEC', 1 ); define('JPATH_BASE', '../' ); define( 'DS', DIRECTORY_SEPARATOR ); require_once('..

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

妖精的绣舞 提交于 2019-11-27 07:00:35
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 do have to do some surgery, what is the best way to approach it? GmonC You should use Joomla internal

Why should I keep my Joomla version up to date?

孤街浪徒 提交于 2019-11-27 05:41:21
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? Lodder 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 will for those who have older or absolutely ancient versions. The 2 reasons for updating are: Fix

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

丶灬走出姿态 提交于 2019-11-27 01:38:50
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. EDIT: Here is the code- Contact form: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

Joomla Login Authentication from external app

懵懂的女人 提交于 2019-11-26 20:04:17
问题 I need to check that a Joomla username and password is valid from my external application. It is not necessary that the user is logged into the system just that their account exists. How do I do this? 回答1: I'm supposing your external application will have access to Joomla's database and is written in php as well. I've already answered a similar question about creating a user outside joomla, you could use the same approach, but instead of calling the save method from JUser , you could use bind