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?
Help to find a good place in notifications to place events for f_brunoais_read_other
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.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.
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.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.
- 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
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
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.
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.
Re: Help to find a good place in notifications to place events for f_brunoais_read_other
As no help was given, I'll throw in the PR anyway with the way I feel like that works best.