Use links in messages

Off-topic posts of interest to the "Everything" community.
Post Reply
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Use links in messages

Post by NotNull »

I always post links by typing their URL's. It should be possible to show some text instead of the URL. HOW??
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: Use links in messages

Post by ovg »

Your question

Code: Select all

[url=https://www.voidtools.com/forum/viewtopic.php?f=7&t=6730]Your question[/url]
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

Thanks!!

Quick test: Active Topics

EDIT: Works like a charm. Thanks, ovg!
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Use links in messages

Post by Stamimail »

I've noticed the same thing for List items.
[*]
[*]

When you post a reply, you have buttons. By hovering the buttons you get tooltips with the syntax.
  • I don't remeber you made lists
  • like these.
instead of usinng "[*]"
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

Stamimail wrote:I've noticed the same thing for List items.
[*]
[*]

When you post a reply, you have buttons. By hovering the buttons you get tooltips with the syntax.
  • I don't remeber you made lists
  • like these.
instead of usinng "[*]"
Good point! (pun intended ;-))
I tried to do that a couple of times, but failed. Please show me how to do it!

I can't guarantee that I will use it all the time - not tryng to win the Nobel literature prize here / life is too short to waste it on such minor details (*) - but from time to time it *is* useful. And I do appreciate a nicely lay-outed message (from other people :-))


(*) Just like I should care a little more about matching parenthesis: most messages are missing one or more ")"
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Use links in messages

Post by Stamimail »

NotNull wrote:
Stamimail wrote:I've noticed the same thing for List items.
[*]
[*]

When you post a reply, you have buttons. By hovering the buttons you get tooltips with the syntax.
  • I don't remeber you made lists
  • like these.
instead of usinng "[*]"
Good point! (pun intended ;-))
I tried to do that a couple of times, but failed. Please show me how to do it!

I can't guarantee that I will use it all the time - not tryng to win the Nobel literature prize here / life is too short to waste it on such minor details (*) - but from time to time it *is* useful. And I do appreciate a nicely lay-outed message (from other people :-))


(*) Just like I should care a little more about matching parenthesis: most messages are missing one or more ")"
by pressing "Reply with quote" button, you can also view how the user you quoting made his message.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

Ok. Got it! Thanks!

Testing:
  • Good point
  • Bullet-proof reading
    -or-
  • Bullet proof-reading
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Use links in messages

Post by Stamimail »

Testing:
  • Good point
  • Bullet-proof reading
    1. Bullet-proof reading
    2. Bullet-proof reading
    3. Bullet-proof reading
    4. Bullet-proof reading
      1. Bullet-proof reading
      2. Bullet-proof reading
      3. Bullet-proof reading
      4. Bullet-proof reading
    5. Bullet-proof reading
    6. Bullet-proof reading
  • Bullet-proof reading
  • Bullet proof-reading
8-)
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

Stamimail wrote:Testing:
  • Good point
  • Bullet-proof reading
    1. Bullet-proof reading
    2. Bullet-proof reading
    3. Bullet-proof reading
    4. Bullet-proof reading
      1. Bullet-proof reading
      2. Bullet-proof reading
      3. Bullet-proof reading
      4. Bullet-proof reading
    5. Bullet-proof reading
    6. Bullet-proof reading
  • Bullet-proof reading
  • Bullet proof-reading
8-)

oh, wow! I still have to post a story about how to use Everything in a network without using an EDP server. It's a little complicated; this list-stuff will come in handy there. Thanks!
therube
Posts: 4580
Joined: Thu Sep 03, 2009 6:48 pm

Re: Use links in messages

Post by therube »

Depending on your browser, there may be an extension to do this.

Mozilla; SeaMonkey or FF <= 52, something like, Copy URL+.
Mozilla, current, not sure, though if there is, it won't work as well as copyurlplus.

Other browsers, don't know?
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

therube wrote:Depending on your browser, there may be an extension to do this.

Mozilla; SeaMonkey or FF <= 52, something like, Copy URL+.
Mozilla, current, not sure, though if there is, it won't work as well as copyurlplus.

