Tagged: contactform
Hi Barry,
That path will be buddypress/members/single/bpucf-form.phpWe need the following lines at its top
<?php if ( ! did_action( 'template_notices' ) ) : ?> <?php do_action( 'template_notices' ); ?> <?php endif; ?>
It checks if notices action was not called, calls them.
Regards
BrajeshHi Barry,
That seems very strange.Can you please tell me if BuddyPress shows you other notifications?
This is the line(standard buddypress template notices).<?php do_action( 'template_notices' ); ?>
That is used to print template notices, if possible, Can you please put temporarily somewhere in your template and check.
Thank you
BrajeshHi Brajesh,
I was able to get notifications working last night by replacing
<?php if ( ! did_action( 'template_notices' ) ) : ?> <?php do_action( 'template_notices' ); ?> <?php endif; ?>
with
<?php bp_nouveau_template_notices();?>
But there’s still the issue of the page refreshing. So if the user has written a long message but neglected to put in a subject their entire message will be lost.
Hi Barry,
Thank you.
I am glad you resolved it.You are right about that value being lost on reload. Just had a look at it. I will post an update in next 2 days with the solution.
Regards
Brajesh
You must be logged in to reply to this topic.