Jump to content

FluxCP Addon - TaskList


Akkarin

Recommended Posts


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

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

  • Upvote 4
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

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 by EvilPuncker
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Dang Akkarin cool and fancy addon to Flux :P. Will come in handy!

Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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 by Brynner
Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

Fixed and uploaded (1.0.3). That'll teach me to rename addons just before i upload them X.x

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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

post-1381-0-03780300-1347076970_thumb.jpg

Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

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. :/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   1
  • Joined:  07/20/12
  • Last Seen:  

i got same problem. i can't view the created task. does i need to edit the account level before viewing that task?

Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   33
  • Joined:  05/30/12
  • Last Seen:  

Does it also work with the first flux? Or only with rathena flux?

Amazing release btw and thank you for sharing *_*

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

any upcoming feature or update? :D:D

Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

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 :D

Not for this addon.. however, there'll be a support ticket and bug tracker addon released shortly :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

wow, bug tracker will come really in hand :) will even be better if integrated with a npc xD

Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

wow, bug tracker will come really in hand :) will even be better if integrated with a npc xD

Good idea :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   33
  • Joined:  05/30/12
  • Last Seen:  

thank you for the info :D <3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  09/13/12
  • Last Seen:  

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 by bentoalves
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   2
  • Joined:  01/08/12
  • Last Seen:  

Hello,

I have some more feature requests:

- function to edit tasks (for additional informations)

- usage of charname (first of account) instead of accountname/userid

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

Since people are using this, and it's -clearly- in need of some TLC, i'll work on a few updates for it :)

Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

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 /no1

- usage of charname (first of account) instead of accountname/userid

I've gone one better and allowed a "Preferred Name" to be used :)

staffsettings-1.png

  • Upvote 1
Link to comment
Share on other sites

×
×
  • Create New...