Author Topic: Need help removing some fields!!!  (Read 3078 times)

0 Members and 1 Guest are viewing this topic.

Offline Gstyleris

  • Pre-Newbie
  • Posts: 6
    • View Profile
Need help removing some fields!!!
« 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! :)

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Need help removing some fields!!!
« Reply #1 on: August 28, 2007, 08:00:47 PM »
Quote
1. Search on site

In all {header} to {footer} tag - HTML files (templates/your_template folder),

Quote
<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>

Quote
2. Comments headline

templates/your_template/comment_form.html file:

Quote
<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,

Quote
$captcha_enable_comments     = 1;

change to:

Quote
$captcha_enable_comments     = 0;

Make backup. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

manurom

  • Guest
Re: Need help removing some fields!!!
« Reply #2 on: August 28, 2007, 09:44:13 PM »
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

3_
Code: [Select]
$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

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Need help removing some fields!!!
« Reply #3 on: August 28, 2007, 10:07:42 PM »
Quote
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:

Quote
has to be in config.php, not in global.php, before closing ?>

Global and config - no difference. Is value for afect.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?