Custom BBcodes for phpBB3

Discuss anything here, but obey the rules!

Moderators: Tech Team, Support Staff

why_spyder
Joined: December 13th, 2007, 5:36 am

September 29th, 2008, 6:24 am

For those that like to use the Custom Video Players that you can make on YouTube (for embedding on a website)

Standard Player

Code: Select all

[TubePlayer-S]{TEXT}[/TubePlayer-S]

Code: Select all

<object type="application/x-shockwave-flash" data="http://www.youtube.com/cp/{TEXT}" width="416" height="337"> 
    <param name="movie" value="http://www.youtube.com/cp/{TEXT}" /> 
    <param name="wmode" value="transparent" /> 
    </object>

Code: Select all

Enter the video ID string - The video ID string is the part after cp/ in the URL
Fullscreen Player

Code: Select all

[TubePlayer-W]{TEXT}[/TubePlayer-W]

Code: Select all

<object type="application/x-shockwave-flash" data="http://www.youtube.com/cp/{TEXT}" width="746" height="413"> 
    <param name="movie" value="http://www.youtube.com/cp/{TEXT}" /> 
    <param name="wmode" value="transparent" /> 
    </object>

Code: Select all

Enter the video ID string - The video ID string is the part after cp/ in the URL
For an example of what this is - check out the bottom of this post (both players are the Fullscreen Player): http://thextremeracers.freeforums.org/p ... -t322.html
why_spyder
The Xtreme Racers
http://thextremeracers.freeforums.org/
Reply

PSP_LOVER
5
Joined: September 27th, 2008, 3:38 pm

September 29th, 2008, 5:37 pm

<embed src="http://www.snesclassics.com/snes-games/ ... /kirby.swf" type="application/x-shockwave-flash" width="600" height="400"></embed>


this html is a flash game

how can i get this html into a bbcode
please explain im kinda new a this



thanks
Reply

Carlos
Joined: September 20th, 2008, 8:39 pm

October 2nd, 2008, 1:45 am

Hello guys...

Can someone help me with a BBCode to embed a video from anywhere...I mean, that I can get the embed code and just added from where ever they come from?

I need this since I have videos from different sites to show not only YouTube...
Reply

User avatar
po$eydoNNN*
Support Team
Support Team
Joined: June 15th, 2008, 7:25 pm

October 2nd, 2008, 4:35 pm

PSP_Lover if you read through the First Post, the Tutorial, just fill that in as the HTML Replacement.

Make the BBCode Usage: [game][/game] and post it in a Forum Description somewhere!
Posey
Support Staff

"I'm pretty sure there's a lot more to life than being really, really, ridiculously good looking. And I plan on finding out what that is.." - me

"The time Lichtenstein invaded Italy with an army of 80 soldiers and returned with 81. They actually made an Italian friend!" - source
Reply

Lod2project
Joined: September 8th, 2007, 1:09 pm

October 4th, 2008, 6:08 pm

How to create a bbcode that adds a line in the middle of the text like "erasing" it.

As far as i remeber in phpbb2 was like this:
[s]text[/s]
Legend of Dragoon 2 Unofficial project!
Our forum:
http://lod2thedarkprophecy.freeforums.org/
Reply

Lod2project
Joined: September 8th, 2007, 1:09 pm

October 5th, 2008, 4:42 pm

thx :)
Legend of Dragoon 2 Unofficial project!
Our forum:
http://lod2thedarkprophecy.freeforums.org/
Reply

User avatar
darkrune
Joined: April 14th, 2008, 7:39 pm

October 5th, 2008, 7:33 pm

Can´t get the youtube video´s come to work, how do i make it in the old way?

i mean how do i make the video´s in the old way, with that code there´s was used?
I have the full links of the video´s i want to make, but i don´t know how i only let them work.
I am new on this board.
Reply

PSP_LOVER
5
Joined: September 27th, 2008, 3:38 pm

October 10th, 2008, 3:06 pm

po$eydoNNN* wrote:PSP_Lover if you read through the First Post, the Tutorial, just fill that in as the HTML Replacement.

Make the BBCode Usage: [game][/game] and post it in a Forum Description somewhere!
im not just trying to make 1 flash game i want all the games from that site:D

ps. im not good in this and i dont want to mess up my forum just because 1 game + theres no back up so i dont want to repost all my stuff all over again :shock:
Reply

addsubtract
Joined: August 18th, 2008, 8:54 pm

October 10th, 2008, 3:24 pm

does anyone know how to do this? bbcodes and html replacement needed...

for last fm, i wanted the options for any of the following:
User's Profile Radio:
User's Recently played tracks:
User's Overall Top Artists:
User's Playlist:

and, for flickr, just the show option to be displayed in the forum.

anyone know what these are? i'd appreciate the help!
Reply

User avatar
Cindi
Joined: October 18th, 2008, 9:30 pm

October 19th, 2008, 7:14 am

Is there a way to do this with more than one player?

I have several with different music that I want to go in different areas. I tried just adding the html
in the messages between the musicplayer codes and it didn't work. When I tried to do a BCcode for two different players, it wouldn't work either..

emuxzone wrote:BK try:

ACP > Posting > New Custom BB Code

1. bb code creation: [musicplayer][/musicplayer]

2.html replacement: place your music player code in this box

3. help line - optional

4. display button for posting, i advise leaving this unticked

5. submit

I got my music player working that that to start with, then changed it at a later date...see if that helps you
Reply

why_spyder
Joined: December 13th, 2007, 5:36 am

October 22nd, 2008, 2:25 am

Is there a bbcode/html replacement for insert a table into a post?
why_spyder
The Xtreme Racers
http://thextremeracers.freeforums.org/
Reply

kindredscream
Joined: March 23rd, 2008, 9:24 am

October 22nd, 2008, 8:39 am

Rss feed viewer

BBCode

Code: Select all

[rss]{URL}[/rss]
html replacement

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google AJAX Feed API - Simple Example</title>
    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAA89Khmn6N0hHNjPlHPtAKaRQ3e-rST5qtT_67Fzf6FmB8uetEYxQM_K6CJUB1fQ8QXoRab0cZj1pPHg"></script>
    <script type="text/javascript">
 
    google.load("feeds", "1");
 
    function initialize() {
      var feed = new google.feeds.Feed("{URL}");
      feed.load(function(result) {
        if (!result.error) {
          var container = document.getElementById("feed");
          for (var i = 0; i < result.feed.entries.length; i++) {
            var entry = result.feed.entries[i];
            var div = document.createElement("div");
            div.appendChild(document.createTextNode(entry.title));
            container.appendChild(div);
          }
        }
      });
    }
    google.setOnLoadCallback(initialize);
 
    </script>
  </head>
  <body>
    <div id="feed"></div>
  </body>
</html>
Still need to be refined to show links but basicly makes a list of 5
Reply

kindredscream
Joined: March 23rd, 2008, 9:24 am

October 22nd, 2008, 8:42 am

images flash and youtube
darkrune wrote:Can´t get the youtube video´s come to work, how do i make it in the old way?

i mean how do i make the video´s in the old way, with that code there´s was used?
I have the full links of the video´s i want to make, but i don´t know how i only let them work.
BBCode

Code: Select all

[object={NUMBERW},{NUMBERH}]{URL}[/object]
NUMBERW = width
NUMBERH = hight

HTML Replacement

Code: Select all

<object width="{NUMBERW}" height="{NUMBERH}"><param name="object" value="{URL}"></param><param name="allowFullScreen" value="true"></param><embed src="{URL}" type="application/x-shockwave-flash" allowfullscreen="true" width="{NUMBERW}" height="{NUMBERH}"></embed></object>
hope thats what u wanted it kinda dose images flash and youtube all in one
Last edited by kindredscream on October 22nd, 2008, 8:51 am, edited 1 time in total.
Reply

kindredscream
Joined: March 23rd, 2008, 9:24 am

October 22nd, 2008, 8:50 am

Radio

BBCode

Code: Select all

[radio]{url}[/radio]
Html Replacement

Code: Select all

<div style="color:red;font-weight:bold;">Radio</div> <OBJECT ID="MediaPlayer" WIDTH=468 HEIGHT=50
CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject">

<PARAM NAME="FileName" VALUE="{url}" valuetype="ref" ref>
<param name="AudioStream" value="1">
<param name="AutoSize" value="0">
<param name="AutoStart" value="false">
<param name="AnimationAtStart" value="0">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">
<param name="Balance" value="0">
<param name="BaseURL" value>
<param name="BufferingTime" value="5">
<param name="CaptioningID" value>
<param name="ClickToPlay" value="-1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="1">
<param name="DisplaySize" value="1">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="-1">
<param name="EnableTracker" value="-1">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="0">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value>
<param name="SAMIStyle" value>
<param name="SAMIFileName" value>
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="0">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="0">
<param name="ShowStatusBar" value="-1">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="0">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="333333">
<param name="VideoBorder3D" value="-1">
<param name="Volume" value="-1">
<param name="WindowlessVideo" value="-1">
<EMBED TYPE="application/x-mplayer2" SRC="{url}"
NAME="MediaPlayer"
WIDTH=468
HEIGHT=50>
</EMBED></OBJECT>
<script type="text/javascript"><!--
google_ad_client = "pub-4889495463325781";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "111111";
google_color_bg = "111111";
google_color_link = "e4d3a6";
google_color_url = " E4D3A6";
google_color_text = "FD5A1E";
//--></script>
i think the url must end with .asx but a radio useing Windows Media Player
Reply

Blanco
Joined: September 11th, 2008, 9:27 am

November 2nd, 2008, 4:33 am

How can I embed an mp3 file?
For example, I have http://www.music.com/music.mp3
and I want to embed it in a post.
What do I do?

Thanks in advance.
Reply

User avatar
stormwench
Valued Contributor
Joined: May 8th, 2008, 10:14 pm

November 2nd, 2008, 5:38 am

why_spyder wrote:Is there a bbcode/html replacement for insert a table into a post?
There is already table creation code posted in the discussion to the phpbb3 custom BBCode in the sticky of complied tutorials at the top of this forum.

I had created this some time ago and it works about as simply as it can work with custom BBcode.

http://forum.freeforums.org/viewtopic.p ... 965#253965
Thank you for using FreeForums.org
Stormy
Support Team

I would prefer that your support issue be posted on the support forum for quicker response.
*** FreeForums.org phpBB3 Tutorials ***
[1] Basic Permissions -- [7] Custom BBCodes ------ [13] Change Language
[2] Uploading a Logo --- [8] Online/Offline Status - [14] Counter
[3] Avatars ------------- [9] Who is Online ---------- [15] iPortal
[4] Making a Catogory - [10] Deleting an Account -- [16] Parking Domain Name
[5] Making a Forum ---- [11] Forum Images -------- [17] Quick Reply
[6] Ajax Chat----------- [12] Colored Name -------- [18] Utility Box
Reply

Sleepy
Joined: May 13th, 2008, 7:42 pm

November 9th, 2008, 10:56 am

Hello, since I have no experiences with making BBcodes.

Could someone help me out with the next ones?


I do not like Youtube, so I use Dailymotion

Code: Select all

http://www.dailymotion.com/visited/search/nine%2Binch%2Bnails%2Bsin/video/x32e9_nine-inch-nails-sin
anyone know how to make it into a BBcode?


Others:

Code: Select all

<iframe src="http://www2.shoutmix.com/?coa" width="600" height="400">
</iframe>

Code: Select all

<div style="text-align: center; margin-left: auto; visibility:visible; margin-center: auto; width:600px;"><embed style="width:600px; visibility:visible; height:250px;" allowScriptAccess="never" src="http://www.musicplaylist.us/mc/mp3player-othersite.swf?config=http://www.musicplaylist.us/mc/config/config_black_noautostart_shuffle.xml&mywidth=435&myheight=270&playlist_url=http://www.musicplaylist.us/loadplaylist.php?playlist=37609887" menu="false" quality="high" width="600" height="250" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/><BR>
</a </a> </div>

Code: Select all

<img src="http://i296.photobucket.com/albums/mm172/SleepTight666/angels2.gif" />

I would truly appreciate it.
Reply

Facade
8
Joined: November 10th, 2008, 6:08 am

November 11th, 2008, 6:45 pm

Hmmm. This is pretty useful....but I still can't figure out how to use it all. Seems like quite a jumble of characters.
How can I make a code just for allowing Youtube Videos to "Embed" onto Posts??

That'd be great.
Reply

User avatar
stormwench
Valued Contributor
Joined: May 8th, 2008, 10:14 pm

November 11th, 2008, 7:05 pm

The tutorial http://forum.freeforums.org/viewtopic.php?t=17486 explains how to create custom BBCode using the Create BBCode in your ACP under the posting tab.

In the case of YouTube there are several examples both in the tutorial as well as in the posts that follow it, what to plug into the boxes in Create BBcode to make a YouTube button to use in posts to embed YouTube.

You don't need another BBcode written as there are actually several YouTube BBCodes posted in that Topic that cover every way it can be made to work.

Read the tutorial first so you understand what BBCode Usage and HTML replacement are and then use the YouTube example BBCodes to fill those in on the Create BBcode page. That will give you exactly what you are seeking.
Thank you for using FreeForums.org
Stormy
Support Team

I would prefer that your support issue be posted on the support forum for quicker response.
*** FreeForums.org phpBB3 Tutorials ***
[1] Basic Permissions -- [7] Custom BBCodes ------ [13] Change Language
[2] Uploading a Logo --- [8] Online/Offline Status - [14] Counter
[3] Avatars ------------- [9] Who is Online ---------- [15] iPortal
[4] Making a Catogory - [10] Deleting an Account -- [16] Parking Domain Name
[5] Making a Forum ---- [11] Forum Images -------- [17] Quick Reply
[6] Ajax Chat----------- [12] Colored Name -------- [18] Utility Box
Reply

WickedSmile
Joined: November 8th, 2008, 4:17 pm

November 20th, 2008, 2:40 am

~Forum Nut~ wrote:Image

You can find this fully customizable moderator set here:
http://phpbb3administration.freeforums. ... h-t88.html

Have fun with them :D

~FN~
I love them, but how do you turn them into buttons that only the mods can use? If the buttons show up for everyone then anyone could use them even if they couldn't perform the actual action of say locking a thread.
Reply

Cliffro
Joined: July 18th, 2007, 9:13 pm

November 23rd, 2008, 3:03 pm

I wanted to post the custom code I just made.

Its for JibJab and it works

Here's What I have

Code: Select all

BBcode: [jibjab]{TEXT}[/jibjab]

Code: Select all

HTML Replacement:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="JibJabPlayer" width="440" height="370" align="middle"><param name="allowScriptAccess" value="always" /><param name="movie" value="http://www.jibjab.com/v/{TEXT}" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="http://www.jibjab.com/v/{TEXT}" loop="false" menu="false" quality="high" bgcolor="#C4C2AA" width="440" height="370" swliveconnect="true" id="JibJabPlayer" name="JibJabPlayer" align="middle" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>
The Help Line is up to you.

I had tried removing the extra links included but kept having it mess with my layout....TILL I noticed an open <div> tag that I missed,once I removed the stuff starting @ <Div>, it stopped doing that.

edit
Figured it out although I doubt anyone had time to read the original where i goofed and broke it so it didnt play JibJab Originals.
Last edited by Cliffro on November 23rd, 2008, 3:23 pm, edited 1 time in total.
Reply

Cliffro
Joined: July 18th, 2007, 9:13 pm

November 23rd, 2008, 3:20 pm

Delete please.
Reply

Durval
3
Joined: November 23rd, 2008, 5:24 pm

November 24th, 2008, 1:03 am

I cant use embed url. I need to use a java embed chat that I had on version 2.0 but now I cant use on 3.0.

Is it anyway I can use it??? help, please
Durval
Reply