Code: Select all
'POSTER_POSTS' => $user_cache[$poster_id]['posts'],
yes, it would be viewtopic.phpannepenullar wrote:Yes, I'm waiting for the option to enable Thanks mod for specific forums only.
install.xml errors:
cannot be found @ adm/style/acp_main.html.Code: Select all
'POSTER_POSTS' => $user_cache[$poster_id]['posts'],
I think it's in /viewtopic.php
yes please^[GS]^ wrote:it could be done with ajax?
Code: Select all
'SIGNATURE' => $member['user_sig'],
Code: Select all
// GSX
'THANKS' => $member['user_thanks'],
'THANKED' => ($member['user_thanked'] <= 1) ? $member['user_thanked'] . $user->lang['THANKS_TIME'] : $member['user_thanked'] . $user->lang['THANKS_TIMES'],
'THANKS_POST' => ($member['user_thanks_post'] <= 1) ? $member['user_thanks_post'] . $user->lang['THANKS_POST'] : $member['user_thanks_post'] . $user->lang['THANKS_POSTS'],
// end -- thanks first post
Code: Select all
<dt>{L_JOINED}:</dt> <dd>{JOINED}</dd>
Code: Select all
<dt>{L_THANKS}:</dt> <dd>{THANKS}</dd>
<dt>{L_THANKED}:</dt> <dd>{THANKED} {L_IN} {THANKS_POST}</dd>
Code: Select all
$sql = 'DELETE FROM ' . THANKS_TABLE . '
WHERE thanks_from = ' . $user->data['user_id'];
Code: Select all
$sql = 'DELETE FROM ' . THANKS_TABLE . '
WHERE thanks_from = ' . $user->data['user_id'] . ' AND post_id = ' . $post_id;
$db->sql_query($sql);