MyBB Community Forums
G33k thankyoulike css buttons - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Support (https://community.mybb.com/forum-72.html)
+---- Thread: G33k thankyoulike css buttons (/thread-149616.html)



G33k thankyoulike css buttons - Nicolas Flamel - 2014-01-04

I'm having a problem I don't understand.

[Image: HkV5LXv.png]

My thankyoulike_button_add template is

<span id="tyl_btn_{$post['pid']}"><a href="thankyoulike.php?action=add&amp;pid={$post['pid']}&amp;my_post_key={$mybb->post_code}" onclick="return thankyoulike.add({$post['pid']}, {$post['tid']});" title="{$lang->add_tyl}" id="tyl_a{$post['pid']}" class="postbit_button">Thanks</a></span>

Why is this not css?

Here's the code for a working css button:

Postbit_email
<a href="member.php?action=emailuser&amp;uid={$post['uid']}" class="postbit_button button_email" title="{$lang->postbit_email}">Email</a>

What's wrong? I'm stumped.

Thanks,
Poliwag

EDIT:

<span id="tyl_btn_{$post['pid']}"><a href="thankyoulike.php?action=add&amp;pid={$post['pid']}&amp;my_post_key={$mybb->post_code}" onclick="return thankyoulike.add({$post['pid']}, {$post['tid']});" title="{$lang->add_tyl}" id="tyl_a{$post['pid']}" class="postbit_button">Thanks</a></span>

works on a test forum, with the same css
[Image: 69bu1.png]