MyBB Community Forums

Full Version: Postbit problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://forums.icyboards.net/showthread.php?tid=1960

I have been following this tutorial all day and i am stuck. I am now editing postbit_edit and this is what i have

<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"><img src="{$theme['imglangdir']}" alt="{$lang->postbit_edit}" title="{$lang->postbit_edit}" class="postbit"</a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="j;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
new PopupMenu("edit_post_{$post['pid']}");
}
// -->
</script>


But for some reason no matter how i edit it it looks like this
http://gyazo.com/cb1d159416d65b55d800ab72aea77310

I want it to look like this but say Edit
http://gyazo.com/3770eece9a99a79adf451ea55bee67cb
So you would like to color the text or would you like to resize the shape?
The shape is fine i want the text to look like the the example i provided and i want it to say Edit
Change the a:link color in global.css
Remove the Edit variable. use the code below.

<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"><img src="{$theme['imglangdir']}" alt="{$lang->postbit_edit}" title="{$lang->postbit_edit}" class="postbit"</a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="j;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">Edit</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
new PopupMenu("edit_post_{$post['pid']}");
}
// -->
</script>