1.6 Compatible: Simple Like System
#61
yes i add it on end of global css but it is any images goes with this code inside image folder??

but it is possible to add something like this [Image: thumbsdownrede.gif] [Image: thumbsupgreen.gif]

[Image: Screen_Shot021.jpg]
Reply
#62
STrange, the background doesn't seem to be working quite right. It doesn't use images because there's no point.

Could I get details for a temporary account please?
Reply
#63
admin acc i send you PM
Reply
#64
SimpleLikes 1.2

I'd like to take this opportunity to officially release SimpleLikes 1.2. This version doesn't add much, but cleans up the code and fixes any small issues I'd found.

New Features
  • Show number of likes a user has received in the postbit.
    This is not enabled by default. You must enable it in the settings, then add the following to the postbit(_classic) template wherever you wish to show the statistic:

    PHP Code:
    <strong>Likes Received:</strong>&nbsp;<a href="http://www.mybbstuff.com/misc.php?action=post_likes_received_by_user&user_id={$post['uid']}">{$post['likes_received']}</a

Downloading SimpleLikes 1.2

1.2 is tagged as current on GitHub so can be downloaded using the link in the first post. Alternatively, click below to get the exact 1.2 release:

https://github.com/euantorano/SimpleLike...ve/1.2.zip
Reply
#65
i send you test acc in PM, so in this update no need to disable plugin just upload all files
Reply
#66
Deactivate and Reactivate. I'll sort your forum in a minute.
Reply
#67
and i post code here it is work??

PHP Code:
{$ignore_bit}
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="{$post_extra_style} {$post_visibility}id="post_{$post['pid']}">
    <
tr>
        <
td class="{$altbg}width="22%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
        <
strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
        <
span class="smalltext">
            {
$post['usertitle']}<br />
            {
$post['userstars']}
            {
$post['groupimage']}
            {
$post['useravatar']}<br />
            {
$post['user_details']}
        </
span>
    </
td>
    <
td class="{$altbg}valign="top">
        <
table width="100%">
            <
tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
            <
br />
            <
div id="pid_{$post['pid']}{$post['pstyle']}>
                {
$post['order_items_showthread']}{$post['message']}
            </
div>
            
{
$post['simplelikes']}
{
$post['attachments']}
            {
$post['signature']}
            <
div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                <
div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                {
$post['iplogged']}
            </
div>
        </
td></tr>
    </
table>
</
td>
</
tr>
<
tr>    <strong>Likes&nbsp;Received:</strong>&nbsp;<a&nbsp;href="http://www.mybbstuff.com/misc.php?action=post_likes_received_by_user&user_id={$post['uid']}">{$post['likes_received']}</a>

    <
td class="{$altbg}style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <
td class="{$altbg}style="vertical-align: middle;">
        <
table width="100%" border="0" cellpadding="0" cellspacing="0">
            <
tr valign="bottom">
                <
td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}</span></td>
                <
td align="right">{$post['button_like']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote_fast']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
            </
tr>
        </
table>
    </
td>
</
tr>
</
table>
<
table border="0" cellpadding="0" cellspacing="0" class="thead">
    <
tr>
        <
td align="left" valign="top" height="4px" width="27px"></td>
        <
td height="4px" width="100%"></td>
        <
td align="left" valign="top" height="4px" width="27px"></td>
    </
tr>
</
table
Reply
#68
Awesome update, Euan, and thanks for the PM heads-up. I'll add it to my site now ( using this on my guild site over at http://www.kynaran.com ).

EDIT: Put the code into my postbit_classic template, but it doesn't display anything. I deactived and reactivated the plugin after replacing the files with the new ones. Is there anything else I have to do?
Reply
#69
(28-05-2013, 09:35 PM)Tecca Wrote: Awesome update, Euan, and thanks for the PM heads-up. I'll add it to my site now ( using this on my guild site over at http://www.kynaran.com ).

EDIT: Put the code into my postbit_classic template, but it doesn't display anything. I deactived and reactivated the plugin after replacing the files with the new ones. Is there anything else I have to do?

Stupid question, but did you enable it in the settings?
Reply
#70
Odd. Just upgraded here and it's not displaying either, though it works on my test forum.
Reply