Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
Locked
notsa
Registered User
Posts: 253
Joined: Sat Jul 28, 2007 7:37 pm

Re: Custom BBCodes

Post by notsa » Tue Dec 11, 2007 9:34 pm

nice bbcodes :oops: :oops: :P
Last edited by notsa on Fri Dec 21, 2007 3:45 am, edited 1 time in total.

User avatar
tim_welch
Registered User
Posts: 163
Joined: Tue Aug 17, 2004 11:41 am
Location: London, UK
Contact:

Re: Custom BBCodes

Post by tim_welch » Wed Dec 12, 2007 9:06 am

tim_welch wrote:I am using this movie code, which I've called WMV:

Code: Select all

[wmv]{TEXT}[/wmv]

Code: Select all

<object id="MediaPlayer" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">

<param name="filename" value="{TEXT}">
<param name="Showcontrols" value="True">
<param name="autoStart" value="True">

<embed type="application/x-mplayer10" src="http://media.pmcmovies.com/SixtiesLove.wmv" name="MediaPlayer"></embed>

</object>
...and it works fine for my PC but I know some other users can't always see the movies. I think it is due to which browser they might be using, version of Media Player or plug-ins, or something like that. Could that be true? And if so, what 'requirements' would there be to play the movies successfully?
*mini-bump*
StarCraft II Map Creator's Community - for all things related to map building in StarCraft 2.
eScala Fansite (Fan Site) - as appearing in Britain's Got Talent 2008.
Hope Fansite (Fan Site) and Community - for all things Hope girl group related from The X Factor 2007.
The Hobbit Forums - for fans of The Hobbit and Beowulf.

babywhiz
Registered User
Posts: 3
Joined: Wed Nov 21, 2007 12:19 am

Re: Custom BBCodes

Post by babywhiz » Wed Dec 12, 2007 9:47 am

I am new to this, so please bear with me.

TDS Vids:
Why is this not working?

This is the code from TDS...
<embed FlashVars='videoId=127769' src='http://www.thedailyshow.com/sitewide/vi ... /swf.jhtml' quality='high' bgcolor='#cccccc' width='332' height='316' name='comedy_central_player' align='middle' allowScriptAccess='always' allownetworking='external' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>

This is the code I wrote:
<object type="application/x-shockwave-flash" data="http://www.thedailyshow.com/video/index ... eoId={TEXT}" width="332" height="316">
<param name="movie" value="http://www.thedailyshow.com/video/index ... eoId={TEXT}" />
<param name="quality" value="high" />
<param name="bgcolor" value="#cccccc" />
<param name="width" value="332" />
<param name="height" value="316" />
<param name="align" value="middle" />
<param name="allowScriptAccess" value="always" />
<param name="allownetworking="external" />
<param name="scale" value="noScale" />
</object>

I can see a blank screen, but the video doesn't load. What am I doing wrong?

I apologize in advance if this is the wrong method to address this.

Thanks.
Pam

User avatar
fakroun
Registered User
Posts: 6
Joined: Thu Dec 13, 2007 1:52 am

Re: Custom BBCodes

Post by fakroun » Thu Dec 13, 2007 2:06 am

good job man!
i'm wondering how i can arrange these codes in the pannel of writing post
thanks

User avatar
SheepyDaz
Registered User
Posts: 30
Joined: Mon May 21, 2007 1:00 pm
Location: At my computer desk!
Contact:

Re: Custom BBCodes

Post by SheepyDaz » Fri Dec 14, 2007 2:50 am

Hey, im new to all this phpbb stuff an bbcodes an need a little help.
Sorry i didnt search as i dont know exactly what im looking for. :cry:

Is it possible to make a custom bb code which when clicked it will add text into the post subject box?
If so please can some one post the code :D

Thanks in advance
Sheepy
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe."
http://flaxaudio.co.uk/ - Presents Drum N Bass

demon327
Registered User
Posts: 847
Joined: Thu Nov 16, 2006 2:16 pm

Re: Custom BBCodes

Post by demon327 » Fri Dec 14, 2007 1:07 pm

Spoiler

i know there ar already many other spoiler tags with java and so one..,but i made version with only html inside a div/table..

the BBcode

Code: Select all

[spoiler]{SIMPLETEXT}[/spoiler]
the HTML code:

Code: Select all

<div style="margin: 5px 20px 20px;">
	<div style="margin-bottom: 2px;">Spoiler:</div>
		<table border="0" cellpadding="6" cellspacing="0" width="100%">
        	<tbody>
            <tr>
			<td class="alt2" style="border: 1px inset ;"><span style="color:#ececec;">{SIMPLETEXT}</span></td>
            </tr>
        	</tbody>
        </table>
     </div>
result:
Image
Last edited by demon327 on Fri Dec 14, 2007 2:02 pm, edited 1 time in total.

