vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - e-steki Karma version 2.2 (https://vborg.vbsupport.ru/showthread.php?t=154264)

Lea Verou 08-03-2007 10:00 PM

e-steki Karma version 2.2
 
I'm really excited to present the new, better from all aspects, version of my previous hack (the one that was in beta stage). I've spent numerous hours to make this, its my greatest modification so far, so I hope you like it!

What is it?
e-steki Karma is a powerful system to let users rate each other with a rating from -5 to +5. Each user's karma is a number, which is the average of all votes they have received. Refer to the Features section for more information.


What's the use?

  1. Less flames. Users vent their spleens on rating the one that got on their nerves with a -5 and that's it.
  2. Easier spotting of bad members/trolls by new users. This way, new users will not take seriously the bad members' posts and they won't get a bad idea about your forum, they will just think "oh nobody likes that guy anyway, he's not representative of the forum".
  3. Users try to have a good behaviour because they know that otherwise their karma will decrease.
  4. On a big board, it makes it easier for you to spot members that would perhaps make a good moderator (if they have a high karma value) or members that may need to get banned (if they have a very low karma value). You will also be able to judge how a ban will affect your other users, according to how much they like the soon-to-be-banned user (which is reflected in his karma value).
Features

The features in bold were added in the second version. Features in bold italics
were enriched in version 2 but existed in version 1 partially.
Admin/Mod Features
  1. Now compatible with vBulletin 3.6.8 (link to e-steki Karma 1.0 for 3.5.x).
  2. Customizable via a lot of settings.
  3. Much better and more safe coding than the previous version. Most of the code has been rewritten from scratch.
  4. Great power about who will use the system, via the permission settings.
  5. Maintenance section
  6. Easier installation than version 1 (Only one template edit (placement of a small comment), the others that version 1 had are now performed via template hooks).
  7. Fully phrased (exept for the AdminCP Maintenance section)
  8. Users with karma administrative priviledges can see for every user who they rated and by whom they have been rated and remove any vote they wish (useful for karma flooding that some users perform to be in the stats).
  9. Most of the bugs in the previous version are now fixed with the maintenance section addition.
  10. The bug with the date of the last vote in the profile is now fixed.
  11. Displaying the karma in the postbit is now done with no queries.
  12. Users with karma administrative priviledges can see the IP of the rater in each vote
  13. A nice, usable and extensive html manual instead of an ugly readme.txt ;-)
End user Features
  1. Users that have the Karma turned off don't count at all for the system. their votes don't count in anything, and the votes others gave them before they turned it off also don't count at all. Those users also, can't see anything that has to do with the karma system, anywhere. It's like the karma does not exist for them and they don't exist for the karma. However, if they switch it on again, nothing is lost and they may continue from the point where they deactivated it.
  2. Rating is now performed by clicking on an image, no form submitting required (saves one click)
  3. There is a complete statistics page, with 7 tables that display various statistics.
  4. The Karma of each user displays in the postbit (unless he has opted out of the Karma, is not permitted to use it, or the admin has turned off this feature) and users can rate him from there
  5. In each member's profile they can see if they have previously rated them and what rating they gave.
  6. They can view all the votes they have given in a separate page and remove some of them if they wish (or go to the member's profile and change them). Votes that are not active at the time are marked with an admin-controlled formatting. He can also sort the votes by date or rating (default sorting is controlled by the admin). In the same page, users with karma administrative priviledges can also view who rated each user (fully, with sorting, formatting and vote removal).
  7. Controversy feature, via an admin customizable algorithm. Controversy for each user is displayed in their profile, as well as in the stats and is color-coded as well as descriptive.
  8. Each user can view the percentages of the votes he (or every user, if set so by the admin) has received in a nice graph by clicking in the controversy value.
Don't forget to Mark as INSTALLED!
Important: Supported for only a few days after each release.
Installation/Upgrade instructions included in the zip.

Changelog

2.2.1: Important bugfixes
2.2:
I don't remember as apparently, I forgot to add it to the changelog initially :o:p
2.1:
fixed bugs, cached templates and added the feature of a popup menu rating form in the postbit.
2.0: Initial release

Lea Verou 08-04-2007 02:25 AM

More screenshots :D

mktrilogy 08-04-2007 03:30 AM

hmmm sounds good :) will feedback later

Lea Verou 08-04-2007 03:34 AM

Quote:

Originally Posted by mktrilogy (Post 1309407)
hmmm sounds good :) will feedback later

I'm waiting for your feedback! :) :) :)

gforce75 08-04-2007 03:44 AM

will give it a shot

Lea Verou 08-04-2007 03:46 AM

Tell me what happened gforce75!

Btw, I replaced the acp options screenshots, as they looked terrible after the downsize.

FreshFroot 08-04-2007 04:38 AM

looks pretty cool :D

Kihon Kata 08-04-2007 05:05 AM

Can you please explain in detail what it exactly does/is?

Lea Verou 08-04-2007 05:56 AM

Quote:

Originally Posted by Kihon Kata (Post 1309448)
Can you please explain in detail what it exactly does/is?

I will, in 1-2 hours (I am currently watching a movie), I had forgotten to do so, lol :o

