Happiness | Articles | the bombsite

. . . . . . . . . . .

About the Post

Author Information

I enjoy working with HTML, XHTML, CSS and designers as a web developer. At home I enjoy listening to music, playing music, reading and food.

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 )

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?
14 May 2004, 07:56
Yes it is working. I fixed it. 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.
14 May 2004, 08:19
Guess who's top of the comment stats then. :?:
14 May 2004, 08:37
which ones?
my stats giving trouble
sniffle
hey!...but it says 0 0 above?
14 May 2004, 08:46
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
14 May 2004, 08:48
The stats are in the menu on the right. They work fine. That thing at the top is to do with this "since last visit" plugin.
14 May 2004, 08:58
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...
14 May 2004, 10:34
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:
14 May 2004, 18:55
oh i didn't say mess with it...i don't have time to mess with mine either ... :-(
14 May 2004, 22:03
i think i figured out the problem with mine
go here
i think maybe cuz they're private comments
icould be wrong tho
15 May 2004, 05:10
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.
15 May 2004, 10:33
line 280 is the foreach line you have
did you change something?
15 May 2004, 20:12
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.
15 May 2004, 20:48

Commenting is closed for this article.