MyBB Community Forums

Full Version: Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Template doesnt let me save because security issue?? Trying to make marketplace
<td width="50%" valign="top">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead" colspan="{$colspan}" align="center">
				<strong><a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a></strong>
			</td>
		</tr>
		<tr>
			<td class="tcat smalltext" align="center">
				<strong>{$thread['profilelink']}, {$thread['threaddate']} at {$thread['threadtime']}</strong>
			</td>
			{$modbit}
		</tr>
		<tr>
			<td class="trow1" align="center" valign="middle" colspan="{$colspan}">
				<table width="100%" border="0" style="height: 189px;">
					<tr>
						<td width="1" align="center" valign="middle">
							<a href="{$thread['threadlink']}">{$GLOBALS['threadfields']['trdfimg']['value']}</a>
							{$rating}
						</td>
						<td valign="top" align="center">
							<div align="center"><strong>Quantity:</strong></div>
							<div align="center" style="color: green; font-size: 16px;">
								<strong>{$GLOBALS['threadfields']['trdfquantity']}</strong>
							</div>
							<br />
							<div align="center">
								<strong>{$GLOBALS['threadfields']['trdfminmax']}<br />$ {$GLOBALS['threadfields']['trdfprice']} For {$GLOBALS['threadfields']['trdfet']}!</strong>
							</div>
							<br />
							<img src="{$theme['imgdir']}/{$GLOBALS['threadfields']['trdftnt']}.png" alt="Need To {$GLOBALS['threadfields']['trdftnt']}" title="Need To {$GLOBALS['threadfields']['trdftnt']}" />
							<img src="{$theme['imgdir']}/{$GLOBALS['threadfields']['trdfstatus']}.png" alt="{$GLOBALS['threadfields']['trdfstatus']}" title="{$GLOBALS['threadfields']['trdfstatus']}" />
							<img src="{$theme['imgdir']}/{$GLOBALS['threadfields']['trdfcond']}.png" alt="{$GLOBALS['threadfields']['trdfcond']}" title="{$GLOBALS['threadfields']['trdfcond']}" />
							<br />
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td class="tcat" colspan="{$colspan}" align="center">
				<strong>Payment: {$GLOBALS['threadfields']['trdfpayment']}</strong>
			</td>
		</tr>
		<tr>
			<td class="tfoot" align="center" colspan="{$colspan}">
				<strong>{$thread['views']} Views,
				<a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts} Responds</strong>
			</td>
		</tr>
	</table>
</td>
http://mybbhacks.zingaburga.com/showthread.php?tid=443&page=1
trdf_forumdisplay_thread
Post the error message / google it. I remember having a similar issue and very quickly finding a solution for it
(12-02-2015, 06:12 AM)TechPony11 Wrote: [ -> ]Template doesnt let me save because security issue?? Trying to make marketplace
$ {$GLOBALS['threadfields']['trdfprice']}

Change the $ sign to whatever currency you use.
Maybe you need to do that also in trdf_postbit_first, trdf_newthread and trdf_editpost_first templates.

http://mybbhacks.zingaburga.com/showthre...7#pid12427