1 (edited by I like pie 2006-11-12 23:25)

Topic: $cur_post['poster_id']?

Is $cur_post['poster_id'] the current post's author's ID?  or the current poster/user's id?  I assumed the former, but this makes me think the latter:

// If the poster is a registered user.
if ($cur_post['poster_id'] > 1)

that implies the current user viewing the topic.

I'm trying to compare the two to eachother and carry out a script if the two are the same, but I'm not sure what I should be using.

[edit]

nevermind, i read it again and pretty sure it's the former.  just got confused for a sec.  feel free to delete this post =P

Re: $cur_post['poster_id']?

$pun_user['id']
$pun_user has all data for the current user smile

Re: $cur_post['poster_id']?

got it big_smile

i figured it out and deleted the post, but you responded before that yikes

so quick smartehs... so freakin quick >=|

Re: $cur_post['poster_id']?

w00t, my first useful mod big_smile  now view count only increases if the viewer isn't the post author big_smile