Page 2 of 4

Re: [3.2][DEV] Ultimate Teams

Posted: Tue Dec 12, 2017 1:37 am
by «THÖMÅS®©»
Posey, I am putting this here as I think you should know that this extension seems to be causing login fails despite the correct info being used to do so. I cant be sure but it seems to be happening after I enabled this extension.

When I try without the correct login info, it says I have entered an incorrect username or password, but when I use the correct info, it says nothing, it just "refreshes" back to the login screen... :(

Re: [3.2][DEV] Ultimate Teams

Posted: Tue Dec 12, 2017 6:12 am
by KillBill.
posey wrote:
Sat Dec 09, 2017 11:00 am
Download link and GitHub repository have been added.
WIll look into integration with Ultimate Points.
JV-Arcade will not be an option, I tried registering twice over there, still doesn't work. So I'm done with that.
If you have a problem using the contact option.

Re: [3.2][DEV] Ultimate Teams

Posted: Tue Dec 12, 2017 9:35 am
by mrgoldy
«THÖMÅS®©» wrote:
Tue Dec 12, 2017 1:37 am
Posey, I am putting this here as I think you should know that this extension seems to be causing login fails despite the correct info being used to do so. I cant be sure but it seems to be happening after I enabled this extension.

When I try without the correct login info, it says I have entered an incorrect username or password, but when I use the correct info, it says nothing, it just "refreshes" back to the login screen... :(
I'm pretty sure this has nothing to do with my extension. From what oage are you trying to login?
KillBill. wrote:
Tue Dec 12, 2017 6:12 am
If you have a problem using the contact option.
Well to be honest, I do not feel like trying to integrate with an extension that's not on phpBB itself and I have problems registering with.

Re: [3.2][DEV] Ultimate Teams

Posted: Tue Dec 12, 2017 7:23 pm
by Protopia
I know this extension has development status, but is it ready for production use at all?

Re: [3.2][DEV] Ultimate Teams

Posted: Tue Dec 12, 2017 9:04 pm
by eunaumtenhoid
What are the options for the team leader?

Re: [3.2][DEV] Ultimate Teams

Posted: Tue Dec 12, 2017 10:51 pm
by Fast_Eddie
Nice to see you back again ;)
I'll double down on that! GREAT to see you back !!!!!!!!!!!!!!!!!

Re: [3.2][DEV] Ultimate Teams

Posted: Sat Dec 16, 2017 7:52 pm
by NastyBoy
I've just tested your Ext is pretty good but I miss some features Post photos, videos or texts. Write messages

Re: [3.2][DEV] Ultimate Teams

Posted: Sat Dec 16, 2017 9:05 pm
by eunaumtenhoid
NastyBoy wrote:
Sat Dec 16, 2017 7:52 pm
I've just tested your Ext is pretty good but I miss some features Post photos, videos or texts. Write messages
I think the idea is to create clans, in your case and only create private forums for the clans, but it would be really cool if you had that refusal on ext. BD would also be very heavy, I think.

Re: [3.2][DEV] Ultimate Teams

Posted: Sun Dec 17, 2017 2:10 pm
by makrov
i've fixed 2 SQL errors using postgresql as database
controller/main.php

Code: Select all

        private function get_team_members($team_id)
        {
                $team_leaders_array = array();
                $team_members_count = $user_status = 0;

                $sql = 'SELECT c.team_leader, c.user_status, u.user_id, u.username, u.user_colour
                                FROM ' . $this->ut_correlation_table . ' c
                                JOIN ' . USERS_TABLE . ' u ON TRUE //added to make postgresql happy
                                WHERE c.user_id = u.user_id
                                        AND c.team_id = ' . (int) $team_id . '
                                ORDER BY c.team_leader DESC, u.username ASC';
                $result = $this->db->sql_query($sql);
event/main_listener.php

Code: Select all

        public function memberlist_prepare_profile_data($event)
        {
                $user_id = (int) $event['data']['user_id'];
                $team_id = (int) $event['data']['user_team_id'];
                $template_data = $event['template_data'];

                $sql = 'SELECT t.team_name, t.team_id, t.team_tag, t.team_colour
                                FROM ' . $this->ut_teams_table . ' t
                                JOIN ' . $this->ut_correlation_table . ' c ON TRUE //added to make postgresql happy
                                WHERE t.team_id = c.team_id
                                        AND c.user_id = ' . $user_id;

not tested with other databases

edit: SQL error when delete team
controller/main.php

Code: Select all

                                        # Check if any user that had this team is default, also is in an other group, then set that as default
                                        $sql = 'SELECT user_id, team_id
                                                        FROM ' . $this->ut_correlation_table . '
                                                        WHERE ' . $this->db->sql_in_set('user_id', $user_id_ary) . '
                                                        AND user_status = 1'; //make postgresql happy
                                                        //GROUP BY user_id 
                                                        //ORDER BY team_leader DESC, team_name ASC;

Re: [3.2][DEV] Ultimate Teams

Posted: Mon Dec 18, 2017 10:10 pm
by mrgoldy
Protopia wrote:
Tue Dec 12, 2017 7:23 pm
I know this extension has development status, but is it ready for production use at all?
No.
eunaumtenhoid wrote:
Tue Dec 12, 2017 9:04 pm
What are the options for the team leader?
Team leaders can manage the team.
Promote / demote members, invite people and kick people.
NastyBoy wrote:
Sat Dec 16, 2017 7:52 pm
I've just tested your Ext is pretty good but I miss some features Post photos, videos or texts. Write messages
Could you clarify? I don't know what you mean.
I've added 'Send PM to team' on my to-do list. Perhaps that is what you mean?
makrov wrote:
Sun Dec 17, 2017 2:10 pm
...
Cheers, I'll have a look into it.

Re: [3.2][DEV] Ultimate Teams

Posted: Mon Dec 18, 2017 11:17 pm
by NastyBoy
I mean that the users in the group also come in contact so that you can post something in the group so photos, videos or texts. But that should be seen only in the group and not extra in the forum

Re: [3.2][DEV] Ultimate Teams

Posted: Tue Dec 19, 2017 10:54 am
by spaceace
NastyBoy wrote:
Mon Dec 18, 2017 11:17 pm
I mean that the users in the group also come in contact so that you can post something in the group so photos, videos or texts. But that should be seen only in the group and not extra in the forum
this can be done by making a forum and only giving permissions to view/post to a single group

Re: [3.2][DEV] Ultimate Teams

Posted: Tue Dec 19, 2017 11:10 am
by mrgoldy
spaceace wrote:
Tue Dec 19, 2017 10:54 am
NastyBoy wrote:
Mon Dec 18, 2017 11:17 pm
I mean that the users in the group also come in contact so that you can post something in the group so photos, videos or texts. But that should be seen only in the group and not extra in the forum
this can be done by making a forum and only giving permissions to view/post to a single group
The point is, is that you create teams and not groups. And as of yet, you are not able to set up permissions on a per TEAM basis.

Re: [3.2][DEV] Ultimate Teams

Posted: Tue Dec 19, 2017 5:20 pm
by «THÖMÅS®©»
posey wrote:
Tue Dec 19, 2017 11:10 am
The point is, is that you create teams and not groups. And as of yet, you are not able to set up permissions on a per TEAM basis.
Would that be possible if you made UT work with groups?

Re: [3.2][DEV] Ultimate Teams

Posted: Wed Jan 03, 2018 4:12 pm
by NastyBoy
What you have planned so far is very good, but what bothers me is that if you are a member of a team what exactly are you doing? Therefore, my idea that the members can write messages, or post photos or videos so that you can keep the users in his team.