MyBB Community Forums

Full Version: Help about language
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
This postbit_edit content:
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_edit.gif" alt="{$lang->postbit_edit}" title="{$lang->postbit_edit}" /></a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" 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>

This is postbit_quote template content:
<a href="newreply.php?tid={$tid}&amp;pid={$post['pid']}"><img src="{$theme['imglangdir']}/postbit_quote.gif" alt="{$lang->postbit_quote}" title="{$lang->postbit_quote}" /></a>
hmmm... it's using a image... since I was on mobile, I didn't notice that...

change the codes as below... btw, are you using a 1.6 theme in 1.8... bcoz a 1.8 theme wouldn't have used images... if you are using a 1.6 theme, change to a 1.8 compatible theme...

<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}" class= "postbit_edit" ><span>{$lang->postbit_button_edit}</span></a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" 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>

<a href="newreply.php?tid={$tid}&amp;pid={$post['pid']}" class= "postbit_quote"><span>{$lang->postbit_button_quote}</span></a>
I have copied and replaced the templates with the codes you provided, but the edit and quote buttons which were displaying in any other language, are now not being displayed.
could you PM me a temp. admin account to check this...
You are right that this theme is compatible for MyBB 1.6, but overall this theme is also working fine with MyBB 1.8, just edit and quote option is displaying in any other language. Please guide me to change these options in English language.
You need to go to the theme folder and find the image buttons. Probably with quote and edit in the name.
Pages: 1 2