JVA - MODx commands 1.0.0

Downloads and support of extensions for phpBB 3.3.x.
Notice: Download only V.I.P. and donors groups.
Forum rules
To facilitate the general communication between the members and for the benefit of the community you are asked to write your posts in English. May be you get no answer, if you write in other languages.
  • Sticky - Post
User avatar
KillBill
Site Admin
Site Admin
Posts: 2233
Joined: Sun Oct 12, 2014 7:58 pm
Gender: Male
Arcade super highscore: 14
Arcade highscore: 0

JVA - MODx commands 1.0.0

Post by KillBill »

Extension Name: JVA - MODx commands
Extension Description: MODx BBCodes - Displays MODx commands in a drop downbox.
Extension Version:: 1.0.0
Requirements: phpBB 3.2.8 or later and is lower than phpBB 4.0

Download:
You do not have the required permissions to view the files attached to this post.

User avatar
Solidjeuh
V.I.P.
V.I.P.
Posts: 439
Joined: Wed May 23, 2018 4:33 am
Gender: Male
Location: Aalst, Belgium
Arcade super highscore: 10
Arcade highscore: 0

Re: JVA - MODx commands 1.0.0

Post by Solidjeuh »

Thank you for this! But it does not work when "Posting buttons" is enabled.
--> https://github.com/dmzx/Posting-Buttons

Image

User avatar
KillBill
Site Admin
Site Admin
Posts: 2233
Joined: Sun Oct 12, 2014 7:58 pm
Gender: Male
Arcade super highscore: 14
Arcade highscore: 0

Re: JVA - MODx commands 1.0.0

Post by KillBill »

Thank you for this! But it does not work when "Posting buttons" is enabled.
--> https://github.com/dmzx/Posting-Buttons
And should I fix another user's extension? :roll:

User avatar
KillBill
Site Admin
Site Admin
Posts: 2233
Joined: Sun Oct 12, 2014 7:58 pm
Gender: Male
Arcade super highscore: 14
Arcade highscore: 0

Re: JVA - MODx commands 1.0.0

Post by KillBill »

KillBill wrote:
Sun Jan 05, 2020 8:07 pm
Thank you for this! But it does not work when "Posting buttons" is enabled.
--> https://github.com/dmzx/Posting-Buttons
And should I fix another user's extension? :roll:
I checked this ext.

Contain 4 bugs.

1. Contain more html5 error
2. This extension doubles the bbcodes and does not delete the original html code = javascript error and invalid html5
3. One missing ID = javascript error.
4. If there are no unique bbcodes, will still see an empty list.

This authentication is incorrect! :: https://www.phpbb.com/customise/db/exte ... ng_buttons

I won't fix it, but I'll release a new extension soon.

Edit: In this extension, I only find it meaningful to add custom bbcodes to the drop-down list.
True? :roll:

User avatar
KillBill
Site Admin
Site Admin
Posts: 2233
Joined: Sun Oct 12, 2014 7:58 pm
Gender: Male
Arcade super highscore: 14
Arcade highscore: 0

Re: JVA - MODx commands 1.0.0

Post by KillBill »

I have modified the javascript in the extension to work with the faulty DMZX extension.

User avatar
KillBill
Site Admin
Site Admin
Posts: 2233
Joined: Sun Oct 12, 2014 7:58 pm
Gender: Male
Arcade super highscore: 14
Arcade highscore: 0

Re: JVA - MODx commands 1.0.0

Post by KillBill »

If you want to fix the DMZX extension, you need to do the following:

[ROOT]/dmzx/postingbuttons/styles/all/template/event/

// You need to modify the event invitation so that we can delete the original phpBB Html content.
1. Change the file name posting_editor_buttons_before.html to posting_editor_buttons_after.html

2. Open [ROOT]/dmzx/postingbuttons/styles/all/template/event/posting_editor_buttons_after.html
Find

Code: Select all

<!-- EVENT posting_editor_posting_buttons_before -->
// Fixed - Delete the original phpBB bbcode buttons html section.
Replace with

Code: Select all

<script>
	var fb = document.getElementById("format-buttons");
	fb && fb.parentNode.removeChild(fb);
</script>
Find ALL = total 12

Code: Select all

value=""
// Fixed empty value Html5 error
Replace with

Code: Select all

value=" "
Find

Code: Select all

onclick="change_palette();" id="color_wheel"
// Fixed phpBB javascript error due to missing ID.
Replace with

Code: Select all

onclick="change_palette(); this.value=' '" id="bbpalette"
Find

Code: Select all

		<select name="addbbcode_custom" onchange="bbstyle(this.form.addbbcode_custom.options[this.form.addbbcode_custom.selectedIndex].value*1);this.form.addbbcode_custom.selectedIndex = 0;">
			<option value="#" selected="selected">{L_CUSTOM_BBCODES}</option>

			<!-- BEGIN custom_tags -->
			<option value="{custom_tags.BBCODE_ID}" title="{custom_tags.BBCODE_HELPLINE}">{custom_tags.BBCODE_TAG}</option>
			<!-- END custom_tags -->
	 </select>
// Fixed - If there is no unique bbcodes, the field should not display.
Replace with

Code: Select all

	<!-- IF .custom_tags -->
	<select name="addbbcode_custom" onchange="bbstyle(this.form.addbbcode_custom.options[this.form.addbbcode_custom.selectedIndex].value*1);this.form.addbbcode_custom.selectedIndex = 0;">
		<option value="#" selected="selected">{L_CUSTOM_BBCODES}</option>

		<!-- BEGIN custom_tags -->
			<option value="{custom_tags.BBCODE_ID}" title="{custom_tags.BBCODE_HELPLINE}">{custom_tags.BBCODE_TAG}</option>
		<!-- END custom_tags -->
	</select>
	<!-- ENDIF -->
3. Open [ROOT]/dmzx/postingbuttons/styles/all/template/event/overall_header_head_append.html
Find

Code: Select all

<!-- INCLUDECSS @dmzx_postingbuttons/postingbuttons.css -->
// Avoid constant loading - unnecessary.
Replace with

Code: Select all

<!-- IF S_BBCODE_ALLOWED -->
<!-- INCLUDECSS @dmzx_postingbuttons/postingbuttons.css -->
<!-- ENDIF -->
4. Open [ROOT]/dmzx/postingbuttons/styles/all/theme/postingbuttons.css
Find

Code: Select all

#color_wheel
// We are adapting to the changed ID.
Replace with

Code: Select all

#format-postingbuttons #bbpalette
-----------------------------------------------------

Or use this extension: KillBill @ JVA - Posting Buttons 1.0.0