request for bbcode clear all other bbcode when they puted

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)
Get Involved
Post Reply
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

request for bbcode clear all other bbcode when they puted

Post by ivailo95 »

Please note, OP is now requesting an extension.

hi there
im ask for request bbcode which can clear all bbcode
when they are already in the text
Last edited by Mick on Mon Dec 17, 2018 9:43 am, edited 1 time in total.
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: request for bbcode clear all other bbcode when they puted

Post by david63 »

I think that you will need to explain in more detail what it is that you are wanting to do.

If you are asking about all posts - then the answer will be no, I doubt that it would be possible without some type of cron job.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by ivailo95 »

david63 wrote: Sun Dec 16, 2018 6:59 pm I think that you will need to explain in more detail what it is that you are wanting to do.

If you are asking about all posts - then the answer will be no, I doubt that it would be possible without some type of cron job.
no,no all post i mean
this bbcode will make text clear without bbcode

for example

Code: Select all

this text is in bbcode
so when i click on clean bbcode it remove
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by warmweer »

ivailo95 wrote: Sun Dec 16, 2018 7:13 pm for example

Code: Select all

this text is in bbcode
so when i click on clean bbcode it remove [code]
Your example shows that you would use a bbcode to empty the post, something which is better done with the DELETE POST.
But I understand your request as a bbcode which will remove all bbcode from that post. That's a contradiction!!
It seems that you want an extension which allow you to remove all bbcodes in a post. (in which case answers are more likely to come in the Extension Requests forum - if that is so, you can report your post and explain so that it can be moved).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by ivailo95 »

um yea :ugeek: :geek: i now think it's better if it an extension not bbcode

to moderators: please move my topic
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by warmweer »

warmweer wrote: Sun Dec 16, 2018 8:09 pm if that is so, you can report your post and explain so that it can be moved.
see the ! at the top right of each post.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by ivailo95 »

warmweer wrote: Sun Dec 16, 2018 8:22 pm
warmweer wrote: Sun Dec 16, 2018 8:09 pm if that is so, you can report your post and explain so that it can be moved.
see the ! at the top right of each post.
i did it :roll:
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
mrgoldy
Former Team Member
Posts: 1394
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by mrgoldy »

So if you want to empty a post, why not just "select all" and 'delete/backspace'?
Or is it you want to remove all 'certain' bbcode from a post, for example 'remove all [b][/b] tags'?
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: request for bbcode clear all other bbcode when they puted

Post by david63 »

mrgoldy wrote: Mon Dec 17, 2018 11:42 am Or is it you want to remove all 'certain' bbcode from a post, for example 'remove all tags'?
As I understand it the OP wants to be able to remove all bbCode tags within a post - not sure how you could achieve that, especially if there are custom bbCodes present. Not sure if JoshyPHP would have any ideas
JoshyPHP wrote:Poke JoshyPHP
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
mrgoldy
Former Team Member
Posts: 1394
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by mrgoldy »

That would mean having to pull the text through strip_bbcodes(), or better yet through the new s9e Utilities clean_formatting().
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by ivailo95 »

mrgoldy wrote: Mon Dec 17, 2018 11:42 am So if you want to empty a post, why not just "select all" and 'delete/backspace'?
Or is it you want to remove all 'certain' bbcode from a post, for example 'remove all [b][/b] tags'?
yes,i want to remove all tags like [b] / [/b] , [code text [/code] , [color=#FF0000][/color] and etc
when mark this tags and remove it from the typing field
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by warmweer »

ivailo95 wrote: Mon Dec 17, 2018 1:07 pm
mrgoldy wrote: Mon Dec 17, 2018 11:42 am So if you want to empty a post, why not just "select all" and 'delete/backspace'?
Or is it you want to remove all 'certain' bbcode from a post, for example 'remove all [b][/b] tags'?
yes,i want to remove all tags like [b] / [/b] , [code text [/code] , [color=#FF0000][/color] and etc
when mark this tags and remove it from the typing field
The etc. you mentioned is too vague and would have to be explicitly defined (which is what mrgoldy is saying).
You probably don't want to remove the [quote][/quote] and [list][/list] and [*] and some others (what about a spoiler bbcode which, when removed would make the contents visible?).
So basically you need to define a set of bbcodes to remove (and all others should remain in place).
Also, the way you put the request, limits this functionality to an action in the post area. What about existing posts, already stored in the database)? Also (again), is this something which should happen automatically, or is is something the admin (or moderator) only have access to (in which case permissions
have to be included.
Just to be clear, I'm not going to attempt to make something like that, but if someone is willing to take this on, that person will need more specifications.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72343
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by KevC »

In addition to that, it's also worth explaining the purpose of what you want to do. What is the point of it? If you don't want people using BBcodes just turn it off and let the old posts gradually slide away in to the distance over time.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by ivailo95 »

This extension should only be for administrators and moderators, as well (if possible) to add special beacons to modifiers and administrators to remove the bbcode
for example

This is my example text

So now we have text with bbcode (or tags idk) and when use this extension
i want to leave clear text

Code: Select all

This is my example text
without
[b][color=#000000][size=150]/[/size][/color][/b]
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: request for bbcode clear all other bbcode when they puted

Post by ivailo95 »

watch the video https://youtu.be/_SpP96olqvs to know what i mean,but i want it as an extension.
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
Post Reply

Return to “Extension Requests”