Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: Custom BBCodes

Post by Jaymie1989 » Fri Sep 14, 2007 3:34 am

Is there a BBCode for music player, so i can have my mp3 song to play like the embed?
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

beforeyougopostal
Registered User
Posts: 27
Joined: Sat Sep 08, 2007 7:05 pm
Contact:

Re: Custom BBCodes

Post by beforeyougopostal » Fri Sep 14, 2007 12:02 pm

I don't remember where I got it but it seems to work good.

Code: Select all

[mp3]{URL}[/mp3]

Code: Select all

<p style="color: rgb(0, 0, 0); font-family: Arial,sans-serif; font-size: 11px; font-weight: normal; text-align: center; text-decoration: none;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="dewplayer" align="middle" height="30" width="300"><param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://forum.frequencebonheur.fr//dewplayer.swf?son={URL}&autostart=0&bgcolor=FFFFFF"><param name="quality" value="high"><param name="bgcolor" value="FFFFFF"><embed src="http://forum.frequencebonheur.fr//dewplayer.swf?son={URL}&autostart=0&bgcolor=FFFFFF" quality="high" bgcolor="FFFFFF" name="dewplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="30" width="300"></object> <a href="{URL}"><img style="border: medium none ; text-decoration: none;" src="http://beforeyougopostal.com/MainForum/adm/images/icon_edit.gif" title="Podcast" alt="Podcast" align="absbottom"></a><br></p>

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: Custom BBCodes

Post by Jaymie1989 » Fri Sep 14, 2007 4:21 pm

Hi,

So would it be this?
1.JPG
1.JPG (53.47 KiB) Viewed 16781 times
I added it and when i go to the post and its like this

Code: Select all

[mp3]http://www.dj-ultra.co.uk/doc/-!Dj-ultra-{-blue-anthem-}-Dj-yates-!--.mp3[/mp3]
when i preview its the same.

So where have i gone wrong.
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

User avatar
CrimsonThunder
Registered User
Posts: 340
Joined: Sun Sep 02, 2007 10:18 am

Re: Custom BBCodes

Post by CrimsonThunder » Sat Sep 15, 2007 6:53 am

I'm not sure, but like videos on YouTube that could be protected from being embedded?

madd74
Registered User
Posts: 228
Joined: Thu Aug 14, 2003 5:17 pm
Location: Iowa
Contact:

Re: Custom BBCodes

Post by madd74 » Sat Sep 15, 2007 11:06 pm

I was looking for a loop BBCode. I attempted to use something similar to

Code: Select all

[s]{text}[/s]

Code: Select all

<script type="text/javascript">
var i=0
for (i=0;i<={text};i++)
{
document.write("The number is " + i)
document.write("<br />")
}
</script>
however it does not work. Is there a way to convert something like this for BBCode? I did a search for "loop" in support, and turned up nothing. if a moderator feels for some reason this should be slit off as a seperate topic, I completely understand and will not be offended :)

dumdum1974
Registered User
Posts: 62
Joined: Mon Sep 10, 2007 12:16 pm

Re: Custom BBCodes

Post by dumdum1974 » Sun Sep 16, 2007 12:25 am

beforeyougopostal wrote:I don't remember where I got it but it seems to work good.

Code: Select all

[mp3]{URL}[/mp3]

Code: Select all

<p style="color: rgb(0, 0, 0); font-family: Arial,sans-serif; font-size: 11px; font-weight: normal; text-align: center; text-decoration: none;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="dewplayer" align="middle" height="30" width="300"><param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://forum.frequencebonheur.fr//dewplayer.swf?son={URL}&autostart=0&bgcolor=FFFFFF"><param name="quality" value="high"><param name="bgcolor" value="FFFFFF"><embed src="http://forum.frequencebonheur.fr//dewplayer.swf?son={URL}&autostart=0&bgcolor=FFFFFF" quality="high" bgcolor="FFFFFF" name="dewplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="30" width="300"></object> <a href="{URL}"><img style="border: medium none ; text-decoration: none;" src="http://beforeyougopostal.com/MainForum/adm/images/icon_edit.gif" title="Podcast" alt="Podcast" align="absbottom"></a><br></p>
I dont know where you get code but working like charm THX M8 :D :D

User avatar
CrimsonThunder
Registered User
Posts: 340
Joined: Sun Sep 02, 2007 10:18 am

Re: Custom BBCodes

Post by CrimsonThunder » Sun Sep 16, 2007 4:47 am

I got it working too. ;) And Jaymie, I think the problem may be it doesn't understand the URL. There are alot of weird symbols in there. This URL works.

http://download.gameland.ru/xakep/post/ ... _heart.mp3

I removed the little podcast link, didn't know what it is supposed to do.

Anyone know how to align it to the left? I added.

Code: Select all

<align=left></align>
but it didn't work. :P tried with quotation marks too.

The_Descendant
Registered User
Posts: 233
Joined: Thu Sep 13, 2007 5:48 pm

Re: Custom BBCodes

Post by The_Descendant » Sun Sep 16, 2007 3:35 pm

Code: Select all

<div align="left">{TEXT}</div>

User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm
Contact:

Re: Custom BBCodes

Post by Phil » Sun Sep 16, 2007 5:53 pm

Jaymie1989 wrote:So where have i gone wrong.
The curly braces in the URL are preventing it from embedding. Try to only use alphanumeric characters and _ or -
Moving on, with the wind. | My Corner of the Web

User avatar
Reflex1
Registered User
Posts: 89
Joined: Thu Sep 13, 2007 9:20 pm

Re: Custom BBCodes

Post by Reflex1 » Sun Sep 16, 2007 6:29 pm

How should a BBcode be built with tab (right reentry)?

User avatar
Marshalrusty
Project Manager
Project Manager
Posts: 29252
Joined: Mon Nov 22, 2004 10:45 pm
Location: New York City
Name: Yuriy Rusko
Contact:

Re: Custom BBCodes

Post by Marshalrusty » Sun Sep 16, 2007 7:25 pm

CrimsonThunder wrote:Anyone know how to align it to the left? I added.

Code: Select all

<align=left></align>
but it didn't work. :P tried with quotation marks too.
http://www.phpbb.com/community/viewtopi ... 9376#align
Reflex1 wrote:How should a BBcode be built with tab (right reentry)?
You mean indenting?
http://www.phpbb.com/community/viewtopi ... 6#p3189776
Have comments/praise/complaints/suggestions? Please feel free to PM me.

Need private help? Hire me for all your phpBB and web development needs

User avatar
Reflex1
Registered User
Posts: 89
Joined: Thu Sep 13, 2007 9:20 pm

Re: Custom BBCodes

Post by Reflex1 » Sun Sep 16, 2007 7:41 pm

Marshalrusty wrote:
CrimsonThunder wrote:Anyone know how to align it to the left? I added.

Code: Select all

<align=left></align>
but it didn't work. :P tried with quotation marks too.
http://www.phpbb.com/community/viewtopi ... 9376#align

Could I give a measure to the alignment "type tab of word?"

User avatar
Marshalrusty
Project Manager
Project Manager
Posts: 29252
Joined: Mon Nov 22, 2004 10:45 pm
Location: New York City
Name: Yuriy Rusko
Contact:

Re: Custom BBCodes

Post by Marshalrusty » Sun Sep 16, 2007 7:50 pm

Reflex1 wrote:Could I give a measure to the alignment "type tab of word?"
I don't quite understand what you're asking. Could you provide an example?
Have comments/praise/complaints/suggestions? Please feel free to PM me.

Need private help? Hire me for all your phpBB and web development needs

User avatar
Reflex1
Registered User
Posts: 89
Joined: Thu Sep 13, 2007 9:20 pm

Re: Custom BBCodes

Post by Reflex1 » Sun Sep 16, 2007 8:05 pm

Rientro
Rientro
Rientro

------->Rientro
Rientro
Rientro

as Office Word...

User avatar
Marshalrusty
Project Manager
Project Manager
Posts: 29252
Joined: Mon Nov 22, 2004 10:45 pm
Location: New York City
Name: Yuriy Rusko
Contact:

Re: Custom BBCodes

Post by Marshalrusty » Sun Sep 16, 2007 10:26 pm

I answered this exact question above
Marshalrusty wrote:
Reflex1 wrote:How should a BBcode be built with tab (right reentry)?
You mean indenting?
http://www.phpbb.com/community/viewtopi ... 6#p3189776
Have comments/praise/complaints/suggestions? Please feel free to PM me.

Need private help? Hire me for all your phpBB and web development needs

Locked

Return to “Custom BBCode Development and Requests”