PDA

View Full Version : Reputation error


Nordinho
12-30-2004, 12:41 AM
Heya,

I've got this weird reputation thingie going on. At first the 'give reputation image' only showed up for me (the administrator). I fixed that by removing the 'if condition'. Now the image is showing up for each and everyone (guests as well...tried a new if condition, but that doesn't work)...but for some reason reputation can only by given by and to me, the administrator. If I try to give reputation to another user I get the message 'you can not give reputation to this user'. I logged in using a different user and the same problem happened. I checked all settings for all usergroups and they are set right. The reputation system is on and registered members, moderators and administrators can give reputation....any idea's to solve this??

Greets,

Zachery
12-30-2004, 12:05 PM
Heya,

I've got this weird reputation thingie going on. At first the 'give reputation image' only showed up for me (the administrator). I fixed that by removing the 'if condition'. Now the image is showing up for each and everyone (guests as well...tried a new if condition, but that doesn't work)...but for some reason reputation can only by given by and to me, the administrator. If I try to give reputation to another user I get the message 'you can not give reputation to this user'. I logged in using a different user and the same problem happened. I checked all settings for all usergroups and they are set right. The reputation system is on and registered members, moderators and administrators can give reputation....any idea's to solve this??

Greets,
Did you check the permissions? ;) Reputation is a usergroup based permission

Nordinho
12-30-2004, 12:17 PM
Did you check the permissions? ;) Reputation is a usergroup based permission
Yep, f.e. registered user:

Can use reputation: yes
Can leave negative reputation: yes
Can See Who Left User Ratings: yes
Can Hide Reputation from Others: yes

The reputation system is set on...

I have the same settings for moderators and administrators...So I figure it should work, but it doesn't...I did an import from geeklog, so perhaps some settings were messed up in the import. Is there a sql query I can run to update the settings in the database??

Zachery
12-30-2004, 12:18 PM
Yep, f.e. registered user:

Can use reputation: yes
Can leave negative reputation: yes
Can See Who Left User Ratings: yes
Can Hide Reputation from Others: yes

The reputation system is set on...

I have the same settings for moderators and administrators...So I figure it should work, but it doesn't...I did an import from geeklog, so perhaps some settings were messed up in the import. Is there a sql query I can run to update the settings in the database??
Make sure you save again, sometimes browser caches play tricks on you.

Nordinho
12-30-2004, 12:48 PM
Make sure you save again, sometimes browser caches play tricks on you.
Saved it...updated reputation counters...still that message 'you can't give reputation to this user'...but since it's a permission issue...where in the database can I see if the permissions are updated there as well??

Zachery
12-30-2004, 12:59 PM
Saved it...updated reputation counters...still that message 'you can't give reputation to this user'...but since it's a permission issue...where in the database can I see if the permissions are updated there as well??
Who is the user you cant give reputation to, while adminstrators are expezempt from giving the same user reputation over and over, most regular users are not, also it cnanot be the same post, you can only give reputation to a post once.

Nordinho
12-30-2004, 02:03 PM
Who is the user you cant give reputation to, while adminstrators are expezempt from giving the same user reputation over and over, most regular users are not, also it cnanot be the same post, you can only give reputation to a post once.
hmmm...it appears that I tried adding reputation to my moderators posts, that is not possible...I can give it to registered members though..is that the way it should be??

Nordinho
12-30-2004, 06:29 PM
hmmm...it appears that I tried adding reputation to my moderators posts, that is not possible...I can give it to registered members though..is that the way it should be??
Well, it's working for me and registered users now, but not for my moderators...They don't have the image showing to add reputation...

Nordinho
12-31-2004, 12:58 AM
Well, it's working for me and registered users now, but not for my moderators...They don't have the image showing to add reputation...
Does anyone know where I can check if the settings are updated in the database correctly?? It's not in the usergrouptable, unless it's the generic permission row, but where would I change that one?? Any help is appreciated...

Allrighty, after some searching at vb.com I run a couple of queries...

UPDATE moderator SET permissions = permissions + 8388608 WHERE NOT(permissions & 8388608); and repeated the query for the other values stated for reputation in the init.php file...

IMO this should do it, but it doesn't work...I hardcoded the values as well in moderator.php, but still no result...next trying to add a new usergroup...

Nordinho
01-01-2005, 03:27 PM
Does anyone know where I can check if the settings are updated in the database correctly?? It's not in the usergrouptable, unless it's the generic permission row, but where would I change that one?? Any help is appreciated...

Allrighty, after some searching at vb.com I run a couple of queries...

UPDATE moderator SET permissions = permissions + 8388608 WHERE NOT(permissions & 8388608); and repeated the query for the other values stated for reputation in the init.php file...

IMO this should do it, but it doesn't work...I hardcoded the values as well in moderator.php, but still no result...next trying to add a new usergroup...
solved it by deleting the entire usergroup and recreating it with a query...apparently some permissions didn't get parsed the right way...