MyBB Community Forums

Full Version: Inline Moderation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Can you PM me login details for an account with super mod powers??
Ah, I missed these before, can you temporarily remove these too?? They may be causing a conflict:

<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.
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.?
It's before all that, before the header. Are there any PHP variables near the top of the showthread template??
No, there's no PHP.

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>
Can you paste your entire showthread template here??
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&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;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>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</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&amp;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>
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.
Ok, I've de-activated it.
OK, that didn't fix it, next thing, in your headerinclude template, there should be something like this:

<script type="text/javascript"> 
 
<!--
 
&nbsp;&nbsp;&nbsp;&nbsp;var cookieDomain = ".kopforum.net";
 
&nbsp;&nbsp;&nbsp;&nbsp;var cookiePath = "/community/";
 
&nbsp;&nbsp;&nbsp;&nbsp;var cookiePrefix = "";
 
&nbsp;&nbsp;&nbsp;&nbsp;var deleteevent_confirm = "Are you sure you want to delete this event?";
 
&nbsp;&nbsp;&nbsp;&nbsp;var removeattach_confirm = "Are you sure you want to remove the selected attachment from this post?";
 
&nbsp;&nbsp;&nbsp;&nbsp;var loading_text = 'Loading. <br />Please Wait..';
 
&nbsp;&nbsp;&nbsp;&nbsp;var saving_changes = 'Saving changes..';
 
&nbsp;&nbsp;&nbsp;&nbsp;var use_xmlhttprequest = "1";
 
&nbsp;&nbsp;&nbsp;&nbsp;var my_post_key = "6bc4e16c6f8d76b4812f0c782f3ce16e";
 
&nbsp;&nbsp;&nbsp;&nbsp;var imagepath = "images/flame";
 
// -->
 
</script> 

Can you remove all those &nbsp; from there??
Pages: 1 2 3