Torrent Search

forum.utorrent.com

µTorrent Community

You are not logged in.

#1 2007-03-28 23:35:58

Firon
Administrator

NEW BBCODES!

I've added some extra bbcodes to the forum.

[noparse][font= FACE ] [/font] for font face
[hr /] and [hr] = <hr /> (Horizontal Line)
for strikethrough (<del> </del>)
[pre] [/pre] for fixed-width formatting
[sup] [/sup] and [sub] [/sub] for superscripting and subscripting, respectively
[size= NUMBER] [/size] for changing text size (in em)
for highlighting text
[align= ALIGNMENT ] [/align] for text alignment
[ul] [/ul], [ol] [/ol], and [li] [/li] for lists
[/noparse]

List bbcodes are sane now. They work like the HTML equivalents.
[noparse][ul][li]list item 1[/li]
[li]list item 2[/li]
[li]list item 3[/li]
[/ul]
[/noparse]

will display
[ul][li]list item 1[/li]
[li]list item 2[/li]
[li]list item 3[/li]
[/ul]

I also added [noparse][noparse][/noparse][/noparse] so you can avoid bbcode parsing for whatever reason.

Now mods and admins can move posts out of a thread, so hijacked threads should no longer need to be locked.

It also detects if there's bots crawling the site and displays 'em in the online user list.

It should also mark a topic as read once you've read it, instead of when you mark all posts as read. However, after an hour of not browsing the forums, it will "forget" which ones you have and haven't read and just mark 'em all as read up to that last time you viewed it.

Double posts are no longer allowed (except for mods and admins). It will not let you do it.

Last edited by Firon (2007-05-16 16:57:29)

Offline

#2 2007-03-29 04:33:35

Lord Alderaan
Member

Re: NEW BBCODES!

Marvelous! I love bb code smile I was just looking for strikethrough yesterday heheh. And font size \o/ \o/ smile

Thanks Firon.

Hmmz I can't get [style=] to work with numbers, points or CSS terms (small)? What is the syntax?

[s] changes something to the text but doesn't strike it through for me.

Last edited by Lord Alderaan (2007-03-29 05:14:42)


-= FAQ Guides Manual Help =-
Everything about the Webui!
#p2p-nl, my favorite Dutch irc channel.

Offline

#3 2007-03-29 13:45:34

Firon
Administrator

Re: NEW BBCODES!

I must've screwed up the array. Will fix now.

Edit: fixed. Stupid typo.

Last edited by Firon (2007-03-29 13:49:54)

Offline

#4 2007-03-29 23:33:50

Firon
Administrator

Re: NEW BBCODES!

Now you can't double post, unless you're an admin or mod. big_smile
Removed style.

Offline

#5 2007-03-30 15:32:52

Ultima
Administrator

Re: NEW BBCODES!

/me is confused about the image bit...

Nice changes smile


[size=0.85][ Tweaking Checklist | User Manual | BEE | MiniUI | µTA ][/size]

Offline

#6 2007-03-30 17:53:52

Firon
Administrator

Re: NEW BBCODES!

It was a function I added but then removed.

Offline

#7 2007-04-02 07:53:50

Lord Alderaan
Member

Re: NEW BBCODES!

Oooh shiny! It works now smile


-= FAQ Guides Manual Help =-
Everything about the Webui!
#p2p-nl, my favorite Dutch irc channel.

Offline

#8 2007-04-02 19:14:46

Firon
Administrator

Re: NEW BBCODES!

I love want to marry the strikethrough function. tongue It's just handy to have.

Offline

#9 2007-04-03 11:02:50

Ultima
Administrator

Re: NEW BBCODES!

EXACTLY! lol there have been so many times that I needed to use strikethroughs, but they weren't available (I ended up having to use the quote thing to show what "This post originally" wrote yikes)... Which reminds me, I need to start using lists in the Speed sticky tongue


[size=0.85][ Tweaking Checklist | User Manual | BEE | MiniUI | µTA ][/size]

Offline

#10 2007-04-04 03:11:32

tjobo
Member

Re: NEW BBCODES!

Great!
Could be nice if you update the BBcode page with this too.
http://forum.utorrent.com/help.php#bbcode

Offline

#11 2007-04-04 20:44:01

