🌍
English
With the latest version of ContactForm 2.5.b on Piwigo 2.5, guest has no contact link in the footer (while early version of the plugin were adding this link).
The link is in the menu, but not in the footer.
Offline
Hi mistic100,
What do you think about:
[pierrick@pierrick-desktop] ~/public_html/piwigo/dev/branches/2.5/plugins/ContactForm $ svn diff main.inc.php Index: main.inc.php =================================================================== --- main.inc.php (revision 22694) +++ main.inc.php (working copy) @@ -77,6 +77,11 @@ { contact_form_initialize_emails(); } + + // always show a contact link in footer (but don't reveal the webmaster email) + if ( !is_classic_user() and !$conf['ContactForm']['cf_allow_guest'] ) return; + if ( !count(get_contact_emails()) ) return; + $template->assign('CONTACT_MAIL', true); $template->set_prefilter('tail', 'contact_form_footer_link'); }
Offline
I have applied it as a quick fix, but I didn't officially commited it on SVN. Would you like me to commit?
Offline