iogames 08-04-2007 06:25 AM

Well I was looking the name of a website that I visited like 5 months ago, and was featured in Business 2.0...
It was about a Social Network regarding POPULARITY, teens/users vote each other for any joke/stunt/etc...
But I'm looking and looking for the name :(

Can you use this as a POPULARITY System? with aim to Prices or Awards?

Lea Verou 08-04-2007 07:00 AM

Quote:

Originally Posted by Kihon Kata (Post 1309448)
Can you please explain in detail what it exactly does/is?

Done. Read the first post.

Quote:

Originally Posted by iogames (Post 1309471)
Well I was looking the name of a website that I visited like 5 months ago, and was featured in Business 2.0...
It was about a Social Network regarding POPULARITY, teens/users vote each other for any joke/stunt/etc...
But I'm looking and looking for the name :(

Can you use this as a POPULARITY System? with aim to Prices or Awards?

I don't know what you mean, can you explain in more detail?

iogames 08-04-2007 07:07 AM

Ok, its a site where users rate to each other [by kissing, hugging, kicking, smacking, slapping, booting], then they make the top ten list...
The ARTICLE in Business 2.0 pointed that in the 'Search of the Popularity' was the success of this site...

So I can say that your hack is an amazing work, but it shows on the CMPS? does it creates a TopTen List in the Front Page?

[still can't remember the site Grrr! :mad: but you use peanuts to buy things and you can create 'game rooms']

Lea Verou 08-04-2007 07:12 AM

Quote:

Originally Posted by iogames (Post 1309489)
Ok, its a site where users rate to each other [by kissing, hugging, kicking, smacking, slapping, booting], then they make the top ten list...
The ARTICLE in Business 2.0 pointed that in the 'Search of the Popularity' was the success of this site...

So I can say that your hack is an amazing work, but it shows on the CMPS? does it creates a TopTen List in the Front Page?

[still can't remember the site Grrr! :mad: but you use peanuts to buy things and you can create 'game rooms']

Hmm, users vote each other, there are top ten lists, but no points/awards and no CMPS module. A CMPS module is not very hard, the code already exists in the stats page. You just gave me an idea (I also have vba cmps)!!
I'll try to make a CMPS module of it, if it doesn't prove to be a hard task, but no promises :)

projectego 08-04-2007 08:54 AM

/me clicks install

Lea Verou 08-04-2007 08:57 AM

[high]
Quote:

Originally Posted by projectego (Post 1309536)
* Lea Verou clicks install

[/high]
Thanks! How did the install go? Is everything working ok?

EnIgMa1234 08-04-2007 10:14 AM

Great hack. Good to see you back in action :D

*installs

Zaiaku 08-04-2007 11:44 AM

Bringing bacc the classics. Looks really good, may have to give this a try.

Rickeo 08-04-2007 02:03 PM

Would be good if you could get this to work with advanced permissions so members could help me out.

Like if a members overall karma is -1+ then they wont be able to do certain things etc that would be cool :D

~Rick~

Rickeo 08-04-2007 02:46 PM

I get these errors when I view statistics any help??

Quote:

Warning: arsort() expects parameter 1 to be array, null given in /karma.php on line 505

Warning: Invalid argument supplied for foreach() in /karma.php on line 507

Warning: Invalid argument supplied for foreach() in /karma.php on line 524

Warning: Invalid argument supplied for foreach() in /karma.php on line 525

lasto 08-04-2007 03:20 PM

does this in any way replace the current karma system that is on vbulletin as bit useless having 2.

I like idea of yours though esp since it has stats and everyone loves stats dont they ? :)

lasto 08-04-2007 05:15 PM

Does not work for me

fresh installed version 3.6.8

here is what i get if i go to member.php?u=6612 (profile page)

Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT karma FROM user WHERE (userid=6612 OR userid=1) AND karma=1 AND userid NOT IN () AND usergroupid NOT IN (1,3,4);

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 usergroupid NOT IN (1,3,4)' at line 1
Error Number : 1064
Date : Saturday, August 4th 2007 @ 02:13:04 PM

if i try to load karma.php here is what i get

Warning: implode() [function.implode]: Bad arguments. in /karma.php on line 125

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /karma.php on line 129

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /karma.php on line 342

Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM userrating WHERE active=1 AND userid NOT IN () AND raterid NOT IN () ORDER BY `dateline` 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 raterid NOT IN () ORDER BY `dateline` DESC' at line 1
Error Number : 1064
Date : Saturday, August 4th 2007 @ 02:15:12 PM

lasto 08-04-2007 05:36 PM

has anyone actually managed to install this without any probs as reading this thread many people say they will try it but hardly any have reported back saying they managed to install it without any of the errors mentioned in mine and Rickeo posts.

Greek76 08-04-2007 05:39 PM

Is this similar to the reputation mod? What is the difference? Im just curious thanks.

iogames 08-04-2007 06:53 PM

Quote:

Originally Posted by Michelle (Post 1309537)
Thanks! How did the install go? Is everything working ok?

Hehehe! first time I see a Coder worried for an User... [is the world falling apart? :confused:]

