News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Gallery

Started by SMFHacks.com Team, September 16, 2006, 07:13:02 PM

Previous topic - Next topic

gccb

Hi, quick question.

I downloaded the latest update.

Do I just upload using package manger and let it over write the old version?

Thanks in advance,
Rodney.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

gccb


Harvester

Help please.

I had to  uninstall this mod and now i am getting a TON of errors from it. I noticed the uninstall had no option to remove all the tables so I am guessing maybe the tables are still there? 

I still have AEVA media gallery installed and am about to uninstall it too... but I want to see if i can resolve this issue from the SMF Gallery uninstall before I proceed.

I have recieved over 1000 errors in the last 35 minutes all revolve around Undefined index: allow_smfgallery_view and Undefined index: smfgallery_menu

vbgamer45

What language package are you using?
Make sure if you are using a custom theme in the theme's languages modifications.* folder that this code is in.

//Begin SMF Gallery Text Strings
$txt['smfgallery_title'] = 'Gallery For SMF';
$txt['smfgallery_menu'] = 'Gallery';
$txt['smfgallery_version'] = '5.0 Lite';
$txt['smfgallery_admin'] = 'Gallery Configuration';
$txt['gallery_txt_convertors'] = 'Convertors';

//Permissions
$txt['permissiongroup_smfgallery'] = 'SMF Gallery';

$txt['permissionname_smfgallery_view'] = 'View SMF Gallery';
$txt['permissionhelp_smfgallery_view'] = 'Allows the user to view the Gallery';
$txt['cannot_smfgallery_view'] = 'You are not allowed to view the Gallery';

$txt['permissionname_smfgallery_add'] = 'Add Picture';
$txt['permissionhelp_smfgallery_add'] = 'Allows the user to add a picture.';
$txt['cannot_smfgallery_add'] = 'You are not allowed to add a picture.';

$txt['permissionname_smfgallery_edit'] = 'Edit own Picture';
$txt['permissionhelp_smfgallery_edit'] = 'Allows the user to edit a picture.';
$txt['cannot_smfgallery_edit'] = 'You are not allowed to edit a picture.';

$txt['permissionname_smfgallery_delete'] = 'Delete own Picture';
$txt['permissionhelp_smfgallery_delete'] = 'Allows the user to delete a picture.';
$txt['cannot_smfgallery_delete'] = 'You are not allowed to delete a picture.';

$txt['permissionname_smfgallery_comment'] = 'Leave Comments';
$txt['permissionhelp_smfgallery_comment'] = 'Allows the user to leave comments on a picture.';
$txt['cannot_smfgallery_comment'] = 'You are not allowed to leave comments.';

$txt['permissionname_smfgallery_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_smfgallery_report'] = 'Allows the user to report pictures and comments.';
$txt['cannot_smfgallery_report'] = 'You are not allowed to report content.';

$txt['permissionname_smfgallery_autoapprove'] = 'Auto Approve Pictures';
$txt['permissionhelp_smfgallery_autoapprove'] = 'Pictures do not need to wait for approval.';

$txt['permissionname_smfgallery_manage'] = 'Manage Gallery';
$txt['permissionhelp_smfgallery_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Pictures, Approve Pictures';
$txt['cannot_smfgallery_manage'] = 'You are not allowed to manage gallery.';

//END SMF Gallery Text Strings


Attach your Sources/Subs.php  i can fix the allow_smfgallery_view error from that.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harvester

I have already uninstalled the mod. Not because of any issues with it, I am just working on something... these errors that I spoke of above only started AFTER I uninstalled the mod..


nevertheless, I have attached my subs.php


vbgamer45

Are you looking to uninstall it completely?
It sounds like it uninstalled when you had errors? saying it couldn't unisntall?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harvester

yes, for the meantime, I am.

I have a bunch of odd issues so I am trying to uninstall ALL mods and then install only bare necessities (I went crazy  and installed all sorts of stuff at first lol)


gccb

Sorry, back again.

Update worked, but now I have three gallery links in the menu.
Reason I did the update in the first place was to try and remove twin links that have been there.
I've been using version 2.xxx [nofollow] for the last five or six years.

My SMF is 1.1.21 at http://www.goldcoastcb.com/forum/index.php [nofollow]

Is this a hard fix?

Thanks,
Rodney.

vbgamer45

Quote from: gccb on February 20, 2017, 08:19:25 PM
Sorry, back again.

Update worked, but now I have three gallery links in the menu.
Reason I did the update in the first place was to try and remove twin links that have been there.
I've been using version 2.xxx for the last five or six years.

My SMF is 1.1.21 at http://www.goldcoastcb.com/forum/index.php

Is this a hard fix?

Thanks,
Rodney.
Attach your index.template.php it is installed multiple times to that file.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

vbgamer45

Quote from: Harvester on February 20, 2017, 08:17:15 PM
yes, for the meantime, I am.

I have a bunch of odd issues so I am trying to uninstall ALL mods and then install only bare necessities (I went crazy  and installed all sorts of stuff at first lol)


Updated file attached
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harvester

Thank you vB. That did the trick :)


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

gccb

Quote from: vbgamer45 on February 20, 2017, 08:38:50 PM
Attach your index.template.php it is installed multiple times to that file.

Sorry but it's been a long time since I've done all this.

So with the file found at /forum/Themes/classic/index.template.php .. I "attach" it?

Attach what? Do you mean edit any duplicate gallery entries from that index.template.php?

Thanks,
Rodney.

vbgamer45

Attach as an attachment to this post and I can fix.
Or look inside that file and remove the duplicate buttons for gallery added.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

gccb

I see. sorry. I'm not real sharp with php, so if you could have a look that would be great.

You need the one from the default theme folder, right?

It's attached.

Thanks mate.


gccb

Quick update: I braved the php and found the extra two entries.
All good now.

Cheers.
;)

drfun

Hello all,

Please i was wondering, if there is a way to customize the SMF gallery to display in round edge boxes like Aevea media, or is it only Neo that t has such right of displaying his media gallery that way.?
ECLIKS -Global Online community for Questions and Answers

vbgamer45

It is if you know CSS/or are a web designer.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

drfun

Thanks vb, can you help with the CSS code that can help archive this and may be it will be nice also to have it on the mod.
ECLIKS -Global Online community for Questions and Answers

Advertisement: