vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Reputation error (https://vborg.vbsupport.ru/showthread.php?t=73489)

Nordinho 12-30-2004 12:41 AM

Reputation error
 
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

Quote:

Originally Posted by Nordinho
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

Quote:

Originally Posted by Zachery
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

Quote:

Originally Posted by Nordinho
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

Quote:

Originally Posted by Zachery
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

Quote:

Originally Posted by Nordinho
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

Quote:

Originally Posted by Zachery
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

Quote:

Originally Posted by Nordinho
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

Quote:

Originally Posted by Nordinho
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

Quote:

Originally Posted by Nordinho
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...


All times are GMT. The time now is 02:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01233 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete