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 1.0 (https://vborg.vbsupport.ru/showthread.php?t=34882)

dgessler 03-18-2002 02:22 AM

Oh, ok. That's odd, I changed it to make it image and in text and neither worked on my board, but the other stuff seems to be working fine. I wouldn't need to add a profile field for this, would I? I edited all the templates as the installation required (took me a good amount of time), but under a post, nothing comes up besides location, posts, etc. Any suggestions? The board is www.dnforum.com , thanks.


Dan Gessler

JulianD 03-18-2002 03:12 AM

Are you sure you got all the templates modified? Specially the postbit template?

Erwin 03-18-2002 09:38 PM

Can't wait for the next update... :) My members are loving it!

Erwin 03-18-2002 09:59 PM

Another thing: Does anyone have any idea how to display the top 10 users with the most karma points on the forum home page? I saw instructions for something similar in this thread, but it did not seem to work.

The Realist 03-19-2002 03:43 PM

Problem:

I have not sorted out the header and footer yet but when ever I click to add karma it says this:

You are required to login/register before you can add karma!

Any help?

Brian :)

The Realist 03-19-2002 06:26 PM

Found txt file to solve the above in post No 186.

Thanks.

Shanti Tsun 03-20-2002 12:59 AM

What does Level, Activity, Popularity, and Experience mean? How/when are they changed?

Erwin 03-20-2002 01:29 AM

Quote:

Originally posted by Shanti Tsun
What does Level, Activity, Popularity, and Experience mean? How/when are they changed?
The Karma hack has got nothing to do with that. You are asking about the wrong hack - that is the Stats Level Hack by Knoman - do a search on the forums and you will find more info about that.

The Realist 03-20-2002 03:29 PM

How can members see who gave them karma? is there a hack to show this.

Erwin 03-20-2002 06:27 PM

You give karma points for a member's specific post by clicking on the karma button. Click the karma button again, and you should see the users who have given karma for that post.

squawell 03-20-2002 06:38 PM

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

htmlforums 03-23-2002 04:36 AM

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:

htmlforums 03-23-2002 05:11 AM

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="javascript:popout('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")

htmlforums 03-23-2002 05:13 AM

What I CAN do is add points as an admin wit the bottom half of the form.

pgowder 03-31-2002 01:02 PM

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.

trainer 04-02-2002 02:12 PM

is this a stable release?

alanvo 04-02-2002 06:06 PM

i think a vbhacker for this is good!!!

trainer 04-02-2002 10:40 PM

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

pgowder 04-05-2002 01:23 PM

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.

pgowder 04-05-2002 01:24 PM

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

hypedave 04-06-2002 07:51 PM

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

Rcooper 04-11-2002 05:30 PM

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!

pgowder 04-11-2002 05:57 PM

That's a great idea.

everwicked 04-14-2002 12:54 PM

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

everwicked 04-14-2002 01:25 PM

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

Rcooper 04-14-2002 01:55 PM

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

everwicked 04-14-2002 03:53 PM

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?

SaintDog 04-14-2002 11:50 PM

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

everwicked 04-15-2002 08:28 PM

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

pjgoncalves 04-19-2002 03:15 AM

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);

dinozz 04-20-2002 05:29 PM

i've the same problem. Moreover i've another problem:
in the posts page, where are the author data, doesn't appear the number of the total points near the writing "karma"
the lines of template postbit are:
Location: $post[field2]<br>
Posts: $post[posts]<br>
Karma: $totalpoint

clangrounds.com 04-22-2002 05:14 PM

I dunno how I managed to do this, but it seems no one can add karma to anyone in any thread. It says:

"You are required to login/register before you can add karma!"

We're logged in and it still says that....

yarg

pjgoncalves 04-22-2002 09:07 PM

Quote:

Originally posted by clangrounds.com
I dunno how I managed to do this, but it seems no one can add karma to anyone in any thread. It says:

"You are required to login/register before you can add karma!"

We're logged in and it still says that....

yarg

Read this -> https://vborg.vbsupport.ru/showthrea...627#post229627 :p

lazzy 04-25-2002 07:22 PM

where is the header.html file that adis is supposed to point to?

lazzy 04-26-2002 12:01 AM

AAAAHHHHH the karma button open up a window with a bunch of header, footer errors, where are they??? im runnen board v 2.2.5 and i searched HIGH and LOW for ANY file that had a .html extention but um...DIDNT FIND ANY, and there are no footer/header php files either!!! anyone want to help a newbie at telling him where he might find the header/footer html files, or what i should put in their place?

Erwin 04-26-2002 12:31 AM

You are meant to make your own. Just look at your "header" and "footer" templates, and copy the code into a "header.html" and "footer.html" file, and upload those to your forum directory. There are easier ways of doing this, but the author of this hack is assuming you would do it this way.

lazzy 04-26-2002 04:14 AM

whats the easy way????? and i have to take out all the php code right?

Brad 04-26-2002 07:12 AM

after installing the fix i get this beside the karma button
PHP Code:

 &post_userid=95&post_username=Anime-loo')"> 


before the button was fine and i could click it, now (needless to say) the java wont pop up cause of the broken link, also my images to disply the amount of karma are not coming up, help me :)

Brad 04-27-2002 06:26 AM

bump

SaintDog 04-27-2002 06:55 AM

You may wish to visit his board as he mentioned in his first post. It mentions he will try to provide support here, but he is not the only developer within the project. As posted above, try his forums you may be able to obtain more support/help than you would here (at least at this time).

- SaintDog


All times are GMT. The time now is 04:43 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.01442 seconds
  • Memory Usage 1,820KB
  • 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
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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