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)

Wolf Link 08-17-2007 05:34 AM

Once I add the xml, I get an error.

What's wrong? :(

Lea Verou 08-17-2007 09:06 AM

Quote:

Originally Posted by dellow (Post 1319215)
hello,

when user post his rate in the postbit, he should forwarded to same page.
users will not like to vote becuse thay need to go back to the thread that thay was reading.

am i right ?

You are right, its something I want as well. However, I haven't found a way to do that so far.

Quote:

Originally Posted by dellow (Post 1319217)
hello,

i think if there is option in admincp to allow only member with number of post more than x

thank you :)

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

Quote:

Originally Posted by Wolf Link (Post 1319430)
Once I add the xml, I get an error.

What's wrong? :(

What is the error?

Quote:

Originally Posted by XtAzY (Post 1319246)
The other auto template edits works fine. I dont have the modifyoptions customized either. It doesnt work on the original vb default skin either. Oh im using PHP5 in case your wondering.

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

dellow 08-17-2007 09:13 AM

i just install the Karma in my production forum, every thing seems good, but after about 10 hours i find about 85% of members are not participate Karma.
i am using latest version and this is the cron file that i am use:
i changed the value 0 to be 1 and return back all members to Karma, but i think still there is a problem ethir with me or woth code.

PHP Code:

<?php

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS'1);
define('THIS_SCRIPT''karma_cron');

// ######################### REQUIRE BACK-END ############################
//require_once('./global.php');

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################


//exclude from the karma, users that are inactive, if such a thing has been set
if (!is_object($vbulletin->db))
{
    exit;
}
if(
$vbulletin->options['karma_lastactivity'])
{
    
$vbulletin->db->query_write("UPDATE `" TABLE_PREFIX "user` SET `karma` = 0 WHERE((" TIMENOW "-lastactivity)/(24*3600)>" $vbulletin->options['karma_lastactivity'] . ")");
}

?>


dellow 08-17-2007 09:15 AM

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.

what about AJAX ?

dellow 08-17-2007 10:06 AM

Michelle ,

i am sorry for too many post here, but how can add top five rated members in the bottum of home page?

Lea Verou 08-17-2007 10:30 AM

1. How many days have you set in the setting "Ignore users that haven't visited for X days"?
2. AJAX would be perfect but I haven't learned AJAX good enough yet. If I ever understand AJAX, its one of my plans to make the vote & the remove vote with AJAX ;)
3. This needs a new plugin, if you have a knowledge of php, take a look at karma.php in the stats section and fit it to your needs. Sorry, I can't make it as I'm too busy at the moment with another hack I'm making (I have to make a lot this month for an update of my board that I'm planning) and also I don't need it (my members are too concerned with their karma already, I don't want it to get worse :p)

dellow 08-17-2007 12:59 PM

Quote:

Originally Posted by Michelle (Post 1319479)
1. How many days have you set in the setting "Ignore users that haven't visited for X days"?

it was 100 days.

Lea Verou 08-17-2007 01:45 PM

Quote:

Originally Posted by dellow (Post 1319616)
it was 100 days.

Are you sure that these users have visited your forum for the last 100 days?

dellow 08-17-2007 04:33 PM

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,

Wolf Link 08-17-2007 04:49 PM

<a href="http://www.shadowshr.com/forums/member.php?find=lastposter&f=3" target="_blank">http://www.shadowshr.com/forums/memb...lastposter&f=3</a>

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


All times are GMT. The time now is 04:58 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.01254 seconds
  • Memory Usage 1,754KB
  • 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
  • (7)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