BBCode List

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
mkruer
Registered User
Posts: 74
Joined: Mon Apr 28, 2003 7:49 pm

Post by mkruer » Thu Jun 29, 2006 6:41 am

I didn’t know there was a limit but this is all the more of a reason to come up with a BASIC set of standardized BBCode extensions. Choose the ones most frequently used or likely to be used, and make those into the new BBCode standard.

Just my opinion, feel free to flame away.

NaviFriends
Registered User
Posts: 14
Joined: Tue May 30, 2006 9:03 pm
Contact:

Post by NaviFriends » Thu Jun 29, 2006 6:45 am

karlsemple wrote:
NaviFriends wrote:Is this OK?
The input is stopped after 16 custom BBCcodes.

"You cannot create any more BBCodes. Please
remove one or more BBCodes then try again"


BR,
NaviFriends



as it says...you are allowed 16 custom bbcodes and you have hit that limit.


karlsemple

Thanks for the answer, but why only 16?


BR,
NaviFriends

User avatar
karlsemple
Former Team Member
Posts: 39802
Joined: Mon Nov 01, 2004 8:54 am
Location: Hereford, UK
Contact:

Post by karlsemple » Thu Jun 29, 2006 6:46 am

NaviFriends wrote:
karlsemple wrote:
NaviFriends wrote:Is this OK?
The input is stopped after 16 custom BBCcodes.

"You cannot create any more BBCodes. Please
remove one or more BBCodes then try again"


BR,
NaviFriends



as it says...you are allowed 16 custom bbcodes and you have hit that limit.


karlsemple

Thanks for the answer, but why only 16?


BR,
NaviFriends



thats a question for the Devs :) i have no idea why only 16.
Image

User avatar
DavidMJ
Former Team Member
Posts: 314
Joined: Thu Aug 04, 2005 12:50 am
Location: New York

Post by DavidMJ » Thu Jun 29, 2006 7:10 am

It has to do with signed integers and PHP's handling of them. We use bitshifts to create bitmasks, these bitmasks detail which BBCodes are used in a post. This allows us to only search and replace those bbcodes, an excellent performance enhancement. However, they only handle so many shifts...

Past a certain point, the mask becomes negative and thus useless... A solution has been created to give us many more bits in our bitmasks and thus ending this problem, expect to see this fixed soonish (this really means any time before we release :P)

NaviFriends
Registered User
Posts: 14
Joined: Tue May 30, 2006 9:03 pm
Contact:

Post by NaviFriends » Thu Jun 29, 2006 7:32 am

:D

THX for your reply DavidMJ!

Best Regards,
NaviFriends

User avatar
patrikstar
Registered User
Posts: 330
Joined: Sun Feb 12, 2006 9:37 am
Location: Phoenix, AZ
Contact:

Post by patrikstar » Thu Jun 29, 2006 2:05 pm

DavidMJ wrote: A solution has been created to give us many more bits in our bitmasks and thus ending this problem, expect to see this fixed soonish (this really means any time before we release :P)


Sounds Great Can't Wait

But another question do you know why having one to many will render all of the other BBCodes useless in the same post?

User avatar
DavidMJ
Former Team Member
Posts: 314
Joined: Thu Aug 04, 2005 12:50 am
Location: New York

Post by DavidMJ » Thu Jun 29, 2006 4:49 pm

The bits lose meaning when you work with a negative mask, it would not work properly.

User avatar
morbidpalooza
Registered User
Posts: 12
Joined: Wed Jun 07, 2006 1:58 am

Post by morbidpalooza » Thu Jun 29, 2006 6:55 pm

Thank you sooo mush for your heard work! I am sure I will put all them new codes to good work!



GREAT JOB!
My phpBB 3.0 test forum!

http://www.morbidpalooza.com/phpBB3/

User avatar
Puck
Registered User
Posts: 12
Joined: Mon Mar 04, 2002 10:13 pm
Contact:

Post by Puck » Thu Jun 29, 2006 10:39 pm

Black-Strip Spoiler Code, mouseover to read:

BB Usage:

Code: Select all

[spoiler]{TEXT}[/spoiler]
HTML Replace:

Code: Select all

<span style="background-color: #000; color: #000;" onmouseover="this.style.color='#FFF';" onmouseout="this.style.color=this.style.backgroundColor='#000';">{TEXT}</span>
I prefer this spoiler code method as it doesn't require clicking and hidden HTML. It just sets both the background and foreground color of the text to black and changes it to white text when the cursor hovers over the text.

User avatar
patrikstar
Registered User
Posts: 330
Joined: Sun Feb 12, 2006 9:37 am
Location: Phoenix, AZ
Contact:

Post by patrikstar » Sat Jul 01, 2006 5:46 am

added an offtopic BBCode

it displays as so:
Offtopic: This is the offtopic text.

on normal forums that required:

Code: Select all

[i][b][color=#114499]Offtopic:[/b][/color] [color=#2277DD]This is the offtopic text.[/color][/i]
mine requires:

Code: Select all

[offtopic]This is the offtopic text.[/offtopic]

Kirsty2
Registered User
Posts: 320
Joined: Wed Jun 14, 2006 4:08 am

Post by Kirsty2 » Mon Jul 03, 2006 7:37 pm

This should be stickied.. great thread, thanks!

tanner_S.
Registered User
Posts: 446
Joined: Sun Oct 10, 2004 9:04 pm

Post by tanner_S. » Tue Jul 04, 2006 12:16 am

I sorta created a tables one. Not much, but it could be expanded.

Table Demo

stable
BBCode Usage:

Code: Select all

[stable]{TEXT}[/stable]
HTML Replacement:

Code: Select all

<table border=1><tr><td>{TEXT}
ncell
BBCode Usage:

Code: Select all

[ncell]{TEXT}[/ncell]
HTML Replacement

Code: Select all

</td></tr><tr><td>{TEXT}
etable
BBCode Usage:

Code: Select all

[etable]{TEXT}[/etable]
HTML Replacement

Code: Select all

</td></tr></table>
'stable' is the start of a table, 'ncell' is a new cell, and 'etable' is the end of a table.

:P

-Tanner

User avatar
leon2ky
Registered User
Posts: 93
Joined: Mon Mar 03, 2003 9:13 pm

Post by leon2ky » Tue Jul 04, 2006 5:38 am

Great work guys! Keep'm coming :D.

User avatar
p0wn
Registered User
Posts: 230
Joined: Sat Jul 01, 2006 1:55 pm

Post by p0wn » Tue Jul 04, 2006 2:37 pm

BB Code:

Code: Select all

[homepage]{URL}[/homepage]
HTML:

Code: Select all

 <a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('{URL}');">Click here to make {URL} your default homepage!</a>

User avatar
p0wn
Registered User
Posts: 230
Joined: Sat Jul 01, 2006 1:55 pm

Post by p0wn » Tue Jul 04, 2006 2:42 pm

BB CODE: [BoucyText]{TEXT}[/BouncyText]

HTML: <marquee behavior=alternate>{TEXT}</marquee>

Locked

Return to “[3.0.x] Support Forum”

Who is online

Users browsing this forum: Google [Bot] and 91 guests

cron