![]() |
Thanks for the donation cynthetiq, its my first donation ever, lol :)
|
How about a function to see which member has received the most karma points in the last month? Either in Calendar month or as in last 30 days.
Another feature that would be nice is member that received most karma points in a certain (sub)forum. That would make it easier to ID potential moderator for a (sub)forum. |
Quote:
|
A bug was found that turned the karma off to most members, instead of only those that hadn't visited the site for X days (if that setting was set to on). You are strongly advised to re-download the zip and replace karma_cron.php.
If anyone was affected by this bug, ask me for information on how to turn it on for the other members. |
How do I turn it on for the other users? This happened to me.
|
Quote:
Code:
UPDATE user SET karma=1 WHERE 1; This will turn it on for ALL users. To turn it off for those who haven't visited for the amount of days specified, run the new cron. Also, please don't PM me for support issues unless I told you so or there is a special reason for that. |
Quote:
I am sure it is because I dont have a hook installed in the right place. What exactly is a "hook" is that like a DB querry? And in order for this to work which ones do I need and EXACTLY where should I put them? Please list? :confused: |
Quote:
If it is, provide me a screenshot of your main karma settings. |
I have that hook in my postbit...not anywhere else though. I found the option in the User Control panel.
http://img337.imageshack.us/img337/4...f6f8a66fo9.png Shot at 2007-08-12 This is my Postbit template Code:
$template_hook[postbit_start] |
karmatest.php give a db error
Invalid SQL: SELECT userrating.voteid as voteid, userrating.userid as userid, userrating.raterid as raterid, userrating.ratername as ratername, userrating.rating as rating, userrating.active as active, userrating.dateline as dateline, userrating.ipaddress as ipaddress FROM vb_userrating AS userrating INNER JOIN vb_user AS user ON ( userrating.raterid = user.userid AND user.karma =1) WHERE userrating.userid = AND user.karma = 1 AND user.usergroupid NOT IN (1,3,4) AND ((1186962797-user.lastactivity)/86400<=30) ORDER BY userrating.rating DESC; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND user.karma = 1 AND user.usergroupid NOT IN (1,3,4) AND ((1186962797-user' at line 5 Error Number : 1064 |
Quote:
|
Quote:
LOL!! :D Ignore that file, its just a test I was doing to debug sth, I forgot it inside the package. |
Quote:
HTML Code:
<div> |
cant you just use the reputation system for this? o.o
|
Quote:
|
Quote:
Arrghh! :D:D This is driving me nuts, OK I put it where you said, nothing. I put it before and after, nothing. So I started messing around just because I wanted to see the dang thing work. So I put it in the postbit legacy, LOL! Oh Yeah, it showed up...and doubled itself after every post. I had about a hundred of them showing up between the posts by the end of the thread. :D Anyway, I can see everything on this....except I absolutely can not get it to show in the postbit. Want a Temp Admin account? |
hello,
it is great hack, installed in testing forum and there is a quistion: 1- how can i disallow users to edit the option (Participate in the Karma system) in user CP ? Regards, |
Quote:
|
Quote:
|
thank you Michelle
what i need is to force all members to be (Participate in the Karma system) and there is not option for a user to uncheck the option (Participate in the Karma system) even if his user group allowed to use Karma system. another thing when i remove some usergroup from (Usergroups that are not permitted to use the Karma system) then return it all members of this usergroup are marked as not Participate in the Karma system so each user need to check the option in his user CP to join the system again. i think we need in admincp to enter the usergroup id that we want to force them to use the system and a usergroup that optionaly can use the system and the usergroup that not allowed to use the system. think about it please :) Regards, |
Normally, the user will not have to check that option again to join the karma. Are you sure that this is the case? :confused:
Also, forcing a person to use the karma, is not something that will be made, I don't consider it ethical. |
Quote:
but for some reason when i plaing in admin cp i found all users are NOT Participate in the Karma system . but i don't know for sure why. |
How did you found that out? (which is quite odd)
|
i really don't know how.
but i will try to do. Regards, |
The template edits didnt work. I even tried to manually add them but still no luck
|
Quote:
|
Hello Michelle,
i try it many many times, there is no reason two uncheck Participate in the Karma system , some times only to clicks on forum then i lost permission . some times i rate my self two times or three times then i lost permission. now all users with no permission with unknowen reason i am making testing with my local server windows with PHP 4.3.6 and mysql 4.0.18 Regards, |
For some reason, when i go to Edit Options in UserCP, it just gave me a deadlink page. When i disabled this product, everything was fine.
|
Quote:
|
Quote:
Also, which version of vB are you on? |
Quote:
Can you provide more details? |
Quote:
But now i would like to understand how Controversy works ? for i example this user with more than average rating: when average rating from 1 and more the Controversy is very high. when average rating from -0.99 to +0.99 the Controversy is high. when agerage rating from -1 to -5 the Controversy is very high. this is the results that i am getting right now when i try testing with one user. my qustion is my result working fine ? if so how it is working and when the user will get low Controversy for example ? Controversy classes i am using in admincp is 0.75,0.5,0.15 Regards, |
The controversy has to do with the percentage of votes being close to the average rating.
For instance, lets suppose a user has an average rating of 3.2 With your controversy classes, if more than 75% of the votes are either 2, or 3 or 4, he will have a low controversy. If 50%-75% of his votes are either 2, or 3 or 4, he will have a medium controversy. If 15%-50% of his votes are either 2, or 3 or 4, he will have a high controversy. And if less than 15% of his votes are either 2, or 3 or 4, he will have a very high controversy. |
Quote:
|
Quote:
Do the other automatic template edits work? Do you have a modified modifyoptions template perhaps? |
Quote:
|
Quote:
you said if some user average is 3.2 , what if another value ? |
Quote:
Let's suppose a user has an average rating of X. With your controversy classes, if more than 75% of the votes are either [X+0.5]-1, or [X+0.5] or [X+0.5]+1, he will have a low controversy. If 50%-75% of his votes are either [X+0.5]-1, or [X+0.5] or [X+0.5]+1, he will have a medium controversy. If 15%-50% of his votes are either [X+0.5]-1, or [X+0.5] or [X+0.5]+1, he will have a high controversy. And if less than 15% of his votes are either [X+0.5]-1, or [X+0.5] or [X+0.5]+1, he will have a very high controversy. Where [X] is the whole/integer part of X (eg [3.2]=3, [0.5]=0, [1.7]=1 etc) |
Quote:
|
can we use it with vbcredets product ?
|
All times are GMT. The time now is 04:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|