Other browsers, don't know?
My "weapon of choice" is Firefox, but in newer versions: 56 (can't do without some of he older plugins; will switch to PaleMoon soon (or back to WaterFox)) and 57+
But you gave me some ideas for frther investigation. Thanks, therube!

BTW: I found a description of all those formatting codes: https://www.phpbb.com/community/help/bbcode
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

Thanks for posting!
Your link is about general HTML language. For posting on a phpBB forum you need a more specific syntax for formatting, unfortunately (as I already know html ... a bit).


:idea: Something that wasn't mentioned in the phpBB formatting guideline was the ability to strikethrough text, like this:

deleted text

That can be done with this syntax:

Code: Select all

[s]deleted text[/s]
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Use links in messages

Post by Stamimail »

I know that the AutoHotkey forum has much more buttons in Toolbar. Including strike.
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Use links in messages

Post by void »

Added pre, rimg, rurl= and s buttons to the post form.

pre
Pre-formatted text.
Like

Code: Select all

, except it doesn't have the Copy to clipboard button.

[­pre]#define EVERYTHING_IPC_FILTER_EVERYTHING								0
#define EVERYTHING_IPC_FILTER_AUDIO										1
#define EVERYTHING_IPC_FILTER_COMPRESSED								2
#define EVERYTHING_IPC_FILTER_DOCUMENT									3
#define EVERYTHING_IPC_FILTER_EXECUTABLE								4
#define EVERYTHING_IPC_FILTER_FOLDER									5
#define EVERYTHING_IPC_FILTER_PICTURE									6
#define EVERYTHING_IPC_FILTER_VIDEO										7
#define EVERYTHING_IPC_FILTER_CUSTOM									8[­/pre]


[pre]#define EVERYTHING_IPC_FILTER_EVERYTHING								0
#define EVERYTHING_IPC_FILTER_AUDIO										1
#define EVERYTHING_IPC_FILTER_COMPRESSED								2
#define EVERYTHING_IPC_FILTER_DOCUMENT									3
#define EVERYTHING_IPC_FILTER_EXECUTABLE								4
#define EVERYTHING_IPC_FILTER_FOLDER									5
#define EVERYTHING_IPC_FILTER_PICTURE									6
#define EVERYTHING_IPC_FILTER_VIDEO										7
#define EVERYTHING_IPC_FILTER_CUSTOM									8[/pre]

[u]rimg[/u]
Relative Image.
Preserves HTTP/HTTPS protocol.
[­rimg] should be used in place of [­img] for all images hosted by voidtools.com

[­rimg]/sssmall2.gif[­/rimg]
[rimg]/sssmall2.gif[/rimg]

[u]rurl[/u]
Relative URL.
Preserves HTTP/HTTPS protocol.
[­rurl] should be used in place of [­url] for all URLs hosted by voidtools.com

[­rurl=/downloads]Downloads[­/rurl]
[rurl=/downloads]Downloads[/rurl]

[u]s[/u]
Put a line through some text.

[­s]strikethrough text[­/s]
[s]strikethrough text[/s]

If you would like me to add more of these "BBCodes", please let me know.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

Remove the Flash button?
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Use links in messages

Post by Stamimail »

rimg, rurl=
I think it would be better to update the Img and URL buttons to support Relative. I don't think any other user will use rimg, rurl= buttons.
If you would like me to add more of these "BBCodes", please let me know.
I think these should be added:
1. Inline Code
2. Font colour : BackgroundColor

I don't think this is somthing you need to do, but For whom it is relevant...
need to fix the Quote and the space after it, Many times I need to write
[/quote]New Paragraph
instead of
[/quote]
New Paragraph
NotNull wrote:Remove the Flash button?
What do you mean?
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

NotNull wrote:Remove the Flash button?
What do you mean?
This one:
2018-08-02 20_52_05-Window.png
2018-08-02 20_52_05-Window.png (2.83 KiB) Viewed 15505 times
(Who is still using Flash on a forum? It's one big security risk)
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Use links in messages

Post by Stamimail »

Image
Firefox 55

Edit:
Ok, I see in the right side when replying:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

Stamimail wrote:Image
Firefox 55

Edit:
Ok, I see in the right side when replying:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Ah, Thanks!!
In my case: [flash] is ON (although I have in my board settings: Display Flash animations: No)
I'll figure it out on a rainy day :)
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Use links in messages

Post by void »

Remove the Flash button?
Flash is disabled for registered users.
It should only be available to administrators and moderators.
I think it would be better to update the Img and URL buttons to support Relative. I don't think any other user will use rimg, rurl= buttons.
I've disabled [­rurl] and [­rimg] as it's only something I need to worry about.
For everyone else they should try to use https:// when using [­url].
It would be nice to automate this. Unfortunately, phpbb makes it difficult..
1. Inline Code
Added [­c]inlined code[­/c]
Here is a
inlined code
example.

2. Font colour : BackgroundColor

Font color already exists, for example:
[­color=#0000FF]example[­/color]
example

Added bgcolor:
[­bgcolor=#FFFF00]example[­/bgcolor]
example
I don't think this is somthing you need to do, but For whom it is relevant...
need to fix the Quote and the space after it, Many times I need to write
Can't do much here without modifying phpBB, sorry.
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Use links in messages

Post by Stamimail »

I like that. Try to make the bgcolor button to open a color palette like while clicking on "Font colour" button. I needed to pull #FFFF00 from the "Font colour".

Also, I've noticed the spelling of "color" is not the same in those 2 buttons.

Also, Now it seems the pre button is not needed?

c
sdkfj laskjflakjfd
fdvl vlkad jlvkjavavlkd
v ak jvlkajdvlkajdlkvajdvlkjavlka


pre
sdkfj laskjflakjfd
fdvl vlkad jlvkjavavlkd
v ak jvlkajdvlkajdlkvajdvlkjavlka
Trying a paragraph:

c
v ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlka


pre
v ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlkav ak jvlkajdvlkajdlkvajdvlkjavlka
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

A bit off-topic and probably common knowledge (I'm 'a little' behind with this formatting stuff), but ...

If you want to quote multiple pieces of text (of multiple messages if needed):
- select (highlight) the text you want to quote
- press the quote button (top-right corner)

Now you quote just that selected text (and not the whole message)
Requires tha you already created a new post (otherwise you still get the whole message)


void wrote:Flash is disabled for registered users.
It should only be available to administrators and moderators.
OK, perfect!


COLOUR TEST
Nice addition!
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Use links in messages

Post by void »

If you want to quote multiple pieces of text (of multiple messages if needed):
- select (highlight) the text you want to quote
- press the quote button (top-right corner)
I've never used that, good to know.
Also, Now it seems the pre button is not needed?
I've hidden pre as c does roughly the same thing.
You can still use pre and existing usage of pre will still function.

c does inlined code, whereas pre does not, for example:

There is [­c]some code[­/c] on this line.
There is
some code
on this line.

There is [­pre]some code[­­/pre] on this line.
There is
some code
on this line.

By the way, if you want to escape a bbcode, use ALT + 240 after the [
For example: [ ALT + 240 pre] (without the spaces) = [­pre]
ALT + 240 is a non printable character with phpBB.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

void wrote: c does inlined code, whereas pre does not, for example:

There is [­c]some code[­/c] on this line.
There is
some code
on this line.
Thanks for that!!
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Use links in messages

Post by Stamimail »

Test with Alt+NumKey (you can use OSK.exe - "On Screen Keyboard" - if your keyboard doesn't have Numeric Keys)

[≡c]Test with Alt+240[/c]
[ðc]Test with Alt+0240[/c]
[¡c]Test with Alt+173[/c]
[­c]Test with Alt+0173[/c]

The last works for me. Hebrew Keyboard.
info about this unseen character:
00AD SOFT HYPHEN
Hex: AD Dec: 173

What is the explanation of this difference between the Hebrew and the English keyboard?
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Use links in messages

Post by void »

­Alt + xxx where xxx doesn't start with 0 uses a hardware code page.
https://en.wikipedia.org/wiki/Alt_code

Alt + 0173 should work for all locales.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Use links in messages

Post by NotNull »

For good measure: The "+" is silent; you don't type it.
If you did, it will be translated to a hex code.
Example: Alt 0173 is equal to Alt + AD (press down Alt, type +AD, release Alt)

(At least in most programs; some have their own implementation to enter those characters)
Post Reply