Forums

[Yarq] Not adding (3 posts)

  1. ccath63
    Member
    Posted 1 year ago #

    I just installed Yarq and just realized I can't add quotes via admin panel, only going directly to the database. I can delete quotes but cannot add. Can anyone give me some help? I couldn't find any site, blog or forum talking about this problem so maybe it's just me.

  2. scarpenter
    Member
    Posted 1 year ago #

    I had that problem also. On this line:

    echo '<form action="edit.php?page=yarq.php" method="post">' . "\n";

    I removed the action so that I now have:

    echo '<form action="" method="post">' . "\n";

    Another problem that creeped in around that time is that data for the "source" column disappeared, so I added it back here:

    echo '<td>' . $quote->author . '</td>' . "\n";
    echo '<td>' . $quote->source . '</td>' . "\n";

    (I've also enhanced it quite a bit including an "edit" feature and automatically putting in paragraphs and line breaks, but I've made it customized for my uses and removed some security so haven't posted it anywhere. If anyone wants a copy I'd be happy to send my code, with no warranty of course!) :-)

    (Now let's see if this code posts okay...)

  3. scarpenter
    Member
    Posted 1 year ago #

    I decided to clean things up a bit and posted a new version at my site:

    http://www.movingtofreedom.org/2010/07/11/wordpress-plugin-yarq-v3-yet-another-random-quote/

    Also contacted ChristianB about updating the wordpress.org plugin page if possible.

Topic Closed

This topic has been closed to new replies.

About this Topic