Page 1 of 1

BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Wed Jul 10, 2019 7:09 pm
by Armstrong
BBCODE Bordered post + cellpadding & cellspacing + bgcolor + outer table border only + attachment include.

This is what it looks like...

Image

Output Spec = OUTER BROAD BORDER (with complimentary pinline border) + INNER BGCOLOR (with complimentary pinline border) + inner table + only OUTER borders + inner table artificial cellpadding + cellspacing for text edge clearance.

Only 2 tables used now.
Easy to edit and throw about.

What the user sees.

Code: Select all

[PostTextBox][AttachmentHolder][attachment=0]puppy.jpg[/attachment][/AttachmentHolder]Post text Goes Here![/PostTextBox]
MAKE THE POST.
BBCODE Useage

Code: Select all

[PostTextBox]{TEXT}[/PostTextBox]
HTML replacement

Code: Select all

<TABLE bgcolor="#77b4f0" border="2" bordercolor="#318ce7"  rules="none" frame="border"><tr><TD colspan="3" height="10"></TD></TR>
<TR><TD width="10"></TD>

<TD align="middle">

<TABLE bgcolor="#ffffe0" align="center" border="2" bordercolor="#a19c48" 
<!--Not commonly used anymore but splat out inner borders of every cell but outer edge -->  rules="none" frame="border">
<!-- Artificial cellpadding --><tr><TD colspan="3" height="12"></TD></TR>
<!-- Artificial cellspacing --><TR><TD width="12"></TD>
<TD valign="top">{TEXT}</TD>
<TD width="12"></TD></TR>
<TR><TD colspan="3" height="12"></TD></TR></TABLE>

</TD>
<TD width="10"></TD></TR>
<TR><TD colspan="3" height="10"></TD></TR></TABLE>

</td></tr></table>
HELP line.

Code: Select all

Posts Text Box. Clean. Simply write between the tags. [PostTextBox]Your Words Here![/PostTextBox]
ADD THE ATTACHMENT.
Now lets put in the attachment upper left RHS wrapped by the text in the parent table.

BBCODE useage.

Code: Select all

[AttachmentHolder]{TEXT}[/AttachmentHolder]
HTML replacement.

Code: Select all

<TABLE align="left" valign="top"><tr colspan="3" height="12"><TD></TD></TR>
<TR><TD width="12"></TD>
<TD align="left">{TEXT}</TD>
<TD width="11"></TD></TR>
<TR><TD colspan="3" height="12"></TD></TR></TABLE>
HELP line.

Code: Select all

Add this INSIDE the PostTextBox to hold your ATTACHMENT Image. [AttachmentHolder]Click the INLINE attachment between here.[/AttachmentHolder]
If this helps anybody take it with my blessing. Personally I would LOVE to see this as standard in PHPBB Prosilver and you choose your border width, colour, border style etc.
BUT.............. I am no Guru in php. :geek: :lol: SO I get by like this. ;)

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Wed Jul 10, 2019 8:43 pm
by JoshyPHP
FYI you have an HTML comment in the middle of a tag. That's not valid and it can cause the markup to be misinterpreted:

Code: Select all

<!--Not commonly used anymore but splat out inner borders of every cell but outer edge -->

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Thu Jul 11, 2019 5:09 pm
by Armstrong
I assume anyone creating thewir own BBCodes in PHPBB will delete the explanatories.
It's just that I recall when I first started out (1994 html + Pascal) I relied on a lot of the explanatories added in and I started before C became C++ and etc.
People were still using Amstrad 1512's with 1/2 meg of ram and a 20meg HDD. Oh yeah. We thought we were so cool with giant 5 inch floppy disks that really were bendy. :lol: :lol:
And after seeing Gallery3 go down because the original programmers stated that they'd all got married and had kids since they started out with Gallery1 I am suddenly aware that I am growing old. :P Well, Im too busy growing up to grow old. :lol:
So I am under no doubts that newbies to php and servers and bbcode are crawling out of cribs and infront of 'puters.
We gotta look after them too and teach 'em right as they grow. ;)
JoshyPHP wrote:
Wed Jul 10, 2019 8:43 pm
FYI you have an HTML comment in the middle of a tag. That's not valid and it can cause the markup to be misinterpreted:

