Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
User avatar
puabase
Registered User
Posts: 34
Joined: Fri Sep 04, 2009 2:55 am
Contact:

Re: Custom BBCodes

Post by puabase »

what about mp3 streaming bbcode?
Meu Fórum: PUA - PUAS - Sedução
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 »

KillerMark15 wrote:Hello,
i'm looking for a BBcode like:
[paper=text1]text2[/paper], if u have post it here.
What exactly would this do?
Moving on, with the wind. | My Corner of the Web
krafyt
Registered User
Posts: 53
Joined: Sun Aug 23, 2009 11:13 pm

Re: Custom BBCodes

Post by krafyt »

How can I add a BBcode that is only visible in some forums of my board but not in others? If I want to make a "Live-Video" section and it not shall be possible to post embedded videos in other sections than this? I have limited traffic on my board and that is why I ask.
Any help will be appreciated! :)

Happy New Year to all! :D :D
User avatar
sunsop
Registered User
Posts: 671
Joined: Sat Sep 05, 2009 6:36 am

Re: Custom BBCodes-GEORGE

Post by sunsop »

george047 wrote:Custom BBCodes List
Here is a list of Custom BBCodes you could add to your Forum. If you're wondering on how to add Custom BBCodes, please take a look here. To add Custom BBCodes you will have to go to the Administration Control Panel (ACP) and select the Advanced Admin Panel, which can be selected in the upper right corner. Now you will have to go to the Posting tab and select "BBCodes". So, you're now here:
Advanced ACP » Posting tab » BBCodes
[...]
Sure would be nice to put a line or something between those codes!
User avatar
luke
Registered User
Posts: 5
Joined: Thu Nov 12, 2009 1:58 pm

How to do YouTube embeds...

Post by luke »

...with the flash tag!

If you use the flash tag to do this, you can use the customization options given to embeds.
How to do it follows:

Code: Select all

[flash={OBJECT WIDTH IN EMBED HTML},{OBJECT HEIGHT IN EMBED HTML}]{EMBED SRC IN CODE}[/flash]
An example:

Code: Select all

[flash=425,344]http://www.youtube-nocookie.com/v/6bVb4Oaz30s&hl=en_US&fs=1&rel=0&border=1[/flash]



I've also figured out how to do deviantART embeds with the flash tag:

Code: Select all

[flash=450,{OBJECT WIDTH IN EMBED HTML]http://backend.deviantart.com/embed/view.swf?id={DEVIATON ID}&width=1337[/flash]

Code: Select all

[flash=450,560]http://backend.deviantart.com/embed/view.swf?id=92194160[/flash]
Last edited by Phil on Sun Jan 03, 2010 2:48 am, edited 1 time in total.
Reason: Move from discussion -- merge with BBCode topic
atigrado
Registered User
Posts: 12
Joined: Thu Feb 01, 2007 3:02 am
Location: Canada
Contact:

Re: Custom BBCodes

Post by atigrado »

I used this:
Marshalrusty wrote:Below are the popular custom BBCodes that are frequently asked for on this board. All in one place with descriptions and screenshots for your convenience :)

To use any of the following custom BBCodes, navigate to the Posting => BBCodes section of the phpBB3 administration panel and click the "Add a new BBCode" button. Enter the respective code from below into the "BBCode usage" and "HTML replacement" boxes.

If you are using phpBB2, you can find compatible BBCode MODs in the BBCode section of the MOD database.


Google Video (embed video in post)
  • Using the full URI
    • Description: Allows you to embed Google videos in your posts using the full URI of the video.
      Demo:
      Image

      BBCode usage:

      Code: Select all

      [googlevid]http://video.google.com/videoplay?docid=-{NUMBER}[/googlevid]
      HTML Replacement:

      Code: Select all

      <embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={NUMBER}&hl=en" flashvars=""></embed>
    Using only the video ID
    • Description: Allows you to embed Google videos in your posts using only the video id.
      Demo:
      Image

      BBCode usage:

      Code: Select all

      [googlevid]{NUMBER}[/googlevid]
      HTML Replacement:

      Code: Select all

      <embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={NUMBER}&hl=en" flashvars=""></embed>
And the Googles videos are not being played

http://www.pasionxeneize.com.ar/foro/vi ... af#p129188

The video player is showed, but ther is no image of the video... it's just black

Can you help me?
Please think and learn about GLOBAL WARMING...
The Future
Registered User
Posts: 5
Joined: Sun Dec 27, 2009 5:27 am
Contact:

Re: Custom BBCodes

Post by The Future »

Nice BBcodes.
User avatar
karzulovic
Registered User
Posts: 14
Joined: Thu Jul 02, 2009 8:34 pm

Re: Custom BBCodes

Post by karzulovic »

atigrado este es el codigo que uso, pero tienes que poner el link completo del video, no solo el numero.
(this is the code i use, but you need to use the whole link, not only the number)

BBCode usage:

Code: Select all

[googlevideo]{TEXT1}/videoplay?docid={IDENTIFIER}[/googlevideo]
HTML Replacement:

Code: Select all

<embed id="VideoPlayback"
src="{TEXT1}/googleplayer.swf?docId={IDENTIFIER}&hl=en&fs=true"
style="width: 425px; height: 350px;" allowfullscreen="true"
allowscriptaccess="always" type="application/x-shockwave-flash"></embed>
Last edited by karzulovic on Tue Jan 05, 2010 5:57 pm, edited 1 time in total.
atigrado
Registered User
Posts: 12
Joined: Thu Feb 01, 2007 3:02 am
Location: Canada
Contact:

Re: Custom BBCodes

Post by atigrado »

karzulovic,

Eres un capo.

That code worked perfectly !!!

Gracias.
Please think and learn about GLOBAL WARMING...
User avatar
sunsop
Registered User
Posts: 671
Joined: Sat Sep 05, 2009 6:36 am

Re: Custom BBCodes

Post by sunsop »

Does anyone have a code that works with Live Leak videos? The one provided in this thread does not work - it shows "video not found." I know it's there and the url is correct because I just verified it works directly.
User avatar
karzulovic
Registered User
Posts: 14
Joined: Thu Jul 02, 2009 8:34 pm

Re: Custom BBCodes

Post by karzulovic »

Live Leak

BBCode usage:

Code: Select all

[liveleak]http://www.liveleak.com/view?i={IDENTIFIER}[/liveleak]
HTML Replacement:

Code: Select all

<object width="450" height="370"><param name="movie" value="http://www.liveleak.com/e/{IDENTIFIER}"></param><param name="wmode" value="transparent"></param><embed src="http://www.liveleak.com/e/{IDENTIFIER}" type="application/x-shockwave-flash" wmode="transparent" width="450" height="370"></embed></object>
User avatar
sunsop
Registered User
Posts: 671
Joined: Sat Sep 05, 2009 6:36 am

Re: Custom BBCodes

Post by sunsop »

Thank you - that one DOES work. :)
Sir. Haxalot
Registered User
Posts: 7
Joined: Tue Jan 05, 2010 10:28 pm

Re: Custom BBCodes

Post by Sir. Haxalot »

More Awesome spoiler tag!

This BBCode has been updated!

This is a Spoilertag that creates a spoiler box with a more phpBB style and animated opening. The animation of the box is done by jQuery, and therefore it needs an added line in overall_header.html to work. The HTML code should be added within the <head>...</head> tags, preferrably below the other javascript includes.

Demo

overall_header.html:

Code: Select all

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
BBCode:

Code: Select all

[spoiler]{TEXT}[/spoiler]
Replacement:

Code: Select all

<script type="text/javascript">if(typeof($) == 'undefined') { document.write('<sc'+'ript type="text/javasc'+'ript" src="ht'+'tp://code.jquery.com/jque'+'ry-latest.min.js"></scr'+'ipt>'); } </script>
<dl class="codebox">
<dt>Spoiler: <a onclick="$(this).parents('.codebox').find('.keskaa-content').toggle('slow'); return false;" href="#">Toggle</a></dt>
<dd><div class="keskaa-content" style="display: none;border-bottom: 1px solid rgb(204, 204, 204);">{TEXT}</div><noscript><span style="background-color: black; color:black;">{TEXT}</span></noscript></dd>
<dt style="border-bottom:none; color: #CCCCCC; text-align: right; margin-bottom: -6px;"><a href="http://horhuset.haxalot.com/viewtopic.php?f=1008&t=2">Keska'a box</a></dt>
</dl>
Last edited by Sir. Haxalot on Sat Mar 13, 2010 3:31 pm, edited 4 times in total.
Image
FNolan
Registered User
Posts: 58
Joined: Wed Jan 06, 2010 12:15 am

Re: Custom BBCodes

Post by FNolan »

I tried a search of this topic but didn't get a result for it.

What I would like to do is make a custom bbcode that'll have a popup window asking for input of a web addess and a second input for Affiliate ID# nd third for the address for an image. Then it takes that info and makes a linked image. Is that possible and if so how ? I'm a member of another form that has this option but it's not a phpBB form. Not sure who made it.

The HTML would basically be your standard code . . .

Code: Select all

<a href="{Address}?rf={AID}"><img src="{IMAGE}"></img></a>
Is it possible ?

Thanks In Advance :)
User avatar
sunsop
Registered User
Posts: 671
Joined: Sat Sep 05, 2009 6:36 am

Re: Custom BBCodes

Post by sunsop »

Sir. Haxalot wrote:More Awesome spoiler tag!

This is a Spoilertag that creates a spoiler box with a more phpBB style and animated opening. The animation of the box is done by jQuery, and therefore it needs an added line in overall_header.html to work. The HTML code should be added within the <head>...</head> tags, preferrably below the other javascript includes.

Demo

overall_header.html:

Code: Select all

<script type="text/javascript" src="http://sir.haxalot.com/jquery.js"></script>
BBCode:

Code: Select all

[spoiler]{TEXT}[/spoiler]
Replacement:

Code: Select all

<dl class="codebox"> 
<dt>Spoiler: <span onclick="$(this).parent().next().children().toggle('slow');"  onMouseOver="$(this).css({ 'color': '#eb8c0e','text-decoration': 'underline'});" onMouseOut="$(this).css({'color': '#000000', 'text-decoration': 'none'});" class="spoilerlink">Toggle</span></dt>
<dd><div class="spoilercontent" style="display: none;">{TEXT}</div></dd>
</dl>
What exactly is a Spoiler box/
Locked

Return to “Custom BBCode Development and Requests”