1

Topic: 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.

3 (edited by MaraKat 2017.03.28 22: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?

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 wrote:

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 - цветные ники групп

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.softplaza.net/t-579.html cannot be installed, because manifest.xlm is missing)

$matches[1]

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 wrote:

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?

$matches[1]

look this extension
ссылка

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

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

https://punbb.softplaza.net/uploads/images/2017/04/19/message-top-color.jpg

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

https://punbb.softplaza.net/uploads/images/2017/04/19/topic-list-color.jpg

In widget for last message

https://punbb.softplaza.net/uploads/images/2017/04/19/widget-last-message.jpg

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?

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.

13 (edited by PunBB 2017.05.01 01: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)


https://punbb.softplaza.net/uploads/images/2017/05/01/ae08a0104e174951b0a4dfbd8ecb7420.png


What do you think about it ?

14

Re: Flag a forum as public or private

Done!
https://punbb.softplaza.net/uploads/images/2017/04/23/screenshot.2017-04-23_01.07.40.png
look this extension
ссылка


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

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 (edited by PunBB 2017.04.22 23:55)

Re: Flag a forum as public or private

MaraKat wrote:

I interchanged the colors.

Change the colors in the extension.


https://punbb.softplaza.net/uploads/images/2017/04/23/screenshot_2017-04-23-09-45-53.png

MaraKat wrote:

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.

$matches[1]

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

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