Aug 20, 2009

Joomla! - Liberate the Authors

To hack the Joomla! 1.5.x ( to open the gate for the authors ), is to change the following two files ( the hack has to be applied to any future upgrade of the core )

File 1 is ...components\com_content\controller.php
Go to Line 229 and comment out some lines to stop the wrong message coming up on save:

// if ($access->canPublish)
// {
// Publishers, admins, etc just get the stock msg
$msg = JText::_('Item successfully saved.');
// }
// else
// {
// $msg = $isNew ? JText::_('THANK_SUB') : JText::_('Item successfully saved.');
// }

File 2 is ...components\com_content\models\article.php
Go to line 332 to change the zero value:
// For new items - author is not allowed to publish - prevent them from doing so
$article->state = 1;

The Authors are Liberated !
~E~

8 comments:

Anonymous said...

An outstanding share! I have just forwarded this onto a friend who has been
conducting a little research on this. And he in fact ordered me breakfast because
I stumbled upon it for him... lol. So let me reword this.

... Thanks for the meal!! But yeah, thanks for spending time to talk
about this topic here on your blog.
Have a look at my weblog : hotmail email directory

Anonymous said...

Hey are using Wordpress for your blog platform? I'm new to the blog world but I'm trying to get started
and set up my own. Do you require any html coding knowledge to make your own blog?
Any help would be greatly appreciated!
Feel free to surf my site :: http://www.Social-bookmark.info/user/profile/Lethanzcu/

Anonymous said...

Hi just ωanted to give you a quіck heads up and lеt you know a few
of the images aren't loading correctly. I'm not sure why but
I think its а linkіng іssue. I've tried it in two different web browsers and both show the same outcome.
my web site :: tao of badass conversation

Anonymous said...

Thanks for sharing your thoughts about account billing services ar.
Regards

my blog ... acura integra a/c tensioner

Anonymous said...

I am еxtгemely impreѕsed with yоur writing skills aѕ well
as with the laуout on your blog. Is thіs a paid theme оr diԁ you customіze it yourself?
Either ωay κeеp uρ the eхcellent qualitу wrіting, it's rare to see a great blog like this one these days.

Here is my web page :: crearfacebook.webs.com

Anonymous said...

Write more, thats аll ӏ have to sаy. Litеrally, it
seems as thοugh you rеlied on the vіdeo to
make your point. You cleаrly κnow what youre talκing abοut, why waѕte your іntelligence on јust pοѕting vіdeos to your blog when you could be giving us something informatiѵe
to rеad?

my blοg post - darkrevolution.org

Anonymous said...

Ӏ uѕed to bе suggеѕtеd thіs blog via my
cousin. I'm not certain whether or not this put up is written through him as nobody else know such unique approximately my difficulty. You are wonderful! Thank you!

Check out my blog :: crear facebook gratis

Anonymous said...

There's certainly a great deal to know about this subject. I really like all of the points you made.

Here is my site :: hotmail email