Pages (3): 1 2 3   
Member
Member
Eddie   16-12-2017, 23:08
#1

So close to what I want to achieve... :-)
I currently have family groups that mandate when someone can see an album. The albums are unpublished and the users do not have editing rights. This way family members only see the album of their family. When it comes to news I saw you can do the same thing with categories. But I cannot seem to get the users to only have read only rights for news. They have full editing rights for news. Is there a way or small tweak I can do to prevent the user to see the whole editing field in the admin menu? As always, thank you so much for your great support!

Administrator
Administrator
acrylian   16-12-2017, 23:31
#2

You can assign manage rights to categories which is then inherited by articles assigned with those categories itself. "Manage all" should be off. This applies to the backend as all "manage" rights do.

Member
Member
Eddie   16-12-2017, 23:54
#3

You are right. The users can only see the news that they have an assigned category for. That works like a charm. However, in the drop down menu of the admin panel they can still see all news items and delete news items. I would like my users to not be able to edit but only view what they are assigned to, so this list would be empty if that user is not assigned to that category.
I have done this in the albums via view unpublished items and that works amazing. "Managed news categories" in the group setting does not have the same option where you can untick the box edit, like it has in managed albums. Is there a trick for this? Or code I can tweak?

Administrator
Administrator
acrylian   17-12-2017, 10:48
#4

I think you again confuse manage rights (backend only) with view rights (front end primarily).

A user that has neither news: access all and news: manage all rights and has a specific category assigned will only see and be able to edit articles of this category on the backend. This also applies to articles without any category assigned.

Administrator
Administrator
acrylian   17-12-2017, 11:29
#5

Additionally an article or page can be locked for changes so only the author itself or an admin rights user can edit it.

However as we just discovered this was not working correctly (for apparently ages and no one noticed…). This is just fixed in the support build.

Member
Member
Eddie   17-12-2017, 12:13
#6

Wow. I am actually helping you guys out? miley: What is the quickest way to fix this myself? Can I already update this support built? Other question. How can I have a default view in my news.php based on the category of a article assignment? Now it shows all news articles and based on a url you can click category filter. I'd only like to show the assigned category news.. You guys rock if you can help me with this. Then I am done! (I hope..)

Administrator
Administrator
acrylian   17-12-2017, 12:20
#7

You can update as to any normal release but it is not a finished release yet. It is meant to be within the next week though. Currently working on some minor things.

You mean the categories assigned to the user currently loggedin? Then you would have to try to work with unpublished categories as on albums.

Member
Member
Eddie   17-12-2017, 12:27
#8

I have assigned user groups to news article categories. If I go to my news.php page, it shows all news content from all categories by default. I'd like to only show the news from the category that the user from the user group is assigned to.
This must be a small tweak in the news.php file, I just don't know which one. Theme ZPArdoise

Member
Member
Eddie   17-12-2017, 12:32
#9

For albums it works great with unpublished content and user groups. But for news I am still struggling

Administrator
Administrator
acrylian   17-12-2017, 12:51
#10

No, you cannot just tweet news.php as you have to consider pagination and such. That would disturb anything.

The only way to hide items is unpublishing them. Be sure that the users/groups don't have "access all" or "view all" rights.

Member
Member
Eddie   17-12-2017, 13:13
#11

What if I create a small news content item list in the gallery.php page, can I then display filtered somehow on category on user rights?

Administrator
Administrator
acrylian   17-12-2017, 13:58
#12

You can also do this on news.php itself but it will not change any other behaviour else where. For example RSS will still include everything.

Administrator
Administrator
acrylian   17-12-2017, 14:18
#13

Just tried. Seems that on news and pages the default behaviour that users with manage rights to unpublished items see those on the front end if logged in is not working as expected. I will look into this as soon as I can.

Member
Member
Eddie   17-12-2017, 14:22
#14

Honestly, I am still a bit lost how I can display news content only per user group category. By unpublishing the categories or articles my users don't see anything.

Do I need to do that support update first? How do I do that? Is there a certain file I have to replace? Sorry for bugging you with this, I am soo close.. You would make my day if you could help me with this!

Administrator
Administrator
acrylian   17-12-2017, 15:16
#15

As said above the behaviour you get with albums does not work with news/categories currently. I will look into that.

The suppport build is updated like a normal release. You never replace just one or a few files. See the installation info page.

Member
Member
Eddie   17-12-2017, 16:18
#16

Thanks!!

Member
Member
Eddie   18-12-2017, 10:19
#17

Thanks so much! This would really help me! Will you give me a heads up when this category behavior works?

Administrator
Administrator
acrylian   19-12-2017, 11:41
#18

Please try the support build. Now a loggedin user should only see those unpublished articles/categories he has rights to. Plus all generally published.

Member
Member
Eddie   19-12-2017, 12:01
#19

You rock! Is that the support build link on the download section of this website?

Administrator
Administrator
acrylian   19-12-2017, 12:22
#20

Thanks, we sometimes fast and sometimes slower ;-)

Yes, that link it is.

Pages (3): 1 2 3   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.