2 questions: (1) Media protection doesn't work. (2) A message on the membership list page!

1- Media protection doesn’t work. I tried all levels (basic, complete, hybrid). Even with basic protection, when it is activated the audio file doesn’t play, and even the logo doesn’t show. On the home page of my website: ThinkArabic.com, you cannot see the logo. Also, there is an audio file at the beginning of the page that should play when you press play, but it doesn’t. It only plays only when I deactivate the media protection add-on.

2- I see this message on the membership list page that says:

Membership expires on “whatever date”?

I want to get rid of this message and the calendar. I don’t want members to see such message/calendar, because then they have to renew every month. The renewal should automatic until they cancel. I believe they should get a message that says:

“Membership renews automatically every month until you cancel.” or “Membership does not expire until you cancel.” — or something similar.

Thank you ..

A.

  • Vinod Dalvi
    • WP Unicorn

    Hi @Abdelmegid,

    I hope you are well today and thank you for your questions.

    1- Media protection doesn’t work. I tried all levels (basic, complete, hybrid). Even with basic protection, when it is activated the audio file doesn’t play, and even the logo doesn’t show. On the home page of my website: ThinkArabic.com, you cannot see the logo. Also, there is an audio file at the beginning of the page that should play when you press play, but it doesn’t. It only plays only when I deactivate the media protection add-on.

    I could confirm the issue on your site.

    Would you mind if I logged in to your site and did some troubleshooting? This might help get to the bottom of this faster. If this is ok, just grant me temporary admin access to your site by clicking “Grant Access” button in the WPMU DEV Dashboard Settings as described on the following page and reply on this thread after granting it?

    https://wpmudev.com/manuals/wpmu-dev-dashboard-enabling-staff-login/

    2- I see this message on the membership list page that says:

    Membership expires on “whatever date”?

    I want to get rid of this message and the calendar

    You can change this message to “Membership renews automatically every month until you cancel.” by using the attached small plugin.

    I am not sure about what the calendar you are talking about so could you please share the screenshot of it?

    Kind Regards,

    Vinod Dalviu

  • Abdelmegid
    • WPMU DEV Initiate

    Thank you.

    1- Okay. Support staff access successfully enabled.

    2- I don’t want to install plugins for small things like changing some text !!! I found that installing many plugins causes crashes and strange things. Can’t this be done without installing new plugins? It is just changing the message to “Membership renews automatically every month until you cancel.”

    Thank you

  • Kasia Swiderska
    • Support nomad

    Hello Abdelmegid,

    Can you revoke and then grant again access? I can’t check your website due “invalid token” error.

    Can’t this be done without installing new plugins?

    You can change the plugin code – but this is not the solution, or use the fake English translation file, where you translate this phrase to something else.

    Kind regards,

    Kasia

  • Kasia Swiderska
    • Support nomad

    Hello Abdelmegid,

    Huh. Please enable support access again. If this possible please also enable debug mode in your WordPress.

    To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

    define(‘WP_DEBUG’, true);

    In order to enable the error logging to a file on the server you need to add yet one more similar line:

    define( ‘WP_DEBUG_LOG’, true );

    In this case the errors will be saved to a debug.log log file inside the /wp-content/directory.

    Depending on whether you want your errors to be only logged or also displayed on the screen you should also have this line there, immediately after the line mentioned above:

    define( ‘WP_DEBUG_DISPLAY’, false );

    The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.

    Kind regards,

    Kasia

  • Abdelmegid
    • WPMU DEV Initiate

    I went there. There are NO errors.

    I cut and pasted below what I found on the debug.log file:

    [22-Oct-2015 04:29:21 UTC] PHP Notice: Undefined index: show in /home/thinkara/public_html/thinkarabic.com/wp-content/plugins/membership/app/view/shortcode/class-ms-view-shortcode-login.php on line 29

    …….

  • Kasia Swiderska
    • Support nomad

    Hello Abdelmegid,

    Thank you for the debug.log – this didn’t tell us much :slight_frown:. In this case I would need to do more troubleshooting on your site, therefore I need more access. You can send me credentials

    by using our secure contact form https://wpmudev.com/contact/

    Subject: “Attn: Kasia Swiderska

    -WordPress admin username

    -WordPress admin password

    -login url

    -FTP credentials (host/username/password)

    -link back to this thread for reference

    -any other relevant urls

    Select “I have a different question” for your topic – this and the subject line ensure that it gets assigned to me

    [attachments are only viewable by logged-in members]`

    Kind regards,

    Kasia

  • Abdelmegid
    • WPMU DEV Initiate

    Hello Kasia,

    Thank you for your effort.

    I think the problem is in the plugin itself. Here’s why:

    in Aug 27 2015, I contacted wpmudev support about this problem and I was told the following:

    “…. #3: Indeed, mp3 files appear to not work properly when Complete is selected as the media protection method. You would need to use either the Basic or Hybrid method.”

    I tried what they told me but the mp3 files and other files (images) don’t work with any level of protection: Basic, Hybrid or Complete!

    Anyway, I can send you my WordPress admin username, password and login URL for that website (ThinkArabic.com).

    However, I cannot send my FTP credentials (host/username/password). There are other websites hosted on that hosting account. If you need any specific information, just let me know what you need and I can pass it to you.

    Let me know if this is OK. Hope this helps.

    Abdelmegid

  • Kasia Swiderska
    • Support nomad

    Hello Abdelmegid,

    Please send the login credentials – this way I will not need to ask you all the time for access.

    I will try to handle this without the FTP access – however it would be awesome if you could check if there is possibility to create FTP account with access to only this one site — I know some hostings are allowing that.

    Kind regards,

    Kasia

  • Kasia Swiderska
    • Support nomad

    Hello Abdelmegid,

    Thanks for the credentials! I finally got it! Media protection is turned on and images are visible. There was problem with permalinks – after change images showed and the mp3 can be also played.

    Protection of the mp3 works – if I enable protection for the individual files and protect the mp3 file it don’t work when non logged without premium membership visitor tries to play. But when logged in premium member plays it, it works fine.

    Kind regards,

    Kasia