Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter AH

    (@achim945)

    Danke Norbert,

    exactly what i was looking for. By leaving out the slide ID i can address slides globally.

    • This reply was modified 3 years, 1 month ago by AH. Reason: mark as solved
    Thread Starter AH

    (@achim945)

    Thank you Laszlo,

    works fine with Focus X=0. I just hoped that there is a global setting for background alignment so i wouldn’t have to touch all images in the slider individually, which in this case is a very basic – slideshow.-)

    I wonder if this could be achived by adding some custom CSS code.

    Achim

    Thread Starter AH

    (@achim945)

    perfect, thank you!

    Thread Starter AH

    (@achim945)

    edit 2: {profile_url} works in newsletters, so basically i am only short of unsubscription shortcode for a custom page

    Thread Starter AH

    (@achim945)

    edit: [newsletter_profile] on custom pages works

    Thread Starter AH

    (@achim945)

    Thread Starter AH

    (@achim945)

    talking to myself: a plugin called Press Permit Core did the trick (selectable anonymous)

    Thread Starter AH

    (@achim945)

    As a first solution i took a detour via the plugin ‘Nav Menu Roles’, as category archive pages are selected from the menu:

    – defined two categories: pc-loggedin and pc_loggedout for my posts
    – assigned categories to posts as needed: logged in only, logged out only, mixed
    – added the 2 categories as menu items, same navigation label, different display mode (Logged In Users / Logged Out Users)

    By assigning UAM groups to posts for logged in users only they are protected from unregistered access by URL

    STILL I’D PREFER A GROUP ‘GUESTS’

    Thread Starter AH

    (@achim945)

    ideal would be a selectable role ‘guest’. Just for the sake of it i set up a group without any role affiliation UAM , it appears in the UAM group table with role affiliation set to none. Posts with access set for this group only are not shown at all, as expected.

    Forum: Plugins
    In reply to: [Media Vault] Activation
    Thread Starter AH

    (@achim945)

    this is working as it should

    # Media Vault Rewrite Rules
    <ifModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /subfolder-containing-wp-install/
    RewriteRule ^wp-content/uploads(/_mediavault/.*\.\w+)$ index.php?mgjp_mv_file=$1 [QSA,L]
    RewriteCond %{QUERY_STRING} ^(?:.*&)?mgjp_mv_download=safeforce(?:&.*)?$
    RewriteRule ^wp-content/uploads(/.*\.\w+)$ index.php?mgjp_mv_file=$1 [QSA,L]
    </ifModule>
    # Media Vault Rewrite Rules End

    Thread Starter AH

    (@achim945)

    i just made another try – enabling access to wp-admin without SSL and creating a new gallery results in an album which is viewable both with/without SSL. So it looks like it is a SSL theme thing..? I consider to remove the Rewrite in .htaccess. wp-admin would anyway still be accessable via SSL.

    Thread Starter AH

    (@achim945)

    Hi Max

    thank you for your quick response – i restored from backup and thought i should test a bit more before writing. What i found out now is that your plugin works perfectly (congrats! *****very cool! ?? but is kind of tricked out by my .htaccess and wp-config.php configuration, which i set up to forward admin and login tasks through my hosts SSL proxy (found at https://is.gd/165fHu, german). Requests are handled differently, and it is possible to be logged in with or without SSL protection. As it is the SSL proxy of the host, cookies are set in different places – at the SSL proxy or at my own wordpress install.

    Today i reinstalled Media Vault, .htaccess permissions set to 666 to enable Media Vault to put its code, which brought up another problem – it also removed changes i had made to the standard WordPress code.

    After uploading and linking images to galleries i checked PHPMyAdmin – images URLs (guid) are no SSL URLs, but in ‘dsframework-gallery’ data, which i suppose is the data for my themes (touchfolio) galleries template, URLs include the SSL part.

    I am not sure what really happens, and for some time i didn’t see the problem occur, as both cookies with/withoutSSL wre set and most browsers accept mixed environments. When i am logged in in a pure no SSL environment images are not shown. My solution for the moment is to redirect all traffic to SSL, works fine but is a bit overdone.

    Here is the .htaccess and wp-config.php code as it is now, maybe you have an idea how to deal with a mixed redirect situation. Unfortunately i don’t have php/sql/apache skills, only very basic knowledge how to set up stuff.

    Thank you Achim

    wp-config.php:

    <?php
    #if( isset( $_SERVER[‘HTTP_X_FORWARDED_SERVER’] ) ) {
    # Zugriff mit SSL-Proxy
    $_SERVER[‘HTTPS’]=’on’;
    $_SERVER[‘HTTP_HOST’] = ‘ssl-proxy.com’;
    $_SERVER[‘REQUEST_URI’]=’/my-domain.com’. $_SERVER[‘REQUEST_URI’];
    define(‘COOKIE_DOMAIN’, ‘ssl-proxy.com’);
    define(‘COOKIEPATH’, ‘/my-domain.com/’);
    define(‘WP_SITEURL’, ‘https://ssl-proxy.com/my-domain.com&#8217;);
    define(‘WP_HOME’, ‘https://ssl-proxy.com/my-domain.com&#8217;);
    #}
    #else {
    ## Zugriff ohne SSL-Proxy
    # define(‘COOKIE_DOMAIN’, ‘my-domain.com’);
    # define(‘WP_SITEURL’, ‘https://my-domain.com&#8217;);
    # define(‘WP_HOME’, ‘https://my-domain.com&#8217;);
    #}

    .htaccess:

    php_value memory_limit 256M
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    # wp-(admin|login|register)* auf HTTPS umleiten, wp-login entfernt!
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP:X-FORWARDED-SERVER} !^ssl-proxy\.com$ [NC]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^wp-(admin|login|register)(.*) https://ssl-proxy.com/my-domain.com/wp-$1$2 [L]
    # xmlrpc* auch auf HTTPS umleiten
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP:X-FORWARDED-SERVER} !^ssl-proxy\.com$ [NC]
    RewriteRule ^xmlrpc(.*) https://ssl-proxy.com/my-domain.com/xmlrpc$1 [R=301,L]
    </IfModule>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    # Media Vault Rewrite Rules
    RewriteRule ^wp-content/uploads(/_mediavault/.*\.\w+)$ index.php?mgjp_mv_file=$1 [QSA,L]
    RewriteCond %{QUERY_STRING} ^(?:.*&)?mgjp_mv_download=safeforce(?:&.*)?$
    RewriteRule ^wp-content/uploads(/.*\.\w+)$ index.php?mgjp_mv_file=$1 [QSA,L]
    # Media Vault Rewrite Rules End
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Thread Starter AH

    (@achim945)

    this was quick, thank you! actually i tried all options for landing, resulting in the specified URL with a prefix https://SSL-URL/WP-URL/, leading to an error.

    The omit option works, but always leads to users profile options. Probably the same will happen if it was possible to specifiy an empty URL, i guess.

    So i guess i should talk to the author of the URL fixer plugin?

Viewing 13 replies - 1 through 13 (of 13 total)