Please upgrade here. These earlier versions are no longer being updated and have security issues.

yaga plugin leaders board help

Black2Black2 New
edited November 2015 in Vanilla 2.0 - 2.8

Hello

can i make my leaders board (daily top leaders) ?

or

if i cant do that, how to reset points daily by php admin ?
(whuch table i need to clear for reset user points)
thank you

Tagged:

Comments

  • hgtonighthgtonight ∞ · New Moderator

    There is already a leaderboard included in Yaga. You can find it on the activity page. It defaults to weekly top leaders and all time top leaders.

    The development version even has support for adding it via tpl files.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

    R_JBlack2
  • Black2Black2 New
    edited November 2015

    yes i see weekly and and monthly chart :D

    can i make it daily ? ආණ්ඩ හෝව් :pleased:

  • slot type d perhaps.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    Black2
  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    @hgtonight said:
    The development version even has support for adding it via tpl files.

    Interesting! I recently tried to use Smarty in a plugin but failed because I saw now way of adding variables to Smarty. That's why I was just before making a pull request on GitHub for class.smarty.php:

    class Gdn_Smarty {
    ...
        public function assign($key, $value = '') {
            $smarty = $this->smarty();
            $smarty->assign($key, $value);
        }
    

    How could I use Smarty without that method?


  • peregrineperegrine MVP
    edited November 2015

    @R_J said:

    @hgtonight said:
    The development version even has support for adding it via tpl files.

    Interesting! I recently tried to use Smarty in a plugin but failed because I saw now way of adding variables to Smarty. That's why I was just before making a pull request on GitHub for class.smarty.php:

    class Gdn_Smarty {
    ...
        public function assign($key, $value = '') {
            $smarty = $this->smarty();
            $smarty->assign($key, $value);
        }
    

    How could I use Smarty without that method?

    not sure what you are after.

    just add name to the call in the tpl

    $Name = GetValue('name', $Params);

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • @peregrine said:
    slot type d perhaps.

    please can i know whih file to edit ?

Sign In or Register to comment.