Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: 1.00, by certify certify is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-07-2002 Last Update: Never Installs: 66
 
No support by the author.

Karma Hack v1.3a

This is our first vb Hack, so we are hopping to get lots of feedback. Enjoy this one.


Admin Function

- Set points for each
~ newthread
~ reply
~ points for thread owner if thread's view exceeded certain number.
~ extra points to user from admin/mod
~ extra points for thread owner if the thread's reply more than certain number.

- Admin/Moderator can also add/delete points to user who posts useful thread or nonsense.

- Admin can set auto ban feature to on or off. If this feature is set to on, users' karma points that
exceed the negative point admin set to, will be banned from posting or replying threads.

User Function

- User can comment on other people's post and if they agree that post, the user will get karma points
for that. If user disagree with what they post, their karma points will be deducted.
- User can earn karma points when they post new thread, replies, many people view their thread, many
people reply their thread.
- User can also earn karma points from administrator or moderator if they post useful thread.
- Their points wil be deducted if they post nonsense.

Sample Forum using this Karma Hack
CertifyExpress.com

I won't be able to answer all you technical questions as I am NOT the sole OR main programmer who write this hack. If you are facing technical problems you may either post here and I will try my best to help you together with vbulletin.org members OR you can also post your questions or problems at my forum for faster support, as my team are often online there 5 Days a week from Monday to Friday.

Karma 1.3a Release - March 15 2002

I highly recommended that you upgrade to 1.3a.
  • Minor display changes.
  • Bug Fixes.
  • Security fixes.

For those who are using karma v1.3 just upload adis.php

Bug fixed
- Fix you are not login bug when you are actually login.


Next version
Will be release in April 2002. If you have any features to suggest or recommendation please post a NEW thread in my forum instead of vbulletin.org, so I can keep track of all the suggestions and as this thread is getting too long and I can't keep up with it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 03-01-2002, 06:38 PM
AndyTSJ AndyTSJ is offline
 
Join Date: Feb 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it to work though - a great follow up to v1

Sweet
Reply With Quote
  #123  
Old 03-01-2002, 06:57 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did.

Thanks
Reply With Quote
  #124  
Old 03-01-2002, 07:10 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I create a page to show the 10 highest user's?
Reply With Quote
  #125  
Old 03-01-2002, 07:49 PM
Lionhead Lionhead is offline
 
Join Date: Nov 2001
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really great job

let me install it today

Thanks a ton certify!
Reply With Quote
  #126  
Old 03-01-2002, 09:50 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make the Karma button only useable by Mods and Admins?

I had some users really take offense at that part!
Reply With Quote
  #127  
Old 03-01-2002, 10:08 PM
Limpkinw Limpkinw is offline
 
Join Date: Feb 2002
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I must be missing something.. I Can Not get this to install.

First I had to replace action=$script with action=install_point.php in the install file to even get it to run. Now I can run it, and it apepears to have worked. But karma doesnt show up anywhere in the forums.
Any advice appreciated!

www.limpkinw.com
(I just started this stuff couple days ago forgive the rough look)
Reply With Quote
  #128  
Old 03-01-2002, 10:10 PM
Guichi's Avatar
Guichi Guichi is offline
 
Join Date: Jan 2002
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by pgowder
Is there a way to make the Karma button only useable by Mods and Admins?

I had some users really take offense at that part!
yeah im wondering the same thing, Thanks much certify this is the hack ive been waiting for!
Reply With Quote
  #129  
Old 03-02-2002, 01:16 AM
Neil Neil is offline
 
Join Date: Nov 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOVE the hack! I have a problem and a couple of suggestions.

