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
  #132  
Old 03-02-2002, 05:33 AM
John Lindsey's Avatar
John Lindsey John Lindsey is offline
 
Join Date: Jan 2002
Location: Houston, Texas
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mistake I did on my first install is that I just clicked on the buttons, thinking the modifcations to the various files were being done automatically. Then, when nothing showed, I did it again, but pasted in the required stuff to the files.

Everything shows now, but I get an error message when I try to post a new message or reply:

Quote:
No forum specified. If you followed a valid link, please notify the webmaster
Any idea what I messed up to get this?

BTW, I am running versions 2.2.1
Reply With Quote
  #133  
Old 03-02-2002, 07:09 AM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use my hack's format and features but please make your own GIF images. That way we can at least tell that it is a different 'karma' hack that the forum is running. A new name wouldn't hurt either to keep confusion down since the feature set is still quite different.

ps. Haven't you got people turbo posting blank replies for karma yet?
Reply With Quote
  #134  
Old 03-02-2002, 07:30 AM
Neil Neil is offline
 
Join Date: Nov 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here are some replacement "karma" dot images I just made. I hope they're different enough from Overgrow's. I have the photoshop file I made them from if that would help prove it.





If you'd like something COMPLETELY different made, just let me know. Just wanting to help out where I can!
Reply With Quote
  #135  
Old 03-02-2002, 07:34 AM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Neil Not as different as I'd hoped but certainly enough for me. I did notice that they're not displaying karma with those GIFs on each post so it is easy to tell the hacks apart right now.
Reply With Quote
  #136  
Old 03-02-2002, 10:11 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by John Lindsey
The mistake I did on my first install is that I just clicked on the buttons, thinking the modifcations to the various files were being done automatically. Then, when nothing showed, I did it again, but pasted in the required stuff to the files.

Everything shows now, but I get an error message when I try to post a new message or reply:



Any idea what I messed up to get this?

BTW, I am running versions 2.2.1
John, look at this thread:
http://vbulletin.com/forum/showthrea...threadid=40721
Reply With Quote
  #137  
Old 03-02-2002, 10:32 AM
Neil Neil is offline
 
Join Date: Nov 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's some more that are even MORE different that folks might like to use if they like!



Reply With Quote
  #138  
Old 03-02-2002, 10:45 AM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have just upload the fix readme.txt and new instructions for header and footer in adis.php
Reply With Quote
  #139  
Old 03-02-2002, 11:32 AM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you add a feature that gives users points for reading x number of threads?? One of my users suggested it, because she doesn't post alot.
Reply With Quote
  #140  
Old 03-02-2002, 04:17 PM
cditty's Avatar
cditty cditty is offline
 
Join Date: Oct 2001
Location: Memphis TN
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by certify
I have just upload the fix readme.txt and new instructions for header and footer in adis.php

Certify, will this new update fix my mysql connect issues?

Chris
Reply With Quote
  #141  
Old 03-02-2002, 04:35 PM
cditty's Avatar
cditty cditty is offline
 
Join Date: Oct 2001
Location: Memphis TN
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I sort figured out what the problem. Still having issues though. I think it has something to do with persitant connections maybe????

Anyhow, I replaced this:
Quote:
$gettotalpoint=mysql_query
with this:
Quote:
$gettotalpoint=$DB_site->query_first
and the errors that pointed to those lines dissappeared. The existing errors are
Quote:
Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/index.php3 on line 116

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

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

Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/index.php3 on line 133
And these are the lines that those point to.

Quote:
line 116 - $numrows_gettotal = mysql_num_rows($gettotalpoint);
line 123 - $numrows_gettotal1 = mysql_num_rows($gettotalpoint1);
line 130 - $numrows_getagree = mysql_num_rows($getagree);
line 133 - $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:10 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.05015 seconds
  • Memory Usage 2,316KB
  • 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
  • (7)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