Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
Thread Tools
  #1  
Old 4th September 2011, 22:08
kira kira is offline
Senior Member
 
Join Date: Jul 2011
France
Posts: 69
Question BBcode shoutbox
hello I would like to add bbcode plugin shoutbox? how! thank you
Reply With Quote
  #2  
Old 4th September 2011, 22:16
xDev xDev is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 158
Default
Quote:
Originally Posted by kira View Post
hello I would like to add bbcode plugin shoutbox? how! thank you
add to index or to shoutbox

PHP Code:
function quickbbshout(){
echo 
"<center><table border=0 cellpadding=0 cellspacing=2 ALIGN=\"left\" width=\"25%\"><tr>";

echo 
"<td width=22><a href=\"javascript:bbshout('[b]', '[/b]')\"><img src=images/bbcode/bbcode_bold.gif border=0 alt='Bold' id=button1></a></td>";

echo 
"<td width=22><a href=\"javascript:bbshout('[i]', '[/i]')\"><img src=images/bbcode/bbcode_italic.gif border=0 alt='Italic'></a></td>";

echo 
"<td width=22><a href=\"javascript:bbshout('[u]', '[/u]')\"><img src=images/bbcode/bbcode_underline.gif border=0 alt='Underline'></a></td>";

echo 
"<td width=22><a href=\"javascript:bbshout('[url]', '[/url]')\"><img src=images/bbcode/bbcode_url.gif border=0 alt='Url'></a></td>";

echo 
"<td width=22><a href=\"javascript:bbshout('[img]', '[/img]')\"><img src=images/bbcode/bbcode_image.gif border=0 alt='Img'></a></td>";

echo 
"<td width=22><a href=\"javascript:bbshout('[blink]', '[/blink]')\"><img src=images/bbcode/bbcode_blink.gif border=0 alt='blink'></a></td>";

echo 
"<td width=22><a href=\"javascript:bbshout('[center]', '[/center]')\"><img src=images/bbcode/bbcode_center.gif border=0 alt='center'></a></td>";

echo 
"<td width=22><a href=\"javascript:bbshout('[left]', '[/left]')\"><img src=images/bbcode/bbcode_left.gif border=0 alt='left'></a></td>";

echo 
"<td width=22><a href=\"javascript:bbshout('[right]', '[/right]')\"><img src=images/bbcode/bbcode_right.gif border=0 alt='right'></a></td>";

echo 
"<td width=22><a href=\"javascript:bbshout('[df]', '[/df]')\"><img src=images/bbcode/bbcode_defile.gif border=0 alt='defile'></a></td>"
Attached Files
File Type: rar bbcode.rar (126.5 KB, 101 views)
Reply With Quote
The Following User Says Thank You to xDev For This Useful Post:
peiratikos (10th November 2011)
  #3  
Old 4th September 2011, 22:21
kira kira is offline
Senior Member
 
Join Date: Jul 2011
France
Posts: 69
Default
PHP Code:
    $_links_ '
    <a href="javascript:insert(\'[b]\', \'[/b]\', \'' 
$TSformname .  '\', \'' $TStextareaname '\');"><img src="' $BASEURL '/' .  $pic_base_url 'codebuttons/bold.gif" border="0" alt="' .  $lang->quick_editor['bold'] . '" title="' .  $lang->quick_editor['bold'] . '" /></a>
    <a href="javascript:insert(\'[i]\', \'[/i]\', \'' 
$TSformname .  '\', \'' $TStextareaname '\');"><img src="' $BASEURL '/' .  $pic_base_url 'codebuttons/italic.gif" border="0" alt="' .  $lang->quick_editor['italic'] . '" title="' .  $lang->quick_editor['italic'] . '" /></a>
    <a href="javascript:insert(\'[u]\', \'[/u]\', \'' 
$TSformname .  '\', \'' $TStextareaname '\');"><img src="' $BASEURL '/' .  $pic_base_url 'codebuttons/underline.gif" border="0" alt="' .  $lang->quick_editor['underline'] . '" title="' .  $lang->quick_editor['underline'] . '" /></a>
    <a href="javascript:insert(\'[url]\', \'[/url]\', \'' 
.  $TSformname '\', \'' $TStextareaname '\');"><img src="' .  $BASEURL '/' $pic_base_url 'codebuttons/link.gif" border="0"  alt="' $lang->quick_editor['link'] . '" title="' .  $lang->quick_editor['link'] . '" /></a>
    <a href="javascript:insert(\'[img]\', \'[/img]\', \'' 
.  $TSformname '\', \'' $TStextareaname '\');"><img src="' .  $BASEURL '/' $pic_base_url 'codebuttons/image.gif" border="0"  alt="' $lang->quick_editor['image'] . '" title="' .  $lang->quick_editor['image'] . '" /></a>
    <a href="javascript:insert(\'[email]\', \'[/email]\', \'' 
.  $TSformname '\', \'' $TStextareaname '\');"><img src="' .  $BASEURL '/' $pic_base_url 'codebuttons/email.gif" border="0"  alt="' $lang->quick_editor['email'] . '" title="' .  $lang->quick_editor['email'] . '" /></a>
    <a href="javascript:insert(\'<<<@!1!@>>>\', \'' 
.  $TSformname '\', \'' $TStextareaname '\');"><img src="' .  $BASEURL '/' $pic_base_url 'codebuttons/quote.gif" border="0"  alt="' $lang->quick_editor['quote'] . '" title="' .  $lang->quick_editor['quote'] . '" /></a>
    <a href="javascript:insert(\'[code]\', \'[/code]\', \'' 
.  $TSformname '\', \'' $TStextareaname '\');"><img src="' .  $BASEURL '/' $pic_base_url 'codebuttons/code.gif" border="0"  alt="' $lang->quick_editor['code'] . '" title="' .  $lang->quick_editor['code'] . '" /></a>';
    return 
$_links_;
  }

  function 
ts_show_shoutbox_bbcode_links ($TSformname 'shoutbox'$TStextareaname 'shoutbox')
  {
    
$colors = array ('black' => '#000000''blue' => '#1818A0',  'green' => '#00FF00''orange' => '#FF8040''pink' =>  '#FF00FF''red' => '#FF0000''yellow' => '#FFFF00');
    
$_links_ '
    <img src="pic/codebuttons/bold.gif" alt="Gras"  onClick="insert(\'[b]\', \'[/b]\', \'' 
$TSformname '\', \'' .  $TStextareaname '\');" />
    <img src="pic/codebuttons/italic.gif" alt="Italic"  onClick="insert(\'[i]\', \'[/i]\', \'' 
$TSformname '\', \'' .  $TStextareaname '\');" />
    <img src="pic/codebuttons/underline.gif" alt="Souligne"  onClick="insert(\'[u]\', \'[/u]\', \'' 
$TSformname '\', \'' .  $TStextareaname '\');" />
    <img src="pic/codebuttons/youtube.gif" alt="youtube"  onClick="insert(\'[youtube]\', \'[/youtube]\', \'' 
$TSformname '\',  \'' $TStextareaname '\');" />
    <img src="pic/codebuttons/image.gif" alt="Image"  onClick="insert(\'[img]\', \'[/img]\', \'' 
$TSformname '\', \'' .  $TStextareaname '\');" />

    '

I'm french and sorry display bbcodes s good, but not work! TS v5.6
Reply With Quote
  #4  
Old 4th September 2011, 22:30
xDev xDev is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 158
Default
Quote:
Originally Posted by kira View Post
I'm french and sorry display bbcodes s good, but not work! TS v5.6
edit this line on all to <img src="pic/bbcode/image.gif" alt="Image" so on till you done all
Reply With Quote
  #5  
Old 4th September 2011, 22:43
kira kira is offline
Senior Member
 
Join Date: Jul 2011
France
Posts: 69
Default
PHP Code:
    <table border="0" cellpadding="1" cellspacing="0">
                        <
tr>
                            <
td class="none">
                                <
a href="#" onclick="TSInsert(\'[b]\',\'[/b]\',\'' . $this->FormName . '\',\'' . $this->TextAreaName . '\'); return false;" class="borderit"><img src="' . $this->ImagePath . 'codebuttons/bold.gif" alt="' . $lang->quick_editor['bold'] . '" title="' . $lang->quick_editor['bold'] . '" /></a>
                            </
td>
                            <
td class="none">
                                <
a href="#" onclick="TSInsert(\'[i]\',\'[/i]\',\'' . $this->FormName . '\',\'' . $this->TextAreaName . '\'); return false;" class="borderit"><img src="' . $this->ImagePath . 'codebuttons/italic.gif" alt="' . $lang->quick_editor['italic'] . '" title="' . $lang->quick_editor['italic'] . '" /></a>
                            </
td>
                            <
td class="none">
                                <
a href="#" onclick="TSInsert(\'[u]\',\'[/u]\',\'' . $this->FormName . '\',\'' . $this->TextAreaName . '\'); return false;" class="borderit"><img src="' . $this->ImagePath . 'codebuttons/underline.gif" alt="' . $lang->quick_editor['underline'] . '" title="' . $lang->quick_editor['underline'] . '" /></a>
                            </
td
Reply With Quote
  #6  
Old 4th September 2011, 22:45
xDev xDev is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 158
Default
Quote:
Originally Posted by kira View Post
PHP Code:
    <table border="0" cellpadding="1" cellspacing="0">
                        <
tr>
                            <
td class="none">
                                <
a href="#" onclick="TSInsert(\'[b]\',\'[/b]\',\'' . $this->FormName . '\',\'' . $this->TextAreaName . '\'); return false;" class="borderit"><img src="' . $this->ImagePath . 'codebuttons/bold.gif" alt="' . $lang->quick_editor['bold'] . '" title="' . $lang->quick_editor['bold'] . '" /></a>
                            </
td>
                            <
td class="none">
                                <
a href="#" onclick="TSInsert(\'[i]\',\'[/i]\',\'' . $this->FormName . '\',\'' . $this->TextAreaName . '\'); return false;" class="borderit"><img src="' . $this->ImagePath . 'codebuttons/italic.gif" alt="' . $lang->quick_editor['italic'] . '" title="' . $lang->quick_editor['italic'] . '" /></a>
                            </
td>
                            <
td class="none">
                                <
a href="#" onclick="TSInsert(\'[u]\',\'[/u]\',\'' . $this->FormName . '\',\'' . $this->TextAreaName . '\'); return false;" class="borderit"><img src="' . $this->ImagePath . 'codebuttons/underline.gif" alt="' . $lang->quick_editor['underline'] . '" title="' . $lang->quick_editor['underline'] . '" /></a>
                            </
td
PHP Code:
    <table border="0" cellpadding="1" cellspacing="0">
                        <
tr>
                            <
td class="none">
                                <
a href="#" onclick="TSInsert(\'[b]\',\'[/b]\',\'' . $this->FormName . '\',\'' . $this->TextAreaName . '\'); return false;" class="borderit"><img src="' . $this->ImagePath . 'bbcode/bold.gif" alt="' . $lang->quick_editor['bold'] . '" title="' . $lang->quick_editor['bold'] . '" /></a>
                            </
td>
                            <
td class="none">
                                <
a href="#" onclick="TSInsert(\'[i]\',\'[/i]\',\'' . $this->FormName . '\',\'' . $this->TextAreaName . '\'); return false;" class="borderit"><img src="' . $this->ImagePath . 'bbcode/italic.gif" alt="' . $lang->quick_editor['italic'] . '" title="' . $lang->quick_editor['italic'] . '" /></a>
                            </
td>
                            <
td class="none">
                                <
a href="#" onclick="TSInsert(\'[u]\',\'[/u]\',\'' . $this->FormName . '\',\'' . $this->TextAreaName . '\'); return false;" class="borderit"><img src="' . $this->ImagePath . 'bbcode/underline.gif" alt="' . $lang->quick_editor['underline'] . '" title="' . $lang->quick_editor['underline'] . '" /></a>
                            </
td
Reply With Quote
  #7  
Old 10th November 2011, 21:26
peiratikos peiratikos is offline
Senior Member
 
Join Date: Mar 2011
P2P
Posts: 22
Default
thanks
Reply With Quote
Reply

Tags
bbcode , shoutbox


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 19:50. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.