Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • sorry, just a little frustration came out…this is an open-source community, init. one big beta-test, after all.

    tx for trying, everyone!

    🙂

    ditto here…to be honest, while I see the value of a plugin like this – that is stable – I wonder why WP recommends a plugin that can knock down a site so easily, and generally apparently does. then again, i know the intention is good, and that AskApache is absolutely on the right track. but this is a beta, surely, not a WP recommend (Hardening WordPress)??

    seems ot me, despite so many people having issues with this plugin, there are still maaaaaaaaaaaany questions and hardly any answers.

    dunno, maybe WordPress is forgetting that it’s core users are not computer science types but still want secure blogs, and therefore prone to follow the docs’ advice.

    sorry…just to be clear, this is almost a brilliant plug-in for the average WP user, and I suspect will be. and wordpress is generally utterly brilliant. just maybe a little hyper-excitement about this particular beta-plugin??

    hmmn, same deal here…using 4.2.4, with 2.5.1, on Lunarpages.

    getting a 404, and locked out of admin.

    have scoured AA’s site, and comments, tried everyone’s workarounds, but it’s the same problem.

    …one thing, on clicking the config tab of teh AAPP plugin, i get two failures…

    Test for mod_security capability [ FAILED ]
    503 Response: 200 OK

    and

    Test for PLAIN encryption capability [ FAILED ]
    200 Response: 401 Unauthorized
    401 Response:: 401 Unauthorized

    …which maybe means I shouldn’t be trying to install the plugin anyway! I tried deleting wp’s existing htaccess files to get around these errors but they’re still there.

    I wonder, any other clues? or could it be lunarpages server?

    Thread Starter ollythebuilder

    (@ollythebuilder)

    for those of you also wondering, one word…

    FeedWordPress.

    Thread Starter ollythebuilder

    (@ollythebuilder)

    the code for latest_post.php, that I was trying to paste above, should read as follows, except LINK HERE is really “a href” (I was pasting a link, doh!!) …

    <?php $limit=1; $more=1; $count=1;
    if (empty($wp)) {require_once(‘wp-config.php’); wp(‘feed=rss’);}
    if ($posts) { foreach ($posts as $post) { start_wp(); ?>
    <h5><p class=”post-info”><?php the_time(‘l j F Y’) ?></p></h5>
    <h5><LINK HERE=”/blog1 **** /<?php the_permalink() ?>” rel=”bookmark” title=”Enlace permanente a <?php the_title(); ?>”><?php the_title(); ?></h5>
    <?php $count++; if ($count >1) { break; } } }?>

    **** this says blog2, for the second blog.

    Does that make sense now? If anyone can shed any light on why this script is calling posts only from Blog 1, and not the first post from each blog, I’d be very grateful.

    Olly.

    Thread Starter ollythebuilder

    (@ollythebuilder)

    Damn…. I can’t seem to post up the full code for latest_post.php.

    Thread Starter ollythebuilder

    (@ollythebuilder)

    OOPS… PLEASE DISREGARD ABOVE POST AND READ THIS ONE! Olly.

    thank you NC@WP. I’m testing this plugin, but…

    surely the php script is the way to go. I am having a problem with this though!

    to recap, i have a few blogs, and want the last post from each to appear on a portal page. so for the portal page I have the following php…

    <div><h1>Blog 1</h1>
    <p><?php include_once ($_SERVER[‘DOCUMENT_ROOT’].’/blog1/latest_post.php’); ?></p></div>
    <div><h1>Blog 2</h1>
    <p><?php include_once ($_SERVER[‘DOCUMENT_ROOT’].’/blog2/latest_post.php’); ?></p></div>

    …and that calls latest_post.php, from each blog. latest_post.php contains…

    <?php $limit=1; $more=1; $count=1;
    if (empty($wp)) {require_once(‘wp-config.php’); wp(‘feed=rss’);}
    if ($posts) { foreach ($posts as $post) { start_wp(); ?>
    <h5><p class=”post-info”><?php the_time(‘l j F Y’) ?></p></h5>
    <h5>” rel=”bookmark” title=”Enlace permanente a <?php the_title(); ?>”><?php the_title(); ?></h5>
    <?php $count++; if ($count >1) { break; } } }?>

    **** this says blog2, for the second blog.

    Here’s the problem!…

    On the output html, for <h1>Blog 1</h1> the first post is correctly called, but…
    On the output html, for <h1>Blog 2</h1> instead of calling the first post of blog 2, mysteriously, the SECOND post of BLOG 1 is called.

    i am a php newbie. can anyone help?

    Many thanks,

    Olly.

    Thread Starter ollythebuilder

    (@ollythebuilder)

    thank you NC@WP. I’m testing this plugin, but…

    surely the php script is the way to go. I am having a problem with this though!

    to recap, i have a few blogs, and want the last post from each to appear on a portal page. so for the portal page I have the following php…

    <div><h1>Blog 1</h1>
    <p><?php include_once ($_SERVER[‘DOCUMENT_ROOT’].’/blog1/latest_post.php’); ?></p></div>
    <div><h1>Blog 2</h1>
    <p><?php include_once ($_SERVER[‘DOCUMENT_ROOT’].’/blog2/latest_post.php’); ?></p></div>

    …and that calls latest_post.php, from each blog. latest_post.php contains…

    <?php $limit=1; $more=1; $count=1;
    if (empty($wp)) {require_once(‘wp-config.php’); wp(‘feed=rss’);}
    if ($posts) { foreach ($posts as $post) { start_wp(); ?>
    <h5><p class=”post-info”><?php the_time(‘l j F Y’) ?></p></h5>
    <h5>” rel=”bookmark” title=”Enlace permanente a <?php the_title(); ?>”><?php the_title(); ?></h5>
    <?php $count++; if ($count >1) { break; } } }?>

    * this says blog2, for the second blog.

    Here’s the problem!…

    On the output html, for <h1>Blog 1</h1> the first post is correctly called, but…
    On the output html, for <h1>Blog 2</h1> instead of calling the first post of blog 2, mysteriously, the SECOND post of BLOG 1 is called.

    i am a php newbie. can anyone help?

    Many thanks,

    Olly.

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