009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Google's Highly Open Participation Program tries to get young students into Open Source and Joomla! specifically. Everyone is welcome, there are not limits. You can be a coder, documenter, tester, translator to help out. Jump in and start helping!
User avatar
fealebenpae
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Fri Nov 30, 2007 8:33 pm
Location: Vidin, Bulgaria

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by fealebenpae » Sun Jan 06, 2008 1:13 pm

Whoops, I feel guilty over my loooong absence :-D

I uploaded the fixed zip (I doublechecked the bugger this time) to joomlacode and it really OUGHT to work!

P.S. leet is still in the habit of eating an article's whole body but I'll leave it at that.
And it came to pass that in that time the Great God Om spake unto Brutha, the Chosen One: "Psst!"

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7056
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by AmyStephen » Sun Jan 06, 2008 7:06 pm

Hey - I'm just glad to see you again!  8)

Pull leet out if it's not working correctly.

Otherwise, it looks good. When you have it where you want it, upload it to Google and we'll sign this baby off.

Thanks!!!!
Amy :)

User avatar
jlleblanc
Joomla! Guru
Joomla! Guru
Posts: 963
Joined: Fri Aug 19, 2005 12:37 am
Location: Washington, DC / NoVA
Contact:

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by jlleblanc » Mon Jan 07, 2008 2:43 am

fealebenpae wrote: Whoops, I feel guilty over my loooong absence :-D

I uploaded the fixed zip (I doublechecked the bugger this time) to joomlacode and it really OUGHT to work!

P.S. leet is still in the habit of eating an article's whole body but I'll leave it at that.
Try running $changeto on line 176 of tfs-leet.php through htmlentities(). Some of your "to" values may be getting parsed as HTML tags or tag parts.
Joseph L. LeBlanc: http://www.jlleblanc.com
Frontend components start here: /components/com_[name]/[name].php
Backend components start here: /administrator/components/com_[name]/admin.[name].php

User avatar
fealebenpae
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Fri Nov 30, 2007 8:33 pm
Location: Vidin, Bulgaria

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by fealebenpae » Mon Jan 07, 2008 8:43 am

Thanks for the suggestion, jlleblanc, but I already tried that in several combinations, but I'm not inclined to bang my head against it much longer. Anyway, I'm uploading the final, leet-less version to joomlacode and the ghop page.
And it came to pass that in that time the Great God Om spake unto Brutha, the Chosen One: "Psst!"

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7056
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by AmyStephen » Mon Jan 07, 2008 1:10 pm

Yea! Thanks for completing this task. And, for adding the entire suite of languages from the original WP TFS. You never now when someone might need a chef!

Task accepted as complete.
Amy :)

User avatar
jlleblanc
Joomla! Guru
Joomla! Guru
Posts: 963
Joined: Fri Aug 19, 2005 12:37 am
Location: Washington, DC / NoVA
Contact:

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by jlleblanc » Mon Jan 07, 2008 4:11 pm

fealebenpae wrote: Thanks for the suggestion, jlleblanc, but I already tried that in several combinations, but I'm not inclined to bang my head against it much longer. Anyway, I'm uploading the final, leet-less version to joomlacode and the ghop page.
Oops, just saw that from earlier on. Maybe some other day. ;) Good luck with the university applications!
Joseph L. LeBlanc: http://www.jlleblanc.com
Frontend components start here: /components/com_[name]/[name].php
Backend components start here: /administrator/components/com_[name]/admin.[name].php

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7056
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by AmyStephen » Mon Jan 07, 2008 4:46 pm

Yea! Me and my big mouth! I feel horrible about wasting his time.  :P

Very talented developer, here. Glad he joined us!

Amy :)

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by mcsmom » Tue Feb 05, 2008 8:23 pm

Hi,

I was testing and I wanted to let you know there is a small problem with having upper case letters that was making the plugin not work on my site.

Change



to

So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
fealebenpae
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Fri Nov 30, 2007 8:33 pm
Location: Vidin, Bulgaria

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by fealebenpae » Fri Feb 08, 2008 1:18 am

Thanks for noticing that, Elin. I couldn't spot it because my server runs on a case-insensitive filesystem.
And it came to pass that in that time the Great God Om spake unto Brutha, the Chosen One: "Psst!"

User avatar
MiCCAS
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 188
Joined: Mon Jan 01, 2007 6:59 am
Contact:

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by MiCCAS » Fri Feb 08, 2008 10:59 pm

mcsmom wrote: Hi,

I was testing and I wanted to let you know there is a small problem with having upper case letters that was making the plugin not work on my site.

Change



to

Good bug spotting!!

And.. good bug squashing to fealebenpae :)

This is really amazing, I never realised that you could do something so amazing with Joomla!
MiCCAS.net Free PC Services

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by mcsmom » Sat Feb 09, 2008 5:00 am

It's really a fun plugin.  :)

But I have to say, Ian was the one who said to look at the cases when I couldn't get the parameter to show. 
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
fealebenpae
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Fri Nov 30, 2007 8:33 pm
Location: Vidin, Bulgaria

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by fealebenpae » Sat Feb 09, 2008 7:01 pm

@MiCCAS
It's Joomla! and its people that are awesome. This plugin is just a by-product of said awesomeness :)

@mcsmom
Kudos to Ian as well, then :-D I have a question. What do I do if I've already uploaded the version with the buggy parameter XML statement to Google Code? Can I replace it or something?
And it came to pass that in that time the Great God Om spake unto Brutha, the Chosen One: "Psst!"

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by mcsmom » Mon Feb 11, 2008 9:48 am

