4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Gstyleris on August 28, 2007, 07:51:40 PM
-
Hi!
How can I remove:
1. Search on site
2. Comments headline
3. Comments validate picture?
Thanks! :)
-
1. Search on site
In all {header} to {footer} tag - HTML files (templates/your_template folder),
<form method="post" action="{url_search}">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td>
<input type="text" name="search_keywords" size="15" class="searchinput" />
</td>
<td>
<input type="submit" value="{lang_search}" class="button" name="submit" />
</td>
</tr>
<tr valign="top">
<td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
</tr>
</table>
</form>
2. Comments headline
templates/your_template/comment_form.html file:
<tr>
<td width="90"><b>{lang_headline}</b></td>
<td><input type="text" name="comment_headline" size="30" value="{comment_headline}" class="commentinput" /></td>
</tr>
./global.php file,
$captcha_enable_comments = 1;
change to:
$captcha_enable_comments = 0;
Make backup. ;)
-
Hello;
answers 2 and 3 seem to be wrong. Answer 1 does not avoid calling search.php... but this file is needed by other features.
2_
You may have the error message: "Please enter a headline.", cause you just delete the HTML display.
See this thread: ...How do I remove ... post headline in comments (http://www.4homepages.de/forum/index.php?topic=13108.0)
3_
$captcha_enable_comments = 0;
has to be in config.php, not in global.php, before closing ?>
See V@no's message here: CAPTCHA (verification code) related (http://www.4homepages.de/forum/index.php?topic=14690.0)
-
2_
You may have the error message: "Please enter a headline.", cause you just delete the HTML display.
See this thread: ...How do I remove ... post headline in comments
Is require ... thank :oops:
has to be in config.php, not in global.php, before closing ?>
Global and config - no difference. Is value for afect.