Jump to content

Community

Recommended Posts

%7Boption%7D



File Name: Teams

File Submitter: Mikey

File Submitted: 31 Oct 2012

File Category: User and Social Engagement

Supported Versions: IP.Board 3.4.x



Teams offers your members a great way to create minicommunities. Whether it's for a gaming clan, or an off topic community, Teams is great for anyone! This application features:

  • Create / Join Teams with perusergroup permissions.
  • Team Management from the frontend by the Team Leader or forum staff.
  • Team Emblems. Allow your members to personalise their team by uploading a team emblem.
  • Team Invititation system. Your Team Leaders can create a 'closed' team, and then invite members..
  • Team News system. Your Team Leaders can add news posts to a team which will notify all members of that team.
  • Transfer Teams. A Team Leader can transfer their teams to other users.
  • Notifications
  • Team Leaders will be notified when someone joins a team which they have created.
  • Team Members will be notified when someone joins a team which they're a member of.
  • Users will recieve a notification when a team is transferred to them, or when they're invited to a team.

%7Boption%7D
%7Boption%7D
Please do not post support questions in the comments section. They will not be replied to as I do not have time to monitor multiple places for questions. Please reply to the support topic with any questions.



Please report all bugs here: http://thegeekdistrict.com/community/tracdown/categories/8-teams/



here to download this file

Link to post
Share on other sites
  • Replies 211
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

^ok, nevermind. I removed them from the team, logged on as them and re-joined, and then the option became instantly available. Im not sure what caused it, but its working now, so must of been a permis

File Name: Teams File Submitter: Mikey File Submitted: 31 Oct 2012 File Category: User and Social Engagement Supported Versions: IP.Board 3.4.x Teams offers your members a great way to create

Suggestion: Can you have a team userbar or something, or a emblem on their postbit so people can have their teams under post bit please?!

Posted Images

IP.Board Set Up Utility


Welcome to the IP.Board application set up utility.
This installation is in progress...

The following errors have been found:

· CREATE TABLE teams ( team_id int(11) NOT NULL auto_increment, team_name varchar(140) NOT NULL DEFAULT '', team_seotitle varchar(140) NOT NULL DEFAULT '', team_description text NOT NULL DEFAULT '', team_logo text NOT NULL DEFAULT '', team_open int(11) NOT NULL DEFAULT 1, team_leader_id int(11) NOT NULL DEFAULT 1, PRIMARY KEY (team_id) ) ENGINE=INNODB;

BLOB/TEXT column 'team_description' can't have a default value

Click here to continue regardless
Any ideas what the problem could be?
Link to post
Share on other sites

Very good mod

but this mod can to work with ipb 3.23!!!! :unsure:

I have not tested this on 3.2, but to my knowledge there is no 3.3. specific code in there.

IP.Board Set Up Utility


Welcome to the IP.Board application set up utility.
This installation is in progress...

The following errors have been found:

· CREATE TABLE teams ( team_id int(11) NOT NULL auto_increment, team_name varchar(140) NOT NULL DEFAULT '', team_seotitle varchar(140) NOT NULL DEFAULT '', team_description text NOT NULL DEFAULT '', team_logo text NOT NULL DEFAULT '', team_open int(11) NOT NULL DEFAULT 1, team_leader_id int(11) NOT NULL DEFAULT 1, PRIMARY KEY (team_id) ) ENGINE=INNODB;

BLOB/TEXT column 'team_description' can't have a default value

Click here to continue regardless

Any ideas what the problem could be?

Are you running MySQL in Strict Mode do you know? I've not run into this issue before.

Open up /admin/applications_addon/other/teams/setup/versions/install/sql/teams_mysql_tables.php and find

team_description text NOT NULL DEFAULT ''

Remove the DEFAULT '', and do the same for

team_logo text NOT NULL DEFAULT ''


Alternately, PM me with AdminCP / FTP details and I'll look through the setup files for you to see if I can fix those for your install.

Link to post
Share on other sites

Hey Mikey,

Do you plan on adding in cache at some point? I just noticed this when I decided to add integration with my Global Ads for teams to show on. I had to build an array from DB->build to get the current teams and to work out whether or not the app was installed as to not produce SQL DB error.

And this is really an excellent idea. This app so much potential. Could really turn out to be a full fledged Teams app that is sort of like MLG; the type to have scores, and leaderboards, ect. That would be awesome improvement in this apps development life. :smile:

-Don :smile:

Link to post
Share on other sites

Hey Mikey,

Do you plan on adding in cache at some point? I just noticed this when I decided to add integration with my Global Ads for teams to show on. I had to build an array from DB->build to get the current teams and to work out whether or not the app was installed as to not produce SQL DB error.

And this is really an excellent idea. This app so much potential. Could really turn out to be a full fledged Teams app that is sort of like MLG; the type to have scores, and leaderboards, ect. That would be awesome improvement in this apps development life. :smile:

-Don :smile:

Uh, a little OT, but you shouldn't need to use DB->build? Data Hooks are before and after all saves, in 1.0.0, and 1.0.1 has Template Hook points in the templates.. caches are on my to-do list though, yes.

Also, to check the app is installed, couldn't you do something similar to IPSLib::appIsInstalled? :)

Link to post
Share on other sites

I had to use the DB->build inside of the ACP on a setting to retrieve the currently created teams to use that setting as a permission mask per say.

Example:

$dropdown = array();
if ( IPSLib::appIsInstalled( 'teams' ) )
{
     $build = $this->DB->build( array( 'select' => '*',
                                       'from' => 'teams',
                                      )
                               );
     $exec = $this->DB->execute( $build );

     if ( $this->DB->getTotalRows( $exec ) )
     {
          while( $teams = $this->DB->fetch( $exec ) )
          {
               $dropdown[] = array( $teams['team_id'], $teams['team_name'] );
          }
     }
     else
     {
          $dropdown[] = array( 0, 'No Teams Created' );
     }
}
else
{
     $dropdown[] = array( 0, 'Teams Is Not Installed' );
}

if ( $save == 1 )
{
        if ( is_array( $_POST['ng30_global_ads_team_group_perms'] ) )
        {
                $_POST['ng30_global_ads_team_group_perms'] = implode( ",", $_POST['ng30_global_ads_team_group_perms'] );
        }
        else
        {
                $_POST['ng30_global_ads_team_group_perms'] = "";
        }

        $key = 'ng30_global_ads_team_group_perms';
}
if ( $show == 1 )
{
        $key = 'ng30_global_ads_team_group_perms[]';
}

This was the only viable way of currently retrieving a list of teams. I did IPSLib::appIsInstalled after realizing that when I went to test the setting after uninstalling the app that it produced an SQL DB error in the ACP cuz the table didn't exist. So I fixed all that by the above code. :smile:
Link to post
Share on other sites

Hey Mikey,

I seem to have noticed an error with the Edit Teams page. When I go to edit a team, it doesn't change the "Create Team" in the <H3> tag to "Edit Team: MY TEAM NAME", and also, it doesn't show my team name in the Team Name input area. I think there is an issue with the $team variable somewhere. I noticed this when adding support for my mod.

-Don :smile:

Link to post
Share on other sites

Hey Mikey,

I seem to have noticed an error with the Edit Teams page. When I go to edit a team, it doesn't change the "Create Team" in the <H3> tag to "Edit Team: MY TEAM NAME", and also, it doesn't show my team name in the Team Name input area. I think there is an issue with the $team variable somewhere. I noticed this when adding support for my mod.

-Don :smile:

I can't reproduce this:

2012-11-05_19h36_38.png

Link to post
Share on other sites

As you can see from this screenshot at my site, I can reproduce this:
attachicon.gifUntitled.png
attachicon.gifUntitled1.png

At first I thought it was just my first team seeing this issue, so I created another team, and the same can be said for that team as well.

I'll double check things, but it's not behaving this way for my installations. Can you try recaching your skins?

Link to post
Share on other sites

I just purchased the mod, got it installed and set up my Teams/roster...however when I goto the VIEW ONLINE list of members it get this error

Fatal error: Class 'publicSessions__teams' not found in /home/torment/public_html/admin/applications/members/modules_public/online/online.php on line 252

any help is greatly appreciated and thank you for your help!

Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy