A better way to reorder bbcodes

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Ideas Centre
Post Reply
BroIgnatius
Registered User
Posts: 102
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

A better way to reorder bbcodes

Post by BroIgnatius » Fri Jun 14, 2019 8:00 am

Folks:

I have a lot of bbcode I need to re-order. To do the up or down arrow will take a enormous amount of time.

Other forum software bbcodes can be reordered by placing a number beside it. This is like Netflix members numbering or re-numbering their list of dvd's they want to rent.

This method is much faster and cleaner.

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 2305
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: A better way to reorder bbcodes

Post by kinerity » Sun Jun 16, 2019 2:33 am

What "up or down arrow"?

BBCodes.png
Kailey Truscott - Community Team

dingus33
Registered User
Posts: 82
Joined: Fri Sep 29, 2017 11:11 am

Re: A better way to reorder bbcodes

Post by dingus33 » Sun Jun 16, 2019 3:26 am

yeah, is there actually a way to reorder the bbcode buttons??

i've been doing it with jQuery which works but isn't ideal.

for example, to move the quote button just after the italic button:

Code: Select all

$('button.bbcode-i').after($('button.bbcode-quote'));
(you can try it in your browser's console)

User avatar
Lumpy Burgertushie
Registered User
Posts: 66479
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: A better way to reorder bbcodes

Post by Lumpy Burgertushie » Sun Jun 16, 2019 4:29 am

all you have to do is edit the posting_buttons.html file to reorder them.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
canonknipser
Registered User
Posts: 2018
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: A better way to reorder bbcodes

Post by canonknipser » Sun Jun 16, 2019 7:04 am

Robert, that only works for the default ones, not the custom bbcodes.
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

fagbutlil
I've Been Banned!
Posts: 77
Joined: Wed Mar 07, 2018 10:56 pm

Re: A better way to reorder bbcodes

Post by fagbutlil » Sun Jun 16, 2019 9:44 am

;) auto alphabetically sorted on page load by js :lol:

Image

BroIgnatius
Registered User
Posts: 102
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

Re: A better way to reorder bbcodes

Post by BroIgnatius » Sun Jun 16, 2019 9:24 pm

Image

In the version I am using, which is the latest, there are arrows, see above, to re-order the bbcodes. This also has a grab and drop feature with the mouse that I forgot about. That feature is lightyears better than using the arrows. But, the re-ordering by changing the number of the order I think is better when there is a need to re-order the entire list. I guess the grab and drop feature will work good enough.

BroIgnatius
Registered User
Posts: 102
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

Re: A better way to reorder bbcodes

Post by BroIgnatius » Sun Jun 16, 2019 9:27 pm

Editing the posting_buttons.html file I think I will do also as there are some changes I would like to make to the core bbcodes.

Thanks for reminding me about that.

dingus33
Registered User
Posts: 82
Joined: Fri Sep 29, 2017 11:11 am

Re: A better way to reorder bbcodes

Post by dingus33 » Mon Jun 17, 2019 8:53 am

BroIgnatius wrote:
Sun Jun 16, 2019 9:24 pm
Image

In the version I am using, which is the latest, there are arrows, see above, to re-order the bbcodes. This also has a grab and drop feature with the mouse that I forgot about. That feature is lightyears better than using the arrows. But, the re-ordering by changing the number of the order I think is better when there is a need to re-order the entire list. I guess the grab and drop feature will work good enough.
i'm using phpBB 3.2.7 (latest version at this time), and i definitely don't see arrows in ACP > Posting > BBCodes

User avatar
david63
Registered User
Posts: 16321
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: A better way to reorder bbcodes

Post by david63 » Mon Jun 17, 2019 9:06 am

If I am not mistaken the option to order custom bbcodes is part of the Advanced BBCode Box extension - but this only applies to custon codes, the default codes are not affected.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Lumpy Burgertushie
Registered User
Posts: 66479
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: A better way to reorder bbcodes

Post by Lumpy Burgertushie » Mon Jun 17, 2019 3:26 pm

that must be it. I do not have any ordering arrows either. also, note that the default bbcodes are not listed in the bbcode section of the acp either.

the only way to edit them is via the html files.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Post Reply

Return to “Extension Requests”