Heinz

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Child themes "updates" #85504

    Heinz
    Participant
    Post count: 18

    Sorry, but an update (as you said) of a child theme which changes fundamental features and properties (the renamed homepage widget areas is the least problem here) is not an update. The usage of version numbers, as we know that for genesis, the wordpress core and tons of plugins, implies the possibility of an update (due to security reasons, additional options, whatever), tricking us into “updating” the child theme, as we do with the aforementioned software. I consider it bad to have a working website destroyed that way.

    And if it’s not intended to implement updates of child themes, then I would like to read that somewhere in biggest possible letters as a warning before.

    I am very, uhm, unhappy!


    • This reply was modified 6 months, 1 week ago by  Heinz.
    • This reply was modified 6 months, 1 week ago by  Heinz.
    in reply to: Category only for logged in users #64442

    Heinz
    Participant
    Post count: 18

    I once installed S2members, but decided to not use it for simple cases. It left a mess when I deinstalled it again.

    Anyway, my question is not about how to handle registered users (this is already well handled by plugins like “members” oder “wp-members”), but about how to show a whole category only to logged in users, and provide other users some text or a form instead.

    So it must be something like:

    Creation of a file category.php
    and then:

    <?php
    if ( is_category(12) || is_category(27) ) { 
    	if ( !is_user_logged_in() ) 	
    		remove_action('genesis_loop', 'genesis_do_loop');
    	} else {
    		echo '<h2>Member Area</h2>';
    		echo '<p>Please log in.</p>';
    		// login form here
    	}
    }
    genesis();
    ?>

    Essentially this works, but the else-part misses a lot of structuring HTML-elements. Of course these can be added manually with echo-statements, but maybe we could remove something else than the whole loop?


    • This reply was modified 10 months ago by  Heinz.
    • This reply was modified 10 months ago by  Heinz.
    • This reply was modified 10 months ago by  Heinz.
    • This reply was modified 10 months ago by  Heinz.
    in reply to: Category only for logged in users #64260

    Heinz
    Participant
    Post count: 18

    Hi Brad,

    in that case wp-members. But we do not use it for lock/unlock of posts, but for user handling only. The authors should not be forced to use a custom field. When they post into a certain category, the posts should be automatically protected, including the whole list of posts of that category.

    The question really is: how can I show the entire list of posts of a specific category to logged-in users only, and present a form to all others (using Genesis; and for the category itself, i.e. without using a category page template).

    Heinz


    in reply to: Split: Genesis 2.0.0 / The Event Calendar problem #60433

    Heinz
    Participant
    Post count: 18

    I had chosen the wrong template in the settings of events calendar pro. It needs to be “Default page template (WordPress)” (in German: “Standard-Seitenvorlage (WordPress)”).

    This makes the above mentioned hook to work, but the list of events is broken now. It’s not a list, just some list of words from an event of the category “uncategorized” (which does not exist).

    Which makes it now a tri.be-problem (developers of that plugin) I guess ;-)

    Next success:

    Genesis > Theme Settings > Content Archives option needs to be set to Display post content

    Now it’s only the page navigation at the end of the list, which is still broken. Doing a research on that ……


    • This reply was modified 10 months, 3 weeks ago by  Heinz.
    • This reply was modified 10 months, 3 weeks ago by  Heinz.
    • This reply was modified 10 months, 3 weeks ago by  Heinz.
    • This reply was modified 10 months, 3 weeks ago by  Heinz.
    in reply to: Split: Genesis 2.0.0 / The Event Calendar problem #60421

    Heinz
    Participant
    Post count: 18

    I did another test with a very simple function:

    add_action( 'genesis_before_content_sidebar_wrap', 'ew_test' );
    function ew_test() {
    	echo "<!-- ew_test here -->\r\n";
    }
    

    This function is not called if I navigate to the events list. The hook seems to be ignored.


Viewing 5 posts - 1 through 5 (of 5 total)