Support for SMF Tricks Themes & Mods

0 Members and 1 Guest are viewing this topic.

*
justinguru
Sniffer
Reseller theme problem with sa facebook mod
August 15, 2016, 04:26:59 AM
Gooday daniel i have a problem with installing facebook mod on reseller theme, ive attached the error i get, please can u help me fix it, really want to use the theme because of its responsiveness, a speedy reply will be appreciated






*
Daniel
#1
Webmaster
Install the mod, and then do this:
Display.template.php (Themes/Reseller)
Search:
Code: [Select]
// Maybe we can approve it, maybe we should?Add before:
Code: [Select]
    if (class_exists('SAFacebookhooks')) {
    echo
SAFacebookhooks::facebook_showPub(
    array(
'subject' => $message['subject'],
'body' => $message['body'],
'href' => $message['href'],
'isPost' => true,
        )
);
    }
Regards!
PD: Remember check "Reseller" before install the mod.
*
justinguru
#2
Sniffer
in other word it should look like this right ? .. if am wrong could just just give me the correct code so i just copy and paste it in mine

Code: [Select]
// Maybe we can approve it, maybe we should?   
                        if (class_exists('SAFacebookhooks')) {
    echo
SAFacebookhooks::facebook_showPub(
    array(
'subject' => $message['subject'],
'body' => $message['body'],
'href' => $message['href'],
'isPost' => true,
        )
);
    }