Akkarin Posted September 6, 2012 Posted September 6, 2012 File Name: FluxCP Addon - TaskList File Submitter: Akkarin File Submitted: 06 Sep 2012 File Category: Web Resources Content Author: Akkarin Hi all! TaskList Current Version: 1.0.4 !!!!!! IMPORTANT !!!!!! Version 1.0.4 has an sql table change from cp_tasklist to cp_xtasklist. If you don't want this to happen, let it run anyway and then change addon.php back to the old one. The table name isn't changed, instead, the addon uses a new table. Purpose: Provides a collaborative platform for Admins and GMs to maintain a "group To-Do List". Capabilities: * Add task * Assign task * Update progress * URL resources All in all, it's not the biggest, nor the best addon that's ever been written. However, it does the job. Also, as this was only something quick, there's probably a few glitches - I'd appreciate you letting me know about them Click here to download this file 4
EvilPuncker Posted September 6, 2012 Posted September 6, 2012 (edited) very nice, thanks @edit btw would be nice if there were a way to set a "category" and show it to everyone (not logged in), so they can see what is done and what is to be done, hope u got what I mean Edited September 6, 2012 by EvilPuncker
Mystery Posted September 7, 2012 Posted September 7, 2012 Dang Akkarin cool and fancy addon to Flux . Will come in handy!
Akkarin Posted September 7, 2012 Author Posted September 7, 2012 btw would be nice if there were a way to set a "category" and show it to everyone (not logged in), so they can see what is done and what is to be done, hope u got what I mean I thought about this, but then it kinda turns into either a Support Ticket or Bug Tracker addon (which i plan on writing at some point next week). The only difference between all three would be who can view/reply to content. I guess it can be made to allow read-only access to normal players. I've uploaded a new version (1.0.2) that fixes the assign box - it wasn't accepting the value because i'd forgotten an 'elseif' X.x Silly Akkarin.
Brynner Posted September 7, 2012 Posted September 7, 2012 (edited) minor bug should be fix. \addons\xtasklist Themes\default\xtasklist\viewcompleted.php and \addons\xtasklist Themes\default\xtasklist\index.php line 48 <a href="<?php echo $this->url('tasklist', 'createnew') ?>">Create a Task</a> it should be <a href="<?php echo $this->url('xtasklist', 'createnew') ?>">Create a Task</a> and another question? why addons\xtasklist hemes\default\xtasklist\index.php and addons\xtasklist hemes\default\xtasklist\viewcompleted.php are almost identical? maybe it is the reason why i can't view the created task. it always redirect me to home page. Edited September 7, 2012 by Brynner
Akkarin Posted September 7, 2012 Author Posted September 7, 2012 Fixed and uploaded (1.0.3). That'll teach me to rename addons just before i upload them X.x
Brynner Posted September 8, 2012 Posted September 8, 2012 Fixed and uploaded (1.0.3). That'll teach me to rename addons just before i upload them X.x here is the problem when i try to view the created task. instead of redirecting me to ?module=xtasklist&action=viewtasks&task='.$taskID.'&update='.$taskID. it redirect me to main','index
Akkarin Posted September 8, 2012 Author Posted September 8, 2012 It will only redirect if It can't find the task ID in the table: $sql = "SELECT * FROM {$server->loginDatabase}.$tasklistsqltable WHERE id = $taskID"; $task = $server->connection->getStatement($sql); $task->execute(); $tasklist = $task->fetchAll(); if($tasklist) { (do stuff) } else { $this->redirect($this->url('main','index')); } There's no other reason that you'll be redirected (except if you don't have permission, but I'm assuming you're using an admin account, so that's not it). It works on the 3 servers i tested it with yesterday, so i have no idea why it's not working for you. :/
freakmastersx Posted September 8, 2012 Posted September 8, 2012 i got same problem. i can't view the created task. does i need to edit the account level before viewing that task?
Akkarin Posted September 9, 2012 Author Posted September 9, 2012 i got same problem. i can't view the created task. does i need to edit the account level before viewing that task? The permissions are set so anyone with the FluxCP level HIGHGM or higher can view it. If you need to, you can configure these in /addons/xtasklist/config/access.php - though if you're able to view the "Create Task" page, you should be able to see the task itself o.O Make sure the SQL table installed. Is the new task listed on the main Tasks page?
Snow Posted September 11, 2012 Posted September 11, 2012 Does it also work with the first flux? Or only with rathena flux? Amazing release btw and thank you for sharing *_*
Akkarin Posted September 12, 2012 Author Posted September 12, 2012 Does it also work with the first flux? Or only with rathena flux? I don't use emu-specific functions: all my addons will work with all versions of FluxCP. any upcoming feature or update? :D Not for this addon.. however, there'll be a support ticket and bug tracker addon released shortly
EvilPuncker Posted September 12, 2012 Posted September 12, 2012 wow, bug tracker will come really in hand will even be better if integrated with a npc xD
Akkarin Posted September 12, 2012 Author Posted September 12, 2012 wow, bug tracker will come really in hand will even be better if integrated with a npc xD Good idea
bentoalves Posted September 13, 2012 Posted September 13, 2012 (edited) Hello Akkarin, I find a little problem with de 'Priority' field in 'createnew.php' [xtasklist hemes\default\stasklist\createnew.php], the 'select' tag have a slash "/" before da great then simbol ">", in my browser the combobox render empty. This: <td><select name="priority" id="priority"/>.....</select></td> Changed for this: <td><select name="priority" id="priority">.....</select></td> In the 'index.php', 'viewtasks.php' and 'viewcompleted.php' the variable '$taskurl' begins with slash '/', if the FluxRO CP not is in root of site, the hiperlinks is broken. I remove the slash '/' to fix this. []'s Edited September 13, 2012 by bentoalves
HeikoS Posted September 23, 2012 Posted September 23, 2012 Hello, I have some more feature requests: - function to edit tasks (for additional informations) - usage of charname (first of account) instead of accountname/userid
Akkarin Posted October 3, 2012 Author Posted October 3, 2012 Since people are using this, and it's -clearly- in need of some TLC, i'll work on a few updates for it
Akkarin Posted October 5, 2012 Author Posted October 5, 2012 This: <td><select name="priority" id="priority"/>.....</select></td> Changed for this: <td><select name="priority" id="priority">.....</select></td> In the 'index.php', 'viewtasks.php' and 'viewcompleted.php' the variable '$taskurl' begins with slash '/', if the FluxRO CP not is in root of site, the hiperlinks is broken. I remove the slash '/' to fix this. Fixed both in 1.0.4 - usage of charname (first of account) instead of accountname/userid I've gone one better and allowed a "Preferred Name" to be used 1
Recommended Posts