User avatar
tim_welch
Registered User
Posts: 163
Joined: Tue Aug 17, 2004 11:41 am
Location: London, UK
Contact:

Re: Custom BBCodes

Post by tim_welch » Fri Dec 14, 2007 1:49 pm

demon327 wrote:Spoiler

i know there ar already many other spoiler tags with java and so one..,but i made version with only html inside a div/table..
Do you have a screen display of how this actually looks in a post?
StarCraft II Map Creator's Community - for all things related to map building in StarCraft 2.
eScala Fansite (Fan Site) - as appearing in Britain's Got Talent 2008.
Hope Fansite (Fan Site) and Community - for all things Hope girl group related from The X Factor 2007.
The Hobbit Forums - for fans of The Hobbit and Beowulf.

demon327
Registered User
Posts: 847
Joined: Thu Nov 16, 2006 2:16 pm

Re: Custom BBCodes

Post by demon327 » Fri Dec 14, 2007 2:01 pm

tim_welch wrote:
demon327 wrote:Spoiler

i know there ar already many other spoiler tags with java and so one..,but i made version with only html inside a div/table..
Do you have a screen display of how this actually looks in a post?
here you go:
Image

progster
Registered User
Posts: 23
Joined: Wed Jul 25, 2007 8:05 pm

Custom BBCode for Indent / Margin

Post by progster » Fri Dec 14, 2007 2:30 pm

Here is a way to set up BBCode to indent a paragraph (the whole paragraph or section). The code is labeled as "margin", but you could use a different name if you like. Credit to Pentapenguin, who told me how to do it!
BBCode Setup for Margin
BBCode Setup for Margin
Indent_Paragraph.gif (33.86 KiB) Viewed 2826 times

User avatar
ChrisRLG
Former Team Member
Posts: 3420
Joined: Wed Nov 24, 2004 3:18 pm
Location: Essex, UK
Contact:

Re: Custom BBCodes

Post by ChrisRLG » Fri Dec 14, 2007 2:48 pm

Just tried it - nice - but it also gives a line feed after, so making a blank line - unless you continue your typing directly after - which then just moves it on a new line.
phpBB: The All Important Rules - Bertie Bear 3.0 - No support via PM system - use the forums please.
phpBB v2: Retirement (1/1/2009) : phpBB v3: Read Me Topic - Custom BBCodes - Support Template
Matthew 7:7"Ask and it will be given to you; seek and you will find; knock and a door will be opened to you."
My Links: MS MVP (Consumer Security) - Malware Removal:University - Own Forum: Custom BBCode testing

streetwagons
Registered User
Posts: 14
Joined: Sat Apr 22, 2006 12:48 pm

Re: Custom BBCodes

Post by streetwagons » Sat Dec 15, 2007 3:51 am

This is awesome, my members are very happy :mrgreen:
streetwagons.com

User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: Custom BBCodes

Post by ^[GS]^ » Sat Dec 15, 2007 5:41 am

The BEST Spoiler!

BBCode

Code: Select all

[spoiler]{TEXT}[/spoiler]
HTML

Code: Select all

<div><span onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerHTML = '<button type=\'button\' onClick=\'return false;\'>Hide Spoiler</button>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<button type=\'button\' onClick=\'return false;\'>Show Spoiler</button>'; }" /><b></b><button type=\'button\' onClick="return false;">Show Spoiler</button></span></div><div><div style="display: none; border: 1px dashed gray; padding: 1px;">{TEXT}</div></div>
:mrgreen:

idea
Registered User
Posts: 247
Joined: Mon Oct 20, 2003 8:29 am

Re: Custom BBCodes

Post by idea » Sat Dec 15, 2007 10:38 am

how come the ful URl for youtube & google don't work with the new gold version?

se_p800
Registered User
Posts: 72
Joined: Sun Nov 18, 2007 1:47 pm

Re: Custom BBCodes

Post by se_p800 » Sat Dec 15, 2007 8:27 pm

Can phpbb2 bb codes work with phpbb3? And if not why not?
Got a PSP? Visit
www.customizepsp.co.uk

renet
Registered User
Posts: 126
Joined: Tue May 04, 2004 5:02 pm
Location: Germany

Re: Custom BBCodes

Post by renet » Sat Dec 15, 2007 11:55 pm

i want a youtube like like this:
http://www.youtube.com/watch?v=OEGaQErD ... re=related
to work with a bbCode like this:
[youtube]{URL}={SIMPLETEXT}&{TEXT}[/youtube]
but it doesn*t work properly.. does any1 have an idea?

the same with youtube links like this:
http://www.youtube.com/watch?v=OEGaQErDLRc#GU5U2spHI_4

how can i add optional bbCode like:
{URL} works as well as {TEXT} ?

thanks in advance! =)

Locked

Return to “Custom BBCode Development and Requests”