

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mactimize &#187; Joomla</title>
	<atom:link href="http://mactimize.com/category/joomla/feed" rel="self" type="application/rss+xml" />
	<link>http://mactimize.com</link>
	<description>Magento &#124; Joomla! &#124; WordPress &#124; PHP</description>
	<lastBuildDate>Thu, 14 Jan 2010 17:03:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Easy Joomla Redirect Old URL to New URL</title>
		<link>http://mactimize.com/joomla/easy-joomla-redirect-old-url-to-new-url</link>
		<comments>http://mactimize.com/joomla/easy-joomla-redirect-old-url-to-new-url#comments</comments>
		<pubDate>Fri, 07 Aug 2009 15:46:06 +0000</pubDate>
		<dc:creator>Donald Gilbert</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[SEF]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://mactimize.com/?p=223</guid>
		<description><![CDATA[I am surprised that this was so hard to find and yet so simple to do. I have always been so worried about changing the menu structure on my Joomla! site. This is because of the possibility of search engine links/back links to my site could get broken if I do. So what is the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I am surprised that this was so hard to find and yet so simple to do. I have always been so worried about changing the menu structure on my Joomla! site. This is because of the possibility of search engine links/back links to my site could get broken if I do. So what is the answer? You could go with <a href="http://extensions.joomla.org/extensions/site-management/sef/2380">sh404SEF</a> or <a href="http://extensions.joomla.org/extensions/site-management/sef/1063">Artio JoomSEF</a> or any other of the extensions listed at <a href="http://extensions.joomla.org/extensions/site-management/sef">http://extensions.joomla.org/extensions/site-management/sef</a>. However, many of these are overkill for a simple redirect. </p>
<p>That&#8217;s why I went with <a href="http://www.findross.com/joomla-extensions/jredirect.html">JRedirect</a>. It is a very simple plugin that you &#8220;set and forget.&#8221; It is as easy to use as it is to install and gets the job done beautifully. I needed to redirect http://www.mysite.com/students/the-forum.html to it&#8217;s new URL of http://www.mysite.com/forum.html. I tried using sh404SEF as well as Artio, but they were either too complicated to perform such a minuscule task, or to complicated to figure out in the amount of time I had. JRedirect was so simple and I had it done in 2 minutes after installing the plugin. It is set within the plugin parameters (of course) like this oldurl|newurl (they are seprated by the pipe, the shifted character on the backslash key). That simple. No user groups to set, no piles of old URLs to search through to find the one I needed to redirect (sh404SEF!!!). Plain old simplicity at it&#8217;s finest. In my case, it looked like this:</p>
<p>students/the-forum.html|/forum.html</p>
<p>Please note the order here.  You leave off the root of http://www.mysite.com/ and just take what is after it. Then, in the second URL you make relative to the site root as well, but with the / in place, otherwise it would redirect you to http://www.mysite.com/students/forum.html rather than http://www.mysite.com/forum.html. </p>
<div id="attachment_224" class="wp-caption aligncenter" style="width: 540px">
	<a href="http://mactimize.com/?attachment_id=224" rel="attachment wp-att-224"><img src="http://mactimize.com/blog/wp-content/uploads/2009/08/Picture-31-300x68.png" alt="JRedirect in Action - Fix my Joomla SEO" title="JRedirect" width="540" class="size-medium wp-image-224" /></a>
	<p class="wp-caption-text">JRedirect in Action</p>
</div>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://mactimize.com/joomla/easy-joomla-redirect-old-url-to-new-url/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add Logout Link to JomSocial Menu</title>
		<link>http://mactimize.com/work/add-logout-link-to-jomsocial-menu</link>
		<comments>http://mactimize.com/work/add-logout-link-to-jomsocial-menu#comments</comments>
		<pubDate>Tue, 04 Aug 2009 22:54:14 +0000</pubDate>
		<dc:creator>Donald Gilbert</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[JomSocial]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://mactimize.com/?p=191</guid>
		<description><![CDATA[After about an hour of Google-Fu and some serious command line searching, I finally came up with how to add a logout link to your JomSocial menu so that it will appear on every page. Pretty simple, now that I know how to do it &#8211; but isn&#8217;t that how everything works? Here it is.

$defaultCoreMenuArray['Logout'] [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>After about an hour of Google-Fu and some serious command line searching, I finally came up with how to add a logout link to your JomSocial menu so that it will appear on every page. Pretty simple, now that I know how to do it &#8211; but isn&#8217;t that how everything works? Here it is.</p>
<pre class="brush: php; first-line: 60;">
$defaultCoreMenuArray['Logout']  = $this-&gt;_addDefaultItem(
JText::_('Logout'),
CRoute::_('index.php?option=com_user&amp;view=login')
);
</pre>
<p>Gain access to your components/com_community/libraries/toolbar.php (either via ssh or ftp) and add the above line of code starting at line 60, right below where it says:</p>
<pre class="brush: php; first-line: 55;">
switch ($key)
 {
 case TOOLBAR_HOME :
 $default-&gt;caption  = JText::_('CC HOME');
 $default-&gt;link  = CRoute::_(index.php?option=com_community&amp;view=frontpage');
</pre>
<p>and your all set. You now have a Logout option under your home menu for JomSocial! Play with it a little bit, and you could potentially move the menu to the end of the line, so that it shows as a standalone top-menu item.</p>
<div id="attachment_192" class="wp-caption aligncenter" style="width: 502px">
	<a rel="attachment wp-att-192" href="http://mactimize.com/?attachment_id=192"><img class="size-full wp-image-192" title="Picture 3" src="http://mactimize.com/blog/wp-content/uploads/2009/08/Picture-3.png" alt="Logout menu shown for JomSocial" width="502" height="121" /></a>
	<p class="wp-caption-text">Logout menu shown for JomSocial</p>
</div>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://mactimize.com/work/add-logout-link-to-jomsocial-menu/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Joomla 1.5.13 Media Manager Broken</title>
		<link>http://mactimize.com/work/joomla-1-5-13-media-manager-broken</link>
		<comments>http://mactimize.com/work/joomla-1-5-13-media-manager-broken#comments</comments>
		<pubDate>Fri, 24 Jul 2009 21:20:18 +0000</pubDate>
		<dc:creator>Donald Gilbert</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[1.5.13]]></category>
		<category><![CDATA[1.5.14]]></category>

		<guid isPermaLink="false">http://mactimize.com/?p=176</guid>
		<description><![CDATA[Just 3 weeks after Joomla 1.5.12 was released, joomla.org released the 1.5.13 update that fixed some MAJOR security issues. However, along with this fix came some problems. One VERY LARGE problem, namely &#8211; Media Manager is now broken.
Well, there has been a fix already committed to the development branch of the 1.5.* SVN, but it [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Just 3 weeks after Joomla 1.5.12 was released, joomla.org released the 1.5.13 update that fixed some MAJOR security issues. However, along with this fix came some problems. One VERY LARGE problem, namely &#8211; Media Manager is now broken.</p>
<p>Well, there has been a fix already committed to the development branch of the 1.5.* SVN, but it has not been fixed in a release for the general public yet. I have updated my sites and fixed the issue, but I am sure that many of you out there are still struggling. So I have attached a .zip file that addresses the issue. This is the &#8220;unofficially official&#8221; fix for the issue. It is the EXACT SAME files that were updated in the SVN for 1.5. This WILL BE the fix that Joomla! implements in 1.5.14 (at least I am 99.99% sure that it will be.)</p>
<p><em><strong>UPDATE -</strong> Joomla! 1.5.14 was released today, 7/31/09, and it DOES use this fix for the media manager. However, it also fixes a couple other things, so I would suggest using that upgrade patch instead of the files located at the bottom of the post. View the Joomla! release notes for 1.5.14 here, <a href="http://www.joomla.org/announcements/release-news/5244-joomla-1514-released.html">http://www.joomla.org/announcements/release-news/5244-joomla-1514-released.html.</a></em></p>
<p>Anyways, just download the .zip, unzip it, and upload it via FTP to the root directory of your Joomla! installation. Your FTP client will ask you if you want to overwrite some files, click yes, and you&#8217;re all set! (Trust me it works!) Anyways, to verify that this indeed fixes it, log into your Joomla! admin panel and go to media manager, and you will see the problem very clearly. Then do the fix, and refresh your media manager page. Vóila! Functioning Media Manager!</p>
<p>Enjoy!</p>
<p>Attachments:</p>
<p><a rel="attachment wp-att-177" href="http://mactimize.com/?attachment_id=177">administrator.zip</a> &#8211; <em>sha1 sum &#8211; f62ae2fdf768cd06ea18ae7475ad69b52d074f01</em></p>
]]></content:encoded>
			<wfw:commentRss>http://mactimize.com/work/joomla-1-5-13-media-manager-broken/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Make it harder to hack your Joomla installation using DB Admin</title>
		<link>http://mactimize.com/joomla/make-it-harder-to-hack-your-joomla-installation-using-db-admin</link>
		<comments>http://mactimize.com/joomla/make-it-harder-to-hack-your-joomla-installation-using-db-admin#comments</comments>
		<pubDate>Mon, 26 Jan 2009 20:43:43 +0000</pubDate>
		<dc:creator>Donald Gilbert</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[DB Admin]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://mactimize.com/?p=34</guid>
		<description><![CDATA[So, I am getting more and more familiar with ways to hack and take down Joomla sites because I have been doing research on how to make my site more secure. One thing that I encountered is what is known as SQL Injection. Basically, SQL injection uses &#8220;data input&#8221; areas of a site, such as [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>So, I am getting more and more familiar with ways to hack and take down Joomla sites because I have been doing research on how to make my site more secure. One thing that I encountered is what is known as SQL Injection. Basically, SQL injection uses &#8220;data input&#8221; areas of a site, such as log in pages and comment pages, to execute a SQL query. (google SQL injection for more info.)</p>
<p>You see, SQL injection takes a little bit of luck and genius to work. In order to execute a SQL command successfully with SQL injection, the hacker needs to know or somehow acquire the actual database names within the target site. Sounds pretty difficult? Not really. What makes this easy is that (just about) ALL Joomla installations use the same database (DB) names, so it makes the guessing process just a little bit easier. What Joomla does to combat this is to put a DB prefix in front of all the DB table names.</p>
<p>The thing is, Joomla automatically uses the same DB prefix, jos_, in <strong>every</strong> default installation, unless you tell it to use something different. So any hacker with a little knowledge of Joomla will already KNOW this information, and your site is no more secure because of it. So what you need to do is change all your DB prefixes to something a little harder to guess while still retaining all your information and not destroying your site.</p>
<p>Well, that is a little harder than it sounds, at least for me, so what I did was use <a href="http://joomla.daveslist.co.nz/demo/set-table-prefix/db-admin-set-table-prefix.php">this</a> Joomla Component. It is called DB Admin. It automatically searches your DB and changes all occurrences of &#8220;jos_&#8221; (or whatever your current DB prefix is) to whatever prefix that you want. It is very easy and self explanatory.</p>
<p>I wanted to protect my Joomla installation from being hacked, so I went ahead and installed the component and implemented its function. Well, it didn&#8217;t go as smoothly as planned. I got the following error after running the component. </p>
<pre class="brush: php;">
jtablesession::Store Failed
DB function failed with error number 1146
Table '*****_jo151.jos_session' doesn't exist SQL=INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` ) VALUES ( '3uac8rbctofmccr7918tv4jkp6','1232994018','','0','1','0' )
</pre>
<p>I could not load ANY pages at all. No backend or frontend pages loaded AT ALL. Needless to say, I got a little worried. You see, the component not only searches your DB and makes the proper changes there, it also changes your configuration.php file located in your root Joomla directory. Well, at least it is supposed to. Mine updated, but it forgot to change everything. This is what my configuration.php file looked like after I ran the DB Admin tool.</p>
<p><a href="http://mactimize.com/joomla/make-it-harder-to-hack-your-joomla-installation-using-db-admin/attachment/picture-9" rel="attachment wp-att-38"><img src="http://mactimize.com/wp-content/uploads/2009/01/picture-9.png" alt="DB_wrong.png" title="DB_wrong.png" width="248" height="58" class="aligncenter size-full wp-image-38" /></a></p>
<p>This is wrong, and will give you the error that I referenced earlier. If you get this error, simply download your configuration.php file and make the following change.</p>
<p><a href="http://mactimize.com/joomla/make-it-harder-to-hack-your-joomla-installation-using-db-admin/attachment/picture-8" rel="attachment wp-att-39"><img src="http://mactimize.com/wp-content/uploads/2009/01/picture-8.png" alt="DB_right.png" title="DB_right.png" width="248" height="59" class="aligncenter size-full wp-image-39" /></a></p>
<p>Noticed where it used to say &#8220;var $dbprefix = &#8216;jos_&#8217;;&#8221; it now says &#8220;var $dbprefix = &#8216;*****_&#8217;;&#8221; where ***** is the prefix that I used for my DB. Rename your configuration.php to configuration_old.php (for easy restore purposes), re-upload the edited configuration.php file and you should be good to go!</p>
<p><em>Links:</em></p>
<p><a href="http://joomla.daveslist.co.nz/demo/set-table-prefix/db-admin-set-table-prefix.php ">http://joomla.daveslist.co.nz/demo/set-table-prefix/db-admin-set-table-prefix.php<br />
</a><br />
I hope this solves any problems you may be having with DB Admin, and </p>
]]></content:encoded>
			<wfw:commentRss>http://mactimize.com/joomla/make-it-harder-to-hack-your-joomla-installation-using-db-admin/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
