Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 193
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 200
Total: 200

Author Topic: Changing from Gallery Lite to Gallery Pro  (Read 9106 times)

0 Members and 1 Guest are viewing this topic.

Offline djmac

  • Member
  • *
  • Posts: 8
    • View Profile
Changing from Gallery Lite to Gallery Pro
« on: December 03, 2007, 12:58:33 pm »
Forgive me for asking question that I am sure have been asked before. And I have many.
I was using Gallery Lite and I liked it, so I purchased the Pro edition on Dec 2nd 2007.
History: While the Lite was still installed I installed the pro edition. There were problems. I uninstalled Lite and pro and then reinstalled pro. I then noticed that there were no permissions and no gallery button. So I ran the pro through your PARSE program and edited the suggested files. I also found many dupilicate entries in some of the files. I removed them. Things got better but not right, so I went back to Lite. Here are some of the issues I am running into:

1. two gallery buttons.
2. Not all permission options are showing. All the check boxes are there but not the option itself.
3. Many duplicate entries in .php files

Side note:
How can I get this mod installed for me. Keep in mind that this site http://www.homeofgardeners.net belongs to my WIFE. All good men come to the aide of their fellow man......PLEASE!

I do have experience with php and I run my own website http://www.wildfleckenveterans.com -- The Pro mod I am sure once it is set up correctly will be fantastic. But this time I need help. I hope I made sense here.

Best Regards
Don McLaughlin

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Changing from Gallery Lite to Gallery Pro
« Reply #1 on: December 03, 2007, 11:02:19 pm »
Normally the lite edition is uninstalled first then the pro edition is installed next.

In case 1 would require editing of themes/default/index.template.php to remove the duplicated menu item.

#2 Sounds like some missing text strings that are supposed to be in themes/default/languages/modifications.english.php
If you are using a custom language such as english utf8 then the gallery text strings will need to be copied to each custom language file as well.


#3 The only files that really matter with duplicate code are themes/default/index.template.php for the menu button.

And Sources/ManagePermissions.php for holding the permissions of the gallery

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline djmac

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Changing from Gallery Lite to Gallery Pro
« Reply #2 on: December 04, 2007, 10:25:09 am »
Okay... I have restored a backup from a week ago. Lite was not installed. I installed the PRO edition. I removed all dups from the index.template.php and check all files suggested in the PARSE Program. I am using SMF Default Theme. Now this is what I have as a result.

1. In admin panel there is no menu selection on left side for gallery configuration.
2. In permission table I only have the check boxes showing.
3. There is no button showing on navigation bar. However there is a space for it.


You mentioned about the useage of English utf8 files. I did a test and commented those files and half of the text vanished. It is plainfully obvious that is what I am using. I must have selected that when I installed the SMF forum.


Questions
How do I revert to standard English.php files?
What files should I be looking at to edit?

I am very grateful for your support.

Best Regards
Don McLaughlin


Offline djmac

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Changing from Gallery Lite to Gallery Pro
« Reply #3 on: December 04, 2007, 11:40:37 am »
I took a look in the settings file and changed the default langauge to English and now I see every thing the way it should be from an admins perspective.
However I do not see the GALLERY button in the upper navigation bar from a members point of view.

I checked all the permissions and setups and I think I have this 90% licked. What should I do next.


Best Regards
Don McLaughlin

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Changing from Gallery Lite to Gallery Pro
« Reply #4 on: December 04, 2007, 09:20:57 pm »
Did you install the Gallery Manually?
If so check that this line is present in
Sources/Subs.php
Find
Code: [Select]
$context['allow_calendar'] = allowedTo('calendar_view') && !empty($modSettings['cal_enabled']);
After it add
Code: [Select]
$context['allow_smfgallery_view'] = allowedTo('smfgallery_view');


Also check that every group that needs to view the gallery has permission to do so under Admin -> Permissions then click modify group for each group and give them the view gallery permission and other permissions that the membergroup should have.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline djmac

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Changing from Gallery Lite to Gallery Pro
« Reply #5 on: December 04, 2007, 10:00:26 pm »
I installed the mod as a download package and applied.

