2010-02-11, 09:14 PM
2010-02-11, 09:25 PM
Ah, I missed these before, can you temporarily remove these too?? They may be causing a conflict:
Seem to be in the showthread template.
<script type="text/javascript" src="http://kopforum.net/community/jscripts/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="http://kopforum.net/community/jscripts/lightbox/lightbox.js"></script>
Seem to be in the showthread template.
2010-02-11, 09:31 PM
I can't find it in the showthread template. Would it be in one of the others i.e. showthread_classic_header or showthread_inlinemoderation etc.?
2010-02-11, 09:37 PM
It's before all that, before the header. Are there any PHP variables near the top of the showthread template??
2010-02-11, 09:39 PM
No, there's no PHP.
The only script in the template is...
The only script in the template is...
<script type="text/javascript">
<!--
var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
2010-02-11, 09:41 PM
Can you paste your entire showthread template here??
2010-02-11, 09:44 PM
Yeah, sure. Here it is...
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
</head>
<body>
{$header}
{$pollbox}
<div class="float_left">
{$multipage}
</div>
<div class="float_right">
{$newreply}
</div>
{$ratethread}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead" colspan="2">
<div style="float: right;">
<span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
</div>
<div>
<strong>{$thread['subject']}</strong>
</div>
</td>
</tr>
{$classic_header}
</table>
<div id="posts">
{$posts}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
<tr>
<td colspan="2" class="tfoot">
{$search_thread}
<div>
<strong>« <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> »</strong>
</div>
</td>
</tr>
</table>
<div class="float_left">
{$multipage}
</div>
<div style="padding-top: 4px;" class="float_right">
{$newreply}
</div>
<br style="clear: both;" />
{$quickreply}
{$threadexbox}
{$similarthreads}
<br />
<div class="float_left">
<ul class="thread_tools">
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}">{$add_remove_subscription_text}</a></li>
</ul>
</div>
<div class="float_right" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>
<br style="clear: both;" />
{$footer}
</body>
</html>
2010-02-11, 09:51 PM
Hmm, it must do a search and replace as the page is being loaded, in the source it's showing right after thread.js is loaded... OK, it's being put there by a lighbox plugin, can you disable it?? Shouldn't lose any information from it.
2010-02-11, 09:56 PM
Ok, I've de-activated it.
2010-02-11, 10:11 PM
OK, that didn't fix it, next thing, in your headerinclude template, there should be something like this:
Can you remove all those from there??
<script type="text/javascript">
<!--
var cookieDomain = ".kopforum.net";
var cookiePath = "/community/";
var cookiePrefix = "";
var deleteevent_confirm = "Are you sure you want to delete this event?";
var removeattach_confirm = "Are you sure you want to remove the selected attachment from this post?";
var loading_text = 'Loading. <br />Please Wait..';
var saving_changes = 'Saving changes..';
var use_xmlhttprequest = "1";
var my_post_key = "6bc4e16c6f8d76b4812f0c782f3ce16e";
var imagepath = "images/flame";
// -->
</script>
Can you remove all those from there??