• L.S.,

    Even though I really, really like this plugin, I’ve had problems with it since v 3.2. The server this blog is running on is on PHP 4.4.4. with Mysql 4.1.21.

    I use it in a page which has some text, then the members list (called using the shortcode) and then again some text.
    This worked fine up to v3 of the plugin.

    For some reason, the options I set using the shortcode are now no longer respected.
    The shortcode I used was:
    [members-list search=false alpha=false pagination=false pagination2=false sort=false]

    The result was a members list *with* search, alphabetical list, pagination etc. Not what I wanted.

    I tried using a custom shortcode with the php code from the documentation, but that resulted in the list being printed above any text I had on the page. Again, not what I wanted.

    As a work-around I solved it using the following code snippet which I have added to my theme’s functions.php file:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    To call the member list in the middle of page, I add the [teamlist] shortcode to my page. Now it works again.

    It feels very counter-intuitive having to use this work-around. A bug-fix would be very much appreciated!

    If you want me to enable debug and pass on error messages or even test a new version of the plugin, please feel free to contact me.

    Spring greetings,
    Juliette

Viewing 4 replies - 1 through 4 (of 4 total)
  • As a moderator removed the code as the Forum Rules only allow for max 10 lines, please find the uncommented snippet which does comply with the 10 line rule here:

    function display_memberlist() {
    	ob_start();
    	$members = new tern_members;
    	$members->members( array(  'search' => false, 'alpha' => false, 'pagination' => false, 'pagination2' => true, 'sort' => false, ) );
    	$html = ob_get_clean();
    	return $html;
    }
    add_shortcode('teamlist', 'display_memberlist');
    Plugin Author ternstyle

    (@mpraetzel)

    @jrf, the shortcode bug is fixed as of plugin version 3.5.3.

    Excellent! Thank you so much!

    Sadly, this bug seems to be back in the current version. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Members List Plugin] [Bug?] shortcode options not working ?’ is closed to new replies.