The code for the SUBS.PHP is as quoted.

And I have given all the permissions available in the MODIFY area under the Gallery Option.

What else coould it be? I am so close. :(

ps, You are more than welcome to look at it.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Changing from Gallery Lite to Gallery Pro
« Reply #6 on: December 04, 2007, 10:06:24 pm »
Yeah send me a pm with an admin account and an ftp account.

If you are using a custom theme the gallery button might need to be fixed.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Changing from Gallery Lite to Gallery Pro
« Reply #7 on: December 04, 2007, 11:05:50 pm »
Fixed it I think. I gave guests permission to view the gallery and registered a test member and was able to see the gallery link.


I removed the permssion for Admin Gallery for regular members this should only really be given to admin's on the forum
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline djmac

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Changing from Gallery Lite to Gallery Pro
« Reply #8 on: December 04, 2007, 11:56:59 pm »
Okay.... We are getting somewhere. I went through all possibilities and discovered that as a member I can add a gallery category, upload a photo and have the admin approve it, but I can't see it as a member once it is added. The only way I can see galleries is if the admin adds the category for me. Does that sound right? I was hoping that all members will be able to view other members galleries.

Best Regards
Don

Added notes:
I think I see the way it is working. A member selects gallery, he sees only photos submitted by admin. He then selects My Gallery, scrolls down to View Users Gallery he then sees user galleries and now can see all photos.

1. Now most recent photos by members are not shown in Gallery Main Page.
2. Is there an addon help module for members that I can add to help file?
« Last Edit: December 05, 2007, 10:28:26 am by djmac »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Changing from Gallery Lite to Gallery Pro
« Reply #9 on: December 05, 2007, 09:18:44 pm »
As long as this option is checked "Show user gallery category on gallery index" the user galleries will appear on the main gallery page as another category

The gallery has a couple of ways to work. The first way is for the admin to create a categories in the main gallery where users can upload their pictures.

The other way is if users are given the personal gallery permission they can click on the MyGallery link to start their own mini gallery for themselves.

By default the pictures will not show up till the admin approves pictures or if the membergroup has auto approved pictures permission.

Currently there is no help addon for the gallery yet.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline djmac

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Changing from Gallery Lite to Gallery Pro
« Reply #10 on: December 05, 2007, 10:49:46 pm »
As long as this option is checked "Show user gallery category on gallery index" the user galleries will appear on the main gallery page as another category

This option is checked and is doesn't appear to be working the way that you stated. Only the Admin's galleries shows on the Main Gallery page. I check out a site that has gallery installed and it seems to behave the same way mine does. However, what is cunfusing me in the phrase "gallery index" Is that the main gallery page or the page that comes up when "View Users Gallery" is selected? If so I guess all is well.

The gallery has a couple of ways to work. The first way is for the admin to create a categories in the main gallery where users can upload their pictures.

This works fine.

The other way is if users are given the personal gallery permission they can click on the MyGallery link to start their own mini gallery for themselves.

This too works

By default the pictures will not show up till the admin approves pictures or if the membergroup has auto approved pictures permission.

And this also works

Currently there is no help addon for the gallery yet.

I have found the manual-english file that I believe I can edit.


Again I can't thank you enough for your help.

Regards
Don
« Last Edit: December 06, 2007, 11:08:25 am by djmac »

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
7442 Views
Last post April 21, 2008, 10:17:18 pm
by SMFHacks
3 Replies
5233 Views
Last post October 06, 2009, 03:08:29 pm
by william777
5 Replies
4239 Views
Last post January 24, 2010, 04:35:13 pm
by SMFHacks
8 Replies
5303 Views
Last post January 29, 2012, 03:43:22 pm
by statusjpn
33 Replies
6559 Views
Last post October 11, 2021, 08:00:29 am
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal