Convoy Trucking

Server related => Help => Tutorials, Guides and FAQs => Topic started by: Joshy on July 21, 2011, 16:54

Title: [Info] New forum BBCodes
Post by: Joshy on July 21, 2011, 16:54
[youtube]url[/youtube] - creates a YouTube video window in your post, use the URL.

[xfire]url[/xfire] - creates a Xfire video window in your post.

[nickname]player name[/nickname] - creates a link to someone's profile in your post.

[google]phrase to be google'd[/google] - creates a link to "let me google that for you" for that phrase.

[spoiler]content to hide[/spoiler] - hide the content unless button is clicked.

[clubmembers]club id[/clubmembers] - creates a window to club's member list. For club id use the number after "http://www.convoytrucking.net/clubs.php?clubid= (http://www.convoytrucking.net/clubs.php?clubid=)" for example "145".

[hide=button label]content to hide[/hide] - same as spoiler, but with custom button label. Will NOT work if double quotes are in the button label unless you put a BACKSLASH (\) in front of the quotes.

[pastebin]pastebin id[/pastebin] - embeds pastebin text in your post, use the characters after pastebin.com/ for pastebin id.

[/color][highlight=colour]content[/highlight] - highlights content according to colour, also turns text colour black however. Accepts colour names (like red, green, red) and colour hex codes (like FF0000 for red).

[imgur]url[/imgur] - embed imgur photo albums into your post. url can be full url (like http://imgur.com/a/m951k (http://imgur.com/a/m951k)) or short code (like m951k). This tag will not work in post previews!

http://custom.simplemachines.org/mods/index.php?mod=2505 (http://custom.simplemachines.org/mods/index.php?mod=2505) - read this to see how to use CSS 'style' in images, tables, divs, spans and so on. Anyone who abuses this feature will be warned, or even banned under forum rule #10 and #15.


New BBCode: [country]Country Name[/country] will display the flag of the specified country!


The country name must be case-sensitive and free of spelling errors. For example;
[country]United Kingdom[/country]
[country]United Kingdom[/country]


[country]Ireland[/country]
[country]Ireland[/country]Examples:
YouTube video:
[hide=an example of a YouTube video]
Code (YouTube tag) Select
[youtube]http://youtu.be/FshXia2vLi4[/youtube][/hide]

Xfire video:
[hide=an example of a Xfire video]
[xfire]3d6001[/xfire]
Code (Xfire tag) Select
[xfire]3d6001[/xfire][/hide]

Nickname:
[hide=an example of a linked player's profile]
Joshy
Code (Nickname tag) Select
[nickname]Joshy[/nickname][/hide]

Let me google that for you:
[hide=an example of 'Let Me Google That For You' link]
[google]Convoy Trucking SA:MP[/google]
Code (Google tag) Select
[google]Convoy Trucking SA:MP[/google][/hide]

Spoiler:
[spoiler]Hi!
Code (Spoiler tag) Select
[spoiler]Hi! [/spoiler][/spoiler]

Club members list:
[hide=an example of a clubs members list][clubmembers]145[/clubmembers]
Code (Clubmembers tag) Select
[clubmembers]145[/clubmembers][/hide]

Hide tag:
[hide=a two-worded phrase that begins with H.]Hey there![hide=a two-worded phrase that begins with H.]Hey there![/hide][/hide]

Pastebin:
[hide=an example of an embedded pastebin text][pastebin]EuGeje3D[/pastebin][pastebin]EuGeje3D[/pastebin][/hide]

Highlight
[hide=an example of highlighter][highlight=pink]Konali![/highlight] [highlight=purple]Joshy![/highlight]
[highlight=pink]Konali![/highlight] [highlight=purple]Joshy![/highlight][/hide]

Imgur
[hide=an example of imgur photo album][imgur]http://imgur.com/a/m951k[/imgur]
[imgur]http://imgur.com/a/m951k[/imgur]
[/hide]

edit: changed colours for better readability.
Title: Re: New forum BBCodes
Post by: Ethan on July 21, 2011, 17:02
awesome idea Josh.. are these implemented or just a suggestion.. would be awessome if they get added

+100
Title: Re: New forum BBCodes
Post by: Joshy on July 21, 2011, 17:05
They are added, check the examples if you want.
Title: Re: New forum BBCodes
Post by: Ethan on July 21, 2011, 17:08
[lmgtfy]how to get MTA to stop freezing[/lmgtfy]
Title: Re: New forum BBCodes
Post by: $nake on July 21, 2011, 17:32
its one of the best thingys u ever did! :D
Title: Re: New forum BBCodes
Post by: Jopi on July 21, 2011, 19:35
Wooow :D
Like it :P
Title: Re: New forum BBCodes
Post by: rahail--hussain on July 22, 2011, 00:13
sorry guys but i dont understand
Title: Re: New forum BBCodes
Post by: Kyle on July 22, 2011, 20:48
ethan u have to dafrag with game booster or reinstall :)
Title: Re: New forum BBCodes
Post by: Pimm on July 22, 2011, 23:26
The xFire video looks old.


WHO'S CORVETTE?
Title: Re: New forum BBCodes
Post by: Kyle on July 23, 2011, 00:10
i still dont get it :(
Title: Re: New forum BBCodes
Post by: $nake on July 23, 2011, 00:11
Quote from: Pimmeh on July 22, 2011, 23:26
The xFire video looks old.


WHO'S CORVETTE?
old Moderator :) i was instead of him (i guess) :P and he was banned and demoted for abusing bug :o
he was back with SirRevolution :)
Title: Re: New forum BBCodes
Post by: Joshy on July 25, 2011, 18:51
Pastebin tag added.
Title: Re: New forum BBCodes
Post by: Joshy on July 30, 2011, 05:38
Guys I am going to try making a script on my site to convert YouTube's full URL into embed code. I can always try...

Basically send GET variable to my script, script strips the main URL leaving the short ID and stuff that into an iframe and return. :)

Once I've done that, maybe Xfire.
Title: Re: New forum BBCodes
Post by: Joshy on August 04, 2011, 03:57
I've updated the [Youtube] tag to support Full URL and short ID. Unfortunately it relies on my website to do the processing, so it may take time to load.

Valid:

EDIT: Xfire works with short ID and URL too.
Title: Re: New forum BBCodes
Post by: Jopi on August 04, 2011, 19:36
How to make with *cereal guy * xD
:cereal:
Title: Re: New forum BBCodes
Post by: Lindsey on August 24, 2011, 00:44
smiley_1_Cereal_guy.png

:O that guy? :D
Title: Re: New forum BBCodes
Post by: mrtrlt on August 24, 2011, 08:10
YAAAAAAYEEEE
Title: Re: [Info] New forum BBCodes
Post by: Joshy on September 23, 2011, 22:26
I've added CSS support to "img", "td", "tr", "table", "li", "list" and "hr" tags. Use like [hr style="color:#333;"].

Hope you all come up with some interesting uses for this.
Title: Re: [Info] New forum BBCodes
Post by: mrtrlt on September 24, 2011, 01:45
Nice joshy, another cookie :)

I was just wondering how to get a url tag to say eg: "Click Here" or say the name instead of just the link.
Title: Re: [Info] New forum BBCodes
Post by: Storm94 on September 24, 2011, 07:33
Without stars:

[*url="yoururlhere"]Clickme[*/url]
Title: Re: [Info] New forum BBCodes
Post by: mrtrlt on September 24, 2011, 08:05
Thanks, now it looks pro XD
Title: Re: [Info] New forum BBCodes
Post by: Joshy on December 30, 2011, 21:16
[highlight=gold][highlight=] added![/highlight]
Title: Re: [Info] New forum BBCodes
Post by: Joshy on June 09, 2012, 03:15
[imgur]url[/imgur] tag added - embed imgur photo albums with this tag. This tag will not work in post previews!

Example: [imgur]http://imgur.com/a/m951k[/imgur]
Produces:
[imgur]http://imgur.com/a/m951k[/imgur]
Title: Re: [Info] New forum BBCodes
Post by: Joshy on September 04, 2012, 01:14
[fail]
Quote from: Joshy on July 21, 2011, 16:54
[youtube]url[/youtube] - creates a YouTube video window in your post, use the URL.

[xfire]url[/xfire] - creates a Xfire video window in your post.

[nickname]player name[/nickname] - creates a link to someone's profile in your post.

[google]phrase to be google'd[/google] - creates a link to "let me google that for you" for that phrase.

[spoiler]content to hide[/spoiler] - hide the content unless button is clicked.

[clubmembers]club id[/clubmembers] - creates a window to club's member list. For club id use the number after "http://www.convoytrucking.net/clubs.php?clubid=" for example "145".

[hide=button label]content to hide[/hide] - same as spoiler, but with custom button label. Will NOT work if double quotes are in the button label unless you put a BACKSLASH (\) in front of the quotes.

[pastebin]pastebin id[/pastebin] - embeds pastebin text in your post, use the characters after pastebin.com/ for pastebin id.

[highlight=colour]content[/highlight] - highlights content according to colour, also turns text colour black however. Accepts colour names (like red, green, red) and colour hex codes (like FF0000 for red).

[imgur]url[/imgur] - embed imgur photo albums into your post. url can be full url (like http://imgur.com/a/m951k) or short code (like m951k). This tag will not work in post previews!

http://custom.simplemachines.org/mods/index.php?mod=2505 - read this to see how to use CSS 'style' in images, tables, divs, spans and so on. Anyone who abuses this feature will be warned, or even banned under forum rule #10 and #15.

Examples:
YouTube video:
[hide=an example of a YouTube video]
Code (YouTube tag) Select
[youtube]http://youtu.be/FshXia2vLi4[/youtube][/hide]

Xfire video:
[hide=an example of a Xfire video]
[xfire]3d6001[/xfire]
Code (Xfire tag) Select
[xfire]3d6001[/xfire][/hide]

Nickname:
[hide=an example of a linked player's profile]
Joshy
Code (Nickname tag) Select
[nickname]Joshy[/nickname][/hide]

Let me google that for you:
[hide=an example of 'Let Me Google That For You' link]
[google]Convoy Trucking SA:MP[/google]
Code (Google tag) Select
[google]Convoy Trucking SA:MP[/google][/hide]

Spoiler:
[spoiler]Hi!
Code (Spoiler tag) Select
[spoiler]Hi! [/spoiler][/spoiler]

Club members list:
[hide=an example of a clubs members list][clubmembers]145[/clubmembers]
Code (Clubmembers tag) Select
[clubmembers]145[/clubmembers][/hide]

Hide tag:
[hide=a two-worded phrase that begins with H.]Hey there![hide=a two-worded phrase that begins with H.]Hey there![/hide][/hide]

Pastebin:
[hide=an example of an embedded pastebin text][pastebin]EuGeje3D[/pastebin][pastebin]EuGeje3D[/pastebin][/hide]

Highlight
[hide=an example of highlighter][highlight=pink]Konali![/highlight] [highlight=purple]Joshy![/highlight]
[highlight=pink]Konali![/highlight] [highlight=purple]Joshy![/highlight][/hide]

Imgur
[hide=an example of imgur photo album][imgur]http://imgur.com/a/m951k[/imgur]
[imgur]http://imgur.com/a/m951k[/imgur]
[/hide]

edit: changed colours for better readability.
[/fail]
Presenting [fail]! All red, all bold, all fail! Usage:
[fail]Fail content[/fail]
Title: Re: [Info] New forum BBCodes
Post by: Konali on November 15, 2012, 17:19
New thinghy made by me created by Joshy.
Credits go to Joshy



New BBCode: [country]Country Name[/country] will display the flag of the specified country!


The country name must be case-sensitive and free of spelling errors. For example;
[country]United Kingdom[/country]
[country]United Kingdom[/country]


[country]Ireland[/country]
[country]Ireland[/country]
Title: Re: [Info] New forum BBCodes
Post by: Matias on November 15, 2012, 18:08
can i use it for any country i can imagine? :P
Title: Re: [Info] New forum BBCodes
Post by: Matheus on November 15, 2012, 18:51
[country]Brazil[/country]