MyBB Community Forums

Full Version: G33k thankyoulike css buttons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]