Viewing 12 replies - 1 through 12 (of 12 total)
  • ternstyle

    (@mpraetzel)

    What version of the plugin do you have installed? What do you mean by “General Settings”? What other field? Do you mean “instead of” as opposed to “in spite of”? What is the php code you’re seeing? Can you paste it here as well as any errors you are receiving?

    Vladart

    (@vladart)

    Yes, i have the same problem. Plugin was broken in 2.8.5 and it still broken in 2.8.6

    In the settings of the plugin i see PHP code in inputs instead the string that should be in the inputs.

    For example: In: “URL for your members page” in the input to the right i see this: <?=$o['url'];?>, In the “Meta fields to search by” in the input to the right i see this: <?=$o['meta'];?>

    Vladart

    (@vladart)

    It’s working ok. Just don’t use on localhost. Problem solved. Great plugin!

    ternstyle

    (@mpraetzel)

    Thanks Vladart. How did you install the plugin? FTP or WordPress’ built in plugin updater?

    Drake

    (@marcoragogna)

    I am working locally on 2.8.6 version and I have exactly the problem described by Vladart.

    “In: “URL for your members page” in the input to the right i see this: <?=$o[‘url’];?>”

    and so on…

    Don’t know how to solve the problem, but if you need more information just ask me, I would be glad to help

    I am using XAMPP Lite 1.7.2 with PHP Version 5.3.0.

    ternstyle

    (@mpraetzel)

    It seems like your local versions of PHP don’t like the syntax “<?=”. I imagine that is the issue.

    Try changing line 224 from this:
    <input type=”text” name=”url” class=”regular-text” value=”<?=$o[‘url’];?>” />

    to this:
    <input type=”text” name=”url” class=”regular-text” value=”<?php echo $o[‘url’]; ?>” />

    Let me know if that solves the issue. If it does it must be a setting localized on your machine. Try altering the syntax before I decide whether I wish to research what setting might be accountable for the issue.

    Regardless I will take this into consideration when I’m writing in the future. I personally don’t run PHP locally. I test all my work on my remote server. Maybe it’s time to make a change.

    Thanks for the heads up guys.

    Drake

    (@marcoragogna)

    Try changing line 224 from this:
    <input type=”text” name=”url” class=”regular-text” value=”<?=$o[‘url’];?>” />

    to this:
    <input type=”text” name=”url” class=”regular-text” value=”<?php echo $o[‘url’]; ?>” />

    yes! now it works, for that input the text shown is correct

    Drake

    (@marcoragogna)

    I did a search/replace of all

    <?=

    with

    <?php echo

    and now all text in admin seems working

    ternstyle

    (@mpraetzel)

    Excellent. marcoragogna, thank you for doing that work. My best guess is that a setting on your localhost doesn’t like the syntax. I will keep this in mind programming in the future.

    Thanks again guys for the heads up.

    Thread Starter steve1964

    (@steve1964)

    The problem is that some version of php, i’m using php 5.2.5 on a webserver with win2003 and on localhost with XP pro and php 5.2.5, require that you input php code in this way:
    <?php … ?> and not <? … ?>, if you input the code in 2 way the php is simply not interpreted. So is not a problem of localhost but the version of the php you are using and the OS you are running.

    Thread Starter steve1964

    (@steve1964)

    I modified the plugin and now it works both on localhost and on the server, find <?= and replace with <?php echo, that is…

    ternstyle

    (@mpraetzel)

    This is resolved. Correct?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: Members List Plugin] Plugin Broken with 2.8.5’ is closed to new replies.