inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 5, 2024 10:55:55 GMT -8
Forum URL: (private)
Is there a way to restrict the use of fonts and size, in posts (to the default settings)?
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Oct 5, 2024 18:24:57 GMT -8
1b5085 - To the best of knowledge there isn't a magic button setting (but it's a low caffeine day so maybe I'm missing the obvious ) AFAIK adding this to the bottom of your CSS should do what you want. You will need to define what you want for each of the attributes – which should be the same for all .posts... code below: /*restrict all posts to the same font styling*/ .posts .post .message > font{ font-size:14pt!important; font-family: 'comic sans ms'!important; font-weight: normal!important; } .posts .post .message { font-size:14pt!important; color: black!important; font-family: 'comic sans ms'!important; font-weight: normal!important; text-decoration: none!important; } .posts .post .message > font, b { font-size:14pt!important; color: black!important; font-family: 'comic sans ms'!important; font-weight: normal!important; text-decoration: none!important; } .posts .post .message > font, s { font-size:14pt!important; color: black!important; font-family: 'comic sans ms'!important; font-weight: normal!important; text-decoration: none!important; } .posts .post .message > font, u { font-size:14pt!important; color: black!important; font-family: 'comic sans ms'!important; font-weight: normal!important; text-decoration: none!important; } Change the values to what you want, give this a try, and let me know how it goes. Note this doesn't affect PMs.
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 6, 2024 0:27:31 GMT -8
Thanks! On my way to the CSS, will report back. Edit: looking good! Is there a way to disable super/ sub script as well? Would even be better if editor actions/privileges could be role/rank/group based. Scott
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Oct 6, 2024 20:11:55 GMT -8
1b5085 - Based on your other thread: Disable embed and get rid of various buttons in editor I want to offer a different approach on this (that solves the issue in your other thread as well). - Remove the code I gave you above.
- Install the plugin Quick Reply BBCode Buttons
- After installed, go to the plugins settings (Admin > Plugins > Manage, click on Quick Reply BBCode Buttons, then on the Fire tab.
- Tick the box for each item you do not want to have shown in the post editor.
- Make sure at the very bottom of the list tick the boxes for Preview Tab and BBCode Tab.
- Save Changes.
- Then click on Mange (at the top) which takes you back to your plugin list.
- Next to the item Quick Reply BBCode Buttons, click on the Edit button.
- Leave the "who can view the plugin" as Everyone.
- For the "Except members in the groups" click on Add Group and tick the box for Administrator. (click Done, then Done to save choices.)
What this does is remove the editor buttons that you've ticked from the create a thread/reply post editors for all members except you (and anyone else in the Administrator member group). Granted, if a member is familiar with BBCode they could manually style their posts. However without the buttons they may not even realize styling is possible. Plus if you have a rules section you could maybe add something like: "To ensure consistency and readability for everyone, we kindly ask that you refrain from adding any stylizations to your posts. Thank you for your understanding!"Let me know if this alternate approach might work for you.
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 7, 2024 0:05:27 GMT -8
What a beautiful plugin: easy and effective. Thanks also for the step by step installation guide. That was very helpful to me.
Still would like to disable BBCode for at least smileys, font and size. Going to try to add back in the smiley nuclear option and the code you gave above which I both removed before installing the plugin.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Oct 7, 2024 21:46:36 GMT -8
Give the following plugin a spin. This plugin prevents a guest from using any BBCode you've designated in the plugin settings. - Each BBCode can also be set not to work for specific members.
- In desktop mode, the plugin will prevent publishing the post until the restricted BBCodes are removed.
- Plugins and other codes do not work in mobile mode.
- The plugin retroactively removes tags in posts created before it was installed or while it was not monitoring posting activity.
Forum URL: anyportinastorm.proboards.com/Apologies for asking something so basic, but I cannot find a plugin that was in the plugin library. After trying different filters to search and scrolling through many pages I have to ask how to find the plugin that prevents guests from posting images. Thanks in advance. Please let me know if you encounter any issues so the plugin can be improved. History:v0.1.1 - Removed assignment by group selector because cannot determine non-primary group on post list pages Guest BBCode.pbpv0.0.4v0.0.4 - added a dropdown of commonly used BBCodes for easier selection Guest BBCode.pbpv0.0.3v0.0.3 - members who are on restricted tag usage will see their own BBCode tags when viewing their own posts but other members will not. Everybody will see evidence that tags were retroactively removed from guest posts Guest BBCode.pbpv0.0.2v0.0.2 - Added logic to retroactively remove restricted tags
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 8, 2024 3:00:51 GMT -8
Thanks Chris, will look into this plugin as well. Not sure yet how to use it. How to add member groups? Would be nice if selecting targeted groups, besides individual members, worked like creating/editing the Category Properties. It's not immediately clear to me what checking a box does: excluding guests from use or excluding them from restriction to use? Would have to test it. Perhaps a button to Reset default settings might make it fool proof, since I almost started deleting the Specials, not knowing how to add these back after Saving and later realizing they are not in the list above. Sincerely, the monkey
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Oct 9, 2024 22:53:21 GMT -8
Thanks Chris will look into this plugin as well. Not sure yet how to use it. How to add member groups? Would be nice if selecting targeted groups, besides individual members, worked like creating/editing the Category Properties. It's not immediately clear to me what checking a box does: excluding guests from use or excluding them from restriction to use? Would have to test it. Perhaps a button to Reset default settings might make it fool proof, since I almost started deleting the Specials, not knowing how to add these back after Saving and later realizing they are not in the list above. Sincerely, the monkey I had to remove assignments via member groups in the last iteration since only the primary (group chosen in profile setting) is represented on the pages where such decisions must be made. It's a technical issue on the front end, but you could probably use the trick Scott showed you with plugin permissions to target via groups since the back end has no such limitations. The plugin was initially created to target guest posts. Later, the ability to target members and groups was added, so the exclude guests option is used if you want the plugin to deny BBCode usage only for those members but still have those BBCodes usable by guests. Think of it as a covert quasi-moderation tool for an unruly member abusing a specific BBCode after repeated warnings. No author-generated codes are allowed to run when configuring the plugin in the admin panel, so Proboards would have to add the reset button to return to default values. If you need to return to the plugin's default/factory settings, you should uninstall and then reinstall the plugin.
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 10, 2024 3:04:33 GMT -8
Thanks! I really appreciate the way pb staff and helpers respond to questions.
|
|