I think you probably can, it's a good idea because that may show up in a search.  But the main thing is to upload it a joomlacode since that's where most people will find it.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
fealebenpae
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Fri Nov 30, 2007 8:33 pm
Location: Vidin, Bulgaria

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by fealebenpae » Mon Feb 11, 2008 12:45 pm

I uploaded the fixed version to joomlacode when you told me about the bug, Elin. I'll upload it now to the google code group. Thanks again.
And it came to pass that in that time the Great God Om spake unto Brutha, the Chosen One: "Psst!"

User avatar
MiCCAS
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 188
Joined: Mon Jan 01, 2007 6:59 am
Contact:

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by MiCCAS » Mon Feb 11, 2008 9:29 pm

fealebenpae wrote: I uploaded the fixed version to joomlacode when you told me about the bug, Elin. I'll upload it now to the google code group. Thanks again.
I'm not sure if there is space left on the google code area, but if not just post a link to the joomlacode site.

Good luck!
MiCCAS.net Free PC Services

MasterC
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Wed Aug 29, 2007 6:09 pm

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by MasterC » Mon Feb 11, 2008 11:34 pm

I'm loving some of these GHOP extensions!  I've successfully installed this one, but I can't quite grasp it's usage.  How do I define which filter I want to use (globally)?

Thanks!

-Chad

User avatar
fealebenpae
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Fri Nov 30, 2007 8:33 pm
Location: Vidin, Bulgaria

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to Pirate Speak.

Post by fealebenpae » Tue Feb 12, 2008 1:25 am

MasterC wrote: I'm loving some of these GHOP extensions!  I've successfully installed this one, but I can't quite grasp it's usage.  How do I define which filter I want to use (globally)?

Thanks!

-Chad
Thanks for your interest! When you open the plugin preferences you should see a list of the available filters under the caption 'Filters'. You can select one (for example 'kraut'), set Filtering to All Articles and then choose the categories in which you want the articles filtered (or simply select All for global filtering). Oh, and don't forget to enable the plugin. Most of these filters only work on English text.
And it came to pass that in that time the Great God Om spake unto Brutha, the Chosen One: "Psst!"

MasterC
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Wed Aug 29, 2007 6:09 pm

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to P

Post by MasterC » Wed Feb 13, 2008 3:16 pm

Thanks for the response!

I've checked the plugin, but I assume the location where you mention that option I have the following message:
Element not defined for type = Filter

Do I have an older version installed? I got it from:
http://code.google.com/p/google-highly- ... etail?id=9

But just now when I looked it appears there is a newer version link, I'll give that a whirl and come back and follow up.

Thanks!

-Chad

MasterC
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Wed Aug 29, 2007 6:09 pm

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to P

Post by MasterC » Wed Feb 13, 2008 3:20 pm

It appears that didn't fix it for me. Here's the direct link for the file I just downloaded:
http://joomlacode.org/gf/download/frsre ... joomla.zip

Thanks for any info or ideas!

-Chad

User avatar
fealebenpae
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Fri Nov 30, 2007 8:33 pm
Location: Vidin, Bulgaria

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to P

Post by fealebenpae » Wed Feb 13, 2008 3:44 pm

I just reupped the version I have to joomlacode. A minor typo in the xml file of the project caused this error on some Linux systems. Sorry about that.
And it came to pass that in that time the Great God Om spake unto Brutha, the Chosen One: "Psst!"

MasterC
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Wed Aug 29, 2007 6:09 pm

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to P

Post by MasterC » Wed Feb 13, 2008 5:12 pm

fealebenpae wrote:I just reupped the version I have to joomlacode. A minor typo in the xml file of the project caused this error on some Linux systems. Sorry about that.
Cool, thank you! I'm not sure I can see it, the latest version I see says it is from December 15th 2007. Here's the link to the project page I'm looking at:
http://joomlacode.org/gf/project/tfs-joomla/frs/

User avatar
fealebenpae
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Fri Nov 30, 2007 8:33 pm
Location: Vidin, Bulgaria

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to P

Post by fealebenpae » Wed Feb 13, 2008 5:20 pm

That's the release version. I just replace the zip file within it. Give it a try and see how it works for you.
And it came to pass that in that time the Great God Om spake unto Brutha, the Chosen One: "Psst!"

MasterC
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Wed Aug 29, 2007 6:09 pm

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to P

Post by MasterC » Wed Feb 13, 2008 7:24 pm

Thanks for the very quick responses!

I grabbed the "SalusaSecundus" version first. It gave me the same message:
Element not defined for type = Filter

Then I uninstalled it, grabbed the "PetroPrimo" version, and it had fewer features and gave me the same message.

I appreciate you working on getting the working zip up for me!

For what it's worth (FWIW), I'm running:
Gentoo Linux 2.6.22
Apache 2.0.58
PHP 5

If I had any idea how to do what you've done, I'd dig and try to fix it myself. But this code is more advanced than my current knowledge :)

Thanks again!

-Chad

User avatar
fealebenpae
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Fri Nov 30, 2007 8:33 pm
Location: Vidin, Bulgaria

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to P

Post by fealebenpae » Thu Feb 14, 2008 4:10 am

Chad, please try again to download the SalusaSecundus release.
And it came to pass that in that time the Great God Om spake unto Brutha, the Chosen One: "Psst!"

MasterC
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Wed Aug 29, 2007 6:09 pm

Re: 009 - Create a Joomla! v 1.5 plugin to convert articles to P

Post by MasterC » Thu Feb 14, 2008 4:13 pm

Perfect! Thanks a lot!

-Chad


Locked

Return to “Google's Highly Open Participation Contest”