0
Welcome Guest! Login
0 items Join Now

Joomla Version Info, Security Tips and Changed Upgrade Items

    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Joomla Version Info, Security Tips and Changed Upgrade Items

    Posted 15 years 4 months ago
    • I've posted some random links pertaining to Internet Explorer, IE6 drawbacks, why updates are important for all web browsers, etc.

      Check it out:
      http://www.rockettheme.com/forum/index.php?t=48564&rb_v=viewtopic

      If you've ever had any one complain about not being able to view your web page, this is definitely worth looking into...and you may want to pass the info on to them.

      IE6 stable was release mid year 2001 :-\
      IE7 stable has been available since October 2006 :o
      Think people should update?
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Joomla Version Info, Security Tips and Changed Upgrade Items

    Posted 15 years 4 months ago
    • I updated this post December 17th 2008 to change the links from:
      index.php?option=com_community&view=register&Itemid=36
      to:
      index.php?option=com_community&view=register

      I've installed JomSocial on a couple of my sites and I wanted to change the "Create Account" link in the login module and elsewhere to point to JomSocial's regestration page.

      To change this in the standard Joomla login module,
      Open modules/mod_login/tmpl/default.php and on or near line 66, replace the link so you end up with this:
      <a href="<?php echo JRoute::_( 'index.php?option=com_community&view=register' ); ?>">
           <?php echo JText::_('REGISTER'); ?></a>

      There is one other place where this link shows up.
      In components/com_user/views/login/tmpl/default_login.php replace line 64 with the following:
      <a href="<?php echo JRoute::_( 'index.php?option=com_community&view=register' ); ?>">

      This was done in Joomla 1.5.8 for JomSocial 1.0.27
    • Last Edit: 15 years 4 months ago by Ben Lee.
    • Joe Halleck's Avatar
    • Joe Halleck
    • Preeminent Rocketeer
    • Posts: 5480
    • Thanks: 66
    • Never give up!

    Re: Joomla Version Info, Security Tips and Changed Upgrade Items

    Posted 15 years 4 months ago
    • Ever do a custom module from an existing Joomla module?
      This would be a good candidate. :)
    • Magento - phpBB3 - Kunena - RokBridge Specialist
      No Secure Tab posts unless requested.
      Use the Thank You and Life Preserver Buttons!
      Your signature is also great place for setup details...help us help you!
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Joomla Version Info, Security Tips and Changed Upgrade Items

    Posted 15 years 4 months ago
    • Joseph Halleck wrote:
      Ever do a custom module from an existing Joomla module?
      This would be a good candidate. :)

      This would be a first for me. I'm up for giving it a try, I just need a little bit of guidance to get me started. Any links or suggestions?
    • Joe Halleck's Avatar
    • Joe Halleck
    • Preeminent Rocketeer
    • Posts: 5480
    • Thanks: 66
    • Never give up!

    Re: Joomla Version Info, Security Tips and Changed Upgrade Items

    Posted 15 years 4 months ago
    • Copying a module is pretty easy.
      The module mod_login is a simple module to mod and the best thing is if Joomla changes your mod doesn't get updated...but of course as a module author...you should check to see if it has been changed for a security reason etc when Joomla updates.

      So a quick tutorial on how to make a copy for Joomla 1.5

      The Mod_login lives here: /modules/mod_login
      * Make a copy of this dir and all of it contents on your local disk.
      * To make sure this module is unique rename the dir to a unique name. We will use this for this example: mod_login_jsocial
      Note: This dir name on your local drive is not important but it is good to use the same name you will use for the module to keep things straight.
      * Make your mods to the files.
      * Rename the mod_login.xml to the same name as your module mod_login_jsocial.xml
      * Open this file and modify as follows - you can modify the descriptive text as you like but you should give credit to the proper individuals:
      <?xml version="1.0" encoding="utf-8"?>
      <install type="module" version="1.5.0">
           <name>Login JomSocial</name>
           <author>Joomla! Project and My Author Name</author>
           <creationDate>December 2008</creationDate>
           <copyright>Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.</copyright>
           <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
           <authorEmail>myemail@mysite.com</authorEmail>
           <authorUrl>www.mysite.com</authorUrl>
           <version>1.5.0</version>
           <description>JomSocial Custom Login: Derived from the Joomla mod_login core module</description>
           <files>
                <filename module="mod_login_jsocial">mod_login.php</filename>
                <filename module="mod_login_jsocial">index.html</filename>
                <filename module="mod_login_jsocial">helper.php</filename>
                <filename module="mod_login_jsocial">tmpl/index.html</filename>
                <filename module="mod_login_jsocial">tmpl/default.php</filename>
           </files>
           <params>
                <param name="cache" type="list" default="1" label="Caching" description="Select whether to cache the content of this module">
                     <option value="0">Never</option>
                </param>
                <param name="@spacer" type="spacer" default="" label="" description="" />
                <param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="PARAMMODULECLASSSUFFIX" />
                <param name="pretext" type="textarea" cols="30" rows="5" default="" label="Pre-text" description="PARAMPRETEXT" />
                <param name="posttext" type="textarea" cols="30" rows="5" label="Post-text" description="PARAMPOSTTEXT" />
                <param name="login" type="menuitem" default="" disable="separator" label="Login Redirection URL" description="PARAMLOGINREDIRECTURL" />
                <param name="logout" type="menuitem" default="" disable="separator" label="Logout Redirection URL" description="PARAMLOGOUTREDIRECTURL" />
                <param name="greeting" type="radio" default="1" label="Greeting" description="Show/Hide the simple greeting text">
                     <option value="0">No</option>
                     <option value="1">Yes</option>
                </param>
                <param name="name" type="list" default="0" label="Name/Username">
                     <option value="0">Username</option>
                     <option value="1">Name</option>
                </param>
                <param name="usesecure" type="radio" default="0" label="Encrypt Login Form" description="Submit encrypted login data (requires SSL)">
                     <option value="0">No</option>
                     <option value="1">Yes</option>
                </param>
           </params>
      </install>

      * Save this file and create a .ZIP archive named mod_login_jsocial.zip
      Be sure when you create the zip you retain the dir structure of your work directory and the module .XML file is in the "root" of the ZIP file.
      Note: I used ZIP as the example but you can use any archive format your web server supports.

      Your done!
      Now using the Joomla installer upload your new install and you now have a new login module.
    • Last Edit: 15 years 4 months ago by Joe Halleck.
    • Magento - phpBB3 - Kunena - RokBridge Specialist
      No Secure Tab posts unless requested.
      Use the Thank You and Life Preserver Buttons!
      Your signature is also great place for setup details...help us help you!
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Joomla Version Info, Security Tips and Changed Upgrade Items

    Posted 15 years 4 months ago
    • That is a AWESOME write up! :D ;D :D

      Thanks a ton for posting this. I'll try to get something posted here in the next day or two!
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Joomla Version Info, Security Tips and Changed Upgrade Items

    Posted 15 years 4 months ago
    • I've been working on it and I'm just not getting good results. Is it possible that there's a little more to the login module than what's posted here?
    • Joe Halleck's Avatar
    • Joe Halleck
    • Preeminent Rocketeer
    • Posts: 5480
    • Thanks: 66
    • Never give up!

    Re: Joomla Version Info, Security Tips and Changed Upgrade Items

    Posted 15 years 4 months ago
    • What is not working?
    • Magento - phpBB3 - Kunena - RokBridge Specialist
      No Secure Tab posts unless requested.
      Use the Thank You and Life Preserver Buttons!
      Your signature is also great place for setup details...help us help you!
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Joomla Version Info, Security Tips and Changed Upgrade Items

    Posted 15 years 4 months ago
    • Well, here's what I have and it doesn't really load all the necessary items for the login module to be configured from the backend. Not sure what's going on.

      Also, I had to manually delete the files over FTP after uninstalling to get rid of it. No worries about this part, just a heads up.

      You can try installing it and using it if you want to see.
    • Joe Halleck's Avatar
    • Joe Halleck
    • Preeminent Rocketeer
    • Posts: 5480
    • Thanks: 66
    • Never give up!

    Re: Joomla Version Info, Security Tips and Changed Upgrade Items

    Posted 15 years 4 months ago
    • Mine worked that I did when I tested.
      I will give it a look see.
    • Magento - phpBB3 - Kunena - RokBridge Specialist
      No Secure Tab posts unless requested.
      Use the Thank You and Life Preserver Buttons!
      Your signature is also great place for setup details...help us help you!

Time to create page: 0.077 seconds