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
  #222  
Old 04-06-2002, 07:51 PM
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Location: Dallas, Tx
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im getting the following errors, I have created the html files and upoaded them

Warning: Failed opening 'http://www.mindsights.com/forums/header.html' for inclusion (include_path='') in C:\Inetpub\wwwroot\forums\adis.php on line 12

Warning: Failed opening 'http://www.mindsights.com/forums/footer.html' for inclusion (include_path='') in C:\Inetpub\wwwroot\forums\adis.php on line 329

also when I try to add a karma it tells me i need to login
adn im already logged in
Reply With Quote
  #223  
Old 04-11-2002, 05:30 PM
Rcooper Rcooper is offline
 
Join Date: Nov 2001
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What a great addition to my board!

An Idea,
how about making it so if a user does not log (or post) in with in X amount of days they loos X amount of Karma?

What do you guys think? this will give users to another reason to check in" more oftin!

Just a idea!

Thanks for this great hack!
Reply With Quote
  #224  
Old 04-11-2002, 05:57 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's a great idea.
Reply With Quote
  #225  
Old 04-14-2002, 12:54 PM
everwicked everwicked is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could someone port it to VB 2.2.5?

Adis.php is having a hard time with it, I can post the errors if needed
Reply With Quote
  #226  
Old 04-14-2002, 01:25 PM
everwicked everwicked is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh and how can I calculate the points the users have at the moment?

to make clear, I have installed Karma just now whilst the board is there for about 4 months..
Reply With Quote
  #227  
Old 04-14-2002, 01:55 PM
Rcooper Rcooper is offline
 
Join Date: Nov 2001
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by everwicked
Could someone port it to VB 2.2.5?

Adis.php is having a hard time with it, I can post the errors if needed
IU am running this on 2.2.5 with no errors. . .
Reply With Quote
  #228  
Old 04-14-2002, 03:53 PM
everwicked everwicked is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 2.2.5:

Invalid SQL: SELECT username, comment FROM adis WHERE postid= LIMIT 0, 10
mysql error: You have an error in your SQL syntax near 'LIMIT 0, 10' at line 1

mysql error number: 1064

Date: Sunday 14th of April 2002 11:51:49 AM
Script: http://www.everwicked.com/forums/forums/adis.php.broken
Referer:


Any ideas?
Reply With Quote
  #229  
Old 04-14-2002, 11:50 PM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may wish to post in his forum, as he noted in the first post. You will be able to obtain support for it there, at least more than you would here at this time. Most of the developers for this hack are at his board also, so you would probably be able to get mroe help there.

SaintDog
Reply With Quote
  #230  
Old 04-15-2002, 08:28 PM
everwicked everwicked is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whenever I tried to reach his site, the domain was down.

I discovered it was just a copy-paste error in my templates though.

Thanks
Reply With Quote
  #231  
Old 04-19-2002, 03:15 AM
pjgoncalves pjgoncalves is offline
 
Join Date: Dec 2001
Location: Portugal
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by GraphicW
Inferno,

Here is the help you need. First I will explain the cause of the problem:

The instructions give wrong information on how to place the Karma image link. The result is that the script is not sent sufficient information ($usertitle) causing a null result to be sent. The result is that to adis.php, you appear not to be registered.

Enough talk now, here is the fix:
I had this problem and the fix worked perfectly, big thanks!

I still have another problem that consists on adding new users on Admin CP..

When i do a Add User i get these three errors:

Warning: Supplied argument is not a valid MySQL result resource in /home/pjpg/public_html/cwpt/admin/user.php on line 101

Warning: Supplied argument is not a valid MySQL result resource in /home/pjpg/public_html/cwpt/admin/user.php on line 115

Warning: Supplied argument is not a valid MySQL result resource in /home/pjpg/public_html/cwpt/admin/user.php on line 118

I'm using VBulletin 2.5.5... the rest seems to work fine :cheeky:

Can anyone help me please? :classic:

BTW: the lines of user.php are:

$numrows_gettotal = mysql_num_rows($gettotalpoint);
$numrows_getagree = mysql_num_rows($getagree);
$numrows_getdis = mysql_num_rows($getdis);
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 02:18 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.08117 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