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
  #212  
Old 03-20-2002, 06:38 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any possible give points only for some forum and admin can set the forumid in control panel which forum user post posts can get the points??

any idea??
Reply With Quote
  #213  
Old 03-23-2002, 04:36 AM
htmlforums htmlforums is offline
 
Join Date: Jan 2002
Posts: 7
Благодарил(а): 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 tried this fix because I also had the "not logged in" problem, but the fix did not correct it. Could it be related to my custom user titles? :surprised:
Reply With Quote
  #214  
Old 03-23-2002, 05:11 AM
htmlforums htmlforums is offline
 
Join Date: Jan 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is actually pretty strange, when I am logged in as an administrator I can't even click the "Add Karma" button on adis.php (nothing happens when the button is clicked). When I logged in as a member it simply was the "not logged in error". Again, this is with the following fix:

Find the in your postbit template:

<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="https://vborg.vbsupport.ru/images/quote.gif" border="0" alt="Reply w/Quote"></a>

Under it, place this code:

<a href="javascriptopout('adis.php?flag=$post[flag]&postid=$post[postid]&userid=$bbuserinfo[userid]&username=$bbuserinfo[username]&usergroup=$bbuserinfo[usergroupid]&usertitle=$bbuserinfo[usertitle]&post_userid=$post[userid]&post_username=$post[username]')"><img src="https://vborg.vbsupport.ru/images/postkarma.gif" border="0" alt="Karna"></a>

(tiny side note, your alt tag says "karna" not "karma")
Reply With Quote
  #215  
Old 03-23-2002, 05:13 AM
htmlforums htmlforums is offline
 
Join Date: Jan 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I CAN do is add points as an admin wit the bottom half of the form.
Reply With Quote
  #216  
Old 03-31-2002, 01:02 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you combine this hack with the karma:

https://vborg.vbsupport.ru/showthrea...ght=views+hack

It would be great to give users points for viewing as well.
Reply With Quote
  #217  
Old 04-02-2002, 02:12 PM
trainer trainer is offline
 
Join Date: Nov 2001
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is this a stable release?
Reply With Quote
  #218  
Old 04-02-2002, 06:06 PM
alanvo alanvo is offline
 
Join Date: Feb 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think a vbhacker for this is good!!!
Reply With Quote
  #219  
Old 04-02-2002, 10:40 PM
trainer trainer is offline
 
Join Date: Nov 2001
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how did you get it to show "Points: 26" in your postbit?

right now mine is stuck with karma: and i want it to read points:

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

Quote:
Originally posted by trainer
how did you get it to show "Points: 26" in your postbit?

right now mine is stuck with karma: and i want it to read points:

thanks
Make sure that you go into the CP and set the karma equal to a word or an image.
Reply With Quote
  #221  
Old 04-05-2002, 01:24 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone help me with a problem.

The karma points displayed in the postbit are different than the total points if I add them by hand.

My users love getting thier karma and they are about to revolt because thier karma isn't showing up right!!

Thanks
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:28 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.04861 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