This is very handy when you use maxigallery to show pictures from other gallery’s and do not need to use the managepictures part.
ok I added this to the maxigallery.php file:
add this
$mgconfig['manage'] = (isset($manage)) ? $manage : 1; //[0 | 1] disable picture manager
after this:
$mgconfig['debug'] = (isset($debug)) ? $debug : 0; //[0 | 1] display debug trace
change this:
if($_REQUEST['mode']=="admin" || ($mg->mgconfig['manage_gallery']!="" && $mg->mgconfig['manage_target']=="")) {
to this:
if($_REQUEST['mode']=="admin" && $mg->mgconfig['manage']=="1" || ($mg->mgconfig['manage_gallery']!="" && $mg->mgconfig['manage_target']=="")) {
I forgot this one, change this:
// if not in custom query mode, make manage button available
if (count($mg->mgconfig['gal_query_ids']) == 0 && count($mg->mgconfig['pic_query_ids']) == 0) {
to this:
// if not in custom query mode, make manage button available
if (count($mg->mgconfig['gal_query_ids']) == 0 && count($mg->mgconfig['pic_query_ids']) == 0 && $mg->mgconfig['manage']=="1") {
now just add &manage=`0` to your call to disable the managepicture part.
Dimmy