Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • nevermind, found the working solution here:
    https://www.ads-software.com/support/topic/22791#post-141050

    Not sure if this is related to 1.5.1 (upgraded from 1.3 to 1.5.1) but now the items that have a view level set cause the following sql error:

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AND comment_approved = ‘1” at line 1]
    SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_post_ID = AND comment_approved = ‘1’;

    ie it doesn’t get a comment_post_ID, which it probably shouldn’t. But does anyone know how to fix it so this error doesn’t keep showing up?

    Forum: Plugins
    In reply to: ViewLevel plugin

    Here’s some little things I’ve noticed with the current version of it:
    This is pretty much all dealing the padlock image. First, the $site_root wasn’t defined. Like someone else said, had to go to wp-admin/options-permalink.php and grab the code from there.
    The image url still isn’t correct. If you had your site at www.myblog.com/here/ the image url would be /here//wp-images/padlock.gif It still displays it, just not standard, although removing the starting / in /wp-images would fix it, plus fix even the need for $site_root unless you do some major changes to the layout
    And finally, the “tooltip” (forget what it’s actually called, the title I think?) shows the image url markup after setting a default permalink structure. So that tooltip thing would show Permanent Link: <img src='/here//wp-images/padlock.gif' border='0'/> test instead of just Permanent Link: test not quite sure how to fix that one
    Aside from those display issues, it’s working great.

    Forum: Plugins
    In reply to: Request: post level plugin?
    Thread Starter vrillusions

    (@vrillusions)

    I’ve seen in mentioned in here I think, but is it possible to restrict lower level posts so they always have to be moderated or something? at least that way when they do post it just gets moderated so it doesn’t actually show up.

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