The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 07-07-2006, 12:30 PM
benj benj is offline
Senior Member
 
Join Date: Sep 2005
Posts: 166
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default id like to edit the report posts template

is it possible to edit the report posts template for GARS'ed forums ?
Reply With Quote
  #2  
Old 07-07-2006, 01:22 PM
Lizard King's Avatar
Lizard King Lizard King is offline
Senior Member
 
Join Date: Oct 2005
Location: Istanbul
Posts: 555
Geek Article and Review System License Holder Geek Gazette License Holder 
Default

gars use vbulletin regular report function so you need to edit the regular report post template.
Reply With Quote
  #3  
Old 07-07-2006, 03:35 PM
benj benj is offline
Senior Member
 
Join Date: Sep 2005
Posts: 166
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

ah thing is i want it to be different for GARS'ed forums
Reply With Quote
  #4  
Old 07-07-2006, 06:02 PM
Lizard King's Avatar
Lizard King Lizard King is offline
Senior Member
 
Join Date: Oct 2005
Location: Istanbul
Posts: 555
Geek Article and Review System License Holder Geek Gazette License Holder 
Default

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.
Attached Files
File Type: zip garsreport.zip (1.9 KB, 0 views)
Reply With Quote
  #5  
Old 07-07-2006, 06:36 PM
benj benj is offline
Senior Member
 
Join Date: Sep 2005
Posts: 166
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

sweet thanks man ill give it a try .....
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Report Luigiano Articles 0 07-24-2009 09:56 PM
Geemart Error report KenDude GeekMart 1 12-26-2008 12:23 AM
New Thread/Edit Thread/Post Reply Template Set Half Pint Geek Article and Review System 1 01-26-2008 11:11 PM
Is there a place to report bugs? Southpaw Geek Article and Review System 2 04-13-2006 11:28 AM
Progress report The Geek Geek Advertising Banner System 2 03-15-2006 07:06 PM


All times are GMT. The time now is 09:50 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.