Code: Select all

<!--Not commonly used anymore but splat out inner borders of every cell but outer edge -->

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Fri Jul 12, 2019 1:02 am
by Lumpy Burgertushie
yep, 20MB 3.5inch hard drives were huge.
like the guy who was head of IBM in those days said..." who would ever need more than 256k of memory".


robert

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Fri Jul 12, 2019 5:17 am
by canonknipser
Lumpy Burgertushie wrote:
Fri Jul 12, 2019 1:02 am

like the guy who was head of IBM in those days said..." who would ever need more than 256k of memory".
Wasn't it Bill of Microsoft when talking about a new MSDOS version?

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Fri Jul 12, 2019 1:32 pm
by Lumpy Burgertushie
I don't think so, but hey, my 256K of memory aint what it used to be.


robert

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Fri Jul 19, 2019 10:02 am
by Dazbobaby
Lumpy Burgertushie wrote:
Fri Jul 12, 2019 1:02 am
yep, 20MB 3.5inch hard drives were huge.
like the guy who was head of IBM in those days said..." who would ever need more than 256k of memory".


robert
1. It was Bill Gates and it was 640KB RAM
2. He didn't say that, it's an internet fallacy
3. I like the idea of comments in code, it helps everyone out. If it breaks... remove it.
https://en.wikiquote.org/wiki/Talk:Bill_Gates

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Fri Jul 19, 2019 10:10 am
by Mick
Not forgetting the 384KB upper memory often used for TSR’s such as keyboard, language, screen and printer drivers etc.

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Fri Jul 19, 2019 11:02 am
by Dazbobaby
Dos=UMB, forget that and you can't run a damn thing.

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Fri Jul 19, 2019 5:52 pm
by Armstrong
Strueth.... Dos=umb .... that made me laugh.
ECHO
and... Oh yeah.. CLS.

AND tapping out all those ascii codes to make "borders" and "boxes" and "double borders".

I had a 486 DX2 66Mhz with 8Megs ram (woah!) and my batch files were sometimes 3 paragraphs long all starting a STARTUP menu system so that I could choose to run such phenominally advanced and exciting programs like...
SOUNDBLASTER v.1. (Stereo... yup, its true.)
DOOM I
DOOM II
HEXEN
DUKE NUKEM 3D
And
INSTALL MULTIMEDIA CDROM DRIVE
AND 1 or 2 megs graphics memory @ £120 a meg.

Oh yeah! :geek: We didnt skimp on expenses. :lol: :lol: :D
Image

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Fri Jul 19, 2019 7:35 pm
by Dazbobaby
OMG yes them were the days.

I started with a 486 sx 25 - a packard bell 435 elite, and an 8bit soundblaster! Cost me £1200 back in the day.
512KB of video RAM and 2MB of system RAM.
Oh yeah and an 80MB HDD

Quemm was excellent at freeing up base memory (640KB) and moving everything to the upper memory block, but buggy as hell, and it was only a script, once you knew how it worked... you didn't need it again :)


I never bothered much with batch programming, I did everything manually.
c:
cd \
cd doom
doom
:)

Sorry to the OP... we got a little off topic.
I have this installed but not selectable, but man it takes me back.
https://www.phpbb.com/customise/db/style/1982/
https://the-bionic-cyclist.co.uk/forum/ ... 3&f=9&t=29

Re: BBCODE Beautiful Bordered post + cellpadding&cellspacing + bgcolor + outer table border only.

Posted: Mon Aug 12, 2019 8:00 pm
by Armstrong
Dazbobaby wrote:
Fri Jul 19, 2019 7:35 pm
I started with a 486 sx 25 - a packard bell 435 elite, and an 8bit soundblaster! Oh yeah and an 80MB HDD
Now y'jus showing off. :lol: