Pages:
Author

Topic: Instructions on how to use BBCode (Read 2527 times)

newbie
Activity: 107
Merit: 0
November 25, 2021, 02:27:07 PM
#51
I really appreciate this eye-opening tutorial. Thanks.
hero member
Activity: 1134
Merit: 643
BTC, a coin of today and tomorrow.
November 25, 2021, 09:06:18 AM
#50
This codes resemble HTML, why is HTML not use in this forum instead of bbcodes?

I'm pretty sure BBcodes were used originally on Bulletin Boards which a user dialed into via their home modem.  Well before most people switched to the internet.
I have check it on Google with the information you gave to me.
See what Google say.
Quote from: Google
BBCode is a lightweight markup language used to format messages in many Internet forum software, first introduced in 1998. The available "tags" of BBCode are usually indicated by square brackets ([ and ]) surrounding a keyword, and are parsed before being translated into HTML.[1]
1998 is not far was it HTML people where using before they discover Bbcode?
Two of them look alike one suppose serve the function. It can be that HTML is not good for forum.
legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
November 25, 2021, 07:34:41 AM
#49
This codes resemble HTML, why is HTML not use in this forum instead of bbcodes?

I'm pretty sure BBcodes were used originally on Bulletin Boards which a user dialed into via their home modem.  Well before most people switched to the internet.
hero member
Activity: 1134
Merit: 643
BTC, a coin of today and tomorrow.
November 25, 2021, 05:41:47 AM
#48
This codes resemble HTML, why is HTML not use in this forum instead of bbcodes?
hero member
Activity: 2128
Merit: 532
FREE passive income eBook @ tinyurl.com/PIA10
July 11, 2020, 07:35:02 AM
#47
thanks for your explanation. Really great help here!!!

 Smiley Smiley Smiley

You're welcome, glad I could help Smiley
jr. member
Activity: 75
Merit: 3
July 10, 2020, 08:33:40 AM
#46
@stable1usd: There are two kinds of Merits; the ones you receive and the ones you send.

For every 2 Merits you earn, you gain 1 sMerit. So looks like you've spent your first one before this post, and you'll need one more Merit to send again.

No worries though, I've sent one to noorman0 on your behalf. Smiley

thanks for your explanation. Really great help here!!!

 Smiley Smiley Smiley
hero member
Activity: 2128
Merit: 532
FREE passive income eBook @ tinyurl.com/PIA10
July 09, 2020, 09:36:35 PM
#45
@stable1usd: There are two kinds of Merits; the ones you receive and the ones you send.

For every 2 Merits you earn, you gain 1 sMerit. So looks like you've spent your first one before this post, and you'll need one more Merit to send again.

No worries though, I've sent one to noorman0 on your behalf. Smiley
jr. member
Activity: 75
Merit: 3
July 09, 2020, 07:17:23 PM
#44
I want my text to be fixed like the pictures. The pictures have a width of 800px. I want the text to have also only 800px and formatted automatically.

It can be automated only if you place images and text in the first column in the table. The width of the first column follows the length of the first word (no spaces, regardless of the position of the row). The size of the image has no effect here. So, if you want 800px for images and text, you need to write some characters without spaces in the first or last line that are the same length as 800px (eg characters █ with normal size as much as 87 chars for approximately 800px size of image), then set it to transparent color.

for example:

███████████████████████████

This sample image has been taken from the source site news.bitcoin.com where the width has been resize to 250 pixels. This is an image that symbolizes physical bitcoin which is the most popular at the moment.
colomn2colomn3

Code:
[tr][td][color=transparent]███████████████████████████[/color][/td][td][/td][/tr]
[tr][td][img]https://news.bitcoin.com/wp-content/uploads/2020/06/average-price-of-bitcoin-more-than-quadrupled-between-reward-halvings.jpg[/img]
This sample image has been taken from the source site news.bitcoin.com where the width has been resize to 250 pixels. This is an image that symbolizes physical bitcoin which is the most popular at the moment.[/td][td]colomn2[/td][td]colomn3[/td][/tr]





nice nice nice thanks for this help!!!! i have only 3 merit but for this i spend one! thanks

ups i cant Sad



edit again:
hmm dont work for me :/

edit again: ok, works fine, but not in preview- you need to save for show the final result. sooooo many thanks, sorry for merit, i havnt enough for spend

member
Activity: 420
Merit: 12
Globe-dex.com
July 09, 2020, 04:49:55 PM
#43
Have been looking forward to see this I guess there are too many stuff in this forum that I do get confused my self on which to look into. I will bookmark this page for further used.
hero member
Activity: 1778
Merit: 709
[Nope]No hype delivers more than hope
July 09, 2020, 11:01:27 AM
#42
I want my text to be fixed like the pictures. The pictures have a width of 800px. I want the text to have also only 800px and formatted automatically.

It can be automated only if you place images and text in the first column in the table. The width of the first column follows the length of the first word (no spaces, regardless of the position of the row). The size of the image has no effect here. So, if you want 800px for images and text, you need to write some characters without spaces in the first or last line that are the same length as 800px (eg characters █ with normal size as much as 87 chars for approximately 800px size of image), then set it to transparent color.

for example:

███████████████████████████

This sample image has been taken from the source site news.bitcoin.com where the width has been resize to 250 pixels. This is an image that symbolizes physical bitcoin which is the most popular at the moment.
colomn2colomn3

Code:
[tr][td][color=transparent]███████████████████████████[/color][/td][td][/td][/tr]
[tr][td][img]https://news.bitcoin.com/wp-content/uploads/2020/06/average-price-of-bitcoin-more-than-quadrupled-between-reward-halvings.jpg[/img]
This sample image has been taken from the source site news.bitcoin.com where the width has been resize to 250 pixels. This is an image that symbolizes physical bitcoin which is the most popular at the moment.[/td][td]colomn2[/td][td]colomn3[/td][/tr]

jr. member
Activity: 75
Merit: 3
July 09, 2020, 09:29:02 AM
#41
can a table be fixed in size? Similarly as it is possible with pictures?
No. You can't customize table size as far as I know. You can share more on what you are loking for exactly. In that case, we may help you finding out an alternative way if possible.


I want my text to be fixed like the pictures. The pictures have a width of 800px. I want the text to have also only 800px and formatted automatically.
sr. member
Activity: 1372
Merit: 322
July 09, 2020, 09:24:16 AM
#40
can a table be fixed in size? Similarly as it is possible with pictures?
No. You can't customize table size as far as I know. You can share more on what you are loking for exactly. In that case, we may help you finding out an alternative way if possible.
jr. member
Activity: 75
Merit: 3
July 09, 2020, 09:14:13 AM
#39
can anyone help me...?



can a table be fixed in size? Similarly as it is possible with pictures?

   for example
legendary
Activity: 2604
Merit: 2353
May 20, 2020, 01:37:15 AM
#38
...

Sadly, No. I don't want to see an old date, but thanks for repeating that.

Quote

Yes, that's what I am after, thanks.


As you can understand by doing
Code:
[time]0[/time]
>January 01, 1970, 12:00:00 AM
the unix time value is the number of seconds since 1-1-1970 0:00:00 UTC
So if you want to get its value for a later date, you just need to take the value of the unix time for today in the header of a quote, and to add 3600x24 for each day, or 3600x24x7 for each week.
eg to get the unix time value of a date in 300 days.

1589956635+300x3600x24=1589956635+300x86400=1 615 876 635‬
Code:
[time]1615876635‬[/time]
>March 16, 2021, 06:37:15 AM


legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
May 19, 2020, 08:02:34 PM
#37
...

Sadly, No. I don't want to see an old date, but thanks for repeating that.

Quote

Yes, that's what I am after, thanks.


legendary
Activity: 2604
Merit: 2353
May 19, 2020, 07:45:07 PM
#36
Quote
Quote
The only thing I don't know how to do is calculate the time in the first place.
You've never heard of unix time TimeLord?  Grin

No, I didn't say that - I was saying I couldn't recall the BBCode for showing the time in that format.

Quote
You can use the command date on Linux/Unix/MacOs for doing the conversion or some websites on internet.

The parameter date= in the header of message quotes is also doing the conversion here.

Yup - that's good for telling what the time was in the past - I'd appreciate a link that can calculate a given point in time in the future - the post I was referring to made mention of ending an auction at a given point in time and would show the local time, not saying GMT/PST/AEST etc and people trying to figure out what the converted time was.




It's a stop gap instead of a countdown clock via BBCODE.
As I said above you can get the unix time value of the date of a post in the header of its quote (introduced by the parameter date=)
Then if you use [time] on it you will find exactly the same date as it is displayed in your post :
[quote author=Timelord2067 link=topic=4738016.msg54459932#msg54459932 date=1589884073]
Code:
[time]1589884073[/time]
> May 19, 2020, 10:27:53 AM
So you can deduct [time] is returning dates in your local time(the one configured in your account)
 
And you can easily checking it by calling [time] on 0
Code:
[time]0[/time]
> January 01, 1970, 12:00:00 AM
The date returned is not the one of the Epoch date in UTC/GMT time but in your local time.



There you can convert an unix time value in a date in your local time or in GMT/UTC time (or doing the opposite ofc) https://www.epochconverter.com/
legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
May 19, 2020, 05:27:53 AM
#35
Precisely no, if the string is longer than the picture, it doesn't work :

Trim the number of letters/numerals/other being used?

¯\_(ツ)_/¯

Quote
Quote
The only thing I don't know how to do is calculate the time in the first place.
You've never heard of unix time TimeLord?  Grin

No, I didn't say that - I was saying I couldn't recall the BBCode for showing the time in that format.

Quote
You can use the command date on Linux/Unix/MacOs for doing the conversion or some websites on internet.

The parameter date= in the header of message quotes is also doing the conversion here.

Yup - that's good for telling what the time was in the past - I'd appreciate a link that can calculate a given point in time in the future - the post I was referring to made mention of ending an auction at a given point in time and would show the local time, not saying GMT/PST/AEST etc and people trying to figure out what the converted time was.




It's a stop gap instead of a countdown clock via BBCODE.
legendary
Activity: 2604
Merit: 2353
May 19, 2020, 03:30:31 AM
#34
It's interesting but how do you manage to use it for a table of pictures please?

The first table row/cell contains transparent text to the width (or longer) of the image being displayed.  It's not needed in other cells, for some reason the first cell looks ok when in preview mode, but gets bunched up when posted.
Precisely no, if the string is longer than the picture, it doesn't work :

abcdefghijklmnopqrstuvwxyz
So the string must have exactly the same longer as the picture. Which is not convenient at all. How to manage that?

I just read another thread that had a time code for a specific date - will see if I can find it again.  It was something like

Code:
[time]56789012345[/time]

Result:

Quote
July 28, 3769, 05:39:05 AM

The only thing I don't know how to do is calculate the time in the first place.
You've never heard of unix time TimeLord?  Grin
You can use the command date on Linux/Unix/MacOs for doing the conversion or some websites on internet.

The parameter date= in the header of message quotes is also doing the conversion here.

[quote author=Timelord2067 link=topic=4738016.msg54458049#msg54458049 date=1589856277]
legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
May 18, 2020, 11:17:42 PM
#33
If on android, you can use Directupload image sharer, just share your image to the app via gallery and done. Much easier than going to website and then upload.

Also, you will get markdown/bbcode/html all as direct links so no extra editing required.

That may be true, however the displayed image is flattened when displayed in a BBCode table, hence the need to force the first cell into the intended size before the image is displayed.
hero member
Activity: 2520
Merit: 952
May 18, 2020, 11:09:41 PM
#32
If on android, you can use Directupload image sharer, just share your image to the app via gallery and done. Much easier than going to website and then upload.

Also, you will get markdown/bbcode/html all as direct links so no extra editing required.
Pages:
Jump to: