Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [Error Message] template check
#1
Not Solved
When i did template check i get dis errror



The following errors were encountered:

-The templates below matched known security issues. Please review them.

Check Templates
pointsinpost_listposts_points_table Options
<tr class="{$bgcolor}">
<td valign="top">
<span class="smalltext">
{$lang->thread}: {$thread['subject']}<br />
{$lang->psubject}: {$post['subject']}
<br />
<table width="100%"><tr><td><span class="smalltext"><em>{$message }</em></span></td></tr></table>
</span></td>
<td align="center">{$username}</td>
<td align="center">{$forum}</td>
<td align="center"><a href="javascript:MyBB.whoPosted({$post['tid']});">{$thread['replies']}</a></td>
<td align="center">{$thread['views']}</td>
<td align="center"><b>{$post['points']}</b></td>
</tr>

pointsinpost_table_postbit Options
<tr>
<td class="trow1">
<div id="pointsaddsuccess"><center><strong>{$lang->give_points} {$post['postpoints']}</strong></center></div>
</td>
</tr>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/PostInPoints.js"></script>
<script type="text/javascript">
	var uid = {$post['uid']};
	var udid = {$mybb->user['uid']};
	var pid = {$post['pid']};
	var tid = {$post['tid']};
	var numpointsgroup = {$usergroups[$mybb->user['usergroup']]['pointsaddpost']};
</script>

pointsinpost_table_postbit_classic option
<tr>
<td class="trow1" colspan="2">
<div id="pointsaddsuccess"><center><strong>{$lang->give_points} {$post['postpoints']}</strong></center></div>
</td>
</tr>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/PostInPoints.js"></script>
<script type="text/javascript">
	var uid = {$post['uid']};
	var udid = {$mybb->user['uid']};
	var pid = {$post['pid']};
	var tid = {$post['tid']};
	var numpointsgroup = {$usergroups[$mybb->user['usergroup']]['pointsaddpost']};
</script>


http://friznioz.6te.net
user:test
pas:Tester1
#2
Not Solved
(07-30-2012, 09:50 AM)pertono Wrote: When i did template check i get dis errror



The following errors were encountered:

-The templates below matched known security issues. Please review them.

Check Templates
pointsinpost_listposts_points_table Options
<tr class="{$bgcolor}">
<td valign="top">
<span class="smalltext">
{$lang->thread}: {$thread['subject']}<br />
{$lang->psubject}: {$post['subject']}
<br />
<table width="100%"><tr><td><span class="smalltext"><em>{$message }</em></span></td></tr></table>
</span></td>
<td align="center">{$username}</td>
<td align="center">{$forum}</td>
<td align="center"><a href="javascript:MyBB.whoPosted({$post['tid']});">{$thread['replies']}</a></td>
<td align="center">{$thread['views']}</td>
<td align="center"><b>{$post['points']}</b></td>
</tr>

pointsinpost_table_postbit Options
<tr>
<td class="trow1">
<div id="pointsaddsuccess"><center><strong>{$lang->give_points} {$post['postpoints']}</strong></center></div>
</td>
</tr>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/PostInPoints.js"></script>
<script type="text/javascript">
	var uid = {$post['uid']};
	var udid = {$mybb->user['uid']};
	var pid = {$post['pid']};
	var tid = {$post['tid']};
	var numpointsgroup = {$usergroups[$mybb->user['usergroup']]['pointsaddpost']};
</script>

pointsinpost_table_postbit_classic option
<tr>
<td class="trow1" colspan="2">
<div id="pointsaddsuccess"><center><strong>{$lang->give_points} {$post['postpoints']}</strong></center></div>
</td>
</tr>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/PostInPoints.js"></script>
<script type="text/javascript">
	var uid = {$post['uid']};
	var udid = {$mybb->user['uid']};
	var pid = {$post['pid']};
	var tid = {$post['tid']};
	var numpointsgroup = {$usergroups[$mybb->user['usergroup']]['pointsaddpost']};
</script>


http://friznioz.6te.net
user:test
pas:Tester1

How do i fix the error?
#3
Not Solved
still need help. pleas support
#4
Not Solved
The first template has a space in the message var:
{$message }

I can't see the problem in the second template.
-Paul H.

Cogisne lingua latina?
#5
Not Solved
The problem is probably: {$usergroups[$mybb->user['usergroup']]['pointsaddpost']}
[Image: banner.png]
#6
Not Solved
(08-02-2012, 06:40 PM)Paul H. Wrote: The first template has a space in the message var:
{$message }

I can't see the problem in the second template.

First template is fix thanks to you , need other 2 template to get fixt.

(08-03-2012, 05:57 PM)pertono Wrote:
(08-02-2012, 06:40 PM)Paul H. Wrote: The first template has a space in the message var:
{$message }

I can't see the problem in the second template.

First template is fix thanks to you , need other 2 template to get fixt.

Did again recheck template now one more is moved.
only have problem with pointsinpost_table_postbit_classic


Forum Jump:


Users browsing this thread: 1 Guest(s)