Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact
You are here: Home

Serge

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • April 26, 2023 at 11:57 pm in reply to: Logout link not working #26014
    Serge
    Participant

    Hi Mbr,
    I think I’ll leave the whole code out. Caching pages are causing other issues. I’ll update this post if I do something.

    thanks,
    Serge

    April 21, 2023 at 3:35 am in reply to: Logout link not working #25998
    Serge
    Participant

    Hi MBR,
    I found the issue. Your initial clue helped me. It was the expire from htaccess. I removed the following and it started working well again:
    ExpiresActive On
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType text/css “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType application/x-javascript “access 1 month”
    ExpiresByType application/javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresDefault “access 2 days”

    Maybe you can point me to which of these line I could keep to save on bandwidth.

    thanks,
    Serge

    April 21, 2023 at 2:33 am in reply to: Logout link not working #25997
    Serge
    Participant

    Deactivating plugins did not make any change. I did not deactivate woocommerce because it was there early and the issue is relatively recent. Is there a trace or a way to find out what is the issue? Is there another way more sure to log out by link?
    What is the file that does the log out? I would have a look.

    thanks,
    Serge

    April 20, 2023 at 11:21 pm in reply to: Logout link not working #25986
    Serge
    Participant

    Hi mbr,
    no error is displayed. It just goes back or stays in the login page. I see a console error but may not be the cause:
    JQMIGRATE: Migrate is installed, version 3.4.0
    (index):236 Uncaught TypeError: Cannot set properties of null (setting ‘oninput’)
    at (index):236:83
    (anonymous) @ (index):236
    content.bundle.js:1 observing

    No cache plugin but have cache in htaccess because the website was causing errors at the server:
    ExpiresByType application/x-javascript “access 1 month”
    ExpiresByType application/javascript “access 1 month”

    thanks,
    Serge

    August 25, 2022 at 6:28 pm in reply to: Members disapearing from SQL database #24316
    Serge
    Participant

    Hi,
    no loss of members today. It is possible that incidents occurring previously caused the loss of members if the database was reinstated. I’ll keep it posted here if I get a loss of members without noticeable incident.
    Now that I know how to use SQL, I find it better than the bulk import plugin.
    thanks,
    Serge

    August 22, 2022 at 1:33 am in reply to: {reg_link} not showing in the email #24286
    Serge
    Participant

    Hi Admin,
    I did reinstall the plugin and it did work properly again. I checked my edits and found out that the order of replaceable tags was the issue. I would like to use the tag {member_number} in emails. Wouldn’t it possible now?
    Here are the replaceable tags in class.swpm-utils-misc.php :
    //Define the replacable tags
    $tags = array(
    ‘{member_id}’,
    ‘{user_name}’,
    ‘{first_name}’,
    ‘{last_name}’,
    ‘{membership_level}’,
    ‘{membership_level_name}’,
    ‘{account_state}’,
    ‘{email}’,
    ‘{phone}’,
    ‘{member_since}’,
    ‘{subscription_starts}’,
    ‘{company_name}’,
    ‘{password}’,
    ‘{login_link}’,
    ‘{reg_link}’,
    ‘{primary_address}’,
    ‘{extra_info}’,
    ‘{notes}’,
    ‘{member_number}’,
    );

    thanks,
    Serge

    August 17, 2022 at 4:30 am in reply to: {reg_link} not showing in the email #24252
    Serge
    Participant

    Hi mbr,
    actually I only changed the joinus url and I did update the url in the settings.

    Note that the registration process still works fine. The only issue id the reg_link not in the email.

    I changed a few files to add the field member_number. For example this one that refers to reg_link: class.swpm-utils-misc.php
    But all I did was add in line 325:
    ‘{member_number}’,
    and in line 348:
    $user_record->member_number,
    There are a few other files I edited but nothing more than add this field.
    What would help to know is which files inserts reg_link in the email. Btw, reg_link is showing in the page and it can be created with the tool (see tool tab)

    thanks,
    Serge

    August 17, 2022 at 12:25 am in reply to: {reg_link} not showing in the email #24246
    Serge
    Participant

    Hi there,
    maybe another clue. I did a test registration and the confirmation email is missing the email but, again, has the correct username. See:
    A new member has completed the registration.

    Username: Sergetestmember
    Email:

    Please login to the admin dashboard to view details of this user.

    Thank You
    ===========
    If I could be pointed to the php file involved in picking the data for email, I could probably find out the bug.

    thanks,
    Serge

    August 16, 2022 at 5:54 pm in reply to: {reg_link} not showing in the email #24245
    Serge
    Participant

    mbr: no, form builder addon is not added.
    admin: I have changed the registration page for one of mine. The url is different. I did edit the code in the plugin (just to display two more fields) but I want to keep my edits. Instead of reinstalling, I would rather find the source of the issue. Is there a trace I could add in code to find out where the plugin lost it’s track that I could see in debug?

    thanks,
    Serge

    August 15, 2022 at 7:01 am in reply to: {reg_link} not showing in the email #24227
    Serge
    Participant

    I forgot to mention that first name and last name were showing up normally.

    August 15, 2022 at 6:59 am in reply to: {reg_link} not showing in the email #24226
    Serge
    Participant

    Hi mbr,
    this is it:
    Dear {first_name} {last_name}

    Thank you for joining us!

    Please complete your registration by visiting the following link:
    {reg_link}

    Thank You

    {reg_link} is there. I can look in the php files and edit them but can’t find where the issue could be.

    thanks,
    Serge

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
Next Page »

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy