Forum Replies Created

Viewing 15 replies - 16 through 30 (of 72 total)
  • Thread Starter songiuno

    (@songiuno)

    Testing:
    1) the Subscribe2 plugin executes WP standard shortcode as you mentioned, using media gallery [gallery ids="2510,2511,2512,2513"]. The gallery images executed.

    2) My mistake on initial testing for entire post. I tested email output between public and private visibility earlier (private visibility as opposed to shortcode to restrict the entire plugin) which worked in restricting. The entire post restriction plugin I use is User Access Manager v2.2.1, which hides the entire post, title and text. Subscribe2 does not execute its restriction either. PC shortcode is not executed in email whether I restricted all of the post’s text or portions of it.

    So it appears that built-in WP shortcode functions fine with the subscribe2 plugin email, but add-on plugin shortcode does not.

    I will find another way to accomplish what I’m looking for. I’m realizing that I am taking you well beyond the scope of your Private Content plugin and don’t want to continue to do so. I enjoy and appreciate Private Content plugin!

    Thread Starter songiuno

    (@songiuno)

    Evidently the subscribers plugin emails the raw text since the text sent doesn’t indicate that the PC shortcode was applied at all.

    My intent and in the tests I did, is to post the text in WP with no role restrictions at the post level, so visitors can view. Within that text I would restrict certain portions to subscriber role view using Private Content shortcode. The subscriber plugin does not recognize the shortcode. If I publish the post as a whole as restricted to subscriber role, then the subscription plugin does recognize the role restriction and sends the email only to subscriber role users.

    Thread Starter songiuno

    (@songiuno)

    Hi Aldo, what I was wondering is for the content of the post, when Private Content is applied to hide certain portions of it, to go out in email via a subscriber plugin in the same way the ‘hidden’ format is intended. For instance, I publish a post:

    Good morning everybody, [private container=”span” role=”custom” custom_role=”subscriber” alt=”It is rainy today”]it is a bright sunny day[/private].

    I’d like the subscriber plugin email sent to subscribed users to read ‘Good morning everybody, it is rainy today.’ Or if no alt text specified, it would come out as ‘Good morning everybody, .’ as Private Content would treat it.

    And users would have to login to my blog to read the protected post as a subscriber.

    The subscriber plugin I’m looking at using (subscribe2) does have an option to send either the entire post or a specified excerpt of it. In testing, choosing entire post does so with the intended hidden/protected text intact as if Private Contnet shortcode was never applied. I would like to send entire post text BUT sent according to what Private Content shortcode allows/restricts.

    Sorry Aldo, not sure if this is even possible. I’m just brainstorming again of things to accomplish. Hope this makes more sense.

    • This reply was modified 4 years, 1 month ago by songiuno.
    Thread Starter songiuno

    (@songiuno)

    I’m experimenting now but think i got it. Thank you Aldo, as usual!

    Thread Starter songiuno

    (@songiuno)

    Oh okay thanks, I’ll have to study up on css files to determine how to do this. So would this be in the theme’s style.css? I don’t see an existing on used in the private content plugin folder(s) itself.

    Thread Starter songiuno

    (@songiuno)

    Ok thanks, not a problem. Just thought I’d ask.

    Thread Starter songiuno

    (@songiuno)

    It seems that on my laptop screen which is 1280 the site takes up about 90% of the screen width. I also use a 1920px monitor for extended display and when I open the browser to view my site on it, it occupies less of the screen width, maybe 70%. So it does not respond to the wider screen. I end up with a lot of blank space on either side.

    I do agree about not meddling with code in the files and yes, I have orvis set up for an orvis-child theme so as not to touch any of the theme’s original files.

    I will try another idea to fill up the “blank” space on m wide screen, which I will ask ffor pointers on in another support post if you don’t mind.

    Thread Starter songiuno

    (@songiuno)

    Thank you Alexandre for catching that SSL certificate issue, that was the problem. Both sites test good and work now. My hosting support cleared it up. Thank you so much and apologize for your time spent and it not being the plugin at all.

    Thread Starter songiuno

    (@songiuno)

    Aha, okay let me pursue that first then. Site B, the myinnersanctum.net site, is new and I have seen that invalid cert error after configuring security with my host. Sorry, let me work on fixing that.

    Thread Starter songiuno

    (@songiuno)

    Let me paste the entire output, as more results were output after my above.

    ` 2020-07-23 21:29:33 – Alert – Error contacting the remote site: an undefined error occured. Please make sure the address is correct and try again. On the remote site, please make sure the plugin is activated and that the permalinks are up to date by visiting the permalinks settings page.
    2020-07-23 21:30:21 – Success – Access granted – https://www.myinnersanctum.net/wpblog
    2020-07-23 21:30:21 – Success – Ping received for activated action “Logout” from https://www.myinnersanctum.net/wpblog with remote IP 69.163.182.46 (incoming)
    2020-07-23 23:10:18 – Info – Renewing token for https://www.myinnersanctum.net/wpblog
    2020-07-23 23:10:18 – Warning – Failed to renew token for https://www.myinnersanctum.net/wpblog – retrying…
    2020-07-23 23:10:18 – Alert – Failed to renew token for https://www.myinnersanctum.net/wpblog
    2020-07-23 23:10:18 – Info – Content received from remote site when renewing token:

    Array
    (
    [0] =>
    )

    Thread Starter songiuno

    (@songiuno)

    Hoping I followed the code insertion correctly to obtain the proper test results, this is what I got on site A, the site that fails test. Site B appears to have no issues and no output other than successful test.

     2020-07-23 21:29:33 - Info - Content received from remote site when renewing token:
    
    		Array
    (
        [0] => 
    )
    
    Thread Starter songiuno

    (@songiuno)

    This may make a difference, but let me clarify. Both my site A and site B are on the same hosted VPS server, but different domains, sitea.com and siteb.com. So domains are different and not different subfolders of the same domain. But same managed VPS server.

    Does that make a difference in the approach to troubleshoot or should I go ahead and follow your code edits?

    Thread Starter songiuno

    (@songiuno)

    Yes they are on the same VPS server according to my hosting service. Yes, both are inside a subdirectory on each site. I’m not using the IP Whitelist since neither site is assigned static IP. Should I? I have not noted how often IPs for the sites are reassigned.

    Thread Starter songiuno

    (@songiuno)

    Thank you, thank you! Works like a charm!

    Thread Starter songiuno

    (@songiuno)

    Ok, that was certainly easy. Thanks Aldo! You’re awesome!

Viewing 15 replies - 16 through 30 (of 72 total)