Forums

SubmitContent

mkabwilliams 21 Jan, 2009
Is there a SubmitContent that I could download that. Does not display captcha for a user logged in and also sets the "Your name:" filed to there username?
Max_admin 21 Jan, 2009
Hi mkabwilliams,

the submitcontent form is available at the downloads area under Chronoforms applications folder, to enable the captcha for guests only you need to hack core files, how to do this is posted here by some user in the last few weeks but I'm not sure where! if you need the current username then this is easy to get using this code in your form:

<?php
$user = JFactory::getUser();
echo $user->username;
?>


regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mkabwilliams 21 Jan, 2009
do i need to add this to the bottom or replace something?
Max_admin 21 Jan, 2009
anywhere and the user name will appear, assuming some user is already logged in, so you need to place it at the exact place where you want the username to appear in your form!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.