cplusplus.com
C++ : Forum : Lounge : Odd thing with BBcode
 
cplusplus.com
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs


post Odd thing with BBcode

Pages: 1234
Bazzy (6258)
By typing ███████████

All BBcode is censored!
See http://www.cplusplus.com/forum/lounge/13998/#msg68211 & following

you get this:
[[forum|WTF]]
Last edited on
chrisname (4916)
Oh?

[[forum|WTF]]


OMG
Last edited on
kevinchkin (448)
lolz ...
[[forum|WTF]]


Well, apparently it takes the second one. So if I write "WTF|forum" It will print forum. But yeah, it's true WTF lolz
Last edited on
chrisname (4916)
Let's try XOR

[[forum^wtf]]


Damn.

AND

[[forum&wtf]]


Oh well.

Kevin, hover your mouse over it. It points to cplusplus.com/x and prints y.
Last edited on
Bazzy (6258)
I got url slashes working!
[[/forum/lounge|WTF]]


-BBcode: ███████████


[[/forum/articles/1295|This is really cool!]]
Last edited on
chrisname (4916)
Lol.

[[/forum/lounge/13998|Yes, it is!]]
firedraco (4744)
I reminds me a bit of Wikipedia links.
Duoas (5974)
IIRC, twicker is still unsure whether he likes opaque links. Use sparingly. Or I fear the power may disappear.
firedraco (4744)
Heh that reminds me of when I was playing a MUD and people were spamming colored crap everywhere, so it got removed, so I just used the literal ASCII codes (like ) and put color in anyway. It was amusing until I got yelled at by the admin >_>
Bazzy (6258)
I've tried to mess a bit with this way of creating links and seems to work only within cplusplus.com so it should be safe

from http://www.cplusplus.com/forum/lounge/1433/page2.html#msg10354 :
URLs in forums are a delicate issue. I think that showing the full url instead of a title helps prevent certain types of abuses.

Anyway, just the URL is much easier than ███████████ so I don't think this would be used much...


[[//www.google.com|EDIT: it works also with external websites]]
Last edited on
chrisname (4916)
Lol nice detective work.
firedraco (4744)
Maybe we should remove this topic to prevent spammers from getting this stuff...
helios (9402)
Hmm...
[[http://www.google.com/|Take some venom and accept
That you won't see Nazareth
The rainbow lead you home

Warrior sent to Milky Way
UFO shooting gamma rays
A riot of destruction]]


Seems like it breaks pretty easily.
Last edited on
chrisname (4916)
What the hell? is anyone else seeing a big black bar?
Bazzy (6258)
I've censored the BBcode in my posts
Last edited on
chrisname (4916)
Oh, that was you. I thought some evil censorship monkey had taken over administration of this site to avoid nuclear war. My bad.
Bazzy (6258)
firedraco is right, this trick should be known only by trusted members
chrisname (4916)
Why? What possible danger is there of using it?
Bazzy (6258)
Malicious links can send you to webpage you would never expect...
Bazzy (6258)
BTW, found new use of that...
[[//upload.wikimedia.org/wikipedia/en/9/91/C_plus_plus_book.jpg]]
Pages: 1234