CrimeS / BeCool-SMF

Other
0 stars 0 forks source link

Numer of modifications can't edit index.template.php #1

Open Jeroi opened 9 years ago

Jeroi commented 9 years ago

Hello your theme breaks compatibility with number of default modifications that are trying to edit index template file. Tests with these plugins fail:

Like Posts SMF likes 1.5

Atleast these do not works with your template.

CrimeS commented 9 years ago

It's caused by the fact, that the user info was removed from the top.

You can simply add this code (from modification) to display notifications anywhere you want:

    if(LikePosts::$LikePostsUtils->showLikeNotification()) {
        echo '
                <span class="showLikeNotification" onclick="lpObj.likePostsNotification.showLikeNotification()">', $txt['like_show_notifications'], '</span>';
    }