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
  #152  
Old 03-04-2002, 06:41 PM
HeadStAtE! HeadStAtE! is offline
 
Join Date: Feb 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Neil
Here's some more that are even MORE different that folks might like to use if they like!



Here's some I've chosen to do which are similar but a bit bigger...

positive
negative
neutral

These are GIF's with transparent backgrounds.
Reply With Quote
  #153  
Old 03-04-2002, 09:02 PM
HeadStAtE! HeadStAtE! is offline
 
Join Date: Feb 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to have the Karma icons displayed instead of the total on the home page (forumhome_welcometext)? And being able to click the icon for the total instead like you can within a thread?
Reply With Quote
  #154  
Old 03-04-2002, 11:26 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just had a user suggest this!

Would it be possible to have karma added when a user clicked a link??

A user suggested given people points for ads they click on. I run an adserver so I could add something to the ad code.

How could I do that though???
Reply With Quote
  #155  
Old 03-05-2002, 06:53 AM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will go thru all the feature suggestions and work on it.
Reply With Quote
  #156  
Old 03-05-2002, 07:03 AM
SONOFSAM SONOFSAM is offline
 
Join Date: Feb 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i followed instructions exactly, but i keep getting errors when i go to run the install_karma.php:

Fatal error: Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/clanrkc/public_html/forums/upload/admin/install_karma.php on line 6

im running vb 2.2.2 with php3 extensions on a red hat linux 7.1 server with php version 4.1.2 installed.

any ideas whats wrong?!?!!?


www.clanrk.com
Reply With Quote
  #157  
Old 03-05-2002, 07:27 AM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this

replace

./global.php

with this
/your/server/path/to/global/php
Reply With Quote
  #158  
Old 03-05-2002, 07:32 AM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by HeadStAtE!
Thank you for this hack.

Currently I have 3 main concerns.

1) I think a template should be used for the content of the pop-up box rather than holding all this within adis.php.

2) adis.php is checking for the user's title:
This is dangerous because the user title can be changed in the user CP, it should be checking for the usergroup being either a moderator, super moderator or admin.

3) By refreshing pages (or using the back button) I have been able to vote more than once.

Niggles:

1) The button alt image in postbits has the spelling "karna" not "karma"

2) It waits for you to enter a comment then tells you that you should log in first!

3) You can submit a comment without selecting a positive or negative opinion.
I will ask my team to take a look.
Reply With Quote
  #159  
Old 03-05-2002, 07:33 AM
Neil Neil is offline
 
Join Date: Nov 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great to hear you're on top oc it certify! Can't wait to see the next version. Got a couple more points.

A user had the brilliant suggestion. Karma can can be reduced with time. The admin can set the rate (egL 1pt per month to 10 per day etc). This would encourage people to keep coming back, keep posting good posts, and give newcomers a chance to get as much karma as the old-time regulars. It would also mean that there may not be the same 5 people with the most karma.

I noticed a problem which I don't know if it is a bug or a limitation of the script. When typing a "?" in the comment field, the database rejects the entry. I'm not sure if this happens with other special characters. At the very least, the popup should have a list of invalid characters.

I still havn't figured out why the hack is only working on one of my styles! It's unfortunate because some of my users are unable to see the hack at all!! Can anyone help? (please read my previous posts for details).
Reply With Quote
  #160  
Old 03-05-2002, 08:53 AM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will look into the problem with the styles and the invalid character.
Reply With Quote
  #161  
Old 03-05-2002, 08:59 AM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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:17 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.05681 seconds
  • Memory Usage 2,312KB
  • 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
  • (2)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
  • (1)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