Sponsored Content
Top Forums Web Development Notes with Ravinder on Badging System Development Part II Post 303028225 by Neo on Wednesday 2nd of January 2019 09:31:51 AM
Old 01-02-2019
WOL based on session activity is not the same as logging in and out; otherwise, every time you when to have tea or go for dinner and come back to your computer you would have to login again.

Obviously, you don't have to login every time you go away from an hour. At least for me, I rarely login to the forums, even when I wake up in the morning and turn on my Mac Pro; my login is still valid when I visit the forums.

It is not an issue, there are many ways to invoke a script, we do not need to invoke on login, like I said.

I will run the script on "showthread" page, so you need to take that into account and check that you only increment the day++ count IFF it has not already been incremented for that day.

You can do that in many ways.... but you cannot do it solely based on login.
 

3 More Discussions You Might Find Interesting

1. What is on Your Mind?

New Badging System - Badges Prototype Beta 1 (Badges Only)

Today I mapped out the new badging system using FA icons, Beta 1 in no particular order except a 6 x 8 grid: https://www.unix.com/members/1-albums215-picture991.png The prototype HTML code for this layout: <style> .fa-badge-grid { font-size: 1.5em; } .row { ... (38 Replies)
Discussion started by: Neo
38 Replies

2. What is on Your Mind?

Status of Badging System - Beta 1

Dear All, Here is the current status of the badging system: The Beta 1 phase of the new badging system is close to completion. 42 prototype badges have been "allocated" 6 prototype badge slots are held in reserve The "alert you have new badges" prototype is running and is currently... (4 Replies)
Discussion started by: Neo
4 Replies

3. What is on Your Mind?

Badging System: UNIX.COM Bug Hunter Badge (New)

I have moved the bug badge out of reserve and into the main stream. Basically, I will assign a color level like the others, based on who has made a good actionable bug report for UNIX.COM. "Good" means screenshots, links, and even details from web dev tools our the HTML source code. So far,... (0 Replies)
Discussion started by: Neo
0 Replies
DANCER(1p)						User Contributed Perl Documentation						DANCER(1p)

NAME
dancer - helper script to create new Dancer applications SYNOPSIS
dancer [options] -a <appname> OPTIONS
-h, --help : print what you are currently reading -a, --application : the name of your application -p, --path : the path where to create your application (current directory if not specified) -x, --no-check : don't check for the latest version of Dancer (checking version implies internet connection) -v, --version : print the version of dancer being used DESCRIPTION
Helper script for providing a bootstrapping method to quickly and easily create the framework for a new Dancer application. EXAMPLE
Here is an application created with dancer: $ dancer -a mywebapp + mywebapp + mywebapp/bin + mywebapp/bin/app.pl + mywebapp/config.yml + mywebapp/environments + mywebapp/environments/development.yml + mywebapp/environments/production.yml + mywebapp/views + mywebapp/views/index.tt + mywebapp/views/layouts + mywebapp/views/layouts/main.tt + mywebapp/lib + mywebapp/lib/mywebapp.pm + mywebapp/public + mywebapp/public/css + mywebapp/public/css/style.css + mywebapp/public/css/error.css + mywebapp/public/images + mywebapp/public/500.html + mywebapp/public/404.html + mywebapp/public/dispatch.fcgi + mywebapp/public/dispatch.cgi + mywebapp/public/javascripts + mywebapp/public/javascripts/jquery.js + mywebapp/Makefile.PL + mywebapp/t + mywebapp/t/002_index_route.t + mywebapp/t/001_base.t The application is ready to serve: $ cd mywebapp $ ./mywebapp.pl >> Listening on 127.0.0.1:3000 == Entering the development dance floor ... AUTHOR
This script has been written by Sebastien Deseille <sebastien.deseille@gmail.com> and Alexis Sukrieh <sukria@cpan.org>. SOURCE CODE
See Dancer for more information. LICENSE
This module is free software and is published under the same terms as Perl itself. perl v5.14.2 2012-04-03 DANCER(1p)
All times are GMT -4. The time now is 02:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy