Our FamilyForum

FamilyForum Documentation & Help => FamilyForum Features & Guidelines => Code & Stuff => Topic started by: Ken on August 22, 2014, 03:41:31 PM

Title: My Mind Sucks!
Post by: Ken on August 22, 2014, 03:41:31 PM
For most of my life my memory has been an irritation, causing me to do things and then find out that I had already done that same thing before, months or maybe even only days.  :o

So, I've just reinstalled the SMF Gallery Pro and after creating three albums it started acting up, saying that the fourth, fifth and sixth albums didn't exist.

So, after much thrashing about and posting for help (http://www.smfhacks.com/index.php/topic,8381.0.html) on the SMF Gallery site I was reminded that back in January 2014 I had asked for help on the exact same issue!

Luckly for me a fix was already available as posted by Brad back in January.  :thumbup:
A temporary fix in TPortal.php about line #1024 you can find this code:
Code: [Select]
//return if not quite a category
if(isset($_GET['action']) && $_GET['action'] == 'manageboards')
return;

Change it to this:
Code: [Select]
//return if not quite a category
if(isset($_GET['action']) && ($_GET['action'] == 'manageboards' || $_GET['action'] == 'gallery'))
return;

Thanks Brad!   :bigteeth1:
Title: Re: My Mind Sucks!
Post by: Skhilled on August 23, 2014, 07:06:36 PM
I think I've done the same thing once myself. LOL