HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Permission explanation in Personal zone

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#27071 (In Topic #6247)
Avatar

Community saint

In Personal Zone -> Personal Forum -> Personal topics … I can't seem to be able to set the permissions in the global permissions to show the icon ADD TOPIC for various members. Is there a permission setting or is this icon set to display from elsewhere?

 All I get is "Mark Read" and "Search".

The Admin account gets the icon "Add Topic" without a problem

Any thoughts?

Back to the top
 
Posted
Rating:
#27078
Avatar

Change line 513 of sources/ocf_forumview.php from:

Code

if (has_specific_permission($member_id,'moderate_personal_topic'))  $out['may_post_topic']=1;
to just:

Code

$out['may_post_topic']=1;

I think this extra bit of code probably had a purpose once, but all it's doing now is blocking what you want for non-staff. Our next patch release will also have this change.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#27095
Avatar

Community saint

:P Thanks Chris that worked puuuuurrrrfectly
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: