1

Тема: Flag a forum as public or private

Hello !

Is there a way to know if the forum where I am posting or that am reading is fully public or reserved to a few people ?
If I know that the forum is private, I can make some jokes,because I am among friends. If I know that the forum is public, I will try to look kind and serious.

Is it possible to put some color for instance in the message title or in the maybe in the side-bar : div.post-author could have a different background color if the message that I am writing is meant to be seen by such group only or if it will be public. This could mean assessing a colour for each group and marking each forum or each message with this colour.

Do you see what I mean ?

Thank you in advance.

2

Re: Flag a forum as public or private

Ок.  Default/bf
I propose to act differently so that the topic title is red if the topic is public. Green color if the topic is closed to view by strangers.

Email: punbb.info@gmail.com

3 (изменено: MaraKat, 2017.03.29 08:31)

Re: Flag a forum as public or private

First of all, I am sorry for your poor computer who must have been such a faithfull companion all these years. We will all miss it too, since it took part in every line of the pretty code you gave away.  Default/ak

Now about the private marking feature. Of course, I need to see it in action to evaluate style and practicality.

On my main forum, I am using the Header in each Message extension, and coloring the general title of the thread will not be enough : the marking should be too in the message individual title if filled in. Same comment for your wonderful widgets, the list ones  that are in use on my forum.

An extra requirement would be for the webmaster to be able to choose the colors in administration or provide a css file to select the style.

Many thanks for taking my request in consideration

4

Re: Flag a forum as public or private

You wanted something like Color User Groups?
Only that the color changes depending on whether the section is private?

Email: punbb.info@gmail.com

5

Re: Flag a forum as public or private

I haven't tried the colored group extension, so I cannot tell, really. But it seems that this is the idea. The color would be on the title of the topic. Or best : the title of the message if available.

6

Re: Flag a forum as public or private

MaraKat сказал:

The color would be on the title of the topic.

I talked about this. If it is combined with your idea. But just that instead of nicks the color of the topic name would change.

This Colored Usergroups - цветные ники групп

Email: punbb.info@gmail.com

7

Re: Flag a forum as public or private

I think that your proposition will do the job. Waiting for it. Thanks.

(I tried to install Colored group extension, just to have a look at the result. But the pack linked at the beginning of  your post https://punbb.info/t-579.html cannot be installed, because manifest.xlm is missing)

Added: 2017.04.17 16:21

Hello ! Did you have time to think about coloring topics according to private or public ? Is it really possible ?
Thanks in advance.

8

Re: Flag a forum as public or private

MaraKat сказал:

Did you have time to think about coloring topics according to private or public ? Is it really possible ?

MaraKat, could you draw what it should look like? And in what part of the page?

Добавлено: 2017.04.19 00:29

look this extension
ссылка

Show Title Message Gree Or Red color, if a forum closed for guests.

Email: punbb.info@gmail.com

9

Re: Flag a forum as public or private

(Note : I cannot open the link at the bottom of your last message)

Below are only examples.

In message

Flag a forum as public or private

In topic list, the color of the button in left column is designed in the css file.

Flag a forum as public or private

In widget for last message

Flag a forum as public or private

10

Re: Flag a forum as public or private

MaraKat, In red are the topics in which guests are allowed to read the messages? And those themes that are inaccessible to them for viewing are highlighted in green?

Email: punbb.info@gmail.com

11

Re: Flag a forum as public or private

Yes : red is for warning members (or authorized persons) that these messages are public and can be read by guests.

12

Re: Flag a forum as public or private

We do not yet have hooks in our extensions, to which we could connect. Over time, it will appear.

Please expect execution.

Email: punbb.info@gmail.com

13 (изменено: PunBB, 2017.05.01 11:50)

Re: Flag a forum as public or private

Hello !
Only 3 forums are private on my site : N° 23, 34, 36. So I tried something with css about these 3 forums. Of course, I was not able to style anything in the widget box. Now that I have found the correct selectors, I could try something else, like an arrow before ...

Here is my code :

div#forum36 div.item-subject h3.hn a, div#forum34 div.item-subject h3.hn a, div#forum23 div.item-subject h3.hn a, div#forum34 .post-ident, div#forum36 .post-ident, div#forum23 .post-ident {text-shadow:5px 0px 8px rgb(255, 0, 0);font-variant:small-caps;}

Here is the look (for those who are not authorized)


Flag a forum as public or private


What do you think about it ?

14

Re: Flag a forum as public or private

Done!
Flag a forum as public or private
look this extension
ссылка


Do not delete my copyright if you want to receive support.

Email: punbb.info@gmail.com

1

15

Re: Flag a forum as public or private

Hello thanks !
I installed the extension. I interchanged the colors.
It t is OK on home page, but not on other pages (viewforum and viewtopic), as in my css trick. I cannot understand why.

It is a good idea to be able to display at last your copyright on our sites. Actually, half the code I use comes from PunBB.info now. You should implement the coyright logo in your other extensions as well. I did not find the type of  license for your extension. Not that I intend to propose them for download, I did it only for my translation files. Is it the same as for PunBB core ? I do not know whether I am authorized to modify the code. It is true that mentionning a free licence involves formalities that are nuisances to coders.

16 (изменено: PunBB, 2017.04.23 09:55)

Re: Flag a forum as public or private

MaraKat сказал:

I interchanged the colors.

Change the colors in the extension.


Flag a forum as public or private

MaraKat сказал:

Is it the same as for PunBB core ?

You use all of our extensions for free, but you do not have to remove copyrights to extensions. Otherwise, I will be forced to deprive you of support.

Добавлено: 2017.04.23 11:06

Статус: Выполнено

Продолжение дискуссий в теме релиза Access Indicator - Индикатор прав доступа для чтения

Email: punbb.info@gmail.com