we_universal

Small bug extension cannedmessages - we_universal

Small bug extension cannedmessages

by pierre26 » Tue Dec 10, 2019 9:01 am

Hello,

small bug in the moderation panel with the extension "Canned Messages".
https://github.com/phpbb-extensions/cannedmessages
It lacks the ability to edit and delete.
phpbb Version3.2.8
cordially

With universal :

Image

With prosilver

Image
pierre26
Registered User
Posts: 43
Joined: Thu May 19, 2016 2:43 pm

Re: Small bug extension cannedmessages

by v12mike » Thu Dec 12, 2019 4:26 pm

I will look at that as soon as the new motherboard for my dev PC arrives...
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: Small bug extension cannedmessages

by pierre26 » Mon Dec 13, 2021 3:17 pm

Hello,

the problem is still present in version 2.65.- phpbb 3.35
thanks in advance

With universal
we-universal.png
With prosilver
prosilver.png
pierre26
Registered User
Posts: 43
Joined: Thu May 19, 2016 2:43 pm

Re: Small bug extension cannedmessages

by v12mike » Wed Apr 27, 2022 12:45 pm

It is difficult to fix this problem in the we_universal css because the extension reuses existing elements and then applies its own formatting to them.

It can however be fixed by adding a new css file for the extension: Create a new we-universal diriectory under ext/phpbb/cannedmessages/style/ and create a file cannedmessages.css containing

Code: Select all

.quick {
	float: right;
}

.message-list-actions {
	float: right !important;
	padding: 2px 4px !important;
}

.parent-list {
	margin-bottom: 10px !important;
}

.parent-list a {
	font-weight: bold;
}

#colour_palette dt {
	display: none;
}

#color_palette_placeholder {
	margin-left: auto;
}

#format-buttons {
	margin-top: 0;
}

#cannedmessage_preview dd {
	float: left;
	width: 100%;
	margin-left: 0;
}

ul li:first-child dd.message-list-actions .up,
ul li:last-child dd.message-list-actions .down {
	display: none;
}

ul li:first-child dd.message-list-actions .up-disabled,
ul li:last-child dd.message-list-actions .down-disabled {
	display: inline !important;
}

.mcp-icon {
	font-size: 1rem;
}

.mcp-icon-move {
	color: #4ba5de;
}

.mcp-icon-settings {
	color: #62c046;
}

.mcp-icon-delete {
	color: #d74558;
}

.mcp-icon-disabled {
	color: #d0d0d0;
}

ul.topiclist dt{
    float: left;
}
Then purge the phpBB cache in the ACP.

Let me know if that works for you.
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: Small bug extension cannedmessages

by pierre26 » Mon Dec 04, 2023 1:37 pm

Good morning,

sorry I didn't see the answer.
The patch didn't change anything.
Sincerely
pierre26
Registered User
Posts: 43
Joined: Thu May 19, 2016 2:43 pm

Re: Small bug extension cannedmessages

by cabot » Tue Dec 05, 2023 12:17 pm

Hello,

Unzip this archive and upload the folder it contains to the styles/ directory of the extension.

phpbb_cannedmessages_we_universal.zip
(640 Bytes) Downloaded 120 times
User avatar
cabot
Registered User
Posts: 733
Joined: Sat Jan 07, 2012 4:16 pm

Re: Small bug extension cannedmessages

by pierre26 » Tue Dec 05, 2023 1:57 pm

Good morning

it works perfectly. A big thank-you @cabot.
Sincerely
pierre26
Registered User
Posts: 43
Joined: Thu May 19, 2016 2:43 pm