Jump to content


[Hack - Reviews]Remove "I own this title" option in Reviews comments


  • You cannot reply to this topic
No replies to this topic

#1 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 21 May 2006 - 06:26 PM

To remove the "I own this title and I am available for trading" option in the Reviews module comments...

FIND in /mkportal/modules/reviews/index.php:
			  <tr>
			  <td>{$mklib->lang['re_havetitle']}
			<input type="checkbox" name="scambio" value="1" />

			  </td>
			</tr>
REPLACE WITH:
<!--
			<tr>
			  <td>{$mklib->lang['re_havetitle']}
			<input type="checkbox" name="scambio" value="1" />

			  </td>
			</tr>
-->
FIND:
			$content .= "
			<tr>
						  <td class="modulecell" width="5%" valign="top"><a href="$link_user={$id_autore}" class="uno">{$autorec}</a>
{$data}
{$delete}</td>
			  <td class="modulecell" width="5" valign="middle">$icons</td>
						  <td class="modulecell" width="75%" valign="middle">{$testo}</td>
			</tr>
			";
REPLACE WITH:
/*			
			$content .= "
			<tr>
						  <td class="modulecell" width="5%" valign="top"><a href="$link_user={$id_autore}" class="uno">{$autorec}</a>
{$data}
{$delete}</td>
			  <td class="modulecell" width="5" valign="middle">$icons</td>
						  <td class="modulecell" width="75%" valign="middle">{$testo}</td>
			</tr>
			";
 */
I think that's everything. Oh, and I just noticed that the option only shows in the reviews comments and not on the review itself.

Also note that the formatting of the code in this post is messed up so you might have to search for smaller sections of this code in order to find the right place to edit.


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users