Firon
Administrator

Re: NEW BBCODES!

I wanted to update it, but I was lazy... I'll do it eventually. >_>

Offline

#12 2007-05-16 16:48:51

Firon
Administrator

Re: NEW BBCODES!

Added the size tag (uses pixels) and fixed some of the other bbcodes.

list bbcodes are sane now. They work like the HTML equivalents.
[noparse][ul][li]list item 1[/li]
[li]list item 2[/li]
[li]list item 3[/li]
[/ul]
[/noparse]

will yield
[ul][li]list item 1[/li]
[li]list item 2[/li]
[li]list item 3[/li]
[/ul]

Last edited by Firon (2007-05-16 16:55:10)

Offline

#13 2007-05-16 17:23:47

Ultima
Administrator

Re: NEW BBCODES!

Wee! smile

/me stabs PunBB again for inserting <br /> between <li></li> tags


[size=0.85][ Tweaking Checklist | User Manual | BEE | MiniUI | µTA ][/size]

Offline

#14 2007-05-17 10:02:47

Firon
Administrator

Re: NEW BBCODES!

feel free to figure out how to fix it tongue

Offline

#15 2007-05-17 16:31:04

Ultima
Administrator

Re: NEW BBCODES!

I'd love to... but it sounds like more trouble than it's worth ;D I'll live with the extra <br />'s tongue


[size=0.85][ Tweaking Checklist | User Manual | BEE | MiniUI | µTA ][/size]

Offline

#16 2007-06-07 21:51:22

Honeyfrog
Member

Re: NEW BBCODES!

What the hell is that thing? A galloping llama?

Offline

#17 2007-06-16 20:23:01

Falcon4
Member

Re: NEW BBCODES!

Hmm...
[ul][li]This[/li][li]should[/li][li]be[/li][li]unbroken[/li][/ul]

(by the extra BR's)

I think the parser might be doing a simple nl2br($input) and automatically adding "BR"'s whereever a line break is in the input. By removing the line breaks... you remove the BR's in the LIs smile


This post brought to you by the word Zingâ„¢.

Offline

#18 2007-06-17 12:35:01

Firon
Administrator

Re: NEW BBCODES!

Go get the PunBB code and find out what exactly to do. tongue

Offline

#19 2007-06-17 13:48:48

Falcon4
Member

Re: NEW BBCODES!

Just don't put line breaks when you're writing a list, like I did above.

If you really want to overcomplicate things, you might want to maybe do some preprocessing on "ul" items to remove line breaks before it hits the nl2br() function...


This post brought to you by the word Zingâ„¢.

Offline

#20 2007-07-22 09:51:09

ArlyNow
Member

Re: NEW BBCODES!

cool Thanks for the new add-ons.

With all the BB Code changes, is there a reason why the  tags work for the Thread posts and not the Signatures?


"Wicked men obey from fear; good men, from love." Aristotle

"Action, causing Reaction are the proven scientific results of: Compounded Stupidity." ArlyNow cool

Offline

#21 2007-07-23 08:11:28

Ultima
Administrator

Re: NEW BBCODES!

Because for the most part, they're annoying and clutter threads up.


[size=0.85][ Tweaking Checklist | User Manual | BEE | MiniUI | µTA ][/size]

Offline

#22 2007-07-25 05:45:16

raingrass
Member

Re: NEW BBCODES!

SO Great.


I believe I can fly
dvd to iphone

Offline

#23 2007-11-03 02:51:44

duzap
Member

Re: NEW BBCODES!

Very useful, thanks man!

Last edited by duzap (2007-11-03 02:51:57)

Offline

#24 2007-12-02 15:53:51

xent121
Member

Re: NEW BBCODES!

Yey...just a question: is there something like a [thread] in PunBB that we can use? smile
I'll edit the BBCode Help File for you!

[noparse][thread=1234]Go here![/thread][/noparse]


uTorrent - The Swarm Friendly Client. With PlayNiceâ„¢ and Anti-Leechâ„¢ Technology that guarantees better swarm health and faster downloads for everyone in the end. Supported by millions of trackers worldwide.

Offline

#25 2007-12-02 17:43:05

Firon
Administrator

Re: NEW BBCODES!

No.

Offline

Board footer

Powered by FluxBB