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,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 19, 2022 23:12:39 GMT -8
Hi - I was wondering if anyone found a solution for the overriding plugin problem? I currently use both Named Colors and Color Palette on one forum that I created a ways back without any problems, but on a new forum I created I can't seem to have both at the same time. Named Colors keeps overriding this one. In the named colors plugin you have the option to keep the original color picker ...
|
|
inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on Jan 20, 2022 14:29:03 GMT -8
Hi - I was wondering if anyone found a solution for the overriding plugin problem? I currently use both Named Colors and Color Palette on one forum that I created a ways back without any problems, but on a new forum I created I can't seem to have both at the same time. Named Colors keeps overriding this one. In the named colors plugin you have the option to keep the original color picker ... THANK YOU!!!
|
|
inherit
vicecsr@protonmail.com
269018
0
Jan 26, 2024 20:16:21 GMT -8
ViceCSR
221
January 2024
vicestg
|
Post by ViceCSR on Jan 21, 2024 18:28:07 GMT -8
Hello Todge! It is possible for you to make a tweaked version that would allow you to add colors into the plugin from the admin panel for all users to use? Something like this:
|
|
inherit
206056
0
Oct 22, 2024 12:06:59 GMT -8
adminabp
378
February 2014
adminabp
|
Post by adminabp on Jan 23, 2024 5:37:00 GMT -8
Hello Todge ! It is possible for you to make a tweaked version that would allow you to add colors into the plugin from the admin panel for all users to use? Something like this: I see there is another color picker plugin, Named Colors, that I was not aware of when I directed you here. It allows you to add colors from the admin panel and may be more to your liking. You should be able to use that plugin and this one together if you want.
|
|
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,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Feb 4, 2024 0:48:10 GMT -8
<script>( ()=>{ /* Prepend static "forum colors" to user's color choices in the Color Palette plugin (INSTALL: Global Header) */ /* NOTES: - Added forum colors takes precedence and will be PREPENDED to existing user colors - Total number of allowed colors limited by combination of forum colors and user colors since the max placed on colors by the plugin is 18 for the base plugin */ const forumColors = [ '1979e6', //example forum color 1 'c519e6', //example forum color 2 'c0c0c0', //example forum color 3 'fefefe', //example forum color 4 '000000', //example forum color 5 'ffffff' //example forum color 6 ] let todgeyskey1 = proboards.plugin.keys.data['todgeyskey1']; if(todgeyskey1){ let userKey = todgeyskey1[pb.data('user').id] || {colors:[]}; userKey.colors.unshift.apply(userKey.colors,forumColors); todgeyskey1[pb.data('user').id] = userKey } })(); </script>
|
|