Requesting preferences php tags

Put here any suggestions / issues, new forum suggestions about this web forum not about the apps itself!
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Requesting preferences php tags

Post by Hyuhjhih »

Requesting admin to add certain prefences and layout php tags which is currently unavailable.
Requires admin level. From administrative control panel
Image
  • table or textbox
  • alignment
  • highlight
  • background
  • goto, target
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
makazuwr32
Posts: 7830
Joined: Tue Oct 17, 2017 9:29 am
Location: Moscow, Russia

Re: Requesting preferences php tags

Post by makazuwr32 »

I wish for addition of Spoiler php tag.
makazuwr32 wrote: Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
AoF Dev Co-Leader
Image
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Requesting preferences php tags

Post by Stratego (dev) »

i can set if u specify these on all (2 required field to fill):

BBCode usage
Here you define how to use the BBCode. Replace any variable input by the corresponding token (see below).
Examples:

Code: Select all

[highlight={COLOR}]{TEXT}[/highlight]
[font={SIMPLETEXT1}]{SIMPLETEXT2}[/font]
HTML replacement
Here you define the default HTML replacement. Do not forget to put back tokens you used above!
Examples:

Code: Select all

<span style="background-color: {COLOR};">{TEXT}</span>
<span style="font-family: {SIMPLETEXT1};">{SIMPLETEXT2}</span>
optionally: Help line
This field contains the mouse over text of the BBCode.
Help line text


also here i found some help on how to fill:
TOKENS
Tokens are placeholders for user input. The input will be validated only if it matches the corresponding definition. If needed, you can number them by adding a number as the last character between the braces, e.g. {TEXT1}, {TEXT2}.

Within the HTML replacement you can also use any language string present in your language/ directory like this: {L_<STRINGNAME>} where <STRINGNAME> is the name of the translated string you want to add. For example, {L_WROTE} will be displayed as “wrote” or its translation according to user’s locale.

Please note that only tokens listed below are able to be used within custom BBCodes.
TOKEN WHAT CAN IT BE?
{TEXT} Any text, including foreign characters, numbers, etc… You should not use this token in HTML tags. Instead try to use IDENTIFIER, INTTEXT or SIMPLETEXT.
{SIMPLETEXT} Characters from the latin alphabet (A-Z), numbers, spaces, commas, dots, minus, plus, hyphen and underscore
{INTTEXT} Unicode letter characters, numbers, spaces, commas, dots, minus, plus, hyphen, underscore and whitespaces.
{IDENTIFIER} Characters from the latin alphabet (A-Z), numbers, hyphen and underscore
{NUMBER} Any series of digits
{EMAIL} A valid email address
{URL} A valid URL using any protocol (http, ftp, etc… cannot be used for javascript exploits). If none is given, “http://” is prefixed to the string.
{LOCAL_URL} A local URL. The URL must be relative to the topic page and cannot contain a server name or protocol, as links are prefixed with “https://www.ageofstrategy.net/
{RELATIVE_URL} A relative URL. You can use this to match parts of a URL, but be careful: a full URL is a valid relative URL. When you want to use relative URLs of your board, use the LOCAL_URL token.
{COLOR} A HTML colour, can be either in the numeric form #FF1234 or a CSS colour keyword such as fuchsia or InactiveBorder
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Html spoiler

Code: Select all

<span class="spoiler-inline-js"><input type="button" value="{INTTEXT}" class="button2" style="font-size:10px; padding: 0px 3px; border-radius: 2px;" onclick="XYZ.style.display = XYZ.style.display==='none' ? 'block' : 'none';" /><div style="margin-top: 3px; padding: 5px; border: 1px dotted darkgray; display: none;">{TEXT}</div></span>
BBC

Code: Select all

[spoiler={INTTEXT;defaultValue=Spoiler}]{TEXT}[/spoiler]
Html Strike through

Code: Select all

<span style="text-decoration: line-through;">{TEXT}</span>
BBC

Code: Select all

[st]{TEXT}[/st]
I don't know whether the strike through will acquire the default or adjusted font color.


Html topic progress bar

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: {PERCENT}%; max-width: 100%; background-color: #75ff30; 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>
Didn't checked it. But hope it looks fine.

BBC

Code: Select all

[progress]{PERCENT}[/progress]
Code available and set only by topic owners and moderators
Can help moderators or design leaders know if a topic, after a good discussion with other forumers ,is ready to check, go through , or keep on pending.

Html alignment

Code: Select all

<span style="display: block; text-align: right;">{TEXT}</span>

<span style="display: block; text-align: left;">{TEXT}</span>
BBC

Code: Select all

[rt]Text[/rt]

[lt]Text[/lt]
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Html highlight

Code: Select all

<span style="background-color: {COLOR}">{TEXT}</span>
Font Style wont be neccessary to be defined i think

BBC

Code: Select all

[hil={COLOR}]{TEXT}[/hil]
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Html text box

Code: Select all

<p><div style="text-align:center"><div style="display:inline-block;background-color:{COLOR2};border:{HEIGHT}px solid {COLOR1};border-radius: 8px;padding:10px 15px;">{TEXT}</div></div></p>
BBC

Code: Select all

[tcbox={HEIGHT}, {COLOR1}, {COLOR2}[Sp][/Sp]]{TEXT}[/tcbox]
For background defined, which should be used, TxtWCJ, TxtWC,TxrWL?

It could be hard to give bg, unless it is specified under a text box.


Table, it is huge to type without errors, so i am not sure if i can define all perimeters, but i had used the table defined before in AOGods . So it would be nice if you add a default table picker of layouts in post editing panel.
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Html goto-target/anchor

To anchor

Code: Select all

<a name="{TEXT}">{TEXT1}</a>
To target

Code: Select all

<a href="#{TEXT}">{TEXT2}</a>
BBC

To anchor

Code: Select all

[anchor={TEXT}]{TEXT1}[/anchor]
To target

Code: Select all

[goto={TEXT}]{TEXT2}[/goto]
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Maxbirykov2004
Posts: 1022
Joined: Mon Mar 30, 2020 12:50 pm
Location: Belarus

Re: Requesting preferences php tags

Post by Maxbirykov2004 »

@Hyuhjhih you literally computer genius that well know at least 2 computer languages...
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

@Maxbirykov2004 some old pm's in your chart if you had forgot me by chance.
Genius? Not quite. I was on that field a few years back and (deep heartedly)had to quit it on some pressures and now I am continuing in my astro field( which I love lesser).
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Maxbirykov2004
Posts: 1022
Joined: Mon Mar 30, 2020 12:50 pm
Location: Belarus

Re: Requesting preferences php tags

Post by Maxbirykov2004 »

Hyuhjhih wrote: Mon May 10, 2021 11:35 am @Maxbirykov2004 some old pm's in your chart if you had forgot me by chance.
Genius? Not quite. I was on that field a few years back and (deep heartedly)had to quit it on some pressures and now I am continuing in my astro field( which I love lesser).
Okay
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Hope you saw this @Stratego (dev)
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Requesting preferences php tags

Post by Stratego (dev) »

yes!
User avatar
makazuwr32
Posts: 7830
Joined: Tue Oct 17, 2017 9:29 am
Location: Moscow, Russia

Re: Requesting preferences php tags

Post by makazuwr32 »

So... Are these requested php tags in on forum?
makazuwr32 wrote: Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
AoF Dev Co-Leader
Image
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

[hil=#00FF80]Not Yet[/hil]
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Requesting preferences php tags

Post by Stratego (dev) »

[anchor]anchorme[/anchor]

[progress]100[/progress]

spolied egg


Unwanted

[rt]rightie[/rt]

[lt]leftie[/lt]



[tcbox]sdfasdf asd asdf asdf asdf[/tcbox]

highlight

[goto]gotothat[/goto]

not sure all works - but here they are
User avatar
makazuwr32
Posts: 7830
Joined: Tue Oct 17, 2017 9:29 am
Location: Moscow, Russia

Re: Requesting preferences php tags

Post by makazuwr32 »

[hil=000080]test
test
test[/hil]

[lt]left
left
left[/lt]

[rt]right
right
right[/rt]

[progress]what is here?[/progress]





[tcbox] what does this do?[/tcbox]

Test results:
St tag is working well.

Spoiler hides but does not open, does not show contents and does not want to change name.

Other tags do not work.
makazuwr32 wrote: Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
AoF Dev Co-Leader
Image
User avatar
Badnorth
Posts: 4121
Joined: Mon Apr 20, 2020 2:22 pm

Re: Requesting preferences php tags

Post by Badnorth »



For newcomers, click here for discord links. Hopefully they aren't expired.
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Requesting preferences php tags

Post by Stratego (dev) »

also i go replace all TEXTs to SIMPLETEXT and always use that .
to avoid hacking the page.


strike
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Somethings missing.( New BBC stock?(i hope not) which i might be missing updates?)

The spoiler inttext seems not defined in acp. Need verification.
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Good Work Daniel. Thanks.For trying.
I will get nodes and antids in new format
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Alignments missing parameters in acp. Please verify.
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Progress bar, the @webkit, @moz nodes seems missing in acp. Please verify.

[progress=]12[/progress]
Last edited by Hyuhjhih on Wed May 12, 2021 1:38 pm, edited 2 times in total.
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Last edited by Hyuhjhih on Wed May 12, 2021 1:57 pm, edited 2 times in total.
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

from 👈🏻 click

The target is not specified in html format. Please verify
But still working
Thanks
Last edited by Hyuhjhih on Wed May 12, 2021 1:58 pm, edited 5 times in total.
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Well glad i started AoForum's new era. The formative era :lol: <=|
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

Txtbox, some perimeters are missing or not defined in acp. Since major part i made is Arg.text , and is not pleased by you, i will try it in simpletext. Or did you meant the
var.{TEXT}, Which will never in a lifetime cause security issues.

(and stratego, you can believe me as "not a hacker", the reason i left this field is personal matters :D

I hope you didn't wrote the XYZ.style in html. It was just an example. Assuming you must have didn't noticed it, and just to make you remember, the XYZ should be replaced with any valid style you have in your phpbb pack.
Last edited by Hyuhjhih on Wed May 12, 2021 1:56 pm, edited 3 times in total.
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

I am going to make a guide topic here so that new players or the present players who don't know how to define php, could follow the format I have provided. Cause here i can see even makz is struggling to use hil.
Don't worry mak. I know its confusing at start. ;)
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
makazuwr32
Posts: 7830
Joined: Tue Oct 17, 2017 9:29 am
Location: Moscow, Russia

Re: Requesting preferences php tags

Post by makazuwr32 »

Thank you,
Hyuhjhih
This will greatly expand possibilities for forum.
makazuwr32 wrote: Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
AoF Dev Co-Leader
Image
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Requesting preferences php tags

Post by Hyuhjhih »

😥 keep trying. Define makz
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Maxbirykov2004
Posts: 1022
Joined: Mon Mar 30, 2020 12:50 pm
Location: Belarus

Re: Requesting preferences php tags

Post by Maxbirykov2004 »

WOW
Post Reply

Return to “Feedback about this forum”