OPTION 1 : Create a Custom BBCode (no Icon)
###################################################################################################
##
## Files To Edit: 0
##
## Included Files: 0
##
## Author Notes:
## bbcode : Center text ( this is already done )
##
###################################################################################################
Log in to your forum and go to [ Administration Control Panel ]
go to: [ Posting ] > [ Messages :: BBCodes] > [ Add a new BBCode ]
#-----[ BBCode usage ]-----------------------------------------------
[center]{TEXT}[/center]
#-----[ HTML replacement ]-------------------------------------------
<div align="center">{TEXT}</div>
#-----[ Help line ]--------------------------------------------------
Enter your text to be centered between [center] and [/center]
#-----[ Settings ]---------------------------------------------------
Check the "Display on posting page"
#-----[ Submit ]-----------------------------------------------------
Click on submit button
OPTION 2 : Create a Custom BBCode with Icon
###################################################################################################
##
## Files To Edit: 0
##
## Included Files: 0
## images/goear.gif
##
## Author Notes:
## Install a new custom bbcode, show it with an image instead a button.
## bbcode : Goear audio
##
###################################################################################################
Log in to your forum and go to [ Administration Control Panel ]
Go to: [ Posting ] > [ Messages :: BBCodes] > [ Add a new BBCode ]
#-----[ BBCode usage ]-----------------------------------------------
[goear]http://www.goear.com/listen.php?v={TEXT}[/goear]
#-----[ HTML replacement ]-------------------------------------------
<object width="353" height="132">
<embed src="http://www.goear.com/files/external.swf?file={TEXT}" type="application/x-shockwave-flash" wmode="transparent" quality="high" width="353" height="132"></embed></object>
<br />
#-----[ Help line ]--------------------------------------------------
Insert audio from Goear : [goear]Goear audio URL[/goear] ( Example : http://www.goear.com/listen.php?v=0874d92 )
#-----[ Settings ]---------------------------------------------------
Do not check the "Display on posting page"
#-----[ Submit ]-----------------------------------------------------
Click on submit button
Go to: [ Posting ] > [ Advanced BBCode Box 3 ] > [ ABBC3 BBCodes ]
#-----[ Find ]-------------------------------------------------------
[goear]
#-----[ Edit ]-------------------------------------------------------
Click on Green action icon.
#-----[ Set up ]-----------------------------------------------------
# Note : Now you can mannage this bbcode
If you want to use it in posts, check : Post settings
If you want to use it in private messages, check : Private message settings
If you want to use it in signatures, check : Signature settings
In "Tag image icon" use the pull-down to find "goear.gif"
#-----[ Submit ]-----------------------------------------------------
Click on submit button
OPTION 3 : Create a Custom BBCode with Icon and Wizard
###################################################################################################
##
## Files To Edit:
## language/en/mods/abbcode.php
## styles/prosilver/template/posting_abbcode_buttons.html
##
## Included Files:
## images/deezer.gif
##
## Author Notes:
## Install a new custom bbcode, show it with an image instead a button and get a wizard.
## bbcode : Deezer audio
##
###################################################################################################
###################################################################################################
## Step: 1 / 3
###################################################################################################
Log in to your forum and go to [ Administration Control Panel ]
Go to: [ Posting ] > [ Messages :: BBCodes] > [ Add a new BBCode ]
#-----[ BBCode usage ]-----------------------------------------------
[deezer]http://www.deezer.com/track/{TEXT}[/deezer]
#-----[ HTML replacement ]-------------------------------------------
<object width="180" height="25">
<param name="movie" value="http://www.deezer.com/embedded/small-widget.swf?idSong={TEXT}&colorBackground=0x525252&colorButtons=0xDDDDDD&textColor1=0xFFFFFF&autoplay=0" />
<embed src="http://www.deezer.com/embedded/small-widget.swf?idSong={TEXT}&colorBackground=0x525252&colorButtons=0xDDDDDD&textColor1=0xFFFFFF&autoplay=0" type="application/x-shockwave-flash" wmode="transparent" quality="high" width="180" height="25"></embed>
</object>
<br />
#-----[ Help line ]--------------------------------------------------
[Deezer]Deezer audio URL[/Deezer]
#-----[ Settings ]---------------------------------------------------
Do not check the "Display on posting page"
#-----[ Submit ]-----------------------------------------------------
Click on submit button
#--------------------------------------------------------------------
Go to: [ Posting ] > [ Advanced BBCode Box 3 ] > [ ABBC3 BBCodes ]
#-----[ Find ]-------------------------------------------------------
[deezer]
#-----[ Edit ]-------------------------------------------------------
Click on Green action icon.
#-----[ Set up ]-----------------------------------------------------
# Note : Now you can mannage this bbcode
If you want to use it in posts, check : Post settings
If you want to use it in private messages, check : Private message settings
If you want to use it in signatures, check : Signature settings
In "Tag image icon" use the pull-down to find "deezer.gif"
#-----[ Submit ]-----------------------------------------------------
Click on submit button
###################################################################################################
## Step: 2 / 3
###################################################################################################
#
#-----[ OPEN ]-------------------------------------------------------
# NOTE: You will have to make this change to each language you have installed
#
language/en/mods/abbcode.php
#
#-----[ FIND ]-------------------------------------------------------
#
// Custom BBCodes
#
#-----[ AFTER, ADD ]------------------------------------------------
# NOTE: Add these lines on a new blank line after the preceding line(s) to find.
#
# USAGE: the tag name MUST start always with uppercase + _TAG / _MOVER / _TIP /_EXAMPLE or _VIEW. I use DEEZER for this example:
#
// Deezer audio
'DEEZER_TAG' => 'Deezer',
'DEEZER_MOVER' => 'Insert audio from Deezer',
'DEEZER_TIP' => '[Deezer]Deezer audio URL[/Deezer]',
'DEEZER_EXAMPLE' => 'http://www.deezer.com/track/351534',
'DEEZER_VIEW' => '<object width="180" height="220"><param name="movie" value="http://www.deezer.com/embedded/widget.swf?path=696108&lang=en&autoplay=true&id=351534"></param><embed src="http://www.deezer.com/embedded/widget.swf?path=696108&lang=en&autoplay=true&id=351534" type="application/x-shockwave-flash" width="180" height="220"></embed></object>',
###################################################################################################
## Step: 3 / 3
###################################################################################################
#
#-----[ OPEN ]-------------------------------------------------------
#
styles/abbcode/posting_abbcode_buttons.js
#
#-----[ FIND ]-------------------------------------------------------
#
/** Extra Custom bbcodes - Start **/
#
#-----[ AFTER, ADD ]------------------------------------------------
# NOTE: Add these lines on a new blank line after the preceding line(s) to find.
#
case "deezer":