vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Karma Hack v 2.0 (https://vborg.vbsupport.ru/showthread.php?t=40553)

certify 07-01-2002 10:00 PM

Karma Hack v 2.0
 
After weeks of testing we finally decides to release karma v2.

Hope you like it. :D

Features

1. Admin

- 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.
~ search members by karma points.
~ create redeem items for members to redeem when they reach have enough karma points.

- 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.

2. User

- 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.
- User can view the highest karma points members to lowest points.
- User can redeem items when they have enough karma points.


For support please go to
http://www.certifyexpress.com/forum/...s=&forumid=368

Karma v2 Download
To download goto http://www.certifydev.com/free.php

Seifer 07-02-2002 10:15 AM

Works great, but I really think there should be a function to set points for each forum. Like, Gen Chat is fun and all, but I'd rahter members get Karma by posting in the more "Forum Related Forums"...like my vB is about gaming, so I'd prefer members got Karma by posting in the gaming forums.

Edit: Also, just like with the last version, I can't change Karma amounts in the admin cp. I suppose I'll post this problem at your board as well =P

hypedave 07-02-2002 11:18 AM

will this work with Lesane's store hack ?

squawell 07-02-2002 11:39 AM

nice work.....

and if i want upgrade 1.3 to 2.0 i just only upload all files and run

upgrade_karma.php am i right??

MrBojangle1 07-02-2002 03:43 PM

OK I am haveing a BIG BIG BIG problem with this hack I have had the previous version installed and it did the same thing I am not sure if I messed up installing or what BUT somthin is very wrong I uploaded a image to show you Certify if you will hlep I will make you a temp admin to see what is wrong

Webmasta XT 07-02-2002 04:11 PM

MrBojangle1, I have the same prob, and I also wanted to know how to upgrade from 1.3b to 2? :dead:

MrBojangle1 07-02-2002 04:24 PM

to upgrade from 1.3 to 2 just upload the upload all the new things where they belong and upload the up_karma.php file to your admin cp and run that BUT as for my problem I would like it to be fixed and I would love someone to help me with it

Harryli 07-02-2002 05:32 PM

Hm... if I run install php the following happens:
---------------------
Security Alert! PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set. This variable is set, for example, by Apache's Action directive redirect.
---------------------

I cant change anything there, its a shared hostet acccount. Any solution?

LightBringer 07-02-2002 05:50 PM

Quote:

Originally posted by hypedave
will this work with Lesane's store hack ?
I have the same curiousity that Hypedave has...

whether or not this hack is compatible or even shared functionally with Lesane's Store Hack.

Velocd 07-02-2002 06:40 PM

That issue seems to always be brought up. It wont work with his, to my understanding, because Lesane's has an integrated point system as I recall, although you could probably do some hard coding yourself to get it to work.

Also this karma hack already, according to it's description, has some sort of store in it. So why would you need 2 stores?

The hack looks interesting, but I'm passing on it for the same reason I didn't install the itemshop hack.

pgowder 07-03-2002 06:40 PM

What happened to all the great features that were requested on certify.com??

Larz 07-03-2002 11:19 PM

One of the steps in install reads:

Quote:

Find 'Forum Home Page (welcometext)'
that ought to be

Quote:

forumhome_welcometext
Right?

It's nitpicking, indeed, but still...

jassim 07-04-2002 11:18 PM

Creating tables...

ALTER TABLE store_point not successful.

mysql_error()
DROP TABLE prize successful.
CREATE TABLE prize successful.
DROP TABLE prize_exp successful.
CREATE TABLE prize_exp successful.
DROP TABLE temp_point successful.
CREATE TABLE temp_point successful.
DROP TABLE ucode successful.
CREATE TABLE ucode successful.


why ?

Etcher 07-07-2002 01:54 PM

I have a question after installing this...
My board has been running for a few months, is there any way to update the points from the begining?

Etcher 07-07-2002 02:03 PM

Also... I am running Photopost on my board, is there a way to add points to users that upload photo's? And comment on them, as well as rate them?

Andy R 07-08-2002 01:58 AM

We really need to update the Karma for old posts, replys, threads, etc...

Our members are very confused right now. Think a scrip tcan be made to do this? Is it harder than it seems?

Quote:

Originally posted by Etcher
I have a question after installing this...
My board has been running for a few months, is there any way to update the points from the begining?


Massiel 07-12-2002 12:51 PM

This is a VERY cool hack Certify, thumbs up!!!!

I wanted to ask you what the redeem points is for though?

Massiel 07-14-2002 01:40 AM

I still don't fully understand how members retrieve their prizes. I can get up to the get the key step and what after that? What do you do with the key? Where do you submit it? Where do the prizes go or show?

I went to Certify boards too but there wasn't much about it there... help please!

iblis 07-24-2002 09:05 AM

hmm..

can anyone please give me some examples of karma points settings?

clouds_kid 08-14-2002 10:24 PM

My friends have thier board set at 2 per post and 3 for every topic made. I'm not into giving bonuses for views for the fact that people can just sit their and keep re-freshing if they have no life. A few extra points though for posts is fine.

Larry@IOG 08-25-2002 11:05 PM

Ok I have it installed but how do I access it?
and get it on my boards I ran the install and delted it already

Thanks

Larry

Larry@IOG 08-25-2002 11:29 PM

also there is nothing in my Admincp about karma???

Is there suppose to be?

Larry

Dark Shogun 08-26-2002 09:21 PM

Everyone that needs help needs to go to his forum and post your problem.

Dark Shogun

certify 08-29-2002 09:15 AM

We won't be working on an improved version of karma 2.0 anytime soon. But we will welcome anybody especially the hacking team in vb.org here to help improved this hack further.

chad777 09-12-2002 04:40 AM

First off let me start off by saying nice hack.

I am having a big probelm with newthread.php when trying to post a newthread i hit submit it goes to the redirect splash page but then goes to this error :

Database error in vBulletin 2.2.6:

Invalid SQL: select uid, newthread from storepoint where uid=
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064
Date: Thursday 12th of September 2002 01:08:46 AM
Script: newthread.php


So I look up the query in newthread.php which is:
PHP Code:

$result=$DB_site->query("select uid, newthread from storepoint where uid=$postuserid"); 

i don't see anything wrong.

so I go back to my forums and see that the newthread did show up in the forums, but it has no message.

Karma didn't go up ...I reply to the message I just posted and it works fine but still karma don't go up and it is set to the admin cp.

the whole code string from around the query I posted is :
PHP Code:

//Karma
                          
$result_new=$DB_site->query("select postuserid from thread WHERE threadid='$threadid'");
                          
$numrows_new mysql_num_rows($result_new);
                          if (
$numrows_new 0
                          {
                                list (
$postuserid) = mysql_fetch_row($result_new);
                          }
        
                          
$result_newthread=$DB_site->query("select newthread from point");
                          
$numrows_newthread mysql_num_rows($result_newthread);
                          if (
$numrows_newthread 0
                          {
                                list (
$point) = mysql_fetch_row($result_newthread);
                          }

                          
$result=$DB_site->query("select uid, newthread from storepoint where uid=$postuserid");
                          list (
$uid$newthread) = mysql_fetch_row($result);
      
                          
$newpoints $newthread $point;

                          if (
$uid == $postuserid
                          {
                                
$DB_site->query("UPDATE storepoint SET newthread=$newpoints where uid=$postuserid");
                          }
                          else
                          {
                                
$DB_site->query("INSERT INTO storepoint (uid, newthread) VALUES ($postuserid$newpoints)");
                          } 

does anyone know what is going on how to fix this ?

Thanks

Bloodfist 09-12-2002 11:23 AM

http://www.worldofwc.org/forums/ is how we have it. I think this is a great hack :)

etones 10-18-2002 04:15 PM

hiya all, how do we update the karma templates? Installed and looking good, but how exactly do we change the look and feel of the templates? :)

Cheers,
Taz

groovesalad 10-19-2002 05:32 PM

Does anyone know how we view the comments other people write about the threads? I've given several positive points and comments, but where do we view that?

Limpkinw 10-20-2002 10:06 PM

Only thing that I am confused about is how users are to "cash in" on karma...

girlzclan 10-28-2002 03:32 AM

well, i got the prizes, and where to get them, but after "purchasing" an item, it gives me a code "ifkdvfnjvh1" to place somewhere and I'm lost as to where it goes.

Asendin 11-04-2002 07:49 PM

everyone on my board, there karma stays at 0, no matter how much karma is added, what am i doing wrong??

thanks

jlaine 11-10-2002 12:17 AM

Is there a particular reason the hack pulls the user status field when clicking on the karma URL to give/subtract karma?

Some users on my board have apostrophe's in that field, which murders the javascript link since it thinks it is the end of the command line. It makes it so that the user cannot use karma, period, as every karma link is a script error.

Remove the puncuation and it works flawlessly.

Suggestions/comments?

voclain 11-12-2002 04:00 PM

I'm getting this error started today:

Database error in vBulletin 2.2.6:

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

mysql error number: 1064

Date: Tuesday 12th of November 2002 11:32:17 AM
Script: http://www.pro4um.com/4um/4um/adis.php?
Referer:


EVERYTHING has been working like a charm for about a month now??? I changed NOTHING!!!

MY posters are having this problem:

When they go to POST a reply or a new message they get this message:

"sorry, only one message in 15 seconds".


HELP,,,,MY BOARD I DOWN???

Kirk

Asendin 11-12-2002 06:23 PM

how do we go about this when you have to run install_karma.php to see the changes you have to make to other php scripts?
If yaa ran it again it would readd all the templates and reset them wouldnt it??

TIA

rochen 11-17-2002 10:52 PM

How do I get the ammount of Karma points to show under the post count etc. for that user as well as on the board homepage?

AZone 11-22-2002 10:56 PM

So, guys, as I understood, I can install Store Hack and Karma Hack on the same 2.2.8 board, right?

Asendin 11-24-2002 01:35 AM

I need some help uninstalling this hack, can someone tell me what templates or MySQL tables need to be removed or edited??

thank you

GoTTi 12-01-2002 04:11 AM

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tokeup/public_html/forums/admin/functions.php on line 94

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/public_html/forums/admin/functions.php on line 98

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/public_html/forums/admin/functions.php on line 109

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/public_html/forums/admin/functions.php on line 112

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/public_html/forums/admin/functions.php on line 138

got some errors going on here, some1 help me out please.

a43079 12-08-2002 11:10 PM

where can this hack be downloaded at the above link is dead

NexDog 12-10-2002 09:16 AM

I'd like to download this too. Can someone hook me up with the files?


All times are GMT. The time now is 06:40 AM.

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.01480 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete