<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Geek Gumbo - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-24cd67e3" type="application/json"/><link>http://geekgumbo.disqus.com/</link><description>A Potpourri of Web Development, Linux, and Window tips, tidbits, and observations</description><atom:link href="http://geekgumbo.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 14 May 2012 11:23:31 -0000</lastBuildDate><item><title>Re: Joomla 2.5/1.7: Automatically assign users to a group based on email</title><link>http://www.geekgumbo.com/2012/02/06/joomla-2-51-7-automatically-assign-users-to-a-group-based-on-email/#comment-528531576</link><description>&lt;p&gt;A plugin for Joomla 2.5 is out now which make multiple registration profiles upon registration available with a select box or dropdown. Check our website at &lt;a href="http://www.joomapp.com" rel="nofollow"&gt;http://www.joomapp.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Jasper&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jasper</dc:creator><pubDate>Mon, 14 May 2012 11:23:31 -0000</pubDate></item><item><title>Re: Chrome &amp;#8211; the Most Popular Browser?</title><link>http://www.geekgumbo.com/2012/04/25/chrome-the-most-popular-browser/#comment-525628313</link><description>&lt;p&gt;Ha!  I still use Firefox everyday, but I do more of my development work in a Chrome window.  The latest Firefox releases are getting better and better in terms of developer tools, and even supporting an Incognito-like option (which is great for development, because it's easy to ensure no browser cache is present).&lt;/p&gt;

&lt;p&gt;Chrome has had a nice rising trend, but I won't yet count Firefox out.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">imperialWicket</dc:creator><pubDate>Thu, 10 May 2012 14:11:34 -0000</pubDate></item><item><title>Re: Use Joomla Login Credentials Outside of Joomla</title><link>http://www.geekgumbo.com/2010/07/02/use-joomla-login-credentials-outside-of-joomla/#comment-521940664</link><description>&lt;p&gt;thank you &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sabri dundar</dc:creator><pubDate>Mon, 07 May 2012 16:48:14 -0000</pubDate></item><item><title>Re: Joomla 1.5, 1.7, 2.5: Customizing search results</title><link>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/#comment-519317628</link><description>&lt;p&gt;catid is specific to the Phoca extensions.  If you aren't using Phoca extensions, it's highly likely that none of your search results will ever have a catid value.&lt;/p&gt;

&lt;p&gt;Try using a print_r(&amp;lt;the result=""&amp;gt;); statement as shown &lt;a href="https://gist.github.com/1880603/5782b40088f4ce9e7002803fbcb11e1dc1b32e84" rel="nofollow"&gt;here&lt;/a&gt; to figure out a good variable for distinguishing your result types.&amp;lt;/the&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">imperialWicket</dc:creator><pubDate>Fri, 04 May 2012 15:09:20 -0000</pubDate></item><item><title>Re: Joomla 1.5, 1.7, 2.5: Customizing search results</title><link>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/#comment-519315577</link><description>&lt;p&gt;In the search.php file I mentioned, I think replacing the return statement should allow images to come through.&lt;/p&gt;

&lt;p&gt;The default is "return self::_smartSubstr(strip_tags($text), $searchword);"&lt;/p&gt;

&lt;p&gt;Change it so that there is no 'strip_tags' function on the return text: "return self::_smartSubstr($text, $searchword);"&lt;/p&gt;

&lt;p&gt;I'll echo my earlier concern that CSS becomes important and tricky if you allow html to come through in your search results.  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">imperialWicket</dc:creator><pubDate>Fri, 04 May 2012 15:06:10 -0000</pubDate></item><item><title>Re: Removing Deleted Files from your Git Working Directory</title><link>http://www.geekgumbo.com/2010/05/16/removing-deleted-files-from-your-git-working-directory/#comment-518812583</link><description>&lt;p&gt;great article.. thank you very much... you saved my day..&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paulo</dc:creator><pubDate>Fri, 04 May 2012 06:43:38 -0000</pubDate></item><item><title>Re: Joomla 1.5, 1.7, 2.5: Customizing search results</title><link>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/#comment-517254212</link><description>&lt;p&gt;This has been helpful, however $result-&amp;gt;catid doesn't seem to exist. I've tried simply echoing it and nothing shows up. My goal is to simply display the article category with a link to that category. Need an ID to fill in the missing piece and without catid I can't get anywhere. Any idea why catid wouldn't exist or any other options that I could use to get this to work? Using 2.5 btw.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben</dc:creator><pubDate>Wed, 02 May 2012 22:06:57 -0000</pubDate></item><item><title>Re: Joomla 1.5, 1.7, 2.5: Customizing search results</title><link>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/#comment-517181814</link><description>&lt;p&gt;Like Libby, I too need to show the introtext with html and images in the search results.  I am using joomla 2.5 for the site where I need the search modifications.  Can you point me in the right direction to find specifics on how to modify the necessary files.  Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FryDesign</dc:creator><pubDate>Wed, 02 May 2012 20:07:56 -0000</pubDate></item><item><title>Re: Microsoft Inserts Bing Into Firefox</title><link>http://www.geekgumbo.com/2011/09/13/microsoft-swaps-bing-into-your-firefox-search/#comment-515265702</link><description>&lt;p&gt;Not all things from Microsoft is bad... hahahahahaha. They are if you don't ask for them or be given a choice of accepting crap. My Firefox is version 11. New tab brings up an unbranded search bar (Bing). I don't have the StartNow Toolbar (for that matter, I have NO TOOLBARS installed!). Trying to get rid of it was really getting me peeved until I saw on the page a collection of letters that said "remove". I clicked on it and all new tabs have no search window. Since I didn't have StartNow or other toolbars, where did this come from (malware, trojan, adware, virus free I might add)?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pirahna</dc:creator><pubDate>Tue, 01 May 2012 15:42:27 -0000</pubDate></item><item><title>Re: Loading ePub books into the Nook</title><link>http://www.geekgumbo.com/2010/08/18/loading-epub-books-into-the-nook/#comment-514080873</link><description>&lt;p&gt;I'm not sure, you can re-read the article to check.  If you read thru these comments you'll see I no longer recommend Adobe.  You might want to read my Calibre article. &lt;a href="http://www.geekgumbo.com/2011/05/18/calibre-the-premier-ereading-program/" rel="nofollow"&gt;http://www.geekgumbo.com/2011/...&lt;/a&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">daleV</dc:creator><pubDate>Mon, 30 Apr 2012 08:23:25 -0000</pubDate></item><item><title>Re: Loading ePub books into the Nook</title><link>http://www.geekgumbo.com/2010/08/18/loading-epub-books-into-the-nook/#comment-513884716</link><description>&lt;p&gt;Followed your directions and for the first time had Digital Editions recognize my Nook.  Dragged and Drop the book into the Nook file on the left but the book did not show up on my nook.  I have been struggling with this for months and am frustrated.  What step did I miss or do I take next?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">carinasail4ever</dc:creator><pubDate>Sun, 29 Apr 2012 22:15:59 -0000</pubDate></item><item><title>Re: Use Joomla Login Credentials Outside of Joomla</title><link>http://www.geekgumbo.com/2010/07/02/use-joomla-login-credentials-outside-of-joomla/#comment-513000638</link><description>&lt;p&gt;thank you sir!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Admin</dc:creator><pubDate>Sat, 28 Apr 2012 12:49:05 -0000</pubDate></item><item><title>Re: Joomla 1.5, 1.7, 2.5: Customizing search results</title><link>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/#comment-509835280</link><description>&lt;p&gt;Awesome, thanks for the update!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">imperialWicket</dc:creator><pubDate>Thu, 26 Apr 2012 12:05:20 -0000</pubDate></item><item><title>Re: Joomla 1.5, 1.7, 2.5: Customizing search results</title><link>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/#comment-509831449</link><description>&lt;p&gt;I forgot to come back and let you know that I accomplished the desired results. Check it out if you like: https://themortgagedictionary dot com&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabe</dc:creator><pubDate>Thu, 26 Apr 2012 12:01:08 -0000</pubDate></item><item><title>Re: Joomla 1.5, 1.7, 2.5: Customizing search results</title><link>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/#comment-509825881</link><description>&lt;p&gt;It's definitely possible, but it can make styling your results a bit of a mess.  You'll need to modify the core com_search helper.  The function that strips html and handles highlighting the search term for your results is in the /administrator/components/com_search/helpers/search.php file, and you'll need to modify the 'prepareSearchContent' function.  &lt;/p&gt;

&lt;p&gt;One of the usual issues with this is that when you don't strip html tags, your results usually end up with tags that are not closed.  For example, a paragraph tag starts, but isn't closed until a point beyond what is included in the result text.  Paragraph tags don't pose an issue, as most browsers will try to close them auto-magically, divs and spans and other containing tags are the ones that cause styling nightmares.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">imperialWicket</dc:creator><pubDate>Thu, 26 Apr 2012 11:54:41 -0000</pubDate></item><item><title>Re: Joomla 1.5, 1.7, 2.5: Customizing search results</title><link>http://www.geekgumbo.com/2012/02/21/joomla-1-5-1-7-2-5-customizing-search-results/#comment-509655929</link><description>&lt;p&gt;Hi&lt;br&gt;Great article - many thanks. I am trying to show the intro text from articles in the search results as it is, without stripping out the html and images. Do you think that's possible?&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Libby</dc:creator><pubDate>Thu, 26 Apr 2012 08:08:28 -0000</pubDate></item><item><title>Re: Kohana 3 ORM &amp;#8211; Table Joins, a Working Example</title><link>http://www.geekgumbo.com/2011/05/24/kohana-3-orm-a-working-example/#comment-508989780</link><description>&lt;p&gt;Forget my last post. I wasn't thinking. You can set the database in the model using the $_db_group protected variable:&lt;/p&gt;

&lt;p&gt;protected $_db_group = 'alternate';That's directly from the Kohana 3.2 documentation. Sorry about the confusion&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lcrane</dc:creator><pubDate>Wed, 25 Apr 2012 14:56:01 -0000</pubDate></item><item><title>Re: Kohana 3 ORM &amp;#8211; Table Joins, a Working Example</title><link>http://www.geekgumbo.com/2011/05/24/kohana-3-orm-a-working-example/#comment-508963330</link><description>&lt;p&gt;Easy. In Kohana 3.2, use:&lt;/p&gt;

&lt;p&gt;$item = ORM::factory('item','other_db')&lt;/p&gt;

&lt;p&gt;By leaving the second paramater empty, ORM will use the default db in the config file.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lcrane</dc:creator><pubDate>Wed, 25 Apr 2012 14:23:46 -0000</pubDate></item><item><title>Re: Kohana 3 ORM &amp;#8211; Table Joins, a Working Example</title><link>http://www.geekgumbo.com/2011/05/24/kohana-3-orm-a-working-example/#comment-508791294</link><description>&lt;p&gt;I agree with you. However, I would say a developer should have more then a minimal understanding of SQL. And Object Relational Mapping (aka ORM) allows the data in the database to be easily accessible as an object. This is extremely helpful when writing OOP. I add methods in my Model that has the entire SQL string written out and others using ORM depending on my need and the complexity of the query sting. &lt;/p&gt;

&lt;p&gt;One thing I like about ORM is when I create the object, it will "know" if I need to insert or update a table and relationships "automagicly". For example, I'll create the object with:&lt;/p&gt;

&lt;p&gt;$items = ORM::factory('item',$id);&lt;/p&gt;

&lt;p&gt;Later I can add values and save with:&lt;/p&gt;

&lt;p&gt;$items-&amp;gt;stuff = $stuff;&lt;br&gt;$items-&amp;gt;save();&lt;/p&gt;

&lt;p&gt;No big deal, right? Here to cool part that I like; if $id is null or empty, when I call $items-&amp;gt;save() it will insert a new record in the database. However, if $id contains a value, $item-&amp;gt;save() will update the record in the database with that id. Using SQL strings, I would need to surrond it with "if" statements to check to see if $id contains a value and then write two separate query stings, one for the insert and one for the update. &lt;/p&gt;

&lt;p&gt;I also disagree that ORM is not for an enterprise environment. I've use ORM on many enterprise environments and was in fact introduced to ORM while working at an web advertisement distribution agency. &lt;/p&gt;

&lt;p&gt;I think that what footrois is complain about is actually the query builder and I agree with him when developers solely rely on it to build all their queries. Too many times I've had to fix issues when they've used the query builder and lost control of the query they were trying to build. It make subselects or unions very complicated that are easier to build and read using a beautified query string.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lcrane</dc:creator><pubDate>Wed, 25 Apr 2012 10:54:17 -0000</pubDate></item><item><title>Re: Installing Git on Windows</title><link>http://www.geekgumbo.com/2010/04/09/installing-git-on-windows/#comment-508405723</link><description>&lt;p&gt; Since Git is Linux based, you have to initially run it in the Git command window, which you bring up by clicking on the Git Bash icon on your desktop.  You then should navigate to the directory with your repository.  See my other posts with some help on moving around.  Once you're in your repository directory, to bring up the Git Gui window, simply type "git gui" and the window will come up.  You can also use "gitk --all" to see a graphic interface of your past commits to your repository.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">daleV</dc:creator><pubDate>Tue, 24 Apr 2012 22:42:19 -0000</pubDate></item><item><title>Re: Joomla 2.5/1.7: Automatically assign users to a group based on email</title><link>http://www.geekgumbo.com/2012/02/06/joomla-2-51-7-automatically-assign-users-to-a-group-based-on-email/#comment-507762954</link><description>&lt;p&gt;Hello, nice post. Please if you can help me with similare and very simple thing. But I dnot know how I can make it.  I have two front user group. Registered group and Competition group . Is it possible to make one button on web when  Registered group like to be Competition group tu push button and they will be in Competition group also. Thank you for answer, best regards Petr&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Petr</dc:creator><pubDate>Tue, 24 Apr 2012 06:39:43 -0000</pubDate></item><item><title>Re: Installing Git on Windows</title><link>http://www.geekgumbo.com/2010/04/09/installing-git-on-windows/#comment-506635737</link><description>&lt;p&gt;I installed also BASH and GUI. I want now to use the graphical interface. How to do this? Icon opens only command line mode.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Helen</dc:creator><pubDate>Mon, 23 Apr 2012 05:03:43 -0000</pubDate></item><item><title>Re: Joomla 2.5/1.7: Automatically assign users to a group based on email</title><link>http://www.geekgumbo.com/2012/02/06/joomla-2-51-7-automatically-assign-users-to-a-group-based-on-email/#comment-506032836</link><description>&lt;p&gt;thank u all for the great responses. &lt;/p&gt;

