Page 2 of 2

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:08 pm
by Hyuhjhih
makazuwr32 wrote: Wed May 12, 2021 2:04 pm Thank you, Hyuhjhih. This will greatly expand possibilities for forum.
@, color, bold etc override Arg.text which i used in hil.

So it has to be defined outside the hil

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:14 pm
by makazuwr32
Testing Test of Testingness.


Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:15 pm
by Hyuhjhih
Try to quote the text i quoted from you and see the changes. Drop here

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:18 pm
by makazuwr32
Found problems.

1. Forget # always.

2. @ inside bb code.

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:18 pm
by Maxbirykov2004
makazuwr32 wrote: Wed May 12, 2021 2:14 pm It does not even wat to highlight text at all for me...

Testing Test of Testingness.

Hmm

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:18 pm
by Maxbirykov2004
Maxbirykov2004 wrote: Wed May 12, 2021 2:18 pm
makazuwr32 wrote: Wed May 12, 2021 2:14 pm It does not even wat to highlight text at all for me...

Testing Test of Testingness.

Hmm
Hmmmm

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:18 pm
by Maxbirykov2004
Maxbirykov2004 wrote: Wed May 12, 2021 2:18 pm
Maxbirykov2004 wrote: Wed May 12, 2021 2:18 pm
makazuwr32 wrote: Wed May 12, 2021 2:14 pm It does not even wat to highlight text at all for me...

Testing Test of Testingness.

Hmm
Hmmmm
Hmmmmmmm

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:19 pm
by Maxbirykov2004
Maxbirykov2004 wrote: Wed May 12, 2021 2:18 pm
Maxbirykov2004 wrote: Wed May 12, 2021 2:18 pm
Maxbirykov2004 wrote: Wed May 12, 2021 2:18 pm
Hmm
Hmmmm
Hmmmmmmm
All Ok with quote

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:23 pm
by makazuwr32
[st][/st] and [hil][/hil] are mutually exclusive since they must be defined last.

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:26 pm
by Hyuhjhih
makazuwr32 wrote: Wed May 12, 2021 2:23 pm [st][/st] and [hil][/hil] are mutually exclusive since they must be defined last.
Not exclusive, its the way i defined it. Its both the same format. They override each other and the result is null.
Its upto stratego to let which precedes over which and while cross over which since the module is his
Try clicking this O

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:28 pm
by makazuwr32
That is what i meant - they override each other.

I hope it will not be same for spoiler at least.

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 2:31 pm
by Hyuhjhih
[hil=blue]like this[/hil]
[st]like this[/st]

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 3:07 pm
by Hyuhjhih
The spoiler also, XYZ.style is not defined.

Try this html for progress bar @Stratego (dev) a slight different one.

Code: Select all

<style> @-webkit-keyframes progress{to{background-position: 30px 0;}}@-moz-keyframes progress{to{background-position: 30px 0;}}@keyframes progress{to{background-position: 30px 0;}} </style><div style="display: inline-block; background-color: #282828; border-radius: 7px; box-shadow:inset 0px 0px 6px 2px rgba(255,255,255,.3); height: 17px; padding: 6px; width: 380px;"><div style="display: inline-block; height: 100%; width: {NUMBER}%; max-width: 100%; background-color: CornflowerBlue; border-radius: 3px;"><div style="width: 100%; height: 15px; border-radius: 20px; -webkit-animation: progress 1s linear infinite; -moz-animation: progress 1s linear infinite; animation: progress 1s linear infinite; background-repeat: repeat-x; background-size: 30px 30px; background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);"></div></div></div>

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 3:13 pm
by Hyuhjhih
title


