[Solved] MY Custom Fourm Vote: Stop forum votes going below 0 |
On my forum I am learning to make I have made a reputation vote model.
I would like to know. When forum_user_reputation get's to 0 from been voted down $this->input->post('vote_down') to it then it should stop there. Currently if the question gets down voted still the forum_user_reputation will go into negative -2 but I need to make it stop at 0 How could I make suitable changes to my function update_forum_question() PHP Code: public function update_forum_question() { Thanks for you advice
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
[Solved] MY Custom Fourm Vote: Stop forum votes going below 0 - by wolfgang1983 - 12-27-2015, 03:25 AM
RE: MY Custom Fourm Vote: Stop forum votes going below 0 - by InsiteFX - 12-27-2015, 06:06 AM
RE: MY Custom Fourm Vote: Stop forum votes going below 0 - by wolfgang1983 - 12-27-2015, 02:28 PM
|