[ABD] Ultimate Teams

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
«THÖMÅS®©»
Registered User
Posts: 520
Joined: Sun Feb 27, 2011 5:38 pm
Location: UK
Contact:

Re: [3.2][DEV] Ultimate Teams

Post 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... :(
“No, this trick won't work... How on earth are you ever going to explain in terms of chemistry and physics so important a biological phenomenon as first love?” - Albert Einstein
"For every action has is an equal and opposite reaction". - Sir Isaac Newton
"In honor there is hope" - Alaska State Troopers

Owner & President @ =DN= Dark Nexus Multi-Gaming Clan
User avatar
KillBill.
Registered User
Posts: 604
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [3.2][DEV] Ultimate Teams

Post 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.
User avatar
mrgoldy
Development Team Member
Development Team Member
Posts: 1393
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: [3.2][DEV] Ultimate Teams

Post 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.
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
Protopia
Registered User
Posts: 20
Joined: Sun Nov 14, 2004 3:27 pm

Re: [3.2][DEV] Ultimate Teams

Post by Protopia »

I know this extension has development status, but is it ready for production use at all?
User avatar
eunaumtenhoid
Registered User
Posts: 998
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][DEV] Ultimate Teams

Post by eunaumtenhoid »

What are the options for the team leader?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
User avatar
Fast_Eddie
Registered User
Posts: 213
Joined: Tue Jun 09, 2015 8:32 pm
Name: Ed

Re: [3.2][DEV] Ultimate Teams

Post by Fast_Eddie »

Nice to see you back again ;)
I'll double down on that! GREAT to see you back !!!!!!!!!!!!!!!!!
NastyBoy
Registered User
Posts: 126
Joined: Wed May 31, 2017 7:03 pm
Location: Germany
Name: Tim
Contact:

Re: [3.2][DEV] Ultimate Teams

Post by NastyBoy »

I've just tested your Ext is pretty good but I miss some features Post photos, videos or texts. Write messages
User avatar
eunaumtenhoid
Registered User
Posts: 998
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][DEV] Ultimate Teams

Post 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.
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
makrov
Registered User
Posts: 5
Joined: Thu Mar 23, 2017 6:52 pm

Re: [3.2][DEV] Ultimate Teams

Post 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;
User avatar
mrgoldy
Development Team Member
Development Team Member
Posts: 1393
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: [3.2][DEV] Ultimate Teams

Post 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.
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
NastyBoy
Registered User
Posts: 126
Joined: Wed May 31, 2017 7:03 pm
Location: Germany
Name: Tim
Contact:

Re: [3.2][DEV] Ultimate Teams

Post 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
User avatar
spaceace
Registered User
Posts: 1994
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [3.2][DEV] Ultimate Teams

Post 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
User avatar
mrgoldy
Development Team Member
Development Team Member
Posts: 1393
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: [3.2][DEV] Ultimate Teams

Post 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.
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
«THÖMÅS®©»
Registered User
Posts: 520
Joined: Sun Feb 27, 2011 5:38 pm
Location: UK
Contact:

Re: [3.2][DEV] Ultimate Teams

Post 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?
“No, this trick won't work... How on earth are you ever going to explain in terms of chemistry and physics so important a biological phenomenon as first love?” - Albert Einstein
"For every action has is an equal and opposite reaction". - Sir Isaac Newton
"In honor there is hope" - Alaska State Troopers

Owner & President @ =DN= Dark Nexus Multi-Gaming Clan
NastyBoy
Registered User
Posts: 126
Joined: Wed May 31, 2017 7:03 pm
Location: Germany
Name: Tim
Contact:

Re: [3.2][DEV] Ultimate Teams

Post 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.
Locked

Return to “Abandoned Extensions”