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

hoaonline1

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

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • February 26, 2016 at 1:19 pm in reply to: Some pages protected, others aren't #5497
    hoaonline1
    Participant

    I am not sure what that means. I coded this by hand, so no, I did not use a page builder. The page is just a page with the shortcode included. The construct for the shortcode looks like this:

    add_shortcode(‘hoadir’, ‘hoamembershipdirectory’);

    with the shortcode being what I posted before as a function called
    function hoamembershipdirectory(){
    //all the code that I shared above here
    }

    February 26, 2016 at 2:16 am in reply to: Some pages protected, others aren't #5449
    hoaonline1
    Participant

    Here is what I am thinking. The shortcode is pretty simple, it goes like this.

    <?php
    global $wpdb;

    $table_name = $wpdb->prefix.”swpm_members_tbl”;
    ?>
    <div class=”wrap”>
    <table class=”widefat”>
    <thead>
    <tr>
    <td>Name</td>
    <td>Address</td>
    <td>Phone</td>
    <td>Email</td>
    </tr>
    </thead>
    <tfoot>
    <tr>
    <td>Name</td>
    <td>Address</td>
    <td>Phone</td>
    <td>Email</td>
    </tr>
    </tfoot>
    <tbody>
    <?php

    $result = $wpdb->get_results(
    ”
    SELECT last_name, first_name, address_street, phone, email
    FROM $table_name
    ORDER BY last_name
    ”
    );

    foreach($result as $row) {
    $member_id = $row->member_id;
    $last_name = strtolower($row->last_name);
    $last_name = ucfirst($last_name);
    $first_name = strtolower($row->first_name);
    $first_name = ucfirst($first_name);
    $address_street = strtoupper($row->address_street);
    $phone = $row->phone;
    $email = $row->email;

    echo “<tr>\n”;
    echo ” <td>”.$last_name.”, “.$first_name.”</td>\n”;
    echo ” <td>”.$address_street.”</td>\n”;
    echo ” <td>”.$phone.”</td>\n”;
    echo ” <td>”.$email.”</td>\n”;
    echo “</tr>\n”;
    }
    ?>
    </tbody>
    </table>
    </div>
    <?php
    }
    ?>

    What’s happening is that there are over 500 records to pull to generate this list. So, does the Simple Membership Plugin timeout because the MySQL request is too long? I see the message at the bottom of the screen that says you must be logged in to view this content, but the content is displayed on the page before the message.

    February 25, 2016 at 10:53 pm in reply to: Some pages protected, others aren't #5443
    hoaonline1
    Participant

    If I do that, then the page will be protected. It seems to have an issue with this one particular shortcode.

    February 25, 2016 at 9:55 pm in reply to: Some pages protected, others aren't #5441
    hoaonline1
    Participant

    Yes, I had already tried that. The content is quite simple, it is just a shortcode to another plugin. Still, the page will not accept the protection.

    February 25, 2016 at 2:16 pm in reply to: Some pages protected, others aren't #5437
    hoaonline1
    Participant

    Tried on multiple browsers at multiple locations (office, home, cellphone). Still not protecting page. Cleared caches. Did not work. Looked for cache clearing plugin. Do you have any recommendations?

    May 26, 2015 at 6:59 pm in reply to: FormBuilder messes up MailChimp #1877
    hoaonline1
    Participant

    Upgraded script for MailChimp. Enabled Form Builder. Did not work.

    May 25, 2015 at 1:12 pm in reply to: FormBuilder messes up MailChimp #1848
    hoaonline1
    Participant

    Yes, although the names were different.

    What I did is create a free membership level titled, Residents.
    Then I enabled the Free Membership feature.

    What I found out is that if I use the FormBuilder, it does not communicate with MailChimp.

    If I use the form that comes with the Simple Membership, then I get the integration with MailChimp.

    Ideally, I need to collect addresses, phone numbers and first names. That is why I purchased the FormBuilder.

    I also need to be able to eblast residents.

    Do you have a solution that combines FormBuilder with MailChimp integration?

    May 23, 2015 at 4:11 pm in reply to: MailChimp integration does not seem to work. #1818
    hoaonline1
    Participant

    Read the instructions. Did not work for me. Any suggestions?

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 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