mc12345678:
Okay, so took a few minutes to look through the files of the downloadable contact recaptcha. In the admin/includes/functions/extra_functions/recaptcha_functions.php file on line 82 is a check against the "minor version of 5.0 (applicable for ZC 1.5.0 and 1.5.1 believe it or not) that is performed in the install_recaptcha function. This should be activated when an admin webpage is attempted to be loaded with the parameter install_recaptcha=yes like: webpage dot com/YOURSECRETADMIN/index.php?install_recaptcha=yes. If there is already a question mark in the uri, then append the above parameter with &.
But also looking at the code, it appears that the code is supposed to "work" (at least offer the install option at the top of the screen) without doing any version compare... But, if it has previously been installed and "partially" removed, then it could be that the install routine isn't picking up on that... Would suggest "removing" it (at least activating the SQL to do so) and then install either through the above, or via the "normal" route.
mc12345678:
Would require the later if properly installed. I don't remember if there are any prompts offered after doing so. I assume you were logged into the admin at the time of trying to access the $admin/index.php?remove_recaptcha=yes
As to the author even knowiing about this thread, well since no base thread was created, either they would need to be sent a pm or happen across this discussion...
Sorry, just looked at an install of ZC 1.5.1 and specifically at the version information... I thought I remembered the constant PROJECT_VERSION_MINOR being set to 5.0, but instead I was thinking of EXPECTED_DATABASE_VERSION_MINOR... So... Yeah, won't "auto-install" on ZC 1.5.1...
Not unless you make a minor change:
Line 82 of admin/includes/functions/extra_functions/recaptcha_functions.php
change from:
if(PROJECT_VERSION_MINOR == '5.0')
to:
if(PROJECT_VERSION_MINOR == '5.1')
And same thing at line 114 of the same file...
and on line 90 of the same file change:
$db->Execute("INSERT INTO " . TABLE_ADMIN_PAGES . " (page_key, language_key, main_page, menu_key, display_on_menu, sort_order, page_params) VALUES ('configRecaptcha', 'BOX_TOOLS_RECAPTCHA', 'FILENAME_CONFIGURATION', 'configuration', 'Y', '" . $last_id->fields['sort_order'] ."','" . $group_id . "')");
to:
$db->Execute("INSERT INTO " . TABLE_ADMIN_PAGES . " (page_key, language_key, main_page, menu_key, display_on_menu, sort_order, page_params) VALUES ('configRecaptcha', 'BOX_TOOLS_RECAPTCHA', 'FILENAME_CONFIGURATION', 'configuration', 'Y', '" . $last_id->fields['sort_order'] ."','gID=" . $group_id . "')");
Never really got the "auto-install" part to work, but I was able to activate it through the install_recaptcha=yes... Then after that loaded, refresh the page again and the menu option appears in configuration.