MyBB Community Forums

Full Version: DVZ Shoutbox 2.3.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2015-02-28, 04:05 AM)WhatsCS Wrote: [ -> ]Hey there, for the life of me I can't figure out where to insert {$dvz_shoutbox}. All of the CSS has been inserted successfully and the plugin has been activated without any issue. I just can't figure out where to put that variable. It didn't work when I inserted it into index.php so I don't know what to do.
It needs to be inserted into the index template (Templates & Style in ACP).
The error is in the database. I updated from localhost and it fixed the issue. If the database was the issue and uninstalling did not fix the issue what could be done without deleting the whole database?
@Devilshakerz,you will implement private messages in next update??
Parse error: syntax error, unexpected '[' in /home/a8730152/public_html/inc/plugins/dvz_shoutbox.php on line 5
Please note for update. Can send a picture in the chat. and emotion....
Is there a way to add a smilies button like MyShoutBox?
(2015-03-16, 06:29 PM)Sgt Cheesepuffs Wrote: [ -> ]Is there a way to add a smilies button like MyShoutBox?

like that? 

http://i.imgur.com/oUbCmDP.png
(2015-03-24, 05:35 PM)AsLaN Wrote: [ -> ]
(2015-03-16, 06:29 PM)Sgt Cheesepuffs Wrote: [ -> ]Is there a way to add a smilies button like MyShoutBox?

like that? 

http://i.imgur.com/oUbCmDP.png

YES!!! Big Grin
(2015-03-25, 01:53 AM)Sgt Cheesepuffs Wrote: [ -> ]
(2015-03-24, 05:35 PM)AsLaN Wrote: [ -> ]
(2015-03-16, 06:29 PM)Sgt Cheesepuffs Wrote: [ -> ]Is there a way to add a smilies button like MyShoutBox?

like that? 

http://i.imgur.com/oUbCmDP.png

YES!!! Big Grin


GO to Template Sets » Global Templates » Edit Template: dvz_shoutbox and edit with this:

<div id="shoutbox" class="front{$classes}">

<div class="head">
<strong>{$lang->dvz_sb_shoutbox}</strong>
 
  
  
<p class="right">
  
<a style="cursor: pointer;" id="smilies" onclick="window.open('{$mybb->settings['bburl']}/misc.php?action=smilies&amp;popup=true','Smilies','scrollbars=yes, menubar=no,width=920,height=720,toolbar=no');"><img src="http://i.imgur.com/18kRFaj.png" alt="smilies" title="smilies" border="0"></a><a style="cursor: pointer;" id="archive" onclick="window.open('{$mybb->settings['bburl']}/index.php?action=shoutbox_archive','Archive','scrollbars=yes, menubar=no,width=920,height=720,toolbar=no');"><img src="http://i.imgur.com/qYfnYLg.png" alt="{$lang->dvz_sb_archivelink}" title="{$lang->dvz_sb_archivelink}" border="0"></a>
  
</p>
  
</div>

<div class="body">

{$panel}

<div class="window" style="height:{$mybb->settings['dvz_sb_height']}px">
<div class="data"></div>
</div>

</div>

<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/dvz_shoutbox.js"></script>
{$javascript}
  <script>
dvz_shoutbox.callbacks['update'].push(function(){
   if ($('#shoutbox .entry.new').length) {
       var audio = new Audio(rootpath + '/images/dvz_shoutbox.mp3');
       audio.volume = 0.2;
       audio.play();
   }
});
</script>

</div>
How to prune chatbox ???