Forum Replies Created

Viewing 13 replies - 31 through 43 (of 43 total)
  • Thread Starter studio1337

    (@studio1337)

    Thanks for the response. I tried disabling security (we use iThemes Security Pro), but this did not solve the issue. Turning off security wouldn’t be an option in the long run regardless, but this doesn’t appear to be the problem.

    This particular client uses MDTMI for hosting. The hosting/server is your typical Linux + cPanel. They do not restrict use of plug-ins or any technologies.

    Thread Starter studio1337

    (@studio1337)

    My apologies for the very late reply. Davood, that’s entirely possible. In fact, I went back and undid my fix to investigate again, and it appears the issue may be caused by the plug-in Maven Member. destes1, that would mean the issue isn’t in the WP core, and I’m afraid my answer won’t be helpful for you. But the “fix” I discussed in my follow-up post might help (please implement it in a better way than i did ?? ).

    I’m still not sure why the brackets are there at all, but oh well!

    Thread Starter studio1337

    (@studio1337)

    I “fixed” this temporarily the worst way possible by editing the wp-login.php file and removing the brackets from the ‘$message .=’ email text.

    I’d like to create a function to permanently modify this, but my brain isn’t connecting the dots on the hook to use and how to replace the text in line 332:

    $message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n";

    See those brackets? I’m stumped as to why they’re there in the first place. A little help removing them would be most appreciated!

    • This reply was modified 7 years, 11 months ago by studio1337. Reason: a little more explanation
    Thread Starter studio1337

    (@studio1337)

    Hi Angelo,

    I think you may have misunderstood my comments. The issue I’m having happens regardless of whether other plug-ins are turned on or off, and I can verify the theme is not conflicting with the plug-in.

    The plug-in is completely untouched – latest version installed – theme files *for the plug-in* have not been altered in any. The plug-in is simply showing Lat/Long info instead of a map. Here’s a screenshot showing what’s happening on the screen. https://tinypic.com/r/345k0o4/9

    Thanks!

    Thread Starter studio1337

    (@studio1337)

    Thanks guys. I tried the version from Nikodemsky and it worked perfectly. linux4me2 – yours may have worked as well, but I stopped trying when I had it working ??

    I’m still befuddled by the dropped slash. I’m not sure if that’s a bug or what the issue might be. But I’m happy to have it sorted. Much appreciated!

    Thread Starter studio1337

    (@studio1337)

    FYI, confirmation that this configuration is undesirable or unattainable would be valuable as well. If anyone has insights in any way that can assist, we would really appreciate it!

    Thread Starter studio1337

    (@studio1337)

    Hey guys,

    I updated the plug-in and tested it against our other scripts. Everything is working great again. Thank you for attending to this!

    Thread Starter studio1337

    (@studio1337)

    Unfortunately I have not heard anything, and we’re still having the issue. Hoping we’ll hear from the plug-in developer soon…

    Thread Starter studio1337

    (@studio1337)

    Thanks for the response and for pointing me in a direction that may end up working once I get my head wrapped around what’s happening. The server does support allow_url-fopen (and if it didn’t, we would change that – we run the server).

    I ran a test on this, creating a page template and including the cart home page using ‘require’. I’m not primarily a programmer (I can hold my own, but I’m more of a front-end dev personally), so my understanding of what’s happening may not be accurate, but I’m thinking there’s a processing order that’s not happening favorably.

    https://tinyurl.com/n6znk5d – we are redesigning everything from the top down (it’s been 4 years), but as you can see on this page, nothing is pulling in.

    If you look at the source, I created a comment containing the PHP that I’m using. As you can see, we’re attempting to pull in a page that is being generated within cgi-bin, and we would need that process to spit out straight-up HTML prior to including the contents using PHP, if this sequence of events (and use of multiple technologies) can be made to work.

    Or I may by looking at this completely wrong, or I might have misunderstood how you intended this to work. Anything come to mind when looking at this POC?

    Thread Starter studio1337

    (@studio1337)

    Hi Christian,

    Thank you for the response. Unfortunately, the ending URL MUST be in the format described above. I’ll look into the API in more detail. I’m a decent programmer, but I will probably need to assign this to one of my guys who can soak it in more easily than I can.

    Thanks!

    Thread Starter studio1337

    (@studio1337)

    WordPress does a great job of being an open platform that is easy to program around. So why is this so hard? ??

    I’ve exhausted my searched through plug-ins, and I’ve tried countless rules through htaccess (which either fail to run or break the page) and add_rewrite_rule(), which have no effect on the page.

    If this is a difficult or complex bit of programming work to accomplish, I’d love to learn and would appreciate it someone could give me a head start on it. If this is simple, I’d love it if someone could help me construct this, and then I can deconstruct how it operates working off an existing sample.

    But I can’t be asking the impossible…am I?

    Thread Starter studio1337

    (@studio1337)

    No, the install is in the root.

    When we create pages, we are creating then as parent/child pages.

    WHAT WE HAVE NOW:
    Home
    Section 1 = /Section-1
    — Page 1.1 = /Section-1/Page-1-1
    — Page 1.2 = /Section-1/Page-1-2
    Section 2 = /Section-2
    — Page 2.1 = /Section-2/Page-2-1
    — Page 2.2 = /Section-2/Page-2-2

    WHERE WE NEED TO END UP
    Home
    Section 1 = /Section-1.html
    — Page 1.1 = /Page-1-1.html
    — Page 1.2 = /Page-1-2.html
    Section 2 = /Section-2.html
    — Page 2.1 = /Page-2-1.html
    — Page 2.2 = /Page-2-2.html

    Removing the parent/child relationship between pages and using theme menus is not an option. There is too much automation in play here (sectional menus showing up based on parent/child, site map page, etc.). All we need is to write out the top-level folder. Just yank it out!

    And then add .html at the end. I know – it sounds silly, but it’s important in this specific project.

    Thread Starter studio1337

    (@studio1337)

    /%year%%monthnum%%day%/%postname%

    But this is strictly for pages, not posts. To be honest, we rarely have clients who use WordPress for blogging, and unless I’m mistaken, the permalink structure cannot be extended to exert control over pages (unless there’s some sort of plug-in that does this?).

Viewing 13 replies - 31 through 43 (of 43 total)