Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
User avatar
triadruid
Registered User
Posts: 73
Joined: Thu Jul 16, 2009 9:58 pm

Re: Custom BBCodes

Post by triadruid » Mon Aug 30, 2010 4:31 am

ric323 wrote:
triadruid wrote:How does one craft a bbcode that utilizes multiple copies of the same type of variable? I was trying to make a clock code but it didn't recognize, and I'm unsure if it's impossible or I'm just doing it wrong.

Code: Select all

[clock]{DIGIT1}:{DIGIT2} {IDENTIFIER}[/clock]
just ended up showing: [clock]12:34 PM[/clock]
"DIGIT" is not a recognised token. Use "NUMBER" instead.
Gah - thanks! Not sure how I made THAT mistake...

User avatar
AmigoJack
Registered User
Posts: 5602
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Custom BBCodes

Post by AmigoJack » Mon Aug 30, 2010 6:23 am

mikeharmon wrote:I just need:

<table><tr><td>
pic 1</td>
<td>Pic 2</td>
</tr><tr>
<td>
pic 1</td>
<td>Pic 2</td>
</tr></table>
Read this. You should be able to project the idea of that code also to have your table headers and spans. The problem with table BBCodes is that most people forget that each linebreak will be converted to a HTML break, which is forbidden inside any table element but TD and TH. That's also why the example in the post I linked to opens up comment blocks.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Re: Custom BBCodes

Post by MPG187 » Wed Sep 01, 2010 3:00 am

ric323 wrote:If you had reposted that message without making any of changes, the bbcode would have become active.
It didn't become active... I edited the post and submitted it again and it still just shows the code...
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14

John T. Folden
Registered User
Posts: 188
Joined: Tue Sep 04, 2007 12:16 am

iTunes Ping?

Post by John T. Folden » Thu Sep 02, 2010 4:25 am

I wasn't sure where to put this. I'd like it to function as a bbcode BUT I think maybe a little more may be involved?

Apple just released iTunes 10 today and it has a new music oriented social networking feature called "Ping". Everyone has a profile that can apparently be linked to from the web.

I'd like a bbcode where the user could enter their Ping user ID and it would then create the link with a Ping logo or similar in the post, sig, etc...

Thanks!
The Blue Whale Pub - SPN/SF/F TV Discussion Forum
ZOMBIE ALERT: The Walking Dead are coming to AMC!

User avatar
AmigoJack
Registered User
Posts: 5602
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: iTunes Ping?

Post by AmigoJack » Thu Sep 02, 2010 6:04 am

John T. Folden wrote:I'd like a bbcode where the user could enter their Ping user ID and it would then create the link with a Ping logo or similar in the post, sig, etc...
We still need to have the HTML to give you a BBCode example. Moreover I definitly won't consider searching the internet for "ping itunes". Get us the details.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

John T. Folden
Registered User
Posts: 188
Joined: Tue Sep 04, 2007 12:16 am

Re: Custom BBCodes

Post by John T. Folden » Thu Sep 02, 2010 6:15 am

Thanks, it looks like the links to Ping profiles are generally like this:

Code: Select all

http://c.itunes.apple.com/WebObjects/MZConnections.woa/wa/viewProfile?userId=XXXXXXXX
where XXXXXXXX is the individual account number that may also include a "-" at the beginning of it, if it's a musician or band profile.
The Blue Whale Pub - SPN/SF/F TV Discussion Forum
ZOMBIE ALERT: The Walking Dead are coming to AMC!

User avatar
AmigoJack
Registered User
Posts: 5602
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Custom BBCodes

Post by AmigoJack » Thu Sep 02, 2010 6:35 am

Then you should define it this way:

BBCode usage

Code: Select all

[ping]{IDENTIFIER}[/ping]
HTML replacement

Code: Select all

<a href="http://c.itunes.apple.com/WebObjects/MZConnections.woa/wa/viewProfile?userId={IDENTIFIER}">Ping profile</a>
Of course you can replace Ping profile with anything else, like a logo or such.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

jaythom1
Registered User
Posts: 10
Joined: Tue Nov 17, 2009 8:00 pm

Re: Custom BBCodes

Post by jaythom1 » Thu Sep 02, 2010 5:24 pm

Does anyone know a way to create a bbcode that will allow the maps from this site http://www.mappingsupport.com/p/gmap4.html to safely be embedded in a post, or would it require a mod to be written? It looks like it might be an iframe issue so I'm not sure how safe it would be. Thanks in advance for any help.
Last edited by jaythom1 on Tue Sep 07, 2010 8:46 pm, edited 1 time in total.

Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: Custom BBCodes

Post by Pony99CA » Fri Sep 03, 2010 2:00 am

Superwaffle wrote:Does anyone have any idea how to make a BBCode to bypass forum filters? I'm the admin in a phpBB forum, and I thought I'd figure out how to make one so I could post a list of the current words on the word censoring list.
Is there some reason that you can't use the Can disable word censors Group Permission?

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51780
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Custom BBCodes

Post by Brf » Fri Sep 03, 2010 11:04 am

That is a User permission, not a Forum permission.
What good would the word censors be if everyone could disable it in every forum?

Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: Word Censoring

Post by Pony99CA » Sat Sep 04, 2010 1:32 am

Brf wrote:That is a User permission, not a Forum permission.
I know that it's a User permission (or, more specifically in the case I mentioned, a Group permission). Were it a forum permission, I would have said Group Forum permission. ;)

However, you didn't really answer my question -- would it work or not? I presumed that it allowed doing what the user wanted. If not, what exactly does it do? Neither the Word Censoring nor Users' Permissions documentation says. Other User options in the Post tab appear to apply to forums. For example, Can attach files and Can download files have similar options in the Private Messages tab, so if they don't apply to forums, where else would they apply?
Brf wrote:What good would the word censors be if everyone could disable it in every forum?
Presumably you wouldn't give it to "everyone". You'd give it to Moderators or Admins so they could see what the actual text was in every forum without having to edit the post. The OP was asking if a BBCode existed to avoid the word censors in some forums so that his moderators could see the censor list. My hope was that giving the Moderators that permission would obviate the need for such a BBCode.

If my guess was wrong, that's fine, but explaining what the permission actually does would be more useful than a somewhat condescending reply to my (IMHO reasonable) question about whether it would work.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

demii
Registered User
Posts: 6
Joined: Mon Aug 23, 2010 3:07 am

Re: Custom BBCodes

Post by demii » Sun Sep 05, 2010 8:56 pm

HOW TO GET YOUTUBE WORKING!

Code: Select all

[youtube]http://www.youtube.com/watch?v={SIMPLETEXT}&feature=related[/youtube]

Code: Select all

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{SIMPLETEXT}&feature=related"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{SIMPLETEXT}&feature=related" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

User avatar
daveht
Registered User
Posts: 195
Joined: Mon Jan 05, 2009 9:57 pm
Location: NH USA
Contact:

Re: Custom BBCodes

Post by daveht » Mon Sep 06, 2010 5:58 pm

Hello All

I am looking for some one to write me a bbcode for photobucket videos.

Please help!
Dave

miniu81
Registered User
Posts: 37
Joined: Sat Mar 13, 2010 1:27 pm
Contact:

Re: Custom BBCodes

Post by miniu81 » Tue Sep 07, 2010 8:56 pm

I have a pphpbb3 forum and when i try to add [table][/table] it shows me only the code and not the table I have create. I can't also see a bbcode button called table. How can I adda bbcode [table] to my forum?
If I wrote something stupid correct me please :)

User avatar
ric323
Former Team Member
Posts: 22909
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Custom BBCodes

Post by ric323 » Tue Sep 07, 2010 10:19 pm

miniu81 wrote:I have a pphpbb3 forum and when i try to add [table][/table] it shows me only the code and not the table I have create.
How exactly did you add it?
If a bbcode doesn't work, you haven't used the syntax correctly, but we can't see what you've done without a bit more information.
To do a table, you also have to define bbcodes for rows and cells. Did you do that?
I can't also see a bbcode button called table. How can I adda bbcode [table] to my forum?
When you create a new bbcode, there is a checkbox to control if a button for it is displayed on the edit page.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions

Locked

Return to “Custom BBCode Development and Requests”