Forum Replies Created

Viewing 15 replies - 1 through 15 (of 31 total)
  • Thread Starter tmountjr

    (@tmountjr)

    Sorry to keep popping up, but I think I found it – the plugin was picking a link string apart using regular expressions, and if it didn’t meet certain criteria (like no href), it would piece it back together again. Only when it pieces it back together, it apparently didn’t put the spaces in properly – it was putting the link contents in using '<a' . $matches[1] – I just changed that line (111 in version 2.6 of the plugin) to '<a ' . $matches[1] and it seems to work. I don’t think this’ll break anything else, so if anyone else has problems with this plugin, check that.

    Thread Starter tmountjr

    (@tmountjr)

    Didn’t think to check plugins. Looks like the link indication plugin is doing this. In a nutshell it goes through links and determines whether or not a link is pointing to an internal or external site, then gives the link a class. I’m not very handy with regular expressions…this is the line:

    $pattern = '/<a (.*?)(href=("|')(.*?)("|')(.*?)|)>(.*?)</a>/i';

    Anyone have a quick guess how to modify it to ignore <a id>?

    Thread Starter tmountjr

    (@tmountjr)

    Oops. Bad formatting. Boiled down:

    what <!--more--> renders as: <aid="more-x">
    what it should render as: <a id="more-x">

    Thread Starter tmountjr

    (@tmountjr)

    Okay, scrap that – I guess there is some sort of command I have to run, because the SQL that works in PHPMyAdmin doesn’t work as a cron job:

    /bin/sh: line 1: DELETE: command not found

    That’s from the email report my server sent me.

    Thread Starter tmountjr

    (@tmountjr)

    Never mind – I fiddled some more. The SQL I used is:

    DELETE FROM comments WHERE comment_author_email = "" AND comment_ID >325

    I’m thinking this would also catch legitimate trackbacks, too, right?

    Thread Starter tmountjr

    (@tmountjr)

    And that’s fine, but do I just paste it in there? I read somewhere on Google that one had to create a text file, then execute some sort of command to get the sql file to run. All i have to do is pop in the SQL in that line?

    Problem with the SQL, though – the following doesn’t return any records:

    SELECT * FROM comments WHERE comments_author_email IS NULL;

    I exported the SQL of that table, and one of the offending comments is:

    INSERT INTO comments VALUES (1178, 192, 'propecia online', '', 'https://****.com', '63.144.244.130', '2005-04-21 14:28:46', '2005-04-21 18:28:46', '<trackback />propecia online\nIf a little knowledge is dangerous, where is a man who has so much as to be out of danger? by levitra', 0, '0', 0);

    I tried searching for comments where comment_author_email is “”, ”, and NULL; I’ve also tried writing my own SQL – nothing shows up. What am I doing wrong? I know exactly how I’d do this in an Access db, but this isn’t an access db!

    Thread Starter tmountjr

    (@tmountjr)

    I’m still running Mingus. My university firewall is very picky when it comes to FTP, and I haven’t had time to upload the latest version; I probably will over the summer, though. On the other hand, I just finished clearing out 53 spams this morning, only 40 of which were moderated.

    I’m not sure if I have SSH access, but I do know there’s a cron scheduling app in cPanel X, which is what my host is running. Simple question, probably: how do I know if I have SSH?

    Thread Starter tmountjr

    (@tmountjr)

    Is that DST setting something I can find in cpanel?

    Actually, I’d like to keep it open, because wp-blacklist keeps adding my ip address (and about half of the college campus I’m on) , email, and website (meaning that if any comments from https://www.mountyscorner.com are blocked, NO ONE can comment). I went into the table and cleared the things out, but as soon as I commented, I was added again. Really annoying – anyone know how to include a whitelist with this that keeps my domain name and ip range off the blacklist? Prolly just a tweak of the function, but I don’t know PHP very well, at least not enough to find where and how to put something like that.

    Forum: Fixing WordPress
    In reply to: beta versions
    Thread Starter tmountjr

    (@tmountjr)

    I’m just thinking of playing around with it, getting used to the interface, etc. I’m installing it locally on my computer; it’s not going to be a full internet publication. I just wanted something that worked.

    Thread Starter tmountjr

    (@tmountjr)

    Never mind – I fiddled with the CSS (gotta love the Web Developer extension for Firefox!) and got it looking good. So I’m liquid now. What else can I do?

    Thread Starter tmountjr

    (@tmountjr)

    Funky! Anyone who knows more about CSS care to let me know exactly what I just did? Since I expected something strange might happen, I have the liquid layout (which looks like something spilled on a Persian rug) at https://www.mountyscorner.com/blog/liquid.php. Thanks.

    Thread Starter tmountjr

    (@tmountjr)

    Any examples of a 3-column liquid so I can get an idea of how to do it?

    Thread Starter tmountjr

    (@tmountjr)

    Interesting thought. I’ve only scaled down to 1024, which is what most people nowadays are running. How would I do what you suggest?

    Thread Starter tmountjr

    (@tmountjr)

    Well, the thing about the internal network is that not everyone on that internal network should be able to see it. I’ll fool around with the .htaccess things, though; hopefully I’ll find someway of implementing that. Windows doesn’t like filenames in that format.

    Another question, then – How do I get all the categories to show up on the sidebar, even if there are no posts in that category? For cataloging purposes, it would be great if I could show all the categories and have the user navigate to the correct heading.

Viewing 15 replies - 1 through 15 (of 31 total)