Quote:
Originally Posted by benj
ah thing is i want it to be different for GARS'ed forums 
|
I didn't try this but maybe this will work for you.
Create a template named GARS_reportbadpost and customize it as you want.
Here is the template
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[report_bad_post]</title>
</head>
<body>
$header
$navbar
<form action="report.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[forum]</strong>: <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span>
$vbphrase[report_bad_post]
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
$usernamecode
<!-- report field -->
<div class="fieldset">
<div class="smallfont">$vbphrase[message]:</div>
<textarea name="reason" rows="6" cols="$textareacols" wrap="virtual"></textarea>
</div>
<!-- / report field -->
<div class="fieldset">
$vbphrase[only_used_to_report]
</div>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="do" value="sendemail" />
<input type="hidden" name="url" value="$url" />
<input type="submit" class="button" value="$vbphrase[send_report]" accesskey="s" />
</div>
</td>
</tr>
</table>
</form>
$footer
</body>
</html>
then find in GARS_comment tempalte
Code:
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" />
replace it with
Code:
<if condition="$show['reportlink']"><a href="garsreport.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" />
Unzip the file and upload it to your forumdir.
Try to report a post.
Again , i don't think that this will crush your database with any chance but backup your database before trying. It is regular vbulletin report.php with only couple changes in it.