vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - e-steki Karma version 2.2 (https://vborg.vbsupport.ru/showthread.php?t=154264)

Lea Verou 08-17-2007 05:45 PM

Quote:

Originally Posted by dellow (Post 1319724)
ohh..

no not sure..

i think thay did not visit the forum in last 100 days.

i just know that if user did not visit the forum for las x days he will be not participate Karma.
i was think his votes only will not be counted.

i think the user should not removed from participate Karma, but should only delete his votes.


Regards,

I think its not nice to register on a forum, post some messages and then visit it again in some months and see that you have an average rating of -3 for instance.
If his votes don't count, then he shouldn't be participating at all, its not fair to be rated when your votes to others don't count!

Quote:

Originally Posted by Wolf Link (Post 1319736)
http://www.shadowshr.com/forums/memb...lastposter&f=3

"Warning: require_once(./includes/karma_functions.php) [function.require-once]: failed to open stream: No such file or directory in /member.php(838) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required './includes/karma_functions.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.tiema/shadows/shadowshr.com/forums/member.php(838) : eval()'d code on line 1"

You probably did not upload karma_functions.php in your includes folder.

DJ XtAzY 08-17-2007 08:32 PM

Quote:

Originally Posted by Michelle (Post 1319444)
You are right, its something I want as well. However, I haven't found a way to do that so far.



You can create a usergroup that members will automatically join after X posts (via the user promotions system that is built in vB) and then allow only this usergroup to participate ;) This is what I have done in my forums ;)



What is the error?



Do you have $template_hook[usercp_options_other] in your modifyoptions template?

Yes i do.... if i remove all those conditional statements and just have eval(....), then it works fine.

Lea Verou 08-17-2007 08:37 PM

Quote:

Originally Posted by XtAzY (Post 1319855)
Yes i do.... if i remove all those conditional statements and just have eval(....), then it works fine.

:confused: :confused: :confused:
I have no idea, I've never faced something like that before... :confused:

DJ XtAzY 08-18-2007 10:16 PM

Quote:

Originally Posted by Michelle (Post 1319860)
:confused: :confused: :confused:
I have no idea, I've never faced something like that before... :confused:

I just tried it on a fresh testvb and again it doesnt work. Maybe it's just me. Can anyone who installed this hack go to UserCP-->Edit Options and tell me if it works for you guys?

dellow 08-18-2007 10:19 PM

Hi Michelle,

i just complete the top X users rating in homepage and it is working very fine.

but only one problem, the problem is : it is show the top rating regardless checking the option karma_stats_minvotes , and because i am just a goat owner :D i don't know how to add the (if) function to check the option karma_stats_minvotes .

the code is:
PHP Code:

if ($adet<1)
{
$adet 5;
}

$getkarmax $db->query_read("SELECT * FROM " TABLE_PREFIX "user ORDER BY karmatotal DESC LIMIT 0, $adet");
while (
$getkarma$db->fetch_array($getkarmax))

$topkarmausers .= "<a href=\"member.php?u=".$getkarma['userid']."\">".$getkarma['username']."</a> (".$getkarma['karmatotal']."), ";


would you please help what to add to fix it?


Regards,

Techno05 08-26-2007 04:02 AM

I installed it but in the postbit there is 4 different things that say karma :P can you help me?

Lea Verou 08-30-2007 08:33 AM

Quote:

Originally Posted by Techno05 (Post 1325826)
I installed it but in the postbit there is 4 different things that say karma :P can you help me?

Huh? :eek:
Can you post a screenshot?

DJ XtAzY 08-31-2007 05:49 PM

Quote:

Originally Posted by XtAzY (Post 1320593)
I just tried it on a fresh testvb and again it doesnt work. Maybe it's just me. Can anyone who installed this hack go to UserCP-->Edit Options and tell me if it works for you guys?

Ok i finally got it to work. It was my fault on my end... something to do with gzip. Anyways now i get this error msg when i Edit Options

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /profile.php(879) : eval()'d code on line 5

Lea Verou 09-01-2007 07:25 AM

Quote:

Originally Posted by XtAzY (Post 1329613)
Ok i finally got it to work. It was my fault on my end... something to do with gzip. Anyways now i get this error msg when i Edit Options

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /profile.php(879) : eval()'d code on line 5

Can you provide more details about the conditions that this error occurs?
How many members does this board have?
Does it occur all the time in the edit options page?

NolF 09-06-2007 01:18 PM

Installed, and gave me no errors.
I have a whole bunch of hacks installed and no conflics. Abou 60k users and hips of posts xD so it works ^^

3 suggestiosn I can think at the moment

First: The images (thumbs up down and neutral) should be in the misc folder of the theme instead of the root folder of images :) ($stylevar[imgdir_misc]/)

Second: Put a link to the stats on the "quick link" menu :)

Third: An option to hide who gave the karma

Lovely hack, and honestly great work :) hoppefully we'll see the unvote hack for 3.6 :D
Keep up with the good work and good luck with the MOTM


All times are GMT. The time now is 03:29 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.01187 seconds
  • Memory Usage 1,755KB
  • 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
  • (8)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