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)

John Lindsey 03-02-2002 05:33 AM

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

Overgrow 03-02-2002 07:09 AM

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?

Neil 03-02-2002 07:30 AM

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.

http://neilstuff.homeip.net:180/share/kpos.gif
http://neilstuff.homeip.net:180/share/kneg.gif
http://neilstuff.homeip.net:180/share/kbalance.gif

If you'd like something COMPLETELY different made, just let me know. Just wanting to help out where I can!

Overgrow 03-02-2002 07:34 AM

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.

Lesane 03-02-2002 10:11 AM

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

Neil 03-02-2002 10:32 AM

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

https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/

certify 03-02-2002 10:45 AM

I have just upload the fix readme.txt and new instructions for header and footer in adis.php

pgowder 03-02-2002 11:32 AM

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.

cditty 03-02-2002 04:17 PM

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

cditty 03-02-2002 04:35 PM

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


All times are GMT. The time now is 07:59 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.01346 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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