
01-18-2011, 03:28 AM
|
|
|
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Bundle
Hello,
Hopefully someone can help me with something that's been driving me INSANE!
Basically I use this just as a "like" function (that also adds to reputation) and I eventually achieved the desired effect after a bit of template tinkering... it's just the "plus" button with the number of ratings to the right of it, looks the same whether you've rated the post or not, but is clickable when you can and not otherwise. Everything is working as I wanted EXCEPT for one tiny, endlessly irritating thing.
For the life of me, I can't figure out how to show the "plus" graphic on my own post, next to the rating. That is, when the member who makes the post looks at his own post, which has been rated, it's just the number. No graphic. For anyone else looking at his post, the graphic is there. I know WHY this is: it's because the code for displaying it is built into the "can rate" condition of the mod, and I've added a separate if condition in the template to display it when the post has been rated (helpfulanswerid), but I can't get it to display for "if this is my own post"... if you see what I mean.
I'm probably being really thick. Is there a standard vb conditional for "if this is my post"? That would sort it :/
|
Why not just wrap the voting blocks in an if/else statement... Show the current votes after the vote option for everyone and for you (the user) just show the plus and vote count
|