Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: User Deleted on November 04, 2014, 07:12:01 AM

Title: Deformed Mod
Post by: User Deleted on November 04, 2014, 07:12:01 AM
how do i fix the way this talkbox appears on the forum

here's the code the modification told me to add
// Custom banners and shoutboxes should be placed here, before the linktree.


global $user_info, $modSettings;
if(empty($modSettings['TalkBox_Disabled'])){
if(!empty($modSettings['TalkBox_Show_Guests'])){
if(!$user_info['is_guest']){
global $boarddir;
if(file_exists($boarddir.'/talkbox/index.php')){
echo '<br />';
require_once($boarddir.'/talkbox/index.php');
}
}
}
else {
global $boarddir;
if(file_exists($boarddir.'/talkbox/index.php')){
echo '<br />';
require_once($boarddir.'/talkbox/index.php');
}
}
}
Title: Re: Deformed Mod
Post by: Rumpa on November 04, 2014, 07:44:37 AM
which talkbox
Title: Re: Deformed Mod
Post by: User Deleted on November 04, 2014, 07:21:40 PM
Quote from: Rumpa on November 04, 2014, 07:44:37 AM
which talkbox

the one located here: http://www.simplemachines.org/community/index.php?topic=511805.msg3648456#msg3648456 (http://www.simplemachines.org/community/index.php?topic=511805.msg3648456#msg3648456)
Title: Re: Deformed Mod
Post by: Kindred on November 05, 2014, 03:04:30 PM
in which case, you really should be asking the author of that mod...
Title: Re: Deformed Mod
Post by: N i g h t m a r e on November 23, 2014, 01:26:41 PM
Had the same problem, was actually rather easy to fix when I was messing around. It all has to do with where you place the code, if the problem you're talking about is what I think it is. I don't use SMF anymore so I can't tell you exactly how to fix it, just try putting it in different area's but make sure you back up, or know what to delete and/ move.