Help to find a good place in notifications to place events for f_brunoais_read_other

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.2.x. If you need support for phpBB 3.2.x please visit the 3.2.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Help to find a good place in notifications to place events for f_brunoais_read_other

Post by brunoais »

As part of the events for f_brunoais_read_other, I have to add events in the notifications such that I can apply that permission.

As requirements for the permission, If the user has f_read on the forum, he may not have f_brunoais_read_other. Not having f_brunoais_read_other, means that the user may only read and know that they exist for the topics he started himself.

So, in order to make such evaluation, it needs to calculate f_brunoais_read_other on the forum in question and, if some do not pass the permission, it needs to know if that some is the one that started the topic.

Any clues?

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: Help to find a good place in notifications to place events for f_brunoais_read_other

Post by Pony99CA »

I guess I'm confused here. Why would I need a notification other than the standard ones? If somebody quotes or replies to me, they obviously were not restricted from seeing my topic. What am I missing?

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Re: Help to find a good place in notifications to place events for f_brunoais_read_other

Post by brunoais »

As no help was given, I'll throw in the PR anyway with the way I feel like that works best.

Post Reply