adapted from 2.08. All credit to authors. I did modify a few things. I added my version of edit and delete. More work is maybe needed, like translations, and emoticons. Silly things really, but test and see. Backup all files first. class_color is added to this mod in the optional edits below. Feel free to add as needed. Since everyone has different emoticons, I didnt bother to edit that area of the code. You can add what you want. IMG and URL are also a separate bbcode that would need added. I dont have alot of time as of late, so I am trying to squeeze this in. Not sure if this is good enough for everyone or not, but let me know how to make it better, or make some changes and tell me how you made it better. :)
Original post here https://www.torrenttrader.xyz/index.php?threads/shoutbox-with-privates-rooms-bbcodes-smiles-edit-msg.4374/
Adjust your shoutbox in index.php to height="250"
Run sql
add to each theme css
upload files keeping folder structure
~~~~~~~~~~OPTIONAL EDIT~~~~~~~~~~
If you are using class_color
class color mod edit. In shoutbox.php find
replace with
Original post here https://www.torrenttrader.xyz/index.php?threads/shoutbox-with-privates-rooms-bbcodes-smiles-edit-msg.4374/
Adjust your shoutbox in index.php to height="250"
Run sql
ALTER TABLE `shoutbox` ADD `room` int(10) unsigned NOT NULL DEFAULT 0;add to each theme css
.bb_icon, .bb_icon:hover {
background:#999999;
border:1px solid #666666;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding:1px;
min-width:16px;
cursor:pointer;
}
.bb_icon:hover {
border: 1px solid #dddddd;
}upload files keeping folder structure
~~~~~~~~~~OPTIONAL EDIT~~~~~~~~~~
If you are using class_color
class color mod edit. In shoutbox.php find
echo "<div align='right' style='float: right'></div>";
echo '</td><td style="font-size: 12px; padding-left: 5px"><a href="'.$site_config['SITEURL'].'/account-details.php?id='.$row['userid'].'" target="_parent"><b>'.($row['user']).':</b></a> '.nl2br(format_comment($row['message']));
echo '</td></tr>';replace with
echo "<div align='right' style='float: right'></div>";
echo '</td><td style="font-size: 12px; padding-left: 5px"><a href="'.$site_config['SITEURL'].'/account-details.php?id='.$row['userid'].'" target="_parent"><b>'.class_user($row['user']).'</b></a> '.nl2br(format_comment($row['message']));
echo '</td></tr>';
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
[/url]