Mod Vozme_BBCode_Mod_0_1_0

User submitted BBCodes
Let us see what You have
There is no support here! Only Read Access!
Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.
Remember that it is not allowed to use {TEXT} inside the html tags!!!
It causes a serious security risk to your board and users.
Like this: <div style="{TEXT}">{TEXT}</div>
Green = OK - Red = forbidden
Locked
User avatar
Lucky
BBCoder II
BBCoder II
Posts: 8
Joined: 26 May 2010, 23:31
BBCodes: 100
Favourite BBCode: Vozme bbcode MOD
Favourite MOD: Seo Premod
Location: Italy
Contact:

Mod Vozme_BBCode_Mod_0_1_0

Post by Lucky »

Vozme_BBCode_Mod_0_1_0
License: GPL3.0
Autor: Lucky
Requirement: phpBB 3.0.7PL1 | PortalXl 5.0 Premod & Plain


Mod BBCode to insert your own text and listen, you can choose male or female voice, code bbcode USER_LANG provides the variable so that it automatically set the user language, besides adding BBCode is provided 's adding a new definition of language in the directory language / en / common.php.

Installing BBCode in ACP / Contents / BBCode / Add New BBCode

BBCode:

Code: Select all

[vozme={SIMPLETEXT1}]{SIMPLETEXT2}[/vozme]
HTML:

Code: Select all

<table style='margin:0;width:450px;min-height:100px;border:1px dashed #740000;'>
  <tr>
    <td align='middle' bgcolor='#3333FF' valign='center' width='1%'><br />
       <FONT color='#ffffff' size='+7'><b>! </b></font><br /></td>
    <td valign='top' cellpadding="5" style='background:#FFFFFF' ><div id="{SIMPLETEXT1}">{SIMPLETEXT1}
</div></td>
  </tr>
</table>

<script type="text/javascript" src="http://vozme.com/get_text.js"></script>
<button style="background-color:white; 
 background-image:
 url(http://vozme.com/img/megaphone40x40w.gif); 
 background-position: left center; 
 background-repeat:no-repeat; 
 height: 48px; font-size:70%; 
 padding:4px 4px 4px 44px;" 
 onclick="get_id('{SIMPLETEXT1}','{L_USER_LANG}','{SIMPLETEXT2}');">
{L_VOZME_BUTTON}</button>
<br><br></br>
Helpline:

Code: Select all

[vozme={your text}]{male voice=ml - female voice=fm}[/vozme]

Language changes

Open file language/en/common.php

Search:

Code: Select all

?>
Add before:

Code: Select all

// Mod_Vozme BBCode

$lang = array_merge($lang, array(
	'VOZME_BUTTON'			=> '<strong>Listen to the text.</strong><br>The popup must be enabled!</br>',

));

Demo:

My board

Example:

Code: Select all

[vozme=autore della mod Lucky]ml[/vozme]
Locked