Happiness ­ Articles ­ the bombsite

. . . .

Subscribe

Statistics

Article Comments
Categories
Famous Articles

Sign Up for Email Updates

Want to Send Me Something?

Need Some Icons?

Happiness

I now have, thanks to Alex, my smilies back again. I also tried his “since last visit” hack but there was a glitch in it, which I thought I’d fixed, but I’ve had to take it out again. It was stopping me posting. I’ve posted to the special WP thread for Alex’s plugins.

Comments ( 13 )

  • 1
    Lily May 14, 05:56 AM
    hm
    u mean it's not working? so waht am i seeing?
    hmm
    is that why i couldn't come to your site a bit earlier today?
  • 2
    Stuart May 14, 06:19 AM
    Yes it is working. I fixed it. :cool: I'm getting tooooo good at this. I posted the fix to the WP board. Seems to be working for others. So far. It's probably why you couldn't reach me although the whole site was down for a while around 5:00pm BST (that's about midday your end, I think). By the time you read this I should have a stats option running.
  • 3
    Stuart May 14, 06:37 AM
    Guess who's top of the comment stats then. :?:
  • 4
    Lily May 14, 06:46 AM
    which ones?
    my stats giving trouble
    sniffle
    hey!...but it says 0 0 above?
  • 5
    Lily May 14, 06:48 AM
    stats problem
    i saw it in yours too :-(
    and your links need fixing in the stats..hehehe
    i fixed mine :-P
    i emailed my fix to people
  • 6
    Stuart May 14, 06:58 AM
    The stats are in the menu on the right. They work fine. :lol: That thing at the top is to do with this "since last visit" plugin.
  • 7
    Lily May 14, 08:34 AM
    how odd
    when i looked at them before i posted that comment it was doing the strange thing minen did
    hmmm
    but the links in like 10 recent posts etc, don't link to the post...
  • 8
    Stuart May 14, 04:55 PM
    I'm not sure what you mean but I'm not going to mess with it anymore till I've got my screenshots validated. :roll:
  • 9
    Lily May 14, 08:03 PM
    oh i didn't say mess with it...i don't have time to mess with mine either ... :-(
  • 10
    Lily May 15, 03:10 AM
    i think i figured out the problem with mine
    go here
    i think maybe cuz they're private comments
    icould be wrong tho
  • 11
    Stuart May 15, 08:33 AM
    Mmmmm. :???: Well I don't actually have a "foreach" at line 280 however you could have made mods at the top which take up extra room and we're assuming we are using the same hack. :roll: Anyway the closest to that line that I have reads thus:-


    foreach($gmz_comments as $post) {
    $comment_author2 = htmlspecialchars(stripslashes($post->comment_author));
    $comment_date = mysql2date('j.m.Y @ H:i', $post->comment_date);
    $comment_content = wpautop(stripslashes($post->comment_content));
    $post_id = (int) $post->post_id;
    $post_date = mysql2date('j.m.Y @ H:i', $post->post_date);
    $post_title = htmlspecialchars(stripslashes($post->post_title));

    // If New Title, Print It Out
    if($post_title != $cache_post_title) {
    echo "

    $post_title

    ";
    }
    echo "
    $comment_content Comment Posted By $comment_author2 On $comment_date
    ";

    $cache_post_title = $post_title;
    }

    If that's no help you might consider asking Max. He's good with this stuff. :lol:
  • 12
    Lily May 15, 06:12 PM
    line 280 is the foreach line you have
    did you change something?
  • 13
    Stuart May 15, 06:48 PM
    No - I've changed none of the code. The only mods are at the top for the header and the bottom for the footer or if you want that in English - I made it look pretty. :cool:

Commenting is closed for this article.

 
BACK TO THE TOP
Need A Textpattern Expert?
Do you have an existing theme that you really like but it is designed for some other application?
Maybe you are a designer but lack the coding skills to turn your design into a working web site?
Maybe you are completely new to the world of web sites?

Then what you need is ME!

Get in touch for a quote