can logged in members have mail address preset?
-
Frist of all, thanks for making this great plugin.
On feature I wold like to have is that members dont need to enter mail address, just like it is on the comment forms on WordPress.I have a members only site, and I dont want the members to manually insert mail address to revive mail updates on category’s.
Here is the code part where the mail address is collected:<form role="form" method="post"> <div class="form-group"> <label for="stc-email"><?php _e( 'E-mail Address: ', 'stc_textdomain' ); ?></label> <input type="text" id="stc-email" class="form-control" name="stc_email" value="<?php echo !empty( $email ) ? $email : NULL; ?>"/> </div>
I can print the members mail using this
<?php global $current_user; get_currentuserinfo(); echo 'User email: ' . $current_user->user_email . "\n";?>
But i can not get the mail to be submitted when I click subscribe me.
Does anyone have a suggestion on how to insert the user mail adress?
I hope the plugin get updated, and I will donate to support it
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘can logged in members have mail address preset?’ is closed to new replies.