BBCode

Broken link? Feature request? Anything related to the Spectrum Computing website here.
Post Reply
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

BBCode

Post by Ast A. Moore »

I’d like to see more text formatting options: , , and , for instance. (The former will be particularly useful for discussing hardware to denote signals that are active low.)
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
User avatar
PeteProdge
Bugaboo
Posts: 3521
Joined: Mon Nov 13, 2017 9:03 am

Re: BBCode

Post by PeteProdge »

YouTube video and Twitter tweet embedding would also be brilliant.
Reheated Pixels - a combination of retrogaming, comedy and factual musing, is here!
New video: Nine ZX Spectrum magazine controversies - How Crash, Your Sinclair and Sinclair User managed to offend the world!
User avatar
Juan F. Ramirez
Bugaboo
Posts: 5102
Joined: Tue Nov 14, 2017 6:55 am
Location: Málaga, Spain

Re: BBCode

Post by Juan F. Ramirez »

PeteProdge wrote: Tue Nov 21, 2017 10:11 am YouTube video and Twitter tweet embedding would also be brilliant.
Yep, the YouTube option is sometimes very useful in a forum.
User avatar
Einar Saukas
Bugaboo
Posts: 3070
Joined: Wed Nov 15, 2017 2:48 pm

Re: BBCode

Post by Einar Saukas »

Also
Spoiler
!
User avatar
PeterJ
Site Admin
Posts: 6854
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: BBCode

Post by PeterJ »

Ast A. Moore wrote: Tue Nov 21, 2017 10:07 am I’d like to see more text formatting options: , , and , for instance. (The former will be particularly useful for discussing hardware to denote signals that are active low.)
We can add custom BBCodes for you. For a start I have added sub

You can also use sup as well.

Finally you can use s for strike-through.
Ralf
Rick Dangerous
Posts: 2279
Joined: Mon Nov 13, 2017 11:59 am
Location: Poland

Re: BBCode

Post by Ralf »

I would join request for Youtube and Spoiler tag.

It's much bigger chance that someone clicks""play" on embedded youtube video seeing some frame of it than he clicks some plain link. People are very lazy and impatiant nowadays ;)
User avatar
PeterJ
Site Admin
Posts: 6854
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: BBCode

Post by PeterJ »

Also, Youtube should work now:

[youtube]https://youtu.be/gwBsbz4TRD0[/youtube]

Note you need to use the following format:

https://youtu.be/gwBsbz4TRD0

Then surround it in the [youtube] and [/youtube]

Please make sure that any Youtube content you publish is appropriate.
User avatar
PeterJ
Site Admin
Posts: 6854
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: BBCode

Post by PeterJ »

Ralf wrote: Tue Nov 21, 2017 8:16 pm I would join request for Youtube and Spoiler tag.

It's much bigger chance that someone clicks""play" on embedded youtube video seeing some frame of it than he clicks some plain link. People are very lazy and impatiant nowadays ;)
We aim to please!

Spoiler though, will have to wait for another evening.
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

Re: BBCode

Post by Ast A. Moore »

PeterJ wrote: Tue Nov 21, 2017 8:14 pm
Ast A. Moore wrote: Tue Nov 21, 2017 10:07 am I’d like to see more text formatting options: , , and , for instance. (The former will be particularly useful for discussing hardware to denote signals that are active low.)
We can add custom BBCodes for you. For a start I have added sub

You can also use sup as well.

Finally you can use s for strike-through.
Sweet! Now I can drink some H2O and calculate 82 while I’m at it.

Eagerly looking forward to your enabling overline. The CSS property for it is text-decoration: overline, but I’m sure you know that.
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
User avatar
PeterJ
Site Admin
Posts: 6854
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: BBCode

Post by PeterJ »

Hello [mention]Ast A. Moore[/mention]

Overline now works

Thanks for code snippet
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

Re: BBCode

Post by Ast A. Moore »

Pure awesomeness, [mention]PeterJ[/mention]! Thank you!


Hey, [mention]1024MAK[/mention], how cool is that?

RESET
CLK
MREQ
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
User avatar
1024MAK
Bugaboo
Posts: 3104
Joined: Wed Nov 15, 2017 2:52 pm
Location: Sunny Somerset in the U.K. in Europe

Re: BBCode

Post by 1024MAK »

For some of these BBCode features, you should be able to "switch on" the relevant buttons for them in the edit box. For example, buttons exist for strike, sub, super...

