News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Elite Gallery

Started by ^HeRaCLeS^, April 25, 2010, 01:50:11 PM

Previous topic - Next topic

Adrek

How to remove limits for Maximum size of images and Maximum number of images?
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

shouriken

#41
I'm a new user of smf.
I've installed and activated Adk Gallery, but the "AdkGallery" menu item does not show.
I've inserted a log_error call in the GalleryButtons function in order to know if the function is called.
The function is called and the buttons array seems to be updated, but the AdkGallery button is not displayed.
The code to do this is:
        reset($buttons);
        $menu='';

        while((list($key, $val) = each($buttons))){
                $menu .=$key . ' ';
        }
        log_error( $menu);

And the result is:
home help search admin moderate profile pm calendar mlist login register AdkGallery logout

PS. OS - FreeBSD 9.0-RELEASE-p3 64 bits; mysql 5.5.28, for FreeBSD9.0 (amd64); php 5.4.7

LE. I've found the error:
- function GalleryButtons($buttons) in Sources/Subs-Adk_Gallery.php must be changed in GalleryButtons(&$buttons) (notice the & before $buttons)

Adk-Team

SMF 2.0.4 updated  ;)

Regards enik...

b0mbardo

I get an invalid file type with any image I upload, not sure what to do now? yes I have set the extensions in Admin center.

Adk-Team


JohnJG

SMF 2.0.4
Install error:

- Error in Package Installation
- Execute Modification    files/install.xml    Modification parse error

File rights ok
Ownership files ok
temp folder created


Adk-Team

Check the permissions of your folders and files

DSystem

Congrats on the Mod. Very good.

Had the same problem of shouriken.

I changed the line to 116 (Subs-Adk_Gallery.php)


function GalleryButtons(&$buttons)


Obs. So Miss option to watermark.

Adk-Team


AllanD

Mod works great thank you, how can I change the menu to just say gallery instead of ADK gallery?
Check out this great sites.
KnD Hosting

Adk-Team

In file Subs-Adk_Gallery.php line 133

Replace text:

'title' => 'Adk Gallery',

with:

'title' => 'Gallery',

Advertisement: