Forum Replies Created
-
AuthorPosts
-
nur
Participantdid you check spam folder? SWPM uses the same mechanism as wordpress to send email. if swpm fails that means wordpress email also fails.
nur
ParticipantI will take a look
nur
Participanti tested in my site. i didn’t see the issue. make sure to disable other plugins and switch to default theme and then try to if the issue persists.
nur
Participanti am not sure what you are trying to achieve. give this a try:
if (!defined('ABSPATH')) exit; function sap_script_playlist_templates() { $auth = BAuth::get_instance(); if ($auth->is_logged_in()){ ?> <script type="text/html" id="tmpl-sap-playlist-current-item"> <# if ( data.image ) { #> <img src="{{ data.thumb.src }}"/> <# } #> <div class="sap-playlist-caption"> <span class="sap-playlist-item-meta sap-playlist-item-title">“{{ data.title }}”</span> <# if ( data.meta.artist ) { #><span class="sap-playlist-item-meta sap-playlist-item-artist">{{ data.meta.artist }}</span><# } #> <# if ( data.meta.album ) { #><span class="sap-playlist-item-meta sap-playlist-item-album">{{ data.meta.album }}</span><# } #> <# if ( data.meta.year ) { #><span class="sap-playlist-item-meta sap-playlist-item-year">{{ data.meta.year }}</span><# } #> </div> </script> <?php } else{ echo 'You need to login'; }nur
Participantsimple membership works by extending hooks and actions provided by wordpress. if any theme overrides those hooks and actions and thereby modify wordpress’s default execution flow, then certainly simple membership cannot function properly.
if the theme developers have any guideline, then we can investigate if that fits with simple membership’s architecture.
nur
Participantdo the following:
1. disable all plugins except simple membership
2. activate default wordpress theme.see if the message is duplicated.
nur
Participantdo you see this message when you submit the form:
New password has been sent to your email address.nur
Participantfor each membership level, you can have only one registration form and one profile form. we imposed this restriction to ensure smooth functionality. adding a third form for a membership level isn’t supported at the moment.
nur
Participantdid you specify “Free Membership Level ID” in the text field just below the checkbox?
nur
Participantyou can get user name using this code:
$auth = BAuth::get_instance(); $user_name = $auth->is_logged_in()? $auth->get('user_name'): '';to show this on the header, you need to edit the theme you are using.
nur
Participanton a separate note, you use “Simple WP Membership Custom Message” addon that you can use to customize message.
nur
Participantclasses/class.bAccessControl.php
nur
Participantsimple membership plugin currently doesn’t support site-wide lockdown feature. this is something we plan to do in future.
nur
Participanta user can login indicates that she is registered. assuming that, following piece of code may work for you:
$auth = BAuth::get_instance(); if ($auth->is_logged_in()){ // user is registered } else{ // user is not registered. }nur
Participanti tested this feature and it works perfectly. i didn’t see any repeated message. which version are you using?
-
AuthorPosts