Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 19, 2013, 01:33:47 pm

Login with username, password and session length
Members
Total Members: 10758
Latest: murdocklawless
Stats
Total Posts: 32349
Total Topics: 5474
Online Today: 60
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 40
Total: 41
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Upgraded to 2.5.3 from 2.0.5, missing settings options  (Read 1665 times)
~ Phåråoh ~
Jr. Member
**
Offline Offline

Posts: 72



View Profile WWW
« on: August 25, 2009, 08:29:39 pm »

Just installed 2.5.3 on SMF 2.0 RC1.2

Getting this msg in the settings option of the Gallery Pro:

Your Version: 2.0.5 Latest Version: 2.5.3 Your gallery version is not up to date!


Can't seem to find where to disable empty photo albums from showing and disable avatars showing too.

Don't know what else I may be missing.  Is this because there's been so many updates I've missed?
« Last Edit: August 26, 2009, 12:44:36 am by ~ Phåråoh ~ » Logged

"So let it be written; so let it be done!"
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10987


View Profile
« Reply #1 on: August 25, 2009, 08:34:09 pm »

The update did not take in your case since it says your version is behind the main version. Check the file permissions are set correctly for packages.
Grab the latest file from
http://www.smfhacks.com/index.php/topic,3761.0.html

Inside the package when you install the mod it should say version 2.5.3
Logged
~ Phåråoh ~
Jr. Member
**
Offline Offline

Posts: 72



View Profile WWW
« Reply #2 on: August 25, 2009, 08:58:50 pm »

The permissions are 777, like all the other mods I've packaged in.  The file says 2.5.3.1 in the directory.  In the forum admin it says the same.  I tried to uninstall and got two failures.

The one in the sources/admin.php file
 
And one in the sources/subs.php  file, the second edit

I didn't get any errors on the install.

Now what? 

Logged

"So let it be written; so let it be done!"
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10987


View Profile
« Reply #3 on: August 25, 2009, 09:41:46 pm »

Open index.php
Find
Code:
'gallery' => array('Gallery.php', 'GalleryMain'),
Replace with
Code:
'gallery' => array('Gallery2.php', 'GalleryMain'),

Open Admin.php
find
Code:
'gallery' => array(
'label' => $txt['smfgallery_admin'],
'file' => 'Gallery.php',
'function' => 'GalleryMain',
'custom_url' => $scripturl . '?action=admin;area=gallery;sa=adminset;sesc=' . $sc,
'icon' => 'server.gif',
'subsections' => array(
'adminset' => array($txt['gallery_text_settings']),
'admincat' => array($txt['gallery_form_managecats']),
'approvelist' => array($txt['gallery_form_approveimages']),
'commentlist' => array($txt['gallery_form_approvecomments']),
'filespace' => array($txt['gallery_filespace']),
'catpermlist' => array($txt['gallery_text_catpermlist2']),
'batchftp' => array($txt['gallery_ftp']),


),
),
Replace with
Code:
'gallery' => array(
'label' => $txt['smfgallery_admin'],
'file' => 'Gallery2.php',
'function' => 'GalleryMain',
'custom_url' => $scripturl . '?action=admin;area=gallery;sa=adminset;sesc=' . $sc,
'icon' => 'server.gif',
'subsections' => array(
'adminset' => array($txt['gallery_text_settings']),
'admincat' => array($txt['gallery_form_managecats']),
'approvelist' => array($txt['gallery_form_approveimages']),
'commentlist' => array($txt['gallery_form_approvecomments']),
'filespace' => array($txt['gallery_filespace']),
'catpermlist' => array($txt['gallery_text_catpermlist2']),
'batchftp' => array($txt['gallery_ftp']),


),
),
Logged
~ Phåråoh ~
Jr. Member
**
Offline Offline

Posts: 72



View Profile WWW
« Reply #4 on: August 26, 2009, 12:43:58 am »

The first set of code was ok.  The second set, in
Code:
'file' => 'Gallery2.php',
The "2" is what was missing.  Everything else fell into place.

Thanks again, You rock!  Grin
Logged

"So let it be written; so let it be done!"
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 07:03:27 am]

[May 16, 2013, 10:13:46 pm]

[May 15, 2013, 11:32:14 pm]

[May 15, 2013, 11:31:24 pm]

[May 12, 2013, 09:10:43 am]

[May 10, 2013, 03:49:55 am]

[May 07, 2013, 07:12:40 pm]

[May 07, 2013, 02:37:14 pm]

[May 06, 2013, 10:29:56 pm]

[May 04, 2013, 03:22:01 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.283 seconds with 20 queries.