Hi Bicet:
This's a partial Bug of 0.58 Final:
In
ACP > Board > Enable Quick Quote = If
Yes is checked the popup when you click on # (Bottom avatar that it represents the number of the post of that Thread) and on the "View Message" in a quoted message they are opened normally.
In
ACP > Board > Enable Quick Quote = If
No is checked the popup when you click on # (Bottom avatar that it represents the number of the post of that Thread) and on the "View Message" in a quoted message they aren't opened normally.
I've found this bug in tamplates/ca_aphrodite/viewtopic_body.tpl, where i see:
Go to line #66
<!-- BEGIN switch_quick_quote -->
<script language="Javascript" type="text/javascript">
<!--
message = new Array();
<!-- END switch_quick_quote -->
Go to line #74
<!-- BEGIN switch_quick_quote -->
message[{postrow.U_POST_ID}] = " user="{postrow.POSTER_NAME_QQ}" post="{postrow.U_POST_ID}"]{postrow.PLAIN_MESSAGE}[/";
<!-- END switch_quick_quote -->
Go to line #79
<!-- BEGIN switch_quick_quote -->
function addquote(post_id, tag)
{
document.getElementById('quick_reply').style.display="";
str_find = new Array("<_mg;", ">_mg;")
str_replace = new Array("<", ">")
for(var i = 0; i < message[post_id].length; i++)
{
for (var j = 0; j < str_find.length; j++)
{
if (message[post_id].search(str_find[j]) != -1)
{
message[post_id] = message[post_id].replace(str_find[j],str_replace[j]);
}
}
}
document.post.message.value += "[" + tag + message[post_id] + tag + "]";
document.post.message.focus();
return;
}
function quotename(username)
{
document.getElementById('quick_reply').style.display="";
document.post.message.value += username;
document.post.message.focus();
return;
}
function open_postreview(ref)
{
height = screen.height / 2.23;
width = screen.width / 2;
window.open(ref, '_phpbbpostreview', 'height=' + height + ',width=' + width + ',resizable=yes,scrollbars=yes');
return;
}
//-->
</script>
<!-- END switch_quick_quote -->
Now: if in these three parts of code you cancel
only these 2 lines:
<!-- BEGIN switch_quick_quote -->
<!-- END switch_quick_quote -->
the popup works, if in In
ACP > Board > Enable Quick Quote is checked "
Yes" or "
Not".
cYa.