Ok I made my research and I tried and tried to remember the site and I FOUND IT!

www.xuqa.com

Are you able to do something like this? for vB

p.s. it has changed a lot since my last visit to the site...

VIPER-MAN 08-04-2007 07:02 PM

Excuse me I'm new to vB and all of the available add-ons.

When someone says "Don't forget to MARK AS INSTALLED" what exactly do they mean? Where do I "mark as installed"?? In the adminCP? On here?:confused:

da420 08-04-2007 07:17 PM

Quote:

Originally Posted by VIPER-MAN (Post 1309825)
Excuse me I'm new to vB and all of the available add-ons.

When someone says "Don't forget to MARK AS INSTALLED" what exactly do they mean? Where do I "mark as installed"?? In the adminCP? On here?:confused:

Take a look at the screenshot.

VIPER-MAN 08-04-2007 07:38 PM

thank you Da420

TheBlackPoet 08-04-2007 07:56 PM

when i go to install.. i get this error.... i installed the files... and tried to import

Khalid-B 08-04-2007 08:07 PM

hello,
its not work at 3.6.8 .
I installed but when i tried to go my profile at forum got datbase error.

Lea Verou 08-04-2007 09:03 PM

Hello! Just woke up! I will reply now to your comments :)

Lea Verou 08-04-2007 09:04 PM

Quote:

Originally Posted by EnIgMa1234 (Post 1309554)
Great hack. Good to see you back in action :D

*installs

Thanks!

Quote:

Originally Posted by Rickeo (Post 1309686)
I get these errors when I view statistics any help??

Are there any votes?

Lea Verou 08-04-2007 09:07 PM

Quote:

Originally Posted by lasto (Post 1309764)
Does not work for me

fresh installed version 3.6.8

here is what i get if i go to member.php?u=6612 (profile page)



Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT karma FROM user WHERE (userid=6612 OR userid=1) AND karma=1 AND userid NOT IN () AND usergroupid NOT IN (1,3,4);

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 usergroupid NOT IN (1,3,4)' at line 1
Error Number : 1064
Date : Saturday, August 4th 2007 @ 02:13:04 PM


if i try to load karma.php here is what i get

Warning: implode() [function.implode]: Bad arguments. in /karma.php on line 125

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /karma.php on line 129

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /karma.php on line 342

Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM userrating WHERE active=1 AND userid NOT IN () AND raterid NOT IN () ORDER BY `dateline` 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 raterid NOT IN () ORDER BY `dateline` DESC' at line 1
Error Number : 1064
Date : Saturday, August 4th 2007 @ 02:15:12 PM

Can you please provide a screenshot of your karma main settings?

Lea Verou 08-04-2007 09:13 PM

Quote:

Originally Posted by Greek76 (Post 1309779)
Is this similar to the reputation mod? What is the difference? Im just curious thanks.

The basic difference is that rating is done per user, not per post and this way I believe it's more fair. For more information look at the features.
Quote:

Originally Posted by iogames (Post 1309820)
Hehehe! first time I see a Coder worried for an User... [is the world falling apart? :confused:]

Ok I made my research and I tried and tried to remember the site and I FOUND IT!

www.xuqa.com

Are you able to do something like this? for vB

p.s. it has changed a lot since my last visit to the site...

I didn't signup but judging from the front page it looks more like a SNS... I don't think I can/need something like this... I made the karma because I need it (and spent extra time to make it availiable for release), I won't make a hack that I don't need at all, sorryyy :o

Quote:

Originally Posted by TheBlackPoet (Post 1309853)
when i go to install.. i get this error.... i installed the files... and tried to import

Do you have the previous Karma installed? Or User Rating 1.0?

Lea Verou 08-04-2007 09:17 PM

Quote:

Originally Posted by nosherwan9 (Post 1309863)
hello,
its not work at 3.6.8 .
I installed but when i tried to go my profile at forum got datbase error.

What database error exactly?

Lea Verou 08-04-2007 09:19 PM

Those that get a database error in the profile, please go to the settings, and put a 0 with no spaces in the setting "Userids that are not allowed to use the karma system". Then tell me what happened.

Lea Verou 08-04-2007 09:23 PM

I think I know what causes these problems, I'll post a fix and if it works I'll update the zip. :)

Khalid-B 08-04-2007 09:30 PM

Quote:

Originally Posted by Michelle (Post 1309907)
What database error exactly?


same as at post #28 at 2nd page .. https://vborg.vbsupport.ru/attachmen...6&d=1186260931

Lea Verou 08-04-2007 09:44 PM

For the karma.php errors, try the attached karma.php and PLEASE come back to tell me if it solved the problems.

Lea Verou 08-04-2007 09:46 PM

Quote:

Originally Posted by nosherwan9 (Post 1309914)

Do you have any previous version of e-steki Karma or User Rating 1.0 installed?

Lea Verou 08-04-2007 09:53 PM

For the member.php issue, replace the code in the plugin "e-steki Karma main code" with the one in the attached php file (without the <?php and ?> tags!) and PLEASE tell me if it was fixed!


All times are GMT. The time now is 06:31 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.01624 seconds
  • Memory Usage 1,852KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete