News:

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

Main Menu

SMF Gallery

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

Previous topic - Next topic

vbgamer45

Make sure that permissions for each group that you want have view gallery.
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

johnik

Quote from: vbgamer45 on April 25, 2007, 07:59:09 AM
Make sure that permissions for each group that you want have view gallery.

Well, ther's no place to do that. Also I discovered that in the left menu under configuration, there should link to the gallery settings which is not showing. (It's in the html source, but for some kind of reason it does not show as a link or text.) Another thing is that under Members->Permissions I have a lot of check boxes to the right without any description..

And the last thing: I can access the gallery by typing the url for it in IE7 for all users.

vbgamer45

That's a common issue search for other posts in this topic on 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

johnik

#623
Quote from: vbgamer45 on April 25, 2007, 08:34:04 AM
That's a common issue search for other posts in this topic on that.

Finally understood it. Thanks guys.

rhommel

How can I fix the redirectexit problem with this gallery when using joomla/smf bridge by joomlahacks?

Joomla 1.0.12
SMF 1.1.2
Jommla-SMF Bridge by JoomlaHacks


When trying to add/comment/modify boards or images, it goes to the stand alone forum. the redirect is this

redirectexit('action=gallery;sa=view;id=' . $id);

is there any way to fix this? I really want to purchas the smf gallery pro but this little problem is preventing me from doing so. I wanna use it here

hxxp:www.canonphotographers.net [nonactive]

thank you

mrgray

Hello,

I need to manually remove this mod because the automatic package uninstall doesn't work for me. Can someone tell me how to get this done?

I am using the newest versions of SMF and Tiny Portal.

I am getting a cascade of error messages in the error log section of maintenance.


Thank you!


少林寺

John S

hi, im using gallerylite - is there a way i can:

1/ create a personal gallery for each profile, or

2/ display the latest 5 images of a user in their profile and link that to their 'my images'

please help me do this or provide me with the code necessary, thanks guys

vbgamer45

Those two things are not in the lite edition.
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

mrgray

Hello,

I need to manually remove this mod because the automatic package uninstall doesn't work for me. Can someone tell me how to get this done?

I am using the newest versions of SMF and Tiny Portal.

I am getting a cascade of error messages in the error log section of maintenance.


Thank you!


少林寺

bbulldog

what are the error messages? could it be a language file problem?

mrgray

Hi bbulldog,

QuoteUndefined index: smfgallery_admin
File: /home/html/ufodbase/Sources/Subs.php
Line: 2757

Line 2757:

'gallery_settings' => '<a href="' . $scripturl . '?action=gallery;sa=adminset;sesc=' . $sc . '">' . $txt['smfgallery_admin'] . '</a>',


Thanks 4 your help!


少林寺

bbulldog

#631
If you go into your theme folder and then in the languages folder open this file Modifications.english.php and see the following is in there, if not add it.

// Version: 1.1; Modifications

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

//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


or if you have another language look in that language file.
ie Modifications.german.php

mrgray

Thanks bbulldog,

But I'm trying to get rid of the gallery. I uninstalled so these errors are an aborition I need to remove.

If I were to back up the database, backup my entire FTP, and reinstall everything, would my forum posts still be there? I have about 800 posts I don't want to lose.

Thanks bud!


少林寺

bbulldog

Line 2757 is still a part of the gallery, if you want to delete the gallery then this line must be removed, but be careful if you do it by hand.
It looks to me as if not everything was deleted when you uninstalled it.

mrgray

Thanks bulldog!

I don't know what to do. So If I remove the line cleanly the error should go away? I'm scared to do it because there must be more code to it. Maybe?


少林寺

bbulldog

#635
there probably is more code

these are the files that are changed

ThemseDirectory/language/Modifications.english.php
ThemseDirectory/language/Who.english.php
themedir/index.template.php
source/Subs.php
source/ManagePermissions.php

if you want you can send them to me and i can check them out?

I will send a PM with my work mail addy

TrueSatan

Please use http://modparser.dev.dansoftaustralia.net/ and into it put the mod package file...it will output all the details of the code changes made by this mod and the files affected. Go through those files reversing the changes.

mrgray

#637
ok

Thank you very much!

1:30 am now. I better wait till tomorrow. I will report back then.

THX!!!


少林寺

bbulldog

@TrueSatan thats a cool site thanks

mrgray

Very great website!

I'm in a contest for site of the month so better wait till after. Only a couple days left.

;)


少林寺

Advertisement: