Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2339

phpBB Discussion • Re: What is the Future of phpBB?

$
0
0
Got it running live. Needs proper language strings, but essentially...

Get this:

Code:

<!-- IF S_LINKS_ALLOWED --><div><label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED}> {L_DISABLE_MAGIC_URL}</label></div><!-- ENDIF --><!-- IF S_BBCODE_ALLOWED --><div><label for="disable_bbcode"><input type="checkbox" name="disable_bbcode" id="disable_bbcode"{S_BBCODE_CHECKED}> {L_DISABLE_BBCODE}</label></div><!-- ENDIF --><!-- IF S_SMILIES_ALLOWED --><div><label for="disable_smilies"><input type="checkbox" name="disable_smilies" id="disable_smilies"{S_SMILIES_CHECKED}> {L_DISABLE_SMILIES}</label></div><!-- ENDIF -->
Turn it into this:

Code:

<!-- IF S_LINKS_ALLOWED and S_MAGIC_URL_CHECKED --><strong>You have disabled automatic parsing of URLs</strong><!-- ENDIF --><!-- IF S_BBCODE_ALLOWED and S_BBCODE_CHECKED --><strong>You have disabled BBCode</strong><!-- ENDIF --><!-- IF S_SMILIES_ALLOWED and S_SMILIES_CHECKED --><strong>You have disabled smilies</strong><!-- ENDIF -->
Much better. The strong tags are set to display: block;. No wrapper divs are required.

To bodgy up ON into available temporarily I just used:

Code:

.bbcode-status em {display: inline-block;vertical-align: bottom;overflow: hidden;height: 2rem;}.bbcode-status em::before {display: block;content: 'available';}
Give it proper language strings and make it default. ;)

Statistics: Posted by Gumboots — Sat Apr 05, 2025 1:05 am



Viewing all articles
Browse latest Browse all 2339

Trending Articles