doesnt see mod

Wondering why that MOD you have won't install correctly? Let's take a look
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
tintino
Registered User
Posts: 4
Joined: Tue Jul 03, 2007 7:28 am

doesnt see mod

Post by tintino »

the mod i want to install is here


-i made a folder /forum/admin/mods/antispam
-in it i put a txt file containing the code available from the above link
-i named it antispam.txt

but..
all i see is "All MODs have been processed."



(side note: i just installed easymod 3, and this was the first mod i was trying to intall using easymod)
bogs
Registered User
Posts: 3
Joined: Mon Jul 09, 2007 3:01 am

Same problem

Post by bogs »

The exact same thing happened to me today. I tried to install a MOD (Textual Confirmation) today and like always, downloaded, unzipped, and uploaded to the MOD dirctory. When I clicked on 'install mod' I got the same problem, "All MODs have been processed". I thought it could be the MOD and uploaded 2 more but same thing.

I used EasyMod to install three other MOD's with no problem. I checked the history link and it shows all three successfull installs, so the rest of EasyMod is working. My board is 2.0.18, and using EasyMod beta (0.3.0).

Any suggestions?

TIA
Billy
legwon
Registered User
Posts: 14
Joined: Sun Jan 15, 2006 12:07 am

Re: doesnt see mod

Post by legwon »

double check that the header information is in the correct format. EM wont read the mod if the header is incorrect, ive had this issue a few times and that was the problem.
tintino
Registered User
Posts: 4
Joined: Tue Jul 03, 2007 7:28 am

Re: doesnt see mod

Post by tintino »

nope. the header is correct.
bogs
Registered User
Posts: 3
Joined: Mon Jul 09, 2007 3:01 am

Re: doesnt see mod

Post by bogs »

Same here.... and there is 2 other MODs in the directory. So I dont think its a header problem. It probably has nothing to do with the problem but my last install was the Visual Confirmation on New Posters 3.0.1 MOD a few weeks ago with no problem.

Has anyone else had or heard of this problem before? Is there something else I should be looking at?

TIA
Billy
User avatar
Poomerio
Registered User
Posts: 552
Joined: Tue Jan 02, 2007 7:09 pm
Location: 4(x - 20y) = 20

Re: doesnt see mod

Post by Poomerio »

Check that the install file in in the root directory:

Code: Select all

/admin/mods/mod_folder/install_file.txt
- Poomie
tintino
Registered User
Posts: 4
Joined: Tue Jul 03, 2007 7:28 am

Re: doesnt see mod

Post by tintino »

Poomerio wrote:Check that the install file in in the root directory:

Code: Select all

/admin/mods/mod_folder/install_file.txt
- Poomie

well... this mod is given as text posted in a forum post.. at the link i gave you in first post.
also I DID just what you said:
quote from my first post:
-i made a folder /forum/admin/mods/antispam
-in it i put a txt file containing the code available from the above link
-i named it antispam.txt
User avatar
Poomerio
Registered User
Posts: 552
Joined: Tue Jan 02, 2007 7:09 pm
Location: 4(x - 20y) = 20

Re: doesnt see mod

Post by Poomerio »

Could you link me to the install file please.

- Poomie
bogs
Registered User
Posts: 3
Joined: Mon Jul 09, 2007 3:01 am

Re: doesnt see mod

Post by bogs »

Poomerio wrote:Could you link me to the install file please.

- Poomie

This is one of 3 MODs in the same directory I've installed other MODs from. EasyMOD does not recognize any of them. :?

Code: Select all

###########################################################
## MOD Title: Textual Confirmation
## MOD Author: olpa < olpa@bbantispam.com > (Oleg Parashchenko) http://bbantispam.com/tc/
## MOD Description: While registering, the user must answer a question to prove the user isn't a spambot.
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 3 Minute
## Files To Edit: includes/constants.php
##                includes/usercp_register.php
##                templates/subSilver/profile_add_body.tpl
## Included Files: includes/functions_tc.php
##                 admin/admin_tc.php
##                 templates/subSilver/admin/textual_confirmation.tpl
##                 language/lang_english/lang_tc.php
##                 language/lang_english/email/textual_confirmation.tpl
##                 language/lang_russian/lang_tc.php
##                 language/lang_russian/email/textual_confirmation.tpl
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/ 
##############################################################
## Author Notes:
##
## There are two editions of Textual Confirmation:
##
## * community edition and
## * business edition.
##
## In the community edition, each time spam registration is rejected,
## Textual Confirmation sends a notification to the forum administrator
## and TO THE COMMUNITY SPAM DATABASE. Visit the home page for details:
##
## http://bbantispam.com/tc/
##
## If you don't want to send us copies of the notifications,
## you must buy a business license. For details, visit
##
## http://bbantispam.com/tc/?mode=register
##
## Privacy Policy: We do not disclose your individual information
## to any other company. We collect aggregate statistics on spam
## texts and spammers' IPs. We may publish or share this aggregate
## information with other companies. This aggregate data, by its
## nature, will not reveal your identity.
##
##############################################################
## MOD History:
##
##   2006-11-18 - Version 1.0.1
##      - small corrections to be accepted for the MOD Database
##   2006-11-04 - Version 1.0.0
##      - index.html is updated
##   2006-10-29 - Version 1.0.0.beta3
##      - The math question is removed
##      - Keys of the $lang array use underscores instead of commas
##      - Now setting the "Reply-to" field in the e-mail notifications
##      - Screenshots and CAPTCHA links in index.html
##   2006-10-23 - Version 1.0.0.beta2
##      - Minor tweaks to avoid PHP warnings in the wild world
##      - EasyMOD compatibility
##      - Documentation
##      - Russian translation
##   2006-10-21 - Version 1.0.0.beta1
##      - The code is packed as mod
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
includes/constants.php

#
#-----[ FIND ]------------------------------------------
#
define('SMILIES_TABLE', $table_prefix.'smilies');

#
#-----[ AFTER, ADD ]------------------------------------------
#
define('TEXTUAL_CONFIRMATION_TABLE', $table_prefix.'textual_confirmation');

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------
#
$unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');

#
#-----[ BEFORE, ADD ]------------------------------------------
#
include($phpbb_root_path . 'includes/functions_tc.'.$phpEx);

#
#-----[ FIND ]------------------------------------------
#
			$error = TRUE;
			$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
		}
	}
#
#-----[ AFTER, ADD ]------------------------------------------
#
	tc_hook_register();

#
#-----[ FIND ]------------------------------------------
#
	$template->assign_vars(array(
		'USERNAME' => isset($username) ? $username : '',
		'CUR_PASSWORD' => isset($cur_password) ? $cur_password : '',

#
#-----[ REPLACE WITH ]------------------------------------------
#
	tc_hook_template($mode, $template, $s_hidden_fields, $tc_question);
	$template->assign_vars(array(
		'TEXTUAL_CONFIRMATION_QUESTION' => isset($tc_question) ? $tc_question : '',
		'L_TEXTUAL_CONFIRMATION_EXPLAIN' => isset($lang['tc_explain']) ? $lang['tc_explain'] : '',
		'USERNAME' => isset($username) ? $username : '',
		'CUR_PASSWORD' => isset($cur_password) ? $cur_password : '',

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<!-- END switch_confirm -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
	<!-- BEGIN switch_textual_confirm -->
	<tr> 
	  <td class="row1"><span class="gen">{TEXTUAL_CONFIRMATION_QUESTION} * </span><br /><span class="gensmall">{L_TEXTUAL_CONFIRMATION_EXPLAIN}</td>
	  <td class="row2"><input type="text" class="post" style="width: 200px" name="tc_answer" size="25" value="" /></td>
	</tr>
	<!-- END switch_textual_confirm -->

#
#-----[ COPY ]------------------------------------------
#
copy includes/functions_tc.php to includes/functions_tc.php
copy admin/admin_tc.php to admin/admin_tc.php
copy language/lang_english/lang_tc.php to language/lang_english/lang_tc.php
copy language/lang_english/email/textual_confirmation.tpl to language/lang_english/email/textual_confirmation.tpl
copy templates/subSilver/admin/textual_confirmation.tpl to templates/subSilver/admin/textual_confirmation.tpl

#
#-----[ SQL ]------------------------------------------
#
CREATE TABLE phpbb_textual_confirmation (
 id       INTEGER NOT NULL AUTO_INCREMENT,
 question TEXT    NOT NULL,
 answers  TEXT    NOT NULL,
 PRIMARY KEY (id)
);
INSERT INTO phpbb_textual_confirmation(question,answers) VALUES ('Are you human?', 'yes\nja\noui');
INSERT INTO phpbb_textual_confirmation(question,answers) VALUES ('Say hello', 'hello\nhi\nhallo');

#
#-----[ DIY INSTRUCTIONS ]-------------------------------------
#
After installation of Textual Confirmation is completed, go to
the control panel and change the set of questions. Also, switch
off Visual Confirmation, because it isn't required anymore.

If you've installed additional forum templates, then, for each template:
* modify the file "profile_add_body.tpl", and
* create the file "admin/textual_confirmation.tpl".

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
tintino
Registered User
Posts: 4
Joined: Tue Jul 03, 2007 7:28 am

Re: doesnt see mod

Post by tintino »

Poomerio wrote:Could you link me to the install file please.
c&p from here:

Code: Select all

    
    ## MOD Title: Instant Ban - Spam Bots registration
    ## MOD Author: niekas
    ## MOD Description: prevents spam bots registering on your forum by
    ## removing website and signature fields in registration and profile form
    ##untill users reached certain amount of posts
    ## MOD Version: 1.0.1
    ##
    ## Installation Level: (Easy)
    ## Installation Time: ~5 minutes
    ## Files To Edit:
    ##               /includes/usercp_register.php
    ##               /templates/subSilver/profile_add_body.tpl
    ## Included Files: (n/a)

    #
    #-----[ OPEN ]------------------------------------------
    #
    includes/usercp_register.php

    #
    #-----[ FIND ]------------------------------------------
    #

    $error = FALSE;


    #
    #-----[ AFTER, ADD ]------------------------------------------
    #

    $cut_off=10; //how many posts should user have before form fields are activated

    // ---------------------------------------
    if (($mode == 'register' && ($HTTP_POST_VARS['website'] != '' || $HTTP_POST_VARS['signature'] != '') ) || ($userdata['user_posts'] < $cut_off && $mode=='editprofile' && ($HTTP_POST_VARS['website'] != '' || $HTTP_POST_VARS['signature'] != '')))
    {
       $ban_this=encode_ip(getenv('REMOTE_ADDR'));

       $sql = "INSERT INTO " . BANLIST_TABLE . " (ban_ip)
       VALUES ('" . $ban_this . "')";
       if ( !$db->sql_query($sql) )
       {
          message_die(GENERAL_ERROR, "Couldn't insert ban_ip info into database", "", __LINE__, __FILE__, $sql);
       }
       $sql = "DELETE FROM " . SESSIONS_TABLE . "
          WHERE session_ip = '" . $ban_this . "'";
       if ( !$db->sql_query($sql) )
       {
          message_die(GENERAL_ERROR, "Couldn't delete banned sessions from database", "", __LINE__, __FILE__, $sql);
       }
       message_die(GENERAL_MESSAGE, "banned", '', __LINE__, __FILE__);

    }

    #
    #-----[ FIND ]------------------------------------------
    #
    if ( $mode == 'editprofile' )
       {
          $template->assign_block_vars('switch_edit_profile', array());
       }

    #
    #-----[ REPLACE WITH ]------------------------------------------
    #

    if ( $mode == 'editprofile' )
       {
          $template->assign_block_vars('switch_edit_profile', array());
          if ($userdata['user_posts'] >= $cut_off)
          {
          $template->assign_block_vars('switch_edit_website', array());
          }
       }

    #
    #-----[ OPEN ]------------------------------------------
    #

    /templates/subSilver/profile_add_body.tpl

    #
    #-----[ FIND ]------------------------------------------
    #
    <tr>
         <td class="row1"><span class="gen">{L_WEBSITE}:</span></td>
         <td class="row2">
          <input type="text" class="post"style="width: 200px"  name="website" size="25" maxlength="255" value="{WEBSITE}" />
         </td>
       </tr>

    #
    #-----[ BEFORE, ADD ]------------------------------------------
    #
    <!-- BEGIN switch_edit_website -->

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    <!-- END switch_edit_website -->


    #
    #-----[ FIND ]------------------------------------------
    #

       <tr>
         <td class="row1"><span class="gen">{L_SIGNATURE}:</span><br /><span class="gensmall">{L_SIGNATURE_EXPLAIN}<br /><br />{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
         <td class="row2">
          <textarea name="signature"style="width: 300px"  rows="6" cols="30" class="post">{SIGNATURE}</textarea>
         </td>
       </tr>

    #
    #-----[ BEFORE, ADD ]------------------------------------------
    #
    <!-- BEGIN switch_edit_website -->

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    <!-- END switch_edit_website -->

Locked