I have two different styles on my forum ( http://forum.gravitoncity.com ), and when I installed the hack I made sure I updated the templates for both styles. However, the hack only seems to work on the style that I've selected. There are no karma lights under usernames, no karma button under the posts, and no karma score under the username on the front page.

I wanted to re-run the install to make sure that I read all the instructions right, but I realised that I might wipe all the karma given already by creating the database tables again! *gulp* I'm not great with php or mysql, so I don't wanna screw it up hehe.

Can anyone help?

Suggestions:

More karma=more lights under the username. Let the admin set how many points = how many lights.

Apply the selected style to the karma rating box. It's just white at the moment. Also, I agree the text is too small and the box too big.

For some reason if i select positive karma and enter a comment, hitting enter resets the form rather than submitting it. It is habit for me to hit enter rather than click submit, so this is a bit annoying.

Have a list of preset comments that ppl can choose from if they cant be bothered writing a comment. The slashdot keywords (eg: Interesting, Toll, Funny, Flamebait, Informative, Redundant) might be a good start.

Show a karma rating for each post. We know the karma for the user, but not for their posts. Parhaps put it at the top next to where the post topic appears (if there is one).

I'd LOVE to be able to filter posts ala slashdot based on their karma.

Add a column to the memberlist page with their karma shown, and allow the list to be sorted by karma (as it can now be done with number of posts).

Allow a user to see all comments made to their posts, rather than having to go to each post. There could be a link in the user CP perhaps to a list of all comments, and the posts they're associated with. The karma for that post could also be listed there.

Ability for the admin to change the phrase in the popup box via the admin CP. I didn't like "Agree/Disagree" because that means something completely different from "good/bad" post. Someone might make a brilliantly written post that I don't agree with, but the wording would suggest that I should give them negative Karma. (I've hacked the adis file to change it on mine).

I like the previously mentioned idea of awarding karma for each referral. Would encourage more referrals.

Allow the admin to choose how much they give/take as extra on each post. Setting it in the CP is easy, but it means that all posts to be awarded must be awarded by the same ammount.

*phew* That's all I can think of for the moment. I hope I havn't been too demanding with these suggestions. I love the hack so far, and think that it can get even better. Use or ignore these as you see fit!

THANKS once again for the hack!
Reply With Quote
  #130  
Old 03-02-2002, 04:06 AM
cditty's Avatar
cditty cditty is offline
 
Join Date: Oct 2001
Location: Memphis TN
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I keep getting mysql errors that I can't figure out. The forum is working fine and all the posts are there, but I am getting mysql connect errors everywhere there is a karma database string.

Quote:
On the main page

Warning: MySQL Connection Failed: Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/html/sweeps/forum_dev/index.php3 on line 114

Warning: MySQL: A link to the server could not be established in /home/httpd/html/sweeps/forum_dev/index.php3 on line 114

Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/index.php3 on line 116

Warning: MySQL Connection Failed: Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/html/sweeps/forum_dev/index.php3 on line 122

Warning: MySQL: A link to the server could not be established in /home/httpd/html/sweeps/forum_dev/index.php3 on line 122

Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/index.php3 on line 123

Warning: MySQL Connection Failed: Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/html/sweeps/forum_dev/index.php3 on line 129

Warning: MySQL: A link to the server could not be established in /home/httpd/html/sweeps/forum_dev/index.php3 on line 129

Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/index.php3 on line 130

Warning: MySQL Connection Failed: Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/html/sweeps/forum_dev/index.php3 on line 132

Warning: MySQL: A link to the server could not be established in /home/httpd/html/sweeps/forum_dev/index.php3 on line 132

Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/index.php3 on line 133

Quote:
In adis.php3

Warning: MySQL Connection Failed: Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/html/sweeps/forum_dev/adis.php3 on line 1

Warning: MySQL: A link to the server could not be established in /home/httpd/html/sweeps/forum_dev/adis.php3 on line 1

Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/adis.php3 on line 1
Reply With Quote
  #131  
Old 03-02-2002, 04:27 AM
Limpkinw Limpkinw is offline
 
Join Date: Feb 2002
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know it probably here, but I read this 3 times through and cant find. Where do i modify and template and how?

I have installed as per instructions and do not see karma option under CP, nor anywhere on site.

Thank you!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04: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.14413 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete