marcovo / phpbb_hidebbcode

With the [hide] bbcode, members can hide their message content from people that haven't posted in their topic.
GNU General Public License v2.0
3 stars 12 forks source link

Settings vip members #25

Open Gio165 opened 8 years ago

Gio165 commented 8 years ago

Hello,

How do i set permissions so that vip memebrs dont need to wright on a topic and can start download?

Mvg Gio.

marcovo commented 8 years ago

Hi Gio,

Currently there are no permissions in this extension. You can consider turning off the hiding of attachments entirely, so that everyone can download the attachments. Otherwise, I plan to do some more work on this extension within a few months (after school is finished). Perhaps I might include this then, I'll have to see how much work it is.

Regards, Marco

Gio165 commented 8 years ago

Hi Marco,

Thx for youre response, there is also no way to put in a code by meself where i can set just a few groups to view?

Gr Gio.

marcovo commented 8 years ago

Hi Gio,

I guess that must be possible, but I'm currently not sufficiently into the phpBB project to help you with a solid working example. Perhaps you can ask help at the phpBB community.

I can give you some pointer though, this line is the one that should be edited: https://github.com/marcovo/phpbb_hidebbcode/blob/master/event/listener.php#L564

If that if()-statement evaluates to true the attachments are hidden, so by adding a term && !user_is_in_your_special_group() you should be able to reach your desired functionality.

Regards, Marco

Gio165 commented 8 years ago

Hi Marco,

Thank you i wil see if i can do it :)

Gr Gio.

Gio165 commented 8 years ago

Hi marco could you help me out on it what i need to add because i cant do it or i dont know how, and to bad on the forum i dont get support :(

Gio165 commented 7 years ago

Hi Marco,

is there already anything on the groupmembers ?

Gr Gio.

Galixte commented 7 years ago

Hi @marcovo,

could you take a look, please ?

marcovo commented 7 years ago

Unfortunately I will not be doing any coding on phpBB extensions any more; I do not need them any more and my time is needed elsewhere. Anyone else is free to continue to work if desired; I guess I already mentioned that somewhere else.