Giter VIP home page Giter VIP logo

phpbb-ext-hookup's People

Contributors

bennigotchi avatar christophetdn avatar dependabot[bot] avatar gn36 avatar kilianr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

phpbb-ext-hookup's Issues

Disallow "maybe"

It should be possible to disallow maybe entries on a "per topic" basis.

After uploading the new files phpBB crashes on start

"Catchable fatal error: Argument 6 passed to gn36\hookup\cron\hookup_weekly_reset::__construct() must implement interface phpbb\event\dispatcher_interface, string given, called in /home/.sites/125/site129/web/rpg/cache/container_0374ec857381230fa83049643ce3cdee.php on line 1422 and defined in /home/.sites/125/site129/web/rpg/ext/gn36/hookup/cron/hookup_weekly_reset.php on line 49"

Fatal error, if User has a language selected, that is not supported by the hookup extension

I received this fatal error everytime I added a group of forum members to a newly created hookup:

Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "@gn36_hookup/hookup_added.txt" (looked into: ).' in /opt/lampp/htdocs_intern/lanboard_31/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:195 Stack trace: #0 /opt/lampp/htdocs_intern/lanboard_31/phpbb/template/twig/loader.php(107): Twig_Loader_Filesystem->findTemplate('@gn36_hookup/ho...') #1 /opt/lampp/htdocs_intern/lanboard_31/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(138): phpbb\template\twig\loader->findTemplate('@gn36_hookup/ho...') #2 /opt/lampp/htdocs_intern/lanboard_31/vendor/twig/twig/lib/Twig/Environment.php(266): Twig_Loader_Filesystem->getCacheKey('@gn36_hookup/ho...') #3 /opt/lampp/htdocs_intern/lanboard_31/vendor/twig/twig/lib/Twig/Environment.php(324): Twig_Environment->getTemplateClass('@gn36_hookup/ho...', NULL) #4 /opt/lampp/htdocs_intern/lanboard_31/phpbb/template/twig/environment.php(166): Twig_Environment->loadTemplate('@gn36_hookup/ho...', NULL) #5 /opt/lampp/htdocs_intern/lanboard_31/vendor/twig/twig/lib/ in /opt/lampp/htdocs_intern/lanboard_31/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 195

on first place, I thought, that it might be related to the 'add group' feature, since tests with adding single people succeeded always (with my random picked users).
But after some more structured tests, I found out, that the fail is caused by one user, who has set his User language to 'de_x_sie' (Formal german), wheras all other users have 'de' set as their language.
To verify this as the root cause, I cloned the hookup/language/de/ subfolder to hookup/language/de_x_sie/.
After doing so, the problem with the Fatal Error is gone.

It seems, that the language fallback for the notifications does not work...
Perhaps this is even a phpBB bug and not a problem of the hookup extension?!?

no DATE In EMAIL Notification

When you validate the date.

The notification mail is incomplete. No date in it (French translation):

for exemple =

"Bonjour ToF,

Vous recevez cette notification car vous participez à un événement planifié
dans le sujet « date de reunion XXXX » à « XXXXXXXXXXXXXXXXXXXXXX ».

La date de l’événement a été fixé au :

Pour consulter le sujet et l’événement associé, cliquez sur le lien
suivant :
http://www.XXXX.XX/phpbb/viewtopic.php?t=30

As you can see there is nothing after "La date de l’événement a été fixé au :"

Thx for your excellent work !!!

Remove "echo" from ext.php

Before turning in the extension, the echo commands added to ext.php for testing purposes should be removed.

Replace Javascript Calendar by composer dependency?

The JS Calendar is outdated and should be replaced either by HTML5 and a replacement script for incompatible browsers (preferred) or by a composer dependency providing a calendar widget that can be automatically kept up to date between versions.

"Sum" ends up at more than 100% due to rounding

Sorry I speak very little English :(

For "sum" there is a problem of calculation - rounding error - to total 101% = 2 lines for progress bar.

P.S. I prepare a translation in French.

Thank you for very good job ;)

Allow date entry without hour, using a default time

It should be possible to enter dates only with a default time being added.

Potentially, this should even be stored and the entries should also be displayed without time in that case.

The default time should be configurable in the first post of the topic, a global default time should be set in the config table.

Active date with weekly reset interaction

The active date is not updated, when weekly resets are active. It is also unclear, what date should actually be active.

Minimal solution: Remove activedate setting when active date is rolled out.
Advanced solution: Determine a new activedate when old one is rolled out.

iCalendar Feed

an ics Feed that provides yes/no/maybe information and the active date once it is set would be nice.

This requires a suitable ics php library.

Not able to add User, even tho he has read/write permission for the forum

When I want to add a single user or a group of users to a hookup, I get a error message:

The user xxx doesn’t have the permission to read this forum (USER_CANNOT_READ_FORUM)

This happens, but all the users actually have appropriate rights, to read and write in the forum.

Taking a look into the code, I found, that there is a second condition, that is checked, which leads to the 'USER_CANNOT_READ_FORUM' error message:

phpbb-ext-hookup/event/viewtopic.php (lines 629-633):

            if (!$user_auth->acl_get('f_read', $event['forum_id']) || !$user_auth->acl_get('f_hookup', $event['forum_id']))
            {
                $hookup_errors[] = sprintf($this->user->lang['USER_CANNOT_READ_FORUM'], $new_users[$user_id]['username']);
                unset($userids_to_add[$key]);
            }

I think, the second part in the if() shouldn't be there, since the ACL rule should manage (at least from my understanding and from the explanation in permissions_hookup.php), if someone is allowed to create a new hookup. But here it's only about adding a user to be able to vote.

Add explanation labels and descriptions

Explanations are needed for the following things (translations as well):

  • Comment
  • Set Active Date (popup message)
  • Improve overall description on viewtopic on what can be done by the user.

Username of the creator instead of the recipient in german emails

Hello
when I (Frank) add dates to the survey it sends an email to every user which is part of it. Unfortunatly, the mail to the user "Hannes" starts with "Hallo Frank" instead wiht "Hallo Hannes". I can't find any difference in the .txt-files so I'm kind of lost where to look for it.

Thanks for that great extension nonetheless!

best regards,
Frank

Can't see hookup options

After enabling and confirming that I do have permissions to a specific forum to add hookup events, I do not see any buttons or options to actually add or create the event. Am I missing something else?

Hidden results

It might be nice for some applications to allow users to hide the result from everyone but the owner of the topic and moderators with a special permission. This means that everyone can only see his own settings. Potentially, one would also wish to hide the names of other users.

Bug for the translation

Hello,

I shall have some rectifications to be made in the translation in French.
I am seeing some details with the French-speaking community.
We discovered a problem in the files of the template. It is going to need to replace ":" by "{L_COLON}".
Want you that I take care of it ?

Alternate Text and Notifications

Notifications need an update to contain the active date. Currently they contain the date 0 if a text option is selected. Also, Text options may not be active dates, so the "active date" text should be set to "Active" instead.

French translation incomplete

The french translation is missing a few new things.

@MetallicaMust Could you adjust the french translation so it matches the new version? I have changed a few things and there are new translation files that are missing in the french version. My french is not good enough to do this myself.

Allow entry of arbitrary text instead of date/time for the list

Instead of only permitting date and time for entries, it should also be possible to enter arbitrary text so that more customized questions can be adressed, similar to a poll where multiple options can be selected.

This was also possible using a modification by miriam to the original phpBB 3 Mod. However the zip archive containing the changes is no longer available. It would be nice to make this compatible to the old variant to allow upgrades.

Possibly someone can provide the complete zip archive?

Related: http://pastebin.com/NB3zHJ42

Allow editing of different user / permit adding non-forum user rows

This is an idea that comes from the old phpBB 2 Mod, which permitted the entry of arbitrary names including their [yes/no/maybe] setting. This allows moderators or list-owners to enter information they received from other sources back into this list. For example it could be used to add customers information to the list to find a meeting, it could be used by coaches with "forum-resilient" players to collect their information in one single place, ...

Allow combining text and date options

Potentially, the combination of date and text options could be useful. Entry would simply be:

DD-MM-YYYY # text for description

This can be useful to explain dates while still retaining full calendar compatibility. Also, it could be used in combination with weekly resets, retaining the text with every date, e.g. "Oct. 25th, Training at A, Oct. 27th, Training at B" which will be updated to "Nov. 1st, Training at A, Nov. 3rd, Training at B" for the following week.

Link or button ?

Hello,

I would like to subject(submit) you a detail by the fact that it has an importance for the French translation.

It is about the links "Set active" at the bottom of columns.
ref : https://github.com/gn36/phpbb-ext-hookup/blob/master/styles/prosilver/template/viewtopic_hookup.html#L139

In view of the importance of the irreversible action(share) which it engenders, would not it be better to replace this link by a button ?

(translate French/English by http://www.reverso.net)

Thank you

Allow collapsing list of entries even when no active date is set

When the number of entries exceeds a certain limit, the list should be automatically collapsed. Potentially, a different collapse should be chosen, collapsing all entries except for the settings for the current user if he is part of the list and the summed totals.

Allow only N yes / N no / N maybe entries

This goes in conjunction with #5 but expands it greatly. One might wish to limit the number of yes/no/maybe replies of all users.

The most typical would probably be to allow only one yes or a limited number of no entries to force users to pick exactly one date or exclude only a certain number of dates of the selectable number of dates.

Langage file: use ’ instead of \'

Hi,

In en/hookup.php you must use instead of \'.
And after apply this change, don't forget to convert your file in UTF-8 w/BOM

Lines affected :

https://github.com/gn36/phpbb-ext-hookup/blob/master/language/en/hookup.php#L71
https://github.com/gn36/phpbb-ext-hookup/blob/master/language/en/hookup.php#L96
https://github.com/gn36/phpbb-ext-hookup/blob/master/language/en/hookup.php#L110

You can find some special chars in header of any files of phpBB English language pack.

Enabling the extension does not work

Functional test cases fail upon installation step precheck routine (cannot find submit button after calling install page

adm/index.php?i=acp_extensions&mode=main&action=enable_pre&ext_name=...

php 5.3.3 errors due to ssl problems -> insert workaround.

Allow limiting the number of users

This only makes sense together with "allow self-invite". For some events, the number of registrants may be limited. If the number of users that can self-invite is limited, the button can disappear after that number of users have entered themselves.

Add dashboard / summary list of events

A dashboard that summarizes all events of the week (aggregate from topics) and allows yes / no / maybe votes.

This is more of a long-term idea with a lot of work involved but also containing probably a lot of useful features if the hookup is mainly used for finding participants for fixed event dates.

  • Dashboard
    • aggregate all events
    • allow changing / updating entries from dashboard
    • Use forums as "tags" for sorting the dashboard
  • Allow customization of the dashboard in the ACP
    • allow custom tags per event
    • configure default tags per forum
    • configure default visibility of entries
      • all future dates in the list
      • only topics with only one list
      • only topics with a fixed date
  • Allow customization of the dashboard in the UCP
    • configure default tags to be visible
    • configure tag lists to be visible
    • configure visibility of entries
      • all future dates in the list
      • only topics with only one list
      • only topics with a fixed date
  • Ical export of the dashboard list

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.