Mafia Checked Out 
Version
1.5.3 (last update on Jul 25, 2008)
Rating
Compatibility
Votes
1
Favoured
0
License
GPL
Commercial
Type
Views
2941
Date Added
25 July 2008
bywebplus on September 25, 2008
It works but you will notice that Module Checkout will give you a line 34 error.
Change
$db3->setQuery( "UPDATE #__module SET checked_out='0' WHERE id=$_GET[mid]" );
to
$db3->setQuery( "UPDATE #__modules SET checked_out='0' WHERE id=$_GET[mid]" );
and
$db->setQuery( "SELECT title,checked_out,id FROM #__module WHERE checked_out !='0' ORDER BY id DESC", 0, 1000 );
to
$db->setQuery( "SELECT title,checked_out,id FROM #__modules WHERE checked_out !='0' ORDER BY id DESC", 0, 1000 );
---------------------------
Another great thing is that you can take the code and change it to include additional checkout items such as menus and for us contacts.
great program just needs some more attention to the code.
Change
$db3->setQuery( "UPDATE #__module SET checked_out='0' WHERE id=$_GET[mid]" );
to
$db3->setQuery( "UPDATE #__modules SET checked_out='0' WHERE id=$_GET[mid]" );
and
$db->setQuery( "SELECT title,checked_out,id FROM #__module WHERE checked_out !='0' ORDER BY id DESC", 0, 1000 );
to
$db->setQuery( "SELECT title,checked_out,id FROM #__modules WHERE checked_out !='0' ORDER BY id DESC", 0, 1000 );
---------------------------
Another great thing is that you can take the code and change it to include additional checkout items such as menus and for us contacts.
great program just needs some more attention to the code.




