Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Diego Andrés on March 05, 2010, 05:12:48 PM

Title: To-Do List
Post by: Diego Andrés on March 05, 2010, 05:12:48 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=2445)

Important Note!
Mod is not developed for a while. Then, it will be re-write!

To-Do List
This modification is for your "to do" list, you can see what you need to do, you can mark as done or delete. This for people who forget what to do!

Language Support:
English, Turkish
Do you want to translate this modification into your language? Click me! (http://www.simplemachines.org/community/index.php?topic=369039.0#translate_me)

Changelog:
v2.0:
Title: Re: To-Do List
Post by: 4Kstore on March 05, 2010, 05:42:37 PM
Excelent mod ;)
Title: Re: To-Do List
Post by: TheListener on March 05, 2010, 06:15:30 PM
Is this in the main forums menu or just admins?

Title: Re: To-Do List
Post by: Nibogo on March 05, 2010, 10:15:18 PM
Quote from: Brack1 on March 05, 2010, 06:15:30 PM
Is this in the main forums menu or just admins?



The main forum menu because it's right before the Logout button

Nice mod ;)
Title: Re: To-Do List
Post by: grafitus on March 06, 2010, 05:48:48 AM
Quote from: 4kstore on March 05, 2010, 05:42:37 PM
Excelent mod ;)
Thanks. :)

Quote from: Brack1 on March 05, 2010, 06:15:30 PM
Is this in the main forums menu or just admins?
On the forum main menu and edit the profile authority can be seen by anyone.

Quote from: NIBOGO on March 05, 2010, 10:15:18 PM
Nice mod ;)
Thanks, NIBOGO.

I'm glad you like it...
Title: Re: To-Do List
Post by: ოկtђ on March 06, 2010, 08:43:35 AM
Nice mod. Cong.
Title: Re: To-Do List
Post by: grafitus on March 06, 2010, 09:55:59 AM
Quote from: ოկtђ on March 06, 2010, 08:43:35 AM
Nice mod. Cong.

Thanks, my dear friend. ;D
Title: Re: To-Do List
Post by: akbora on March 06, 2010, 01:09:29 PM
Is there an alarm on this mod?

Very good mod..
Title: Re: To-Do List
Post by: grafitus on March 06, 2010, 03:10:07 PM
Quote from: akbora on March 06, 2010, 01:09:29 PM
Is there an alarm on this mod?
Oh, no. But can be add in later versions (Time unclear).

Thanks.
Title: Re: To-Do List
Post by: akbora on March 06, 2010, 05:14:38 PM
Thanks grafitus,
1. Pop up alarm todos on the day. like microsoft outlook
2. Mark as Done may be italik or strike.
Title: Re: To-Do List
Post by: grafitus on March 06, 2010, 07:04:03 PM
I hope I will add your suggestions.

Thanks again.
Title: Re: To-Do List
Post by: TheListener on March 06, 2010, 07:09:12 PM
Can it be set so it shows in admin area only?
Title: Re: To-Do List
Post by: grafitus on March 07, 2010, 04:09:26 AM
Quote from: Brack1 on March 06, 2010, 07:09:12 PM
Can it be set so it shows in admin area only?
I'm sorry. Modification can make own page (?action=todo) views.
Title: Re: To-Do List
Post by: vicram10 on March 08, 2010, 11:58:21 AM
Good job and Excellent mod ;)
Title: Re: To-Do List
Post by: grafitus on March 09, 2010, 10:25:17 AM
Updated to SMF 2.0 RC3!
Title: Re: To-Do List [2.0 RC3]
Post by: Sudhakar Arjunan on March 10, 2010, 02:07:04 PM
good work .
Title: Re: To-Do List [2.0 RC3]
Post by: Nibogo on March 14, 2010, 09:01:27 PM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg46.imageshack.us%2Fimg46%2F3326%2Fmodofthemonth.png&hash=b002a51935168bfa0b5d180d6368d8d3366b850c) (http://www.simplemachines.org/community/index.php?topic=369545.0)
Title: Re: To-Do List [2.0 RC3]
Post by: grafitus on March 15, 2010, 05:26:50 AM
Oh my god! I was happy. :D Thanks for your choosing me...
Title: Re: To-Do List [2.0 RC3]
Post by: Bugo on March 17, 2010, 11:32:48 AM
Russian translation:

this for languages-utf8.xml (encoded to UTF8 w\o BOM)
<file name="$languagedir/Modifications.russian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// To-Do List
$txt['to_do'] = 'Список дел';
$txt['to_do_empty'] = 'Список дел пуст!';
$txt['to_do_add'] = 'Новая запись';
$txt['to_do_del'] = 'Удалить';
$txt['to_do_mark_do'] = 'Отметить как выполненное';
$txt['to_do_unmark_do'] = 'Отметить как невыполненное';
$txt['to_do_ok'] = 'Добавить';
$txt['to_do_subject'] = 'Тема';
$txt['to_do_due_time'] = 'Крайний срок';
$txt['to_do_priority'] = 'Приоритет';
$txt['to_do_priority0'] = 'Низкий';
$txt['to_do_priority1'] = 'Обычный';
$txt['to_do_priority2'] = 'Высокий';
]]></add>
</operation>
</file>


and this for languages.xml (encoded to ANSI):
<file name="$languagedir/Modifications.russian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
// To-Do List
$txt['to_do'] = 'Список дел';
$txt['to_do_empty'] = 'Список дел пуст!';
$txt['to_do_add'] = 'Новая запись';
$txt['to_do_del'] = 'Удалить';
$txt['to_do_mark_do'] = 'Отметить как выполненное';
$txt['to_do_unmark_do'] = 'Отметить как невыполненное';
$txt['to_do_ok'] = 'Добавить';
$txt['to_do_subject'] = 'Тема';
$txt['to_do_due_time'] = 'Крайний срок';
$txt['to_do_priority'] = 'Приоритет';
$txt['to_do_priority0'] = 'Низкий';
$txt['to_do_priority1'] = 'Обычный';
$txt['to_do_priority2'] = 'Высокий';
]]></add>
</operation>
</file>
Title: Re: To-Do List [2.0 RC3]
Post by: grafitus on March 18, 2010, 11:15:07 AM
Russian translation added!
Thanks Bugo...
Title: Re: To-Do List [2.0 RC3]
Post by: Bugo on March 18, 2010, 01:14:26 PM
Heh, I wrote that translation files need to be placed in different files! With different encodings. Otherwise, when using conventional (non-UTF8) Russian translation, people will see it - see the screenshot.
Title: Re: To-Do List [2.0 RC3]
Post by: searchgr on March 29, 2010, 01:41:24 AM
Quote from: akbora on March 06, 2010, 05:14:38 PM
Thanks grafitus,
1. Pop up alarm todos on the day. like microsoft outlook
2. Mark as Done may be italik or strike.

Or a small icon to blink near the 'To-Do list' button at the menu on the day.
Title: Re: To-Do List [2.0 RC3]
Post by: grafitus on March 29, 2010, 09:31:59 AM
@Bugo, I'm sorry. I hope my editor problematic. :/

@searchgr, Hımm.. I will evaluate. ;)
Title: Re: To-Do List [2.0 RC3]
Post by: aussieherps on April 01, 2010, 06:28:51 AM
QuoteOn the forum main menu and edit the profile authority can be seen by anyone.

Can't find out how to stop everyone from putting a to-do in this. Only have admin rights on the forum and can not tell if a guest or regular member can see or post. could you please clarify where these things could be set or if everyone has access or read only access.
Title: Re: To-Do List [2.0 RC3]
Post by: Siirist on April 08, 2010, 02:15:16 AM
Hello,  :)

Installed this with the package manager with not one problem.

Tested with the following results:

It does not function on these themes Bright Forest, Core, Mystic Jade.  :-[

It does function on these themes Curve, Super Tema,   :D

Verified by using the Parse.   ;)

Any thoughts?

Thank you in advance.

Be Well,
Cloud Walker
Title: Re: To-Do List [2.0 RC3]
Post by: grafitus on April 08, 2010, 09:36:22 AM
I don't have any thought. Can you attach screenshots? (For Bright Forest, Core, Mystic Jade themes)
Title: Re: To-Do List [2.0 RC3]
Post by: mirahalo on April 08, 2010, 11:48:31 AM
nice mod grafitus, spanish_es and spanish_latin:


$txt['to_do'] = 'Lista de cosas por hacer';
$txt['to_do_empty'] = '¡La lista está vacia!';
$txt['to_do_add'] = 'Nueva nota';
$txt['to_do_del'] = 'Borrar';
$txt['to_do_mark_do'] = 'Marcar como hecho';
$txt['to_do_unmark_do'] = 'Marcar como no hecho';
$txt['to_do_ok'] = 'Agregar';
$txt['to_do_subject'] = 'Asunto';
$txt['to_do_due_time'] = 'Fecha';
$txt['to_do_priority'] = 'Prioridad';
$txt['to_do_priority0'] = 'Baja';
$txt['to_do_priority1'] = 'Normal';
$txt['to_do_priority2'] = 'Alta';
$txt['permissionname_to_do'] = 'Ver la lista de cosas por hacer';



can be used for utf8 also ;)


a tip if anybody wants to use the smf permission system with this mod:

Open ./Sources/ToDo.php.

Code (find) Select
global $context, $txt, $scripturl;

Code (add after) Select
isAllowedTo('to_do');

Open ./Sources/Subs.php.

            
Code (find) Select
'href' => $scripturl . '?action=todo',
'show' => $context['allow_edit_profile'],


         
Code (replace with) Select
'href' => $scripturl . '?action=todo',
'show' => allowedTo('to_do'),



open /Themes/deault/language/Modifications.yourlanguage.php


Code (find) Select
$txt['to_do_priority2'] = 'High';


Code (add after) Select
$txt['permissionname_to_do'] = 'see the to do list';



open /Sources/ManagePermissions.php

Code (find) Select
'search_posts' => array(false, 'general', 'view_basic_info'),


Code (add after) Select
'to_do' => array(false, 'general', 'view_basic_info'),




;)
Title: Re: To-Do List [2.0 RC3]
Post by: Siirist on April 08, 2010, 02:11:24 PM
Quote from: grafitus on April 08, 2010, 09:36:22 AM
I don't have any thought. Can you attach screenshots? (For Bright Forest, Core, Mystic Jade themes)

Grafitus,

Thanks for replying.

Here are the screen shots.  :)

Core doesn't show that the mouse was over To-Do List other than slight darkening  :-\
Same with Bright Forest, when "you" mouse over, font darkens.  :-\
While Super Tema is diffficult to read it shows the Add To Do  :D
And clear as day on Curve.  ;D

Cloud 8)
Title: Re: To-Do List [2.0 RC3]
Post by: grafitus on April 11, 2010, 06:37:56 AM
This is very interesting. No such problem on my localhost. :/ Only To-Do page looks badly table. Because I've not coded to Core theme (and homies). ^^
Title: Re: To-Do List [2.0 RC3]
Post by: Siirist on April 14, 2010, 08:52:36 PM
Okay,

As you already know I am running SMF ver 2.0RC3

I have loaded the theme called Yem Yeþil.  It is approved for SMF ver 2.0RC3.

I was pleased to see that Add To Do functioned normally  :D  (see screen-shot)

However, I also loaded another theme called Helios Multi.  It is also approved for SMF ver 2.0RC3.

The Add To Do did NOT function.  :(

Just trying to help you out with more information.

Be Well,
Cloud 8)
Title: Re: To-Do List [2.0 RC3]
Post by: Antes on April 18, 2010, 12:19:12 PM
Grafitus want me add this to this topic ( he muted )

Open ./Themes/default/ToDo.template.php file.
Code (find) Select
global $txt, $todo, $context, $scripturl, $settings;
Code (replace) Select
global $txt, $todo, $context, $scripturl, $settings;

   $button = array(
      'add' => array('text' => 'to_do_add', 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=todo;sa=add', 'active' => true),
   );
   
   echo template_button_strip($button, 'right');
Title: Re: To-Do List [2.0 RC3]
Post by: Siirist on April 18, 2010, 03:35:51 PM
Quote from: Antes on April 18, 2010, 12:19:12 PM
Grafitus want me add this to this topic ( he muted )

Open ./Themes/default/ToDo.template.php file.
Code (find) Select
global $txt, $todo, $context, $scripturl, $settings;
Code (replace) Select
global $txt, $todo, $context, $scripturl, $settings;

   $button = array(
      'add' => array('text' => 'to_do_add', 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=todo;sa=add', 'active' => true),
   );
   
   echo template_button_strip($button, 'right');


Antes,

Thanks for posting!! ;D

Did this.  :D


IT WORKED!!!! :o    YAY!!! ;D ;D ;D ;D


Thanks again!


Be Well,
Cloud 8)
Title: Re: To-Do List [2.0 RC3]
Post by: akbora on May 08, 2010, 08:39:31 AM
Quote from: akbora on March 06, 2010, 05:14:38 PM
Thanks grafitus,
1. Pop up alarm todos on the day. like microsoft outlook
2. Mark as Done may be italik or strike.
What about grafitus? This mod will be greater with features sure according to me? We no need microsoft outlook any more after this.
Title: Re: To-Do List [2.0 RC3]
Post by: grafitus on May 08, 2010, 01:49:13 PM
Sorry, I can't do that nowadays... Because I've exams and I'm some sick.
Title: Re: To-Do List [2.0 RC3]
Post by: luuuciano on May 08, 2010, 09:16:34 PM
it would be great if you add the suggested code by 130860 at #26, so we can use permissions
Title: Re: To-Do List [2.0 RC3]
Post by: MissyNL on May 12, 2010, 10:34:32 AM
This really seems like a great mod, however.. I would like to use this also for my team,  So that they have there own to do list.

It would be great however that the admin can see by the teammembers, what the points are and even can add it to the list.
If you think that the list also should be used personal... then maybe there should also be a part in it where teammembers can put things down privatly.

And also... why not make this as a gadget for the profile area for the members? I have a lot of custom coding on the profile area, and it would be nice if the members can choose if they also want this option for there own on the profilepage...
Title: Re: To-Do List [2.0 RC3]
Post by: grafitus on May 16, 2010, 02:51:10 PM
MissyNL, I've not tried it. But it should work reasonably...


Open ./Sources/ToDo.php file.
Code (Find) Select
loadTemplate('ToDo');

$id_member = $context['user']['id'];

Code (Replace and edit the required fields) Select
loadTemplate('ToDo');

$request = $smcFunc['db_query']('', '
SELECT id_member
FROM {db_prefix}members
WHERE id_group = {int:id_group}',
array(
'id_group' => 15, // YOU SHOULD CHANGE HERE WITH COMMON GROUP ID!
)
);
$group_members = array();
while ($row = $smcFunc['db_fetch_assoc']($request))
$group_members[] = $row['id_member'];
$smcFunc['db_free_result']($request);

if (empty($group_members))
return array();

if (in_array($context['user']['id'], $group_members))
$id_member = 12; // YOU SHOULD CHANGE HERE WITH NEW MEMBER ID OR YOURSELF MEMBER ID!
else
$id_member = $context['user']['id'];


I hope it works... Otherwise, you'll wait two weeks. (I've exams.)
Title: Re: To-Do List [2.0 RC3]
Post by: Bugo on May 25, 2010, 09:09:14 AM
Quote from: Bugo on March 18, 2010, 01:14:26 PM
Heh, I wrote that translation files need to be placed in different files! With different encodings. Otherwise, when using conventional (non-UTF8) Russian translation, people will see it - see the screenshot.
Please use two separate files — for ANSI and UTF-8 (w\o BOM) languages.
Title: Re: To-Do List [2.0 RC3]
Post by: grafitus on May 28, 2010, 03:27:02 PM
Okay man. :) No problem. But I've rewritten To-Do List. When I add new language entries soon, I'll do a new translation pack. ;) BTW, if you have a new feature request, you share with me. ;D
Title: Re: To-Do List [2.0 RC3]
Post by: Liam. on May 28, 2010, 08:15:34 PM
Feature requests? Hmm...

Re-ordering items on the to-do list (up/down arrows/buttons) would be a nice feature, and/or to be able to order them so that the most important items are higher up...
Title: Re: To-Do List [2.0 RC3]
Post by: luuuciano on May 28, 2010, 10:37:18 PM
Quote from: grafitus on May 28, 2010, 03:27:02 PM
Okay man. :) No problem. But I've rewritten To-Do List. When I add new language entries soon, I'll do a new translation pack. ;) BTW, if you have a new feature request, you share with me. ;D

it have news features? or just a rewritten for optimization?
Title: Re: To-Do List [2.0 RC3]
Post by: grafitus on May 29, 2010, 05:30:09 AM
Quote from: Liam. on May 28, 2010, 08:15:34 PM
Feature requests? Hmm...

Re-ordering items on the to-do list (up/down arrows/buttons) would be a nice feature, and/or to be able to order them so that the most important items are higher up...
Mmm. I will think. But I'm hopeless, because, there may be some problems to be too much data.

Quote from: luuuciano on May 28, 2010, 10:37:18 PM
it have news features? or just a rewritten for optimization?
In fact, no more new features...
Title: Re: To-Do List [2.0 RC3]
Post by: Liam. on May 29, 2010, 05:32:02 AM
So there will be no organization? (Another feature I would probably use, but am not desperate to, is having list categories)
I think that personally, the major feature missing from this, is organising the list...
Title: Re: To-Do List [2.0 RC3]
Post by: luuuciano on May 29, 2010, 12:24:35 PM
A way to select wich members can see/use it is useful too
Title: Re: To-Do List - v2.0 Realesed!
Post by: twotonetwo on June 03, 2010, 08:38:12 AM
excellent mod, will come in really usefull for me as i always forgetting things.

The pop up suggestion on the day is a great idea, and also maybe extended notes for the reminder (for example i will use this to remember online events. a notes section would be good to save passwords i may need for the event etc)

two thumbs up!
Title: Re: To-Do List - v2.0 Realesed!
Post by: Liam. on June 03, 2010, 08:56:34 AM
A complete rewrite... Cheers, I'm using it on my site now ;)
Title: Re: To-Do List - v2.0 Realesed!
Post by: Bugo on June 03, 2010, 09:09:28 AM
Error log:
Quote8: Undefined variable: context
File: ***/Themes/default/languages/Modifications.english.php
Line: 37
Add global $context; there ;)

Also, empty fields in Permissions tab (see screnshot).
Title: Re: To-Do List - v2.0 Realesed!
Post by: grafitus on June 03, 2010, 10:30:52 AM
Quote from: Bugo on June 03, 2010, 09:09:28 AM
Error log:
Quote8: Undefined variable: context
File: ***/Themes/default/languages/Modifications.english.php
Line: 37
Add global $context; there ;)
Okay. ;)

Quote from: Bugo on June 03, 2010, 09:09:28 AM
Also, empty fields in Permissions tab (see screnshot).
Mmm... This issue only gives "Simple" view. Anyway, it's solved!
Thanks man! :)

I guess, I'll release a update soon. :)
Title: Re: To-Do List - v2.0 Released!
Post by: Bugo on June 03, 2010, 11:04:48 AM
Quote from: grafitus on June 03, 2010, 10:30:52 AM
I guess, I'll release a update soon. :)
In addition, at your leisure, add this: «error="skip"» into line in modification.xml
<file name="$languagedir/Modifications.turkish.php">
Because not all have this file :)
Title: Re: To-Do List - v2.0 Released!
Post by: grafitus on June 03, 2010, 11:18:03 AM
Oh, yes. Thank you. :)
Title: Re: To-Do List - v2.0 Released!
Post by: MissyNL on June 03, 2010, 01:25:00 PM
thank you so much.. now i really will use this mod :D

awsome!!
Title: Re: To-Do List - v2.0 Released!
Post by: luuuciano on June 04, 2010, 09:40:36 PM
If I enter 2010 10 10 as due date... then is showed as october 9...
why is that?

btw, there is no way to edit items?
(just add, delete, and change status?)
Title: Re: To-Do List - v2.0 Released!
Post by: grafitus on June 05, 2010, 04:09:37 AM
Quote from: luuuciano on June 04, 2010, 09:40:36 PM
If I enter 2010 10 10 as due date... then is showed as october 9...
why is that?
Mmm. Interesting... Turning the UNIX time before the date, and then showing in this way I guess. I'll research it.

Quote from: luuuciano on June 04, 2010, 09:40:36 PM
btw, there is no way to edit items?
(just add, delete, and change status?)
In fact, I've not seen need for it. But it isn't difficult to add. I going to add it for you. :)
Title: Re: To-Do List - v2.0 Released!
Post by: luuuciano on June 05, 2010, 11:45:29 PM
btw Im having a lot of this errors:

Undefined index: to_do
file: /home/username/public_html/foros/Sources/Subs.php
Line: 4435

and
Undefined variable: context
File: /home/cba2kes/public_html/foros/Themes/default/languages/Modifications.english.php
Line: 244
Title: Re: To-Do List - v2.0 Released!
Post by: grafitus on June 06, 2010, 05:11:54 AM
luuuciano, Bugo (http://www.simplemachines.org/community/index.php?action=profile;u=229017) found the second bug. Thanks for the other!
Title: Re: To-Do List - v2.0 Released!
Post by: luuuciano on June 06, 2010, 12:10:17 PM
btw, I always thought that to-do was a mod for a communitary todo list... but, after to use it for a while... it is just a personal todo list?

If I add tasks... Im the only person that can see it, and I can not see tasks added by others...
Title: Re: To-Do List - v2.0 Released!
Post by: snifftheglove on July 27, 2010, 11:21:49 AM
I have Ver 2.0 installed on SMF 2 RC3 and using the Mobile_alt Theme from Crip.

Now I have currently one entry in my To-Do List but the Menu tab shows To-Do List[0] and does not show what I expect which should be To-Do List[1]

Screenshot attached
Title: Re: To-Do List - v2.0 Released!
Post by: grafitus on July 27, 2010, 08:06:55 PM
snifftheglove, it showing correct. There is shows only need to do that day. So, will be show as To-Do List [1] at 01.10.2010 Friday.
Title: Re: To-Do List - v2.0 Released!
Post by: snifftheglove on July 28, 2010, 12:33:25 AM
Thank you for explaining.
Title: Re: To-Do List - v2.0 Released!
Post by: ishy on September 28, 2010, 08:33:12 AM
Quote from: snifftheglove on July 27, 2010, 11:21:49 AM
I have Ver 2.0 installed on SMF 2 RC3 and using the Mobile_alt Theme from Crip.

Now I have currently one entry in my To-Do List but the Menu tab shows To-Do List[0] and does not show what I expect which should be To-Do List[1]

Screenshot attached

Ah, I see this was my problem as well. I would really prefer there to be no dates, and the list just holds whatever I have to do in total.
Title: Re: To-Do List - v2.0 Released!
Post by: Jessica. on June 27, 2011, 11:08:36 AM
doesn't say "To-Do List" just a number
Title: Re: To-Do List - v2.0 Released!
Post by: WishW on March 25, 2012, 01:38:30 PM
Hello, grafitus. You made the excellent mod, but could you improve it a little bit?
I mean, It would be wonderful if you add some new features to it. For example, the admin of the forum make task for a specific moderator (or to all of them). In other words 'ToDo'-list visible for all moderators AND a possibility to gain tasks from the  admins.
Of course I wish you make it for all groups that the admins can create, not only from the admins.

PS: By the way, do you still support your mod? And will you make any new expansions for it in future?
Title: Re: To-Do List - v2.0 Released!
Post by: Jade Elizabeth on December 27, 2012, 05:28:27 AM
This mod is awesome, thanks for making it!

I agree, being able to set tasks for users would be pretty awesome also. Would let me bother my staff ha ha.
Title: Re: To-Do List - v2.0 Released!
Post by: Jade Elizabeth on December 28, 2012, 02:01:54 AM
Just a heads up this mod breaks my shoutbox...

$txt['to_do_empty'] = !$context['user']['is_admin'] ? 'To-Do List is empty!' : 'To-Do List is empty! Are you free man? :)';


[28-Dec-2012 01:42:53 America/New_York] PHP Notice:  Undefined index: user in /Themes/default/languages/Modifications.english.php on line 837

I fixed it but....What is the point of it anyway? I thought these were individual? Like I had my own and my members had their own, and so on?
Title: Re: To-Do List - v2.0 Released!
Post by: Deaks on December 31, 2012, 10:44:31 AM
jade maybe explain what you did to fix it so in case others get same issue
Title: Re: To-Do List - v2.0 Released!
Post by: Jade Elizabeth on December 31, 2012, 11:44:57 PM
I removed everything but the text string

$txt['to_do_empty'] = 'To-Do List is empty!';
Title: Re: To-Do List - v2.0 Released!
Post by: vkash13 on November 13, 2014, 03:37:51 AM
i got these failed tests when trying to install this mod. running smf 2.0.9.

this has happened when installing other mods as well. someone told me that there might be problems between mods and that i should edit or manually install subs.php. what exactly does this mean though- how can i manually install and what should i look to edit? thanks in advance for your help
Title: Re: To-Do List - v2.0 Released!
Post by: luuuciano on November 13, 2014, 06:54:25 AM
Hi vkash!
Take a look at this couple of resources:
http://wiki.simplemachines.org/smf/Error_in_mod_installation
http://wiki.simplemachines.org/smf/Manual_installation_of_mods

Hope that helps
Title: Re: To-Do List - v2.0 Released!
Post by: vkash13 on November 13, 2014, 03:28:47 PM
Quote from: luuuciano on November 13, 2014, 06:54:25 AM
Hi vkash!
Take a look at this couple of resources:
http://wiki.simplemachines.org/smf/Error_in_mod_installation
http://wiki.simplemachines.org/smf/Manual_installation_of_mods

Hope that helps

That does. Thanks!
Title: Re: To-Do List - v2.0 Released!
Post by: vkash13 on November 17, 2014, 04:00:56 AM
hi, i followed the instructions in the error in mod installation article and went ahead and installed the mod. i then went into my ftp and added the recomended code that my package installer told me to add. however, i cannot see the todo list tab in my forum nor can i find it anywhere for that matter. any help? here is a screen shot of the code i added (the todo array)

here is the code that was recommended to be changed in the install manager:

find:

'mlist' => array(
            'title' => $txt['members_title'],

replace:

'todo' => array(
            'title' => function_exists('get_today_todos') ? get_today_todos() :  '',
            'href' => $scripturl . '?action=todo',
            'show' => $context['allow_view_todolist'],
            'sub_buttons' => array(
               'add' => array(
                  'title' => $txt['to_do_add'],
                  'href' => $scripturl . '?action=todo;sa=add',
                  'show' => allowedTo('add_new_todo'),
                  'is_last' => true,
               ),
            ),
         ),
         'mlist' => array(
            'title' => $txt['members_title'],
Title: Re: To-Do List - v2.0 Released!
Post by: TrIn@dOr on April 16, 2015, 10:53:27 AM
Well tried to install this on SMF 2.0.9 and got a mess...

Parse error: syntax error, unexpected 'n' (T_STRING) in /././public_html/forum/Sources/Subs.php on line 2460

my line 2460 in
$month = date('n');

help?
Title: Re: To-Do List
Post by: ariescapes on December 21, 2015, 05:43:26 AM
Got this error in my Logs.

Quote from: ariescapes on December 21, 2015, 05:24:08 AM
Apply Filter: Only show the error messages of this URLhttp://www.*******.com/index.php?action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: is_adminApply Filter: Only show the errors from this file File: /home/***/888/Themes/default/languages/Modifications.english.php
Line: 148


When I go there:
$txt['to_do_empty'] = !$context['user']['is_admin'] ? 'To-Do List is empty!' : 'To-Do List is empty! Are you free man? :)';

Which is This Mod:
Quote11.   To-Do List   2.0     [ Uninstall ] [ List Files ] [ Delete ]

Not sure how to edit this one.
Title: Re: To-Do List
Post by: Shambles on December 21, 2015, 07:53:24 AM
Why not do what Jade did, and just remove the admin check altogether?

http://www.simplemachines.org/community/index.php?topic=369039.msg3462340#msg3462340

I can't see any use to the alternative message you have in that variable.

Code (Use This) Select
$txt['to_do_empty'] = 'To-Do List is empty!';

$txt['to_do_empty'] = 'To-Do List is empty! Are you free man? :)';
Title: Re: To-Do List
Post by: Diego Andrés on December 21, 2015, 02:57:52 PM
If I find some time I will update this mod soon
Title: Re: To-Do List
Post by: ariescapes on December 22, 2015, 05:49:12 AM
Makes sense. The language files i'm the least familiar with so help is always nice. Thanks!

And it seems to have taken care of my problem! w00t!