Mark
:!: Standby alert :!:
“There are four lights!”
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :dance
Looking forward to summer later in the year.
User avatar
1024MAK
Bugaboo
Posts: 3104
Joined: Wed Nov 15, 2017 2:52 pm
Location: Sunny Somerset in the U.K. in Europe

Re: BBCode

Post by 1024MAK »

Ast A. Moore wrote: Wed Nov 22, 2017 6:25 pm Pure awesomeness, @PeterJ! Thank you!

Hey, @1024MAK, how cool is that?

RESET
CLK
MREQ

Very cool 8-)

Makes talking about logic level and Z80 control signals a lot easier ;)

Alas, a bug has bitten.

When using the quote button and quoting a post that has the at @ symbol in followed by a user name, I get an annoying blue rectangle with said user name inside. Then when I press return after typing my text, it inserts a mention tag :twisted:

This is while editing on an iPad mini. Have not tried on a PC yet.

Mark
:!: Standby alert :!:
“There are four lights!”
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :dance
Looking forward to summer later in the year.
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

Re: BBCode

Post by Ast A. Moore »

1024MAK wrote: Thu Nov 23, 2017 11:46 am
Ast A. Moore wrote: Wed Nov 22, 2017 6:25 pm Pure awesomeness, @PeterJ! Thank you!

Hey, @1024MAK, how cool is that?

RESET
CLK
MREQ

Very cool 8-)

Makes talking about logic level and Z80 control signals a lot easier ;)
That’s the reason I requested it. ;)
1024MAK wrote: Thu Nov 23, 2017 11:46 amWhen using the quote button and quoting a post that has the at @ symbol in followed by a user name, I get an annoying blue rectangle with said user name inside. Then when I press return after typing my text, it inserts a mention tag
Yep. I get this in Safari 11.0.1 on macOS 10.13.1 as well. Keeps following the cursor.
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
User avatar
PeterJ
Site Admin
Posts: 6854
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: BBCode

Post by PeterJ »

The mention facility is a third party extension. When I'm able to I will raise a bug report with the developers. Have you tried this on other browsers? I don't recall seeing this in Chrome, although I have only quoted a few times.
User avatar
PeterJ
Site Admin
Posts: 6854
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: BBCode

Post by PeterJ »

Have a guess at what has been installed this evening......
Spoiler
This extension has now been enabled
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

Re: BBCode

Post by Ast A. Moore »

PeterJ wrote: Thu Nov 23, 2017 8:40 pm Have a guess at what has been installed this evening......
Spoiler
This extension has now been enabled
Everybody loves spoilers:
Image
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
User avatar
Guesser
Manic Miner
Posts: 639
Joined: Wed Nov 15, 2017 2:35 pm
Contact:

Re: BBCode

Post by Guesser »

Ast A. Moore wrote: Thu Nov 23, 2017 9:16 pm Everybody loves spoilers:
Spoiler
Image
tsk. FTFY :P
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

Re: BBCode

Post by Ast A. Moore »

Guesser wrote: Fri Nov 24, 2017 1:19 am
Ast A. Moore wrote: Thu Nov 23, 2017 9:16 pm Everybody loves spoilers:
Spoiler
Image
tsk. FTFY :P
D’oh. :oops:
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
Ralf
Rick Dangerous
Posts: 2279
Joined: Mon Nov 13, 2017 11:59 am
Location: Poland

Re: BBCode

Post by Ralf »

I'll bump this old topic.

Today I was trying to post a Youtube video starting from some chosen time

Youtube generates such link for me:

https://youtu.be/RNOy8PVPj3c?t=20s

But when I take it between [youtube] tags it doesnt display correctly. Without time it works all right
User avatar
PeterJ
Site Admin
Posts: 6854
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: BBCode

Post by PeterJ »

Ralf wrote: Sat Feb 17, 2018 9:13 am I'll bump this old topic.

Today I was trying to post a Youtube video starting from some chosen time

Youtube generates such link for me:

https://youtu.be/RNOy8PVPj3c?t=20s

But when I take it between [youtube] tags it doesnt display correctly. Without time it works all right
I'm away from my computer for a few days but I think we just use this.

https://internetlifeforum.com/phpbb/479 ... deo-posts/

If you can find any solutions that work with the stable release of phpbb then I'm happy to try them.
hikoki
Manic Miner
Posts: 576
Joined: Thu Nov 16, 2017 10:54 am

Re: BBCode

Post by hikoki »

€....£
Post Reply