Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
namila007
Registered User
Posts: 2
Joined: Thu Apr 29, 2010 9:47 am
Location: Sri Lanka
Contact:

Re: Custom BBCodes

Post by namila007 »

thankz 8-) 8-) 8-) 8-) 8-) :mrgreen: :mrgreen:
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 »

Tom wrote:
Pony99CA wrote:There's no need to have to know the code every time you post the button.
The page I linked to did not say you had to place the code in each post every time. The code provided was the HTML Replacement for the custom BBCode. You can use [paypal] [/paypal], but the tutorial says that there has to at least be some text in between those tags for it to function properly. It never said you had to include the code in each of your posts.
You can have empty BBCodes as this link proves, which probably explains the disconnect. Maybe it's dependent on the HTML replacement somehow, though.

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.
Arras
Registered User
Posts: 5
Joined: Mon Jul 21, 2008 6:23 pm

Re: Custom BBCodes

Post by Arras »

great
thnx
Bash
Registered User
Posts: 337
Joined: Wed Mar 11, 2009 3:36 pm
Location: London, England
Name: Glenn

Re: Custom BBCodes

Post by Bash »

Hey,

Is it possible to embed a chatango chat within a page?

Heres the code:
<object width="500" height="500" id="obj_1273196592859"><param name="movie" value="http://clan-revolution.chatango.com/group"/><param name="AllowScriptAccess" VALUE="always"/><param name="AllowNetworking" VALUE="all"/><param name="AllowFullScreen" VALUE="true"/><param name="flashvars" value="cid=1273196592859&a=0E0E0E&b=100&c=555555&d=555555&e=000000&g=FFFFFF&h=000000&j=FFFFFF&k=555555&l=444444&m=000000&n=777777&p=10&q=0E0E0E&r=100&s=1&v=0&w=0&aa=1"/><embed id="emb_1273196592859" src="http://clan-revolution.chatango.com/group" width="500" height="500" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true" flashvars="cid=1273196592859&a=0E0E0E&b=100&c=555555&d=555555&e=000000&g=FFFFFF&h=000000&j=FFFFFF&k=555555&l=444444&m=000000&n=777777&p=10&q=0E0E0E&r=100&s=1&v=0&w=0&aa=1"></embed></object><br>[ <a href="http://clan-revolution.chatango.com/clo ... 2859">Copy this</a> | <a href="http://chatango.com/creategroup?ts=1273196592859">Start New</a> | <a href="http://clan-revolution.chatango.com">Full Size</a> ]
twobobbles
Registered User
Posts: 4
Joined: Thu Apr 22, 2010 9:55 pm

Re: Custom BBCodes

Post by twobobbles »

BBCODE REPLACEMENT

Code: Select all

[chat][/chat]
HTML

Code: Select all

<object width="500" height="500" id="obj_1273196592859"><param name="movie" value="http://clan-revolution.chatango.com/group"/><param name="AllowScriptAccess" VALUE="always"/><param name="AllowNetworking" VALUE="all"/><param name="AllowFullScreen" VALUE="true"/><param name="flashvars" value="cid=1273196592859&a=0E0E0E&b=100&c=555555&d=555555&e=000000&g=FFFFFF&h=000000&j=FFFFFF&k=555555&l=444444&m=000000&n=777777&p=10&q=0E0E0E&r=100&s=1&v=0&w=0&aa=1"/><embed id="emb_1273196592859" src="http://clan-revolution.chatango.com/group" width="500" height="500" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true" flashvars="cid=1273196592859&a=0E0E0E&b=100&c=555555&d=555555&e=000000&g=FFFFFF&h=000000&j=FFFFFF&k=555555&l=444444&m=000000&n=777777&p=10&q=0E0E0E&r=100&s=1&v=0&w=0&aa=1"></embed></object><br>[ <a href="http://clan-revolution.chatango.com/clonegroup?ts=1273196592859">Copy this</a> | <a href="http://chatango.com/creategroup?ts=1273196592859">Start New</a> | <a href="http://clan-revolution.chatango.com">Full Size</a> ]
Tested and working fine
Roger N
Registered User
Posts: 14
Joined: Fri May 07, 2010 11:44 am

Re: Custom BBCodes

Post by Roger N »

Hi!
I have had MySpace video embedding working on my board for quite some time. However, I just noticed that it has stopped working and I suspect that it is related to a change in site structure at MySpace and that the vplayer.swf file simply has been moved. Does anyone know anything about this?

The code I use is the following

Code: Select all

<object enableJSURL="false" enableHREF="http://www.myspace.com/false" saveEmbedTags="true" allowScriptAccess="never" allownetworking="internal" type="application/x-shockwave-flash" allowScriptAccess="never" allownetworking="internal" height="350" width="425" data="http://lads.myspace.com/videos/vplayer.swf">
      <param name="allowScriptAccess" value="never" />
      <param name="allowNetworking" value="all" />
      <param name="movie" value="http://lads.myspace.com/videos/vplayer.swf" />
      <param name="flashvars" value="m={TEXT}&type=video" />
    </object>
Bash
Registered User
Posts: 337
Joined: Wed Mar 11, 2009 3:36 pm
Location: London, England
Name: Glenn

Re: Custom BBCodes

Post by Bash »

doesn't work for me :/
Roger N
Registered User
Posts: 14
Joined: Fri May 07, 2010 11:44 am

Re: Custom BBCodes

Post by Roger N »

Roger N wrote:Hi!
I have had MySpace video embedding working on my board for quite some time. However, I just noticed that it has stopped working and I suspect that it is related to a change in site structure at MySpace and that the vplayer.swf file simply has been moved. Does anyone know anything about this?

The code I use is the following

Code: Select all

<object enableJSURL="false" enableHREF="http://www.myspace.com/false" saveEmbedTags="true" allowScriptAccess="never" allownetworking="internal" type="application/x-shockwave-flash" allowScriptAccess="never" allownetworking="internal" height="350" width="425" data="http://lads.myspace.com/videos/vplayer.swf">
      <param name="allowScriptAccess" value="never" />
      <param name="allowNetworking" value="all" />
      <param name="movie" value="http://lads.myspace.com/videos/vplayer.swf" />
      <param name="flashvars" value="m={TEXT}&type=video" />
    </object>
No ideas regarding this? Anyone?
Bash
Registered User
Posts: 337
Joined: Wed Mar 11, 2009 3:36 pm
Location: London, England
Name: Glenn

Re: Custom BBCodes

Post by Bash »

Can someone please tell me how I can fix my spoiler?

Image

As you can see, the white (which is also the spoilers content bg colour which I'd like to also change) shouldn't be there as it looks retarded.

Heres the code I'm using:

Code: Select all

<div style="padding: 2px; background-color: #9AA1A5; border: 1px solid #5F5F5F; font-size: 1em;"><div style="text-transform: uppercase; border-bottom: 1px solid #9AA1A5; margin-bottom: 1px; font-size: 8px; display: block;"><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 = '<b>Spoiler: </b><a href=\'#\' onClick=\'return false;\'>hide</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<b>Spoiler: </b><a href=\'#\' onClick=\'return false;\'>show</a>'; }" /><b>Spoiler: </b><a href="#" onClick="return false;">show</a></span></div><div class="quotecontent"><div style="display: none;">{TEXT}</div></div></div>
I'm using a subsilver2 based style (if it's relevant).

Thanks for your help :)
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52305
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Custom BBCodes

Post by Brf »

That is because you are using:

Code: Select all

<div class="quotecontent">
and subsilver2's class "quotecontent" has

Code: Select all

	background-color: #FAFAFA;
Bash
Registered User
Posts: 337
Joined: Wed Mar 11, 2009 3:36 pm
Location: London, England
Name: Glenn

Re: Custom BBCodes

Post by Bash »

Yeah I used to use a prosilver based theme, recently switched to subsilver based.

Thanks, worked like a charm!
sharks12
Registered User
Posts: 23
Joined: Fri Nov 13, 2009 12:26 pm

Re: Custom BBCodes

Post by sharks12 »

Made an custom bbcode for the font Old English font.

BBcode Usage:

Code: Select all

[font]{TEXT}[/font]
HTML replacement:

Code: Select all

<font face="Old English Text MT" >{TEXT}</font>
Help line : Old English Font

Thanks!
User avatar
Mick
Support Team Member
Support Team Member
Posts: 23057
Joined: Fri Aug 29, 2008 9:49 am

Re: Custom BBCodes

Post by Mick »

sharks12 wrote:Made an custom bbcode for the font Old English font.
What happens if the reader of the post doesn't have that font on their machine?
"The more connected we get the more alone we become" - Kyle Broflovski©
ballack999
Registered User
Posts: 1
Joined: Thu May 20, 2010 4:43 am
Contact:

Re: Custom BBCodes

Post by ballack999 »

Thanks to all.
By the way, can I insert Facebook link [facebook]...[/facebook]
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Custom BBCodes

Post by ric323 »

ballack999 wrote:Thanks to all.
By the way, can I insert Facebook link [facebook]...[/facebook]
What do you want it to do?
All these bbcodes can do is substitute in HTML where the bbcode appears.
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”