XYZ 》el
XYZ 》nextSibling
Etc are default supported styles by phpbb. Please replace the style with them.

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 3:19 pm
by Hyuhjhih
A new spoiler type, without js enabled(#reduced risk of Arg.txt being hacked.)

Code: Select all

<style> summary { user-select: none; outline: 0 !important; } summary .bbctitle { font-weight:bold; padding-left:5px; cursor: pointer; } summary::-webkit-details-marker { display: none } summary::before{ float: left; padding-left:1px; font-family: "FontAwesome"; content: "\f055"; cursor: pointer; } details[open] summary::before{ content: "\f056"; } details.bbcspoiler[open] summary::after { content: attr(title-open); font-weight:bold; cursor: pointer; } details.bbcspoiler:not([open]) summary::after { content: attr(title-close); font-weight:bold; cursor: pointer; } details .bbccontent { margin-top:3px; margin-bottom:15px; margin-left:15px; } </style> <details class="bbcspoiler"> <xsl:choose> <xsl:when test="@spoiler"> <summary><span class="bbctitle">{TEXT1}</span></summary> </xsl:when> <xsl:otherwise> <summary title-open="{L_COLLAPSE_VIEW}" title-close="{L_DISPLAY}"><span class="bbctitle"></span></summary> </xsl:otherwise> </xsl:choose> <div class="bbccontent">{TEXT2}</div> </details>
Defined by bbc

Code: Select all

[spoiler={TEXT1?}]{TEXT2}[/spoiler]
This is a preset style, so i couldn't check it out.

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 3:20 pm
by Badnorth
Pretty cool on what's going on here. Great addition Sparks.

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 3:21 pm
by Hyuhjhih
Badnorth wrote: Wed May 12, 2021 3:20 pm Pretty cool on what's going on here. Great addition Sparks.
Yeah, tkns, with one leg over hell 🤕and me between utter loneliness, i am spending more time here.

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 3:25 pm
by Badnorth
Hope your leg heals soon.

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 3:27 pm
by Hyuhjhih
New feature

Html warning by moderators

Code: Select all

<table style='margin:0;width:70%;min-height:100px;'><tr><td align='middle' bgcolor='#ff6060' valign='center' width='1%'><br /><FONT color='#ffffff' size='+7'><b> ! </b></font><br /></td><td valign='top' style='background:#F2DDDD; padding:3px 8px; border:1px dashed #740000;' >{TEXT}</td></tr></table>
BBC

Code: Select all

[warning]{TEXT}[/warning]

Re: Requesting preferences php tags

Posted: Wed May 12, 2021 3:32 pm
by Hyuhjhih
Stratego, i found a new php style from the head forums, might be a great addition to attract new forumers.

#Celtic Dreams

https://www.phpbb.com/customise/db/down ... 9a7ffcc5df

#Sealed acceid

https://www.phpbb.com/customise/db/down ... 5e76bc4d57

Re: Requesting preferences php tags

Posted: Thu May 27, 2021 7:32 am
by Hyuhjhih
Html textbox bg style

Code: Select all

<p><div style="margin-left:auto;margin-right:auto;width:90%;"><div style="display:inline-block;text-align:justify;background-color:{COLOR2};border:{BORDER}px solid {COLOR1};border-radius:8px;padding:10px 15px;">{TEXT}</div></div></p>
BBC

Code: Select all

[TxtWCJ={BORDER}, {COLOR1}, {COLOR2}]{TEXT}[/TxtWCJ]
Hope this works.

[TxtWCJ=3, orange, red]Waiting[/TxtWCJ]

Re: Requesting preferences php tags

Posted: Sat Jun 05, 2021 3:00 am
by Hyuhjhih
New progress bar avoiding css animation key frames (for simplicity)

Html progress bar

Code: Select all

<div style="background-color: #000000; height: 15px; padding: 5px; width: 350px;"> <span style="display: inline-block; height: 100%; width: {NUMBER}%; background-color: #1d7a3f; color: #FFF; text-align: center;">{NUMBER}%</span> </div>
BBC

Code: Select all

[progress]{NUMBER}[/progress]
I hope this will work

Re: Requesting preferences php tags

Posted: Sun Aug 29, 2021 3:10 pm
by Hyuhjhih
Text box simplified
Html

Code: Select all

<div style="display:inline-block;vertical-align:middle;background-color:{COLOR2};border:{NUMBER}px solid {COLOR1};border-radius:8px; padding:0px 4px; ">{TEXT}</div>
BBC

Code: Select all

[rbox={NUMBER}, {COLOR1}, {COLOR2}]{TEXT}[/rbox]
I hope this works

Re: Requesting preferences php tags

Posted: Thu Jan 20, 2022 10:22 am
by Hyuhjhih
I wonder why these aren't working 😔. It should have worked by now unless it isn't yet included in ACP.