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)

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


All times are GMT. The time now is 02:23 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.01366 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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