Jump to content

dominique

Subscriber*
  • Posts

    1
  • Joined

  • Last visited

About dominique

Profile Information

  • Gender
    Male

dominique's Achievements

0

Reputation

  1. Hello, This is just a little code in order to display ajax thank hook into this mobile skin. I've noticed that only moderators have access to this hook. If you want to give access to users, you can : -edit Topic View Template find this : <a id="post_controls_{$post['post']['pid']}" href="{parse url="module=post&amp;section=post&amp;do=reply_post&amp;f={$this->request['f']}&amp;t={$this->request['t']}&amp;qpid={$post['post']['pid']}" base="publicWithApp"}"><img src="{$this->settings['img_url']}/post_reply.png" alt="Reply" /></a> Add after this: <if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'thank'"> <a id='ajax_thanks' id='ajaxThanks_{$post['post']['pid']}'> <a href="javascript: ajaxThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_thank_author']}'>{parse replacement="add_friend"} {$this->lang->words['en30_thank']}</a> </a> </if> <if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'remove' && $this->settings['en31_remove_thanks']"> <a id='ajax_thanks' id='ajaxRemoveThanks_{$post['post']['pid']}'> <a href="javascript: ajaxRemoveThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_unthank_author']}'>{parse replacement="remove_friend"} {$this->lang->words['en30_unthank']}</a> </a> </if> It's only for use [EN30] Ajax Fast Reply
×
×
  • Create New...