&lt;p&gt;I'm indeed using a third party login. I'm using the community builder login, but i am new at this. So could anyone tell me in which file i need to write the code? And if i need to modify the code? &lt;/p&gt;

&lt;p&gt;I am also going to use the plugin "social login". I would like to put these (google, facebook, twitter) logins into 1 group. Do i need to use the code (and location) that Sunny Patel wrote down here and does it also imply not only google, but facebook and twitter aslo.&lt;/p&gt;

&lt;p&gt;Gerald &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Geraldg1990</dc:creator><pubDate>Sun, 22 Apr 2012 06:44:06 -0000</pubDate></item><item><title>Re: Joomla 2.5/1.7: Automatically assign users to a group based on email</title><link>http://www.geekgumbo.com/2012/02/06/joomla-2-51-7-automatically-assign-users-to-a-group-based-on-email/#comment-505935902</link><description>&lt;p&gt; Hi guys,&lt;/p&gt;

&lt;p&gt;Ok, so I disabled Jomsocial and IT WORKS in the base J2.5.4. I cannot for the life of me figure out how to get it working with Jomsocial though. I have tried to edit the JOOMLA_ROOT/plugins/user/joomla/joomla.php file as Sunny Patel pointed out, but no luck. I have also tried to edit JOOMLA_ROOT/plugins/user/jomsocialuser/jomsocialuser.php, but no luck either. This very well might be the place to make these edits, but I am just not familiar enough with php to grasp it.&lt;/p&gt;

&lt;p&gt;I have a kind of unique situation that I need to accomplish, but I am not very experienced in php scripting. If anyone thinks they could help me out - please, please, please do. I have literally spent 20 plus hours trying to figure out how to get this to work. I am ready to mail out a case of beer or cash reward for someone to figure this out for me because it's driving me nuts.&lt;/p&gt;

&lt;p&gt;I am using Jomsocial 2.61 and Joomla 2.5.4 with LoginRadius module for "Log in with Google, FB, ect." functionality.&lt;/p&gt;

&lt;p&gt;What I am trying to accomplish:&lt;br&gt;1. New jomsocial registrations, signin with FB, signin with google, default to "2" (registered), unless;&lt;br&gt;2. If the email domain is "&lt;a href="http://exampledomain.com" rel="nofollow"&gt;exampledomain.com&lt;/a&gt;", then the user group "14" is added in addition with user group "2". (The domain is a google apps domain if this makes a difference, but not &lt;a href="http://gmail.com" rel="nofollow"&gt;gmail.com&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Ideally, if a user registers and is defaulted to usergroup "2", then say they update their joomla user email to "&lt;a href="http://exampledomain.com" rel="nofollow"&gt;exampledomain.com&lt;/a&gt;" than user group "14" is added. Does this make sense?&lt;/p&gt;

&lt;p&gt;If anyone can help me please let me know as soon as you can...thanks so much. &lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stephen Webb</dc:creator><pubDate>Sun, 22 Apr 2012 00:35:29 -0000</pubDate></item><item><title>Re: Joomla 2.5/1.7: Automatically assign users to a group based on email</title><link>http://www.geekgumbo.com/2012/02/06/joomla-2-51-7-automatically-assign-users-to-a-group-based-on-email/#comment-505859080</link><description>&lt;p&gt;It seems to work for me in a basic install, and I think it's probably Jomsocial (good thinking to point that out).  You may want to try Sunny Patel's solution (in these comments) that resolved inconsistencies when using the Gmail Authorization plugin.  &lt;/p&gt;

&lt;p&gt; I haven't validated that it works in Jomsocial, but the key would be if Jomsocial uses the default database tables that Joomla uses, then they are likely using the lower level user registration processes.  You need to change the code appropriately, but it's a similar structure and goes in /plugins/user/joomla/joomla.php .&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">imperialWicket</dc:creator><pubDate>Sat, 21 Apr 2012 20:52:12 -0000</pubDate></item></channel></rss>
