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: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 189
Total: 189

Author Topic: Allowing members all to post in a gallery  (Read 17289 times)

0 Members and 1 Guest are viewing this topic.

Offline 1stAngel

  • Member
  • *
  • Posts: 28
  • Founder 1stAngel Arts Magazine & Galileo Was Right
    • View Profile
    • 1stAngel Arts Magazine
Allowing members all to post in a gallery
« on: January 04, 2012, 07:19:00 pm »
Hello :)

I have a major issue and am hoping you could help. 

I have a 'challenge photo' gallery for the members and nobody can actually put photos in it, even though I set up all the permissions saying they could.  In fact, they cannot post in any gallery I have give them permission to use.

I have set the member permissions for who can use the gallery and they are using personal galleries fine.  But I have to have them actually posting in the challenge and contest galleries also. 

Beth

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Allowing members all to post in a gallery
« Reply #1 on: January 04, 2012, 07:27:08 pm »
Do they have the global Add Picture permission? That controls main category permissions.

Also do you have any membergroup level permissions setup on the category to deny?
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 1stAngel

  • Member
  • *
  • Posts: 28
  • Founder 1stAngel Arts Magazine & Galileo Was Right
    • View Profile
    • 1stAngel Arts Magazine
Re: Allowing members all to post in a gallery
« Reply #2 on: January 04, 2012, 07:57:48 pm »
I have a few added membergroups and all but guests are allowed (or should be) to add images to the challenge gallery.

They also have Member > Permissions ability to add photos to galleries

In another gallery (Contests) they are adding fine.

The only difference is, the one they cannot add to is in a sub-category.  The top level I dont want them to add to as it is a the 'holder' for the weekly challenges

However, there are other top level galleries they cannot add to either
« Last Edit: January 04, 2012, 08:00:17 pm by 1stAngel »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Allowing members all to post in a gallery
« Reply #3 on: January 04, 2012, 08:06:11 pm »
What error message are they getting? Or can you login as a normal user and post back the message they are getting

So it appears that some categories are working but others are not.
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 1stAngel

  • Member
  • *
  • Posts: 28
  • Founder 1stAngel Arts Magazine & Galileo Was Right
    • View Profile
    • 1stAngel Arts Magazine
Re: Allowing members all to post in a gallery
« Reply #4 on: January 04, 2012, 08:19:00 pm »
This is what one lady says....

Beth, I found the Photo challenge album, I click 'add picture', but the option to put it in the photo challenge album is not there in "category". If I don't click a category, it won't let me upload. From the little that I know about web development, it seems that when I click 'add picture' I am taken back to the main gallery instead of to the Photo Challenge album.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Allowing members all to post in a gallery
« Reply #5 on: January 04, 2012, 08:39:43 pm »
Is it possible to set me up with an account via a pm?
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 1stAngel

  • Member
  • *
  • Posts: 28
  • Founder 1stAngel Arts Magazine & Galileo Was Right
    • View Profile
    • 1stAngel Arts Magazine
Re: Allowing members all to post in a gallery
« Reply #6 on: January 04, 2012, 08:44:18 pm »
Yes of course.  Do you want me to set you one up now?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Allowing members all to post in a gallery
« Reply #7 on: January 04, 2012, 08:46:08 pm »
Yes if possible. I want to first me the same membergroup as the user with the issue.
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: Allowing members all to post in a gallery
« Reply #8 on: January 04, 2012, 09:00:16 pm »
Got the pm. 
Was looking at the code here are the conditions that a category will not appear in the add picture list.

If there is no (deny) view permission for the category on membergroup level
If there is no (deny) add picture permission for the category on the membergroup level
If the gallery is locked "Lock Category from uploads"  under edit category.

I am thinking it is third check that category under edit category and see if that option is checked.
« Last Edit: January 04, 2012, 09:01:56 pm by SMFHacks »
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 1stAngel

  • Member
  • *
  • Posts: 28
  • Founder 1stAngel Arts Magazine & Galileo Was Right
    • View Profile
    • 1stAngel Arts Magazine
Re: Allowing members all to post in a gallery
« Reply #9 on: January 04, 2012, 09:03:06 pm »
The outer category is no uploads

The sub category Food Challenge, is uploads allowed.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Allowing members all to post in a gallery
« Reply #10 on: January 04, 2012, 09:06:20 pm »
Hmm are any of them "Lock Category from uploads"?

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 1stAngel

  • Member
  • *
  • Posts: 28
  • Founder 1stAngel Arts Magazine & Galileo Was Right
    • View Profile
    • 1stAngel Arts Magazine
Re: Allowing members all to post in a gallery
« Reply #11 on: January 04, 2012, 09:08:15 pm »
Only Andee's Photo Challenge.

However I understand from them they cannot upload to any of the others I set up for them.

I broke the gallery didnt I LOL

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Allowing members all to post in a gallery
« Reply #12 on: January 04, 2012, 09:15:17 pm »
I see why    Andee's Photo Challenges is the top level gallery
And then food challege is underneath but since the top level category is locked it can't be shown on the add picture page under category select. Which then hides the Food Challenge category since that is under the top level galley that is locked.

Now we can appear. By removing these lines in sources/gallery2.php

Code: [Select]
// Skip category if it is locked
if ($g_manage == false && $row['locked'] == 1)
continue;

Only issue then is  ifthey select a category that is locked will throw an error saying they don't have permission to upload to it.
« Last Edit: January 04, 2012, 09:17:47 pm by SMFHacks »
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 1stAngel

  • Member
  • *
  • Posts: 28
  • Founder 1stAngel Arts Magazine & Galileo Was Right
    • View Profile
    • 1stAngel Arts Magazine
Re: Allowing members all to post in a gallery
« Reply #13 on: January 04, 2012, 09:23:32 pm »
ooops  I got


Parse error: syntax error, unexpected T_STRING in /home/****/public_html/community/Sources/Gallery2.php on line 9567

Offline 1stAngel

  • Member
  • *
  • Posts: 28
  • Founder 1stAngel Arts Magazine & Galileo Was Right
    • View Profile
    • 1stAngel Arts Magazine
Re: Allowing members all to post in a gallery
« Reply #14 on: January 04, 2012, 09:25:49 pm »
I put it back and reuploded and now have no gallery.  Cannot get rid of that error

 

Related Topics

  Subject / Started by Replies Last post
13 Replies
12160 Views
Last post July 15, 2007, 04:09:24 pm
by dano1
2 Replies
6906 Views
Last post July 01, 2008, 07:26:28 pm
by rgsknr
1 Replies
4819 Views
Last post June 19, 2011, 07:04:57 pm
by SMFHacks
2 Replies
3503 Views
Last post January 31, 2012, 07:20:52 pm
by NCSurfer
5 Replies
6938 Views
Last post August 01, 2012, 04:24:33 pm
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