Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Diego Andrés on October 02, 2009, 04:56:36 PM

Title: Team Page
Post by: Diego Andrés on October 02, 2009, 04:56:36 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=2167)

(https://smftricks.com/logos/logo.png) (https://smftricks.com/)

(https://img.shields.io/badge/License-MPL2.0-a05a3f?style=flat-square) (https://img.shields.io/badge/SMF-2.1-3f73a0?style=flat-square)

Team Page
Developed by Diego Andrés (https://smftricks.com/index.php?action=profile;u=1)
Original author: Costa (https://simplemachines.org/community/index.php?action=profile;u=169940)




Introduction
Team Page lets you add multiple custom pages to a team/staff page with groups, moderators or text

Features

Languages
(https://www.simplemachines.org/site_images/lang/english.gif) (https://www.simplemachines.org/site_images/lang/spanish.gif) (https://www.simplemachines.org/site_images/lang/russian.gif)



Changelog (https://smftricks.com/index.php?topic=2093.0)
GitHub (https://github.com/SMFTricks/Team-Page)
Title: Re: Team Page v3.0
Post by: ForumMustang.com on October 02, 2009, 06:12:40 PM
Nice mod. I installed it with no problem but I have one suggestion.
Why not using the language strings from SMF instead of having them in the mod. For non English forums the "Send XXX a personal message" and "Last Login:" text would be in the correct language without having us to translate the mod. :)
Title: Re: Team Page v3.0
Post by: Costa on October 02, 2009, 06:26:31 PM
@chadon
Maybe I do that in future Releases.
Translations Will be welcome :)

Thank you for your feedback

Farewell
Title: Re: Team Page
Post by: Smog on October 02, 2009, 06:32:48 PM
Nice mod, however atm not usable to me: a team member will only be showed in 1 group, even when he/she is member of several groups. I prefer that team members will be showed in all groups they are member of.
Title: Re: Team Page
Post by: Costa on October 02, 2009, 06:37:45 PM
@smog

That's very hard to do right now, the query is built to expect one group
Perhaps version 3.5 ;)

Thank's for your feedback.

Farewell
Title: Re: Team Page
Post by: ForumMustang.com on October 02, 2009, 07:28:49 PM
Quote from: Costa on October 02, 2009, 06:26:31 PM
@chadon
Maybe I do that in future Releases.
Translations Will be welcome :)

Thank you for your feedback

Farewell

Here is a French translation. ;)
Title: Re: Team Page
Post by: Özgür on October 02, 2009, 07:34:58 PM
Any demo ? =)
Title: Re: Team Page
Post by: Costa on October 02, 2009, 07:53:42 PM
Quote from: chadon on October 02, 2009, 07:28:49 PM
Here is a French translation. ;)

Thank's, I will update tomorrow :)

Quote from: [Daydreamer] on October 02, 2009, 07:34:58 PM
Any demo ? =)

http://dream-portal.net/index.php?action=about
http://www.infodz.com.br/in4tek/index.php?action=about
Title: Re: Team Page
Post by: Sabre™ on October 02, 2009, 09:57:42 PM
Good job guys, looks nice :)
Title: Re: Team Page
Post by: Costa on October 02, 2009, 10:55:36 PM
Thank you Sabre™ :)

Updated with 3 translations :)
Title: Re: Team Page
Post by: samurai-lupin on October 04, 2009, 09:32:37 AM
Hello, this seems to be an excellent mod! Wil you also offer a release for SMF 1.10? I would love to use it on my forum. Thanks!
Title: Re: Team Page
Post by: Arantor on October 04, 2009, 11:26:24 AM
From what I remember of the mod it isn't particularly easy to make work on 1.1 without a rewrite.
Title: Re: Team Page
Post by: Costa on October 04, 2009, 11:29:32 AM
Sorry, I will not make a 1.1.x version
Title: Re: Team Page
Post by: Sabre™ on October 04, 2009, 06:38:21 PM
You could try [THIS] (http://custom.simplemachines.org/mods/index.php?mod=348) for smf 1.1.x, and edit the code to look like this one.
Title: Re: Team Page
Post by: Costa on October 04, 2009, 08:07:20 PM
Actually since the mod is being rewritten in places for speed, a 1.1.x version will be in the works as well.

You can indeed edit vbgamer's mod all you want, however if you do you won't get support for it on this thread and you'll lose the features that this mod provides and that one does not.
Title: Re: Team Page
Post by: Sabre™ on October 04, 2009, 09:32:19 PM
Quote from: Costa on October 04, 2009, 08:07:20 PM
You can indeed edit vbgamer's mod all you want, .... you'll lose the features that this mod provides ....

Such as?
As far as I can see, all of it can be added in one form or another, it just takes the necessary edits to do so.

Quote from: Costa on October 04, 2009, 08:07:20 PM
Actually since the mod is being rewritten in places for speed, a 1.1.x version will be in the works as well.

Now thats what we like to hear! lol
Good stuff mate :)
Title: Re: Team Page
Post by: Tattoocu_Cartel on October 05, 2009, 01:34:19 AM
Good Mods!

Turkish Translate..
Title: Re: Team Page
Post by: Costa on October 05, 2009, 01:48:18 AM
Thank's Tattoocu_Cartel :)
Language Uploaded to the mod site :)
Title: Re: Team Page
Post by: Horseman on October 06, 2009, 02:06:56 AM
I have small problem.
means moderators have several  Boards, not only one.
Now i see the Moderators several.
What can i do that a moderator only one on this site?

regards
Horseman
Title: Re: Team Page
Post by: Horseman on October 06, 2009, 02:26:29 AM
German Translation
Title: Re: Team Page
Post by: Costa on October 06, 2009, 01:42:06 PM
@ Horseman

Can you rephrase? I don't understand your question...
Thank you for your translation :)
Title: Re: Team Page
Post by: Horseman on October 07, 2009, 12:35:52 AM
OK,
a Moderator has the Boards '1,5 and 14' in the Team list i see this Moderar three.
Another has 5 Boards and i see this Moderator five

what I would want is that i see a Moderator in the Teamlist once.

Title: Re: Team Page
Post by: TheListener on October 07, 2009, 02:03:07 PM
Thought I had it but this error appeared.

Wrong value type sent to the database. Array of integers expected. (groups)
Title: Re: Team Page
Post by: Arantor on October 07, 2009, 02:20:10 PM
So what did you enter in the list of groups?

Supposed to be a comma separated list of numbers of groups - without spaces between them..
Title: Re: Team Page
Post by: TheListener on October 07, 2009, 02:23:26 PM
That's exactly what I did.
Title: Re: Team Page
Post by: Arantor on October 07, 2009, 02:32:02 PM
Hmm. Hopefully the author can shed some light on this.
Title: Re: Team Page
Post by: Costa on October 07, 2009, 03:05:27 PM
Quote from: Horseman on October 07, 2009, 12:35:52 AM
OK,
a Moderator has the Boards '1,5 and 14' in the Team list i see this Moderar three.
Another has 5 Boards and i see this Moderator five

what I would want is that i see a Moderator in the Teamlist once.

I'm on this, sorry, but my real life it's a little bit busy, until the weekend, me and ccbtimewiz will try find a solution

Quote from: TheListener on October 07, 2009, 02:03:07 PM
Thought I had it but this error appeared.

Wrong value type sent to the database. Array of integers expected. (groups)
Can you provide me an admin acess to your forum?
This never happen with this mod and I test him during very long time (Since version 2.0)
Title: Re: Team Page
Post by: TheListener on October 07, 2009, 04:24:16 PM
/index.php?action=teampage
Apply Filter: Only show the errors with the same message
Wrong value type sent to the database. Array of integers expected. (groups)
Function: createteampage
Apply Filter: Only show the errors from this file
File:/Sources/TeamPage.php
Line: 78

// Grab the groups that were defined.
70: $query_groups = $smcFunc['db_query']('', '
71: SELECT mg.id_group, mg.group_name, mg.online_color, mg.stars
72: FROM {db_prefix}membergroups AS mg
73: WHERE mg.id_group IN ({array_int:groups})
74: ORDER BY mg.id_group ASC',
75: array(
76: 'groups' => $include_groups,
77: )
==>78: );
79:    
Title: Re: Team Page
Post by: Costa on October 07, 2009, 04:37:49 PM
Post here a Screenshot of the team page admin area, i'm trying to reproduce the error :)
Title: Re: Team Page
Post by: TheListener on October 07, 2009, 04:41:58 PM
As requested.
Title: Re: Team Page
Post by: Costa on October 07, 2009, 04:56:15 PM
I'm talking about this action index.php?action=teampage;sa=manage
Title: Re: Team Page
Post by: TheListener on October 07, 2009, 04:57:22 PM
The screenshot is what I get when I go to the page.
Title: Re: Team Page
Post by: Costa on October 07, 2009, 05:00:56 PM
Try typing www.parascifi.info/index.php?action=teampage;sa=manage
Title: Re: Team Page
Post by: TheListener on October 07, 2009, 05:07:23 PM
Sorted ( hope) there were too many commas (,)
Title: Re: Team Page
Post by: Costa on October 07, 2009, 05:18:34 PM
:P :P

@horseman
Talking with ccbtimewiz (Co-owner of this mod) on IM about your Issue
Quote from: ccbtimewiz
the new version of teampage mod should do it better

v3.5 should be released soon, like in two or so days, maybe
With new language strings, if you guys after that update the strings, we will be very gratefull

Farewell
Title: Re: Team Page
Post by: TheListener on October 07, 2009, 05:35:29 PM
I spoke to soon  ::)

http://www.parascifi.info/index.php?action=teampage
Apply Filter: Only show the errors with the same message
8: Undefined offset: 1
Apply Filter: Only show the errors from this file
/Themes/default/TeamPage.template.php
Line: 155

<td align="center" width="30%">', ($modSettings['team_show_badges'] ? '<img src="' . $settings['images_url'] . '/' . $image[1] . '" alt="" />' : ''), '</td>
Title: Re: Team Page
Post by: Costa on October 07, 2009, 05:50:22 PM
It's because you are not using badges in one membergroup
Title: Re: Team Page
Post by: TheListener on October 07, 2009, 05:54:49 PM
Am unable to see where to set permissions fo the groups?

What do you mean by badges?
Title: Re: Team Page
Post by: Arantor on October 07, 2009, 05:55:36 PM
Badges = images that represent the usergroup, e.g. the stars for admin and global mod by default.

Costa, for 3.5, I'd suggest doing a check on that variable to ensure that error won't happen.
Title: Re: Team Page
Post by: Costa on October 07, 2009, 05:56:44 PM
Quote from: TheListener on October 07, 2009, 05:54:49 PM
Am unable to see where to set permissions fo the groups?
It's for the new version, in two or three days

Quote from: Arantor on October 07, 2009, 05:55:36 PM
Costa, for 3.5, I'd suggest doing a check on that variable to ensure that error won't happen.

It's on our Current to-do list :)
Title: Re: Team Page
Post by: TheListener on October 07, 2009, 06:04:43 PM
The badges show.
Title: Re: Team Page
Post by: Horseman on October 08, 2009, 05:00:05 AM
I have solve my Problem.
I have make a Group, in this Group i add all Moderators and in the Teamlist i set the ID of this Group.
Now i see all Moderators once.
Title: Re: Team Page
Post by: mirahalo on October 08, 2009, 12:33:31 PM
hi there, here is spanish both latin and es utf8 also include.


greetings!
Title: Re: Team Page
Post by: Costa on October 08, 2009, 04:04:44 PM
thank's 130860
Already update the mod in modsite with your translation

Farewell
Title: Re: Team Page
Post by: imrich on October 09, 2009, 10:51:41 AM
Strange errors in my SMF 2.0 RC1.2 logs when installed this package:


  Type of error: General 
.../index.php?action=admin;area=packages;sa=install2;package=TeamPage3-2.zip;pid=0 
2: copy(.../Packages/temp/TeamPage.spanish_es.php.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory
File: .../Sources/Subs-Package.php
Line: 1333 

   Type of error: General 
.../index.php?action=admin;area=packages;sa=install2;package=TeamPage3-2.zip;pid=0 
2: file_get_contents(.../Packages/temp/TeamPage.spanish_es.php.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory
File: .../Sources/Subs-Package.php
Line: 2340 

   Type of error: General 
.../index.php?action=admin;area=packages;sa=install2;package=TeamPage3-2.zip;pid=0 
2: copy(.../Packages/temp/TeamPage.spanish_es-utf8.php.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory
File: .../Sources/Subs-Package.php
Line: 1333 

   Type of error: General 
.../index.php?action=admin;area=packages;sa=install2;package=TeamPage3-2.zip;pid=0 
2: file_get_contents(.../Packages/temp/TeamPage.spanish_es-utf8.php.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory
File: .../Sources/Subs-Package.php
Line: 2340 

Notice the file names end in .php.php such as:
/Packages/temp/TeamPage.spanish_es-utf8.php.php


You can see the reference to the .php.php here in the package-info.xml file:

      <require-file name="TeamPage.spanish_es-utf8.php.php" destination="$languagedir" />
      <require-file name="TeamPage.spanish_es.php.php" destination="$languagedir" />
      <require-file name="TeamPage.spanish_latin-utf8.php" destination="$languagedir" />
      <require-file name="TeamPage.spanish_latin.php" destination="$languagedir" />


My SMF does not have (nor need) these languages (I only use English), but I just thought I would report this error to you as I like your team page mod.

Thanks for sharing the mod.
Title: Re: Team Page
Post by: Costa on October 09, 2009, 12:40:29 PM
Sorry, my mistake :P
Thank you for your repair :)
Title: Re: Team Page
Post by: imrich on October 09, 2009, 12:52:35 PM
You're welcome! Don't forget to fix the 'uninstall' section also. ;)
Title: Re: Team Page
Post by: Costa on October 09, 2009, 12:55:16 PM
Already did :)
If you parse the mod at mod site you'll see

File Operations
Move the included file "TeamPage.spanish_es-utf8.php" to "./Themes/default/languages".
Move the included file "TeamPage.spanish_es.php" to "./Themes/default/languages".
Move the included file "TeamPage.spanish_latin-utf8.php" to "./Themes/default/languages".
Move the included file "TeamPage.spanish_latin.php" to "./Themes/default/languages".

Thank you again :)
Title: Re: Team Page
Post by: imrich on October 09, 2009, 01:24:23 PM
I just downloaded and installed the package again and confirmed that there are no errors now in the log on installing under SMF 2 RC1.2.

Thanks!
Title: Re: Team Page
Post by: Costa on October 09, 2009, 01:27:56 PM
You're welcome :)
Title: Re: Team Page
Post by: samurai-lupin on October 13, 2009, 01:03:29 AM
Now, that's really good news to hear that it will be availabe for SMF 1.1, too! Thanks!
Title: Re: Team Page
Post by: !!kaos!! on October 13, 2009, 04:27:57 AM
Thanks good work, but it would be better if you add to 1.1.x
Title: Re: Team Page
Post by: Arantor on October 13, 2009, 04:48:08 AM
Making it for 1.1 is a lot more work, especially since 1.1 is only receiving security fixes now.
Title: Re: Team Page
Post by: !!kaos!! on October 13, 2009, 04:57:29 AM
That is not possible, To do this
Title: Re: Team Page
Post by: Arantor on October 13, 2009, 11:06:53 AM
Oh it's possible but it's a lot more work to do, like a rewrite of the mod.
Title: Re: Team Page
Post by: !!kaos!! on October 13, 2009, 11:45:33 AM
Understand Thanks.
Title: Re: Team Page
Post by: imrich on October 13, 2009, 11:53:07 AM
Any chance of a feature enhancement to allow selecting membergroups that are allowed to use the team page?

This way on a closed forum where guests and other member groups are not allowed to see the members list, etc. they can also be controled to not see the team page.

Thanks for your consideration.
Title: Re: Team Page
Post by: Costa on October 13, 2009, 01:32:37 PM
@Arantor, thank's for your action on this thread

@imrich, maybe, i'll check that with the co-owner of the mod, I'm with few time this week
4 exams in University, so I need to study :P
Title: Re: Team Page
Post by: !!kaos!! on October 13, 2009, 02:03:50 PM
[offtopic]
QuoteI wish you success in exams. :)
[/offtopic]
Title: Re: Team Page
Post by: samurai-lupin on October 16, 2009, 09:35:40 AM
Thank you for doing this absolutely fantastic Mod for SMF 1.1, too! It is much appreciated! Thanks!
Title: Re: Team Page
Post by: imrich on October 20, 2009, 08:10:22 AM
Quote from: imrich on October 13, 2009, 11:53:07 AM
Any chance of a feature enhancement to allow selecting membergroups that are allowed to use the team page?

This way on a closed forum where guests and other member groups are not allowed to see the members list, etc. they can also be controled to not see the team page.

Thanks for your consideration.


I hope your exams went well!

Suggestion about this request:

Unless you add a different method of controlling access, I'd suggest that the current permission "View the memberlist" can be used to control access to the team page. If a group can't access the memberlist, why allow them to access the team page?

Thanks again for your consideration.
Title: Re: Team Page
Post by: Costa on October 20, 2009, 02:51:14 PM
Sorry Guys, I don't forget your requests, no-no! But other project is taking my time, Dream Portal (You can see in my sig btw)
That, my exams (today I've done another one and Take a 19 in 20 poitns possible ;D), the flew, and the fact of grass being green :P i'm with few time.

although, me and ccbtimewiz are working on this, and your requests are being inplemented

Even the SMF 1.1.x Version is been made (or trying :P )

Sorry for the delay :(

Best Regards
Title: Re: Team Page
Post by: samurai-lupin on October 20, 2009, 05:16:50 PM
Thank you for making this mod possible for SMF 1.1!
Title: Re: Team Page
Post by: saaam on October 21, 2009, 11:58:15 AM
that the gr8 mod thanks mate......
Title: Re: Team Page
Post by: imrich on October 25, 2009, 09:28:39 AM
Minor bug report: Team page will display a member account that has not been activated yet.
Title: Re: Team Page
Post by: samurai-lupin on October 31, 2009, 05:26:28 AM
Is there any news on a version for SMF 1.1 yet? Thanks again for making it available!
Title: Re: Team Page
Post by: SN on October 31, 2009, 05:50:56 AM
yeh this will be great for 1.1.x
Title: Re: Team Page
Post by: Costa on October 31, 2009, 11:10:03 AM
Quote from: Costa on October 20, 2009, 02:51:14 PM
(...)other project is taking my time, Dream Portal (You can see in my sig btw)

(...)although, me and ccbtimewiz are working on this, and your requests are being inplemented
Title: Re: Team Page
Post by: Sinan ANDIRMAN on October 31, 2009, 11:38:02 AM
congrats friends ;)
Title: Re: Team Page
Post by: Do2 on October 31, 2009, 06:43:21 PM
Great MOD, but i've got a problem:

Maybe i'm to silly, but where can i set, that a certain group just is shown as a simple list? Like Friend on the Dream-Portal site?

Thanks
Title: Re: Team Page
Post by: Costa on October 31, 2009, 11:19:32 PM
The Dream Portal About page (http://dream-portal.net/index.php?action=about;sa=about) is another mod
In the next version that feature (Simple List) will be include

The Team Page v3.3 is beta.
Version 3.4 will include support for SMF 1.1.

:)
Title: Re: Team Page
Post by: Do2 on November 01, 2009, 05:26:46 AM
Nice to hear. ;)
Title: Re: Team Page
Post by: scorpion1082 on November 03, 2009, 02:02:44 AM
perhaps im missing something, but when i use this mod, i have the show team leader first ticked on and then i put my username in the box below it as a team leader, but im not shown first anyway?
Title: Re: Team Page
Post by: imrich on November 09, 2009, 03:07:09 PM
Any news on how this will work with SMF 2 RC2?
Title: Re: Team Page
Post by: samurai-lupin on November 15, 2009, 04:43:55 AM
Any news on the SMF 1.1 Version? Best wishes
Title: Re: Team Page
Post by: Costa on November 15, 2009, 10:24:31 AM
Quote from: imrich on November 09, 2009, 03:07:09 PM
Any news on how this will work with SMF 2 RC2?
This mod Works on RC2

Quote from: samurai-lupin on November 15, 2009, 04:43:55 AM
Any news on the SMF 1.1 Version? Best wishes
Not yet.
Title: Re: Team Page
Post by: Hoodie on November 18, 2009, 05:27:12 PM
Quote from: Costa on November 15, 2009, 10:24:31 AM
Quote from: imrich on November 09, 2009, 03:07:09 PM
Any news on how this will work with SMF 2 RC2?
This mod Works on RC2

Quote from: samurai-lupin on November 15, 2009, 04:43:55 AM
Any news on the SMF 1.1 Version? Best wishes
Not yet.

Then please update the package so that it shows..  I filter my results for mods that work for RC2 now that I'm on that..

Oh and the classes aren't the same in Curve so the Team Page is looking bland now..  Needs updating to work correctly..
Title: Re: Team Page
Post by: Costa on November 19, 2009, 11:53:32 AM
Automotive Nation, pay me one million Euros and I will forget my life and update the mod, ok?
Title: Re: Team Page
Post by: Hoodie on November 19, 2009, 02:43:11 PM
No need for the hostility..  I was just saying that if it works with RC2, the package should be updated to reflect that..  Isn't it just one line in one file that would take 5 minutes to do?

And as far as it not working in RC2, it's functional just not formatted..  I wasn't trying to be a **** about it, just didn't think it would take that long to update it if it works..
Title: Re: Team Page
Post by: Arantor on November 19, 2009, 02:45:42 PM
Automotive Nation, please understand that it takes a lot of time to modify such things in a mod if you're not intimately familiar with the changes in RC2, and not everyone has that time. The mod installs on 2.0 RC2, so it is perhaps reasonable to state that in the mod's description.

It will be done as Costa has time, not before.
Title: Re: Team Page
Post by: ѕησω on November 29, 2009, 02:02:46 AM
Costa, in this screenpicture on the mod site

http://custom.simplemachines.org/mods/index.php?action=download;mod=2167;id=117782;image

How can i make my version 3.2 do this. What I'm referring to is down the bottom, just the names listed, with the badges above.

Also can you make it that additional membergroups apply to this Bottom, just listed names.
Title: Re: Team Page
Post by: Costa on November 29, 2009, 11:02:27 AM
Hi α¢αηѕ

That is a feature of 3.3b version.
Title: Re: Team Page
Post by: Costa on November 29, 2009, 01:43:52 PM
New version available!

Why is this a beta, you ask? Because ccbtimewiz (http://www.simplemachines.org/community/index.php?action=profile;u=111571) completely rewrote the method that the teampage grabs members from defined groups. Previously it had two queries, without any looping, using SQL manipulating and then string placement.
It's been rewritten to make local variables ready, and so members that are defined in multiple groups to be showed more than once (options) as well as showing members in additional groups (option as well).
Hopefully this is a step to becoming a better mod-- if not, I'll resort back to previous method with more manipulating, because really SQL manipulation can only get you so far without meeting a lot of bugs.
In addition, ccbtimewiz (http://www.simplemachines.org/community/index.php?action=profile;u=111571) re-added previously removed options, such as showing local moderators on the page, as well as having groups listed at the bottom with just their names. The only known issue is that if too many groups are defined, it streches. This'll be fixed in the final release of v3.4.

Changelog
3.3b | 29 November 2009
DB calls altered to be simpler and faster.
! Fix most undefined errors that can occur from multiple groups.
+ Added support to include groups to be listed at the bottom.
+ Added support to ignore or acknowledge additional groups.
+ Added support to show local moderators (group 3) as a group.
! Missing global $settings (fixed)
! "Unknown Action" in whois log (fixed)
+ New strings added for new options.




Changelog legend
+ New feature
- Feature removal
! Bugfix
> New language
< Removed language
* New version support
$ Initial release / Big update

Title: Re: Team Page
Post by: Hoodie on November 29, 2009, 02:03:21 PM
Thanks for updating the mod..  It seems to be working except for one small portion..  The Leadership Inclusion part..  I add user ids 1 and 2 there..  They aren't showing up anywhere on the team page at all..
Title: Re: Team Page
Post by: jokesa157 on November 29, 2009, 07:45:11 PM
im running smf 2. latest and simple portal latest just installed smf yesterday and i came across your mod and i need a little help. I installed it and i made some kind of mistake. after install, i guess i filled out the form wrong lol and it gave me this message:"Wrong value type sent to the database. Array of integers expected. (groups   ........... I try to install it again but it says the same thing. please help ... I think this mod is cool.. it would help me out alot with my gaming team. This mod is keeping me from going to a different type of forum. Like to phpnuke because they have a lot of mods for gaming teams. but if i can get this working im not going any where..:p  Thanks   :D
Title: Re: Team Page
Post by: Costa on November 29, 2009, 07:52:47 PM
jokesa157

Wich ID's you put?
Title: Re: Team Page
Post by: District9 on November 29, 2009, 08:55:00 PM
Hello I'm with JOKES in ]A157[

The Error is:

Wrong value type sent to the database. Array of integers expected. (groups)
Line 109
CreateTeamPage
Title: Re: Team Page
Post by: Arantor on November 29, 2009, 08:55:45 PM
And to you, District9, the same question: what ids did you put in?
Title: Re: Team Page
Post by: District9 on November 29, 2009, 08:58:57 PM
Like what ID?

Or where can I find that
Title: Re: Team Page
Post by: Arantor on November 29, 2009, 09:01:56 PM
In the configuration you put in a list of numeric ids for the groups you want to display, for example Administrator = 1.

You'll get this from the Manage Membergroups area by examining the URL the 'modify' button goes to, in the URL is ;group=x where x is the group number.
Title: Re: Team Page
Post by: District9 on November 29, 2009, 09:05:59 PM
Do you have X-Fire and we can chat about it on that... if so add leetcrisis
Title: Re: Team Page
Post by: Arantor on November 29, 2009, 09:06:37 PM
I don't have X-Fire, no, and I don't provide support via PM or any kind of IM service, sorry.
Title: Re: Team Page
Post by: District9 on November 29, 2009, 09:07:46 PM
Where can I find the ID... step by step

Sorry for th bugging
Title: Re: Team Page
Post by: samurai-lupin on November 29, 2009, 09:18:01 PM
Is there any news on the SMF 1.1 version? Thank you!
Title: Re: Team Page
Post by: Arantor on November 29, 2009, 09:29:27 PM
Go to Admin > Members > Membergroups > Edit Membergroups

Then you'll see the Modify link on the right. The address of that link will be something like: http://intranet/rc2_public/index.php?action=admin;area=membergroups;sa=edit;group=1

(This is off my personal setup; yours won't be intranet/rc2_public)

That's from the Modify link for the Administrator group, and it says ;group=1, so that's the group id for Administrator.
Title: Re: Team Page
Post by: Costa on November 29, 2009, 10:14:21 PM
I know this ID stuff is a little bit... Meh... odd(?!), so in Team Page admin panel, you have this text: What are my group IDs?
Click there and you will know your Group ID's

Quote from: samurai-lupin on November 29, 2009, 09:18:01 PM
Is there any news on the SMF 1.1 version? Thank you!
Not yet
Title: Re: Team Page
Post by: samurai-lupin on November 30, 2009, 04:40:24 AM
Have you any idea about when it will available? Thanks!
Title: Re: Team Page
Post by: Arantor on November 30, 2009, 04:41:21 AM
Given that he just advised there is no news on a 1.1 version I don't see the need to keep asking; it'll be done when it's done, not before.
Title: Re: Team Page
Post by: samurai-lupin on November 30, 2009, 04:44:56 AM
You are wrong. If it takes too long I would rather hire someone to program such a mod for me.

Or let me give you an example: If you make a call for reservation and the person tells you there is currently nothing available, wouldn't you ask about a rough date? Hm?
Title: Re: Team Page
Post by: Arantor on November 30, 2009, 05:04:51 AM
20th Oct: Author states it will be made.
31st Oct: You ask for an update, to which the author confirms he has other projects that are taking precedence.
15th Nov: You ask for any news to which the author confirms not yet.
30th Nov: You ask again if there is any news, to which again the author confirms not yet.

Consequently, what I am getting at is that the author will update as and when a 1.1 version is available but as you can see he has other priorities here, and repeatedly asking when it will be done doesn't actually make it happen any quicker.
Title: Re: Team Page
Post by: Sabre™ on November 30, 2009, 05:11:08 AM
Warning - while you were reading a new reply has been posted. You may wish to review your post.

You are posting all about smf 1.1.x on every page buddy, twice Costa has mentioned to you 'not yet'.
Is it impossible just to wait?
Costa has mentioned they are working on it, but there are other things that take priority, so Arantor is correct in saying there is no need in continually asking. Some see it as spam, clutter and/or annoying.
I suggest just waiting a little longer buddy, I doubt that this mod will make such an impact on your site, that the only current resolution is to hire somebody to make it, so it slots into your schedule.
Others are awaiting its release for smf1.1.x aswell, just have a little more patience :)
Title: Re: Team Page
Post by: samurai-lupin on November 30, 2009, 05:33:23 AM
I will stop asking about it. Howevever Mr. Sabre. I am not your buddy and I sure never will be.
Title: Re: Team Page
Post by: Sabre™ on November 30, 2009, 07:29:46 AM
Well I was just trying to be polite to your ignorance.
Really, If I may be frank, I think you're an idiot.
Farewell :D
Title: Re: Team Page
Post by: samurai-lupin on November 30, 2009, 07:50:34 AM
Quote from: Sabre™ on November 30, 2009, 07:29:46 AM
Well I was just trying to be polite to your ignorance.

Seems as it din't work out. Keepn on practicing.

Quote from: Sabre™ on November 30, 2009, 07:29:46 AM
Really, If I may be frank, I think you're an idiot.

Then we would have something in common.

Thank you
Title: Re: Team Page
Post by: Sabre™ on November 30, 2009, 07:59:05 AM
Thank You for proving me right. :D
This will be my last post here for you.
Goodbye buddy :D
Title: Re: Team Page
Post by: Costa on November 30, 2009, 02:25:46 PM
Sabre, let me give you a beer! :) Let's drink and smile a little bit. hehe

I said that we take this mod for SMF 1.1.10
ask when will be ready is the same as asking when will be ready to SMF 2.0 final
The Dream Portal is occupying me most of the time, as well as the local moderation here in smf.org
Anyone in a hurry, take a cup of tea and calm down. Christmas is coming, it is time for peace and love.

Sabre and Arantor, thank's mates! :D
Title: Re: Team Page
Post by: jokesa157 on November 30, 2009, 08:30:22 PM
Quote from: Arantor on November 29, 2009, 09:29:27 PM
Go to Admin > Members > Membergroups > Edit Membergroups

Then you'll see the Modify link on the right. The address of that link will be something like: http://intranet/rc2_public/index.php?action=admin;area=membergroups;sa=edit;group=1

(This is off my personal setup; yours won't be intranet/rc2_public)

That's from the Modify link for the Administrator group, and it says ;group=1, so that's the group id for Administrator.
[/quot]

First of all i would like to say Thank you for responding so fast. ;D. When i installed the mod and it installed correctly i went to the menu bar where it says team and i ckicked on it and it prompt me to the next steps to setting up the the mod it asked me to put in the group id and i put  ]A157[ Leader then it says separate with comma then i put comma then i put the next group Global Moderator  . After that it asked me to list team leaders and separate by comma. and i did. after that  i push enter and it gave me a error and the error says " Wrong value type sent to the database. Array of integers expected. (groups)"
Title: Re: Team Page
Post by: Arantor on November 30, 2009, 09:15:54 PM
The reason you get an error is because ]A157[ is not a number. You need to find the number from the above like I explained and enter a list of those, for example 1,2,3
Title: Re: Team Page
Post by: jokesa157 on November 30, 2009, 09:45:08 PM
thanks i found the link area but how can i go back to the teampage to edit it to put the group id . every time i go to the team page it says error. do i have to go back to my webhost and go into my database to fix that?
Title: Re: Team Page
Post by: jokesa157 on November 30, 2009, 10:23:56 PM
is there any way to delete the mod and start all over. every time  i uninstall and reinstall it doesnt show the steps for adding the group id?
Title: Re: Team Page
Post by: Costa on November 30, 2009, 10:50:45 PM
try typing www.yoursite.com/index.php?action=teampage;sa=manage
Title: Re: Team Page
Post by: jokesa157 on November 30, 2009, 10:57:10 PM
ok
Title: Re: Team Page
Post by: jokesa157 on November 30, 2009, 11:10:20 PM
COSTA !!!!! ;) ;D YOU ARE AWSOME! ;D ;D ;D ;D ;D ;D It worked. you rock !!!!!
Title: Re: Team Page
Post by: Costa on November 30, 2009, 11:16:33 PM
You're welcome, enjoy the mod :)
Title: Re: Team Page
Post by: jokesa157 on November 30, 2009, 11:55:26 PM
how can i make it so it could have a drop down menu and add more buttons like team-gamers- management-webmasters
Title: Re: Team Page
Post by: Costa on December 01, 2009, 12:31:08 AM
Sorry, I don't understand your doubt/request.
Can you explain better, please?
Title: Re: Team Page
Post by: Maserati on December 01, 2009, 12:24:00 PM
Is any chance to modify this mod to support 1.1.10...
Title: Re: Team Page
Post by: DarkLite on December 01, 2009, 02:45:31 PM
What exactly are the differences between the 3.3 and the 3.3b downloads?

And could you add a feature to create a brief description per user, such as a short paragraph about the team member? Or would that not be possible?
Title: Re: Team Page
Post by: Costa on December 01, 2009, 02:50:05 PM
@Maserati
Read the last two pages of this topic.

@DarkLite
Look at the changelog.
That's not in my plans
Title: Re: Team Page
Post by: DarkLite on December 01, 2009, 02:55:08 PM
Quote from: Costa on December 01, 2009, 02:50:05 PM
@Maserati
Read the last two pages of this topic.

@DarkLite
Look at the changelog.
That's not in my plans

1. Edit: Sorry for confusion, misread the versions.

2. Hmm, ok. Thanks anyway :)
Title: Re: Team Page
Post by: Maserati on December 01, 2009, 03:11:38 PM
Soory, I just work one forum, ad want to install this mod...
Title: Re: Team Page
Post by: Arantor on December 01, 2009, 03:42:03 PM
@DarkLite: Though what you could do is have a Custom Profile Field in 2.0 that the admins (only) can edit filled in with a mini-bio that would then be visible on their profile page. Not quite the same but not a million miles away either.
Title: Re: Team Page
Post by: jokesa157 on December 01, 2009, 11:13:11 PM
costa, i was talking about the menu tad. i have been on a page where it says    home, forum, team, profile, my messages, so on and so on. and at the part where it says team and you roll over it with mouse a drop menu shows the it would say co-owner, owner, designer, and you can click it and it would take you to a different page.
Title: Re: Team Page
Post by: Costa on December 02, 2009, 12:51:49 AM
That's not possible with this mod, however it's possible doing that with custom pages, but that will be static.
Another option is you rewrite the mod, changing the action for action=coowner, action=owner, etc etc
Title: Re: Team Page
Post by: oistarbwoy on December 02, 2009, 03:28:34 PM
excuse me if this question seems stupid i often misunderstand things...

in the new 3.3b theres this option... Force each team member to be in their primary group?

i thought that it meant so they dont appear in more then one group because thats a problem i had with the older version but i still have users appear in more then one group so does it mean something else.

also i dont see any options for this full eam half team thing mentioned in the features or showing emails etc. are they not on the manage page thing am i missing them somewhere?

sorry i am easily confused.
thank you
Title: Re: Team Page
Post by: Costa on December 02, 2009, 04:24:56 PM
Hi oistarbwoy

Quote from: oistarbwoy
in the new 3.3b theres this option... Force each team member to be in their primary group?
i thought that it meant so they dont appear in more then one group because thats a problem i had with the older version but i still have users appear in more then one group so does it mean something else.
No, if you check this option your members with several membergroups will appear in all membergroups. If you uncheck, they only will show on their primary membergroup.

Quote from: oistarbwoy
also i dont see any options for this full eam half team thing mentioned in the features or showing emails etc. are they not on the manage page thing am i missing them somewhere?
For half team use the option "Groups (IDs) to sort on the bottom of page (separated by comma)", their names will be listed on the bottom(see this here (http://dream-portal.net/index.php?action=about;sa=team))
The e-mails are not in this realease(maybe on v3.4)

Farewell
Title: Re: Team Page
Post by: mira-san on December 03, 2009, 07:03:55 PM
The updated version for the French translation.
Title: Re: Team Page
Post by: Costa on December 03, 2009, 07:09:59 PM
Thank's mira-san. Updated :)
Title: Re: Team Page
Post by: ForumMustang.com on December 03, 2009, 07:37:31 PM
Thanks Mira-san and sorry Costa for being late to update the translation. :)
Title: Re: Team Page
Post by: DarkLite on December 04, 2009, 03:17:00 PM
Ok, I'm getting an error with the 3.3b on my forum:

http://forumname.com/index.php?action=teampage
8: Undefined index: team_show_badges
File: /filepath/Themes/default/TeamPage.template.php
Line: 32


Line 32:
32: <td align="center" width="30%">', ($modSettings['team_show_badges'] ? '<img src="' . $settings['images_url'] . '/' . $group['image'][1] . '" alt="" />' : ''), '</td>

I have team_show_badges disabled. I'm guessing that a fix would involve checking if the index exists, but I don't know how to do that (PHP noob!).

Any ideas?
Title: Re: Team Page
Post by: jokesa157 on December 05, 2009, 01:14:07 PM
so i love the mod but i had one ? check this link out  http://t3gaming.com/clan-manager-roster.html   Do you think you can make the team page have these features so all the members can see what games they play. check out the way i have it set up on my site http://a157team.com/forum/index.php?PHPSESSID=ku0q3ovvfkub7o3lgf2jsgqjp3&action=teampage   but i could only have one icon.
Title: Re: Team Page
Post by: ѕησω on December 06, 2009, 05:18:31 AM
@Costa

Can you offer support if i want Custom titles to be displayed like the SMF teampage/Dream-portal teampage instead of in the send user a pm, ect.
Title: Re: Team Page
Post by: Costa on December 06, 2009, 01:52:36 PM
Custom Titles are supported, see here (http://www.infodz.com.br/in4tek/index.php?action=teampage)
Title: Re: Team Page
Post by: ѕησω on December 06, 2009, 11:30:51 PM
You didn't read the whole thing. I was wanting to know if they can be next to members name instead of in that section, eg.

Member name - Custom title
Title: Re: Team Page
Post by: Costa on December 06, 2009, 11:41:42 PM
Sorry, my bad...

File Edits
TeamPage.template.php
Code (Find) Select

echo '
</td>
<td align="left" style="padding: 2em">
<div align="left" style="padding-left: 20px;">
<img src="', $member['online']['image_href'], '" alt="', $member['online']['label'], '" />&nbsp;<span class="largetext">', $member['link'], '</span><br />';

// A bit of a browser-side fix...
echo '
<div style="padding: 2px; clear: both;"><!-- // --></div>';

// Check their title. Is it there?
if (!empty($member['title']))
echo '
&bull; <strong>', $member['title'], '</strong><br />';


Code (Replace With) Select

echo '
</td>
<td align="left" style="padding: 2em">
<div align="left" style="padding-left: 20px;">
<img src="', $member['online']['image_href'], '" alt="', $member['online']['label'], '" />&nbsp;<span class="largetext">', $member['link'], '</span>';

// Check their title. Is it there?
if (!empty($member['title']))
echo '
- <strong>', $member['title'], '</strong><br />';

// A bit of a browser-side fix...
echo '
<div style="padding: 2px; clear: both;"><!-- // --></div>';

Title: Re: Team Page
Post by: imrich on December 07, 2009, 06:18:39 PM
Hi Costa,

Your Team page is working well with SMF 2 RC2, I'm updated to 3.2b now.

I have a problem, perhaps a bug, or I just have something configured wrong?

When I have the option "Force each team member to be in their primary group?" turned OFF, then the following will happen:

I have one group in the left side, it works OK!
I had two groups in the right side, two work OK also.

However when I tried to add a third group to the right side, the third group displays the name of the group properly, but then says 'no members available' when the "Force each team member to be in their primary group" is turned off.

What will cause this other group ID to show as 'no members available' when the 'Force each team member" option is off, even when some members of the group are not in other groups?

Possibly related to this, I found this in my error logs which seems to happen with every access of my team page now that I have 3.2b installed:
http://www.url.tld/forum/index.php?action=teampage2: ksort() expects parameter 1 to be array, null givenFile: /public_html/forum/Sources/TeamPage.php
Line: 218

As a separate question: how do I setup the team page to not display any members if I have the "View the memberlist and groups" permission disabled for guests? I'd like only registered members to be able to view the members of the Team page, but even with this permission turned off, guests can view the team page.

Thanks for your help!
Title: Re: Team Page
Post by: Costa on December 08, 2009, 09:47:47 AM
Hi imrich

Try check the option "Force each team member to be in their primary group", and they will appear in the other membergroups they belong

About the error, it's the first time I see that. I will check ASAP

Thank's for the feedback.
Regards, Costa
Title: Re: Team Page
Post by: DarkLite on December 08, 2009, 12:39:50 PM
Quote from: DarkLite on December 04, 2009, 03:17:00 PM
Ok, I'm getting an error with the 3.3b on my forum:

http://forumname.com/index.php?action=teampage
8: Undefined index: team_show_badges
File: /filepath/Themes/default/TeamPage.template.php
Line: 32


Line 32:
32: <td align="center" width="30%">', ($modSettings['team_show_badges'] ? '<img src="' . $settings['images_url'] . '/' . $group['image'][1] . '" alt="" />' : ''), '</td>

I have team_show_badges disabled. I'm guessing that a fix would involve checking if the index exists, but I don't know how to do that (PHP noob!).

Any ideas?

Any idea what this is?
Title: Re: Team Page
Post by: Costa on December 08, 2009, 12:47:58 PM
It's because you're not using stars or badges
Will be fixed at next version.

Thank's for the report
Title: Re: Team Page
Post by: ѕησω on December 09, 2009, 07:24:15 AM
More in-coming requests :P

Anyway to disable custom titles being shown in the groups listened at the buttom of the teampage?
Title: Re: Team Page
Post by: Costa on December 09, 2009, 09:28:17 AM
I'm not at home atm, but yes, it's possible.
When I came at home I will post the code modifications.

Regards
- Costa
Title: Re: Team Page
Post by: Costa on December 09, 2009, 08:08:25 PM
3.3b1 | 10 December2009
+ Template Updated for Curve based Themes

http://custom.simplemachines.org/mods/index.php?action=download;mod=2167;id=127093;image
http://custom.simplemachines.org/mods/index.php?action=download;mod=2167;id=127095;image
Title: Re: Team Page
Post by: Costa on December 09, 2009, 08:20:24 PM
Quote from: α¢αηѕ on December 09, 2009, 07:24:15 AM
More in-coming requests :P

Anyway to disable custom titles being shown in the groups listened at the buttom of the teampage?

TeaPage.template.php
Code (Find) Select

// Now the members.
foreach ($group['members'] as $pos => $data)
{
foreach ($data as $member)
echo '
<div style="padding-bottom: 3px;">&bull; ', $member['link'], '&nbsp;&nbsp;', (!empty($member['title']) ? '-&nbsp;&nbsp;' . $member['title'] : ''), '</div>';
}


Code (Replace With) Select

// Now the members.
foreach ($group['members'] as $pos => $data)
{
foreach ($data as $member)
echo '
<div style="padding-bottom: 3px;">&bull; ', $member['link'], '</div>';
}
Title: Re: Team Page
Post by: Costa on December 09, 2009, 08:58:00 PM
Quote from: DarkLite on December 04, 2009, 03:17:00 PM
Ok, I'm getting an error with the 3.3b on my forum:

http://forumname.com/index.php?action=teampage
8: Undefined index: team_show_badges
File: /filepath/Themes/default/TeamPage.template.php
Line: 32


Line 32:
32: <td align="center" width="30%">', ($modSettings['team_show_badges'] ? '<img src="' . $settings['images_url'] . '/' . $group['image'][1] . '" alt="" />' : ''), '</td>

I have team_show_badges disabled. I'm guessing that a fix would involve checking if the index exists, but I don't know how to do that (PHP noob!).

Any ideas?

<td align="center" width="30%">', ($modSettings['team_show_badges'] ? '<img src="' . $settings['images_url'] . '/' . $group['image'][1] . '" alt="" />' : ''), '</td>

Should be:

<td align="center" width="30%">', (!empty($modSettings['team_show_badges']) ? '<img src="' . $settings['images_url'] . '/' . $group['image'][1] . '" alt="" />' : ''), '</td>

Thank's to ccbtimewiz on this ;)
Title: Re: Team Page
Post by: ѕησω on December 09, 2009, 11:11:28 PM
Thanks Costa :)
Title: Re: Team Page
Post by: social on December 10, 2009, 07:53:21 AM
I got this error as settlement, the file .and i at the end the .zip and nothing gives the same mistake here i will leave a photo.

(http://img693.imageshack.us/img693/6144/48171592.jpg)

i like, this mod thanks
Title: Re: Team Page
Post by: varvaros on December 10, 2009, 08:37:57 AM
Hi Costa, your team page is really amazing! I just wanted to ask you if there is a way to display the text "Group moderator" next to every member that is a group moderator. We have users that are group moderators in several member groups. Thanks..

edit: I also just noticed that users that haven t specified an avatar show on the team page without avatar even though I have installed the modification "default avatar". I guess it must have something to do with how the default avatar is shown which is through a link to a picture?
Title: Re: Team Page
Post by: social on December 10, 2009, 10:11:26 AM
Quote from: social on December 10, 2009, 07:53:21 AM
I got this error as settlement, the file .and i at the end the .zip and nothing gives the same mistake here i will leave a photo.

(http://img693.imageshack.us/img693/6144/48171592.jpg)

i like, this mod thanks
Resolved what i did was that the descomprimi and reintroduced to compress with the same name and ready... Thank you...Great Mod..Thanks
Title: Re: Team Page
Post by: Costa on December 10, 2009, 04:52:40 PM
Quote from: social on December 10, 2009, 07:53:21 AM
I got this error as settlement, the file .and i at the end the .zip and nothing gives the same mistake here i will leave a photo.

My mistake, sorry. ::)

Quote from: varvaros on December 10, 2009, 08:37:57 AM
Hi Costa, your team page is really amazing! I just wanted to ask you if there is a way to display the text "Group moderator" next to every member that is a group moderator. We have users that are group moderators in several member groups. Thanks..
Never think about that, maybe in other versions :)

Quote from: varvaros on December 10, 2009, 08:37:57 AMedit: I also just noticed that users that haven t specified an avatar show on the team page without avatar even though I have installed the modification "default avatar". I guess it must have something to do with how the default avatar is shown which is through a link to a picture?
Yes
Title: Re: Team Page
Post by: varvaros on December 11, 2009, 03:00:21 PM
Quote from: Costa on December 10, 2009, 04:52:40 PM
Quote from: varvaros on December 10, 2009, 08:37:57 AM
Hi Costa, your team page is really amazing! I just wanted to ask you if there is a way to display the text "Group moderator" next to every member that is a group moderator. We have users that are group moderators in several member groups. Thanks..
Never think about that, maybe in other versions :)

Quote from: varvaros on December 10, 2009, 08:37:57 AMedit: I also just noticed that users that haven t specified an avatar show on the team page without avatar even though I have installed the modification "default avatar". I guess it must have something to do with how the default avatar is shown which is through a link to a picture?
Yes

sure, no prob. Keep up the good work!
Title: Re: Team Page
Post by: jokesa157 on December 13, 2009, 11:48:19 AM
Im tryn to add a new button to the teampage section this is my code and you can go to my site to check it out www.a157team.com/forum/

'teampage' => array(
            'title' => (!empty($txt['team']) ? $txt['team'] : 'Team'),
            'href' => $scripturl . '?action=teampage',
            'show' => true,
            'sub_buttons' => array(
                   'teampage' => array(
                      'title' => (!empty($txt['team']) ? $txt['team'] : 'Team'),
                      'href' => $scripturl . '?action=teampage;area=Team',
                      'show' => true,
                   ),
                   'MW2' => array(
                      'title' => (!empty($txt['MW2']) ? $txt['MW2'] : 'MW2'),
                      'href' => $scripturl . '?action=teampage;area=MW2',
                      'show' => true,
                   ),
            ),
         ),



i just want a new blank page and ill add html to it.
Title: Re: Team Page
Post by: Costa on December 13, 2009, 11:58:43 AM
do you create that subaction?
Title: Re: Team Page
Post by: jokesa157 on December 13, 2009, 05:35:53 PM
How do i create the sub action?
Title: Re: Team Page
Post by: Costa on December 14, 2009, 11:40:44 AM
http://www.simplemachines.org/community/index.php?topic=23864.msg948552#msg948552
Title: Re: Team Page
Post by: sattninja on December 19, 2009, 07:52:34 PM
nice mod however i have 1 problem i have it all setup and it shows all the member gropus even the cutom ones i man and the members show however i cannot get any members to show in post based groups it shows the gropus but states there are no members in any of them
Title: Re: Team Page
Post by: Arantor on December 19, 2009, 07:54:31 PM
The mod isn't designed for post based groups though it could be modified to do so relatively easily.
Title: Re: Team Page
Post by: sattninja on December 19, 2009, 07:57:50 PM
oh i see ok that is fine that is what the members page is for

thank you

it was just odd cause it shows the post count groups when i add the number but like i said it shows no members
Title: Re: Team Page
Post by: Arantor on December 19, 2009, 07:59:58 PM
Yeah, it can find the groups themselves because they're all held in a single table.

But they're not stored against the user in the same place; there are three columns that denote a user's groups - primary group (id_group), additional assigned groups (additional_groups) and post count group (id_post_group). Only the first two get checked, the idea being it's based on actual team members, which would normally be positions you assign in a group.
Title: Re: Team Page
Post by: sattninja on December 19, 2009, 08:03:40 PM
exactly

kewl i gotta go make some teams now

btw it is working on RC 2
Title: Re: Team Page
Post by: imrich on December 21, 2009, 11:02:10 AM
I'm still getting these errors:

I found this in my error logs which seems to happen with every access of my team page now that I have 3.2b installed:
http://www.url.tld/forum/index.php?action=teampage2: ksort() expects parameter 1 to be array, null givenFile: /public_html/forum/Sources/TeamPage.php
Line: 218

Any ideas on what could be causing this?
Title: Re: Team Page
Post by: imrich on January 05, 2010, 09:46:07 AM
Quote from: imrich on December 21, 2009, 11:02:10 AM
I'm still getting these errors:

I found this in my error logs which seems to happen with every access of my team page now that I have 3.2b installed:
http://www.url.tld/forum/index.php?action=teampage2: ksort() expects parameter 1 to be array, null givenFile: /public_html/forum/Sources/TeamPage.php
Line: 218

Any ideas on what could be causing this?


Any ideas on this? I don't know why these ksort errors are popping up. Even when I disable show team leaders.


// Let's make sure the member array is sorted properly, if they want us to.
if (isset($modSettings['team_showleaders']))
ksort($context['groups'][$place][$profile['id_group']]['members']);


It appears that ksort should not be executed if I disable 'show team leaders'.

Please help! Happy New Year!

Title: Re: Team Page
Post by: ~DS~ on January 05, 2010, 12:34:35 PM
The badges are not showing on my Team page. However the second picture my rank image just show fine.
Title: Re: Team Page
Post by: Costa on January 05, 2010, 03:50:44 PM
funny, the link to the badge is a 404 :P
http://thetwoworldsforum.com/Themes/default/images/Admin.png

@imrich, i'll look at that
Sorry for delay =/
Title: Re: Team Page
Post by: ~DS~ on January 05, 2010, 04:28:53 PM
Quote from: Costa on January 05, 2010, 03:50:44 PM
funny, the link to the badge is a 404 :P
http://thetwoworldsforum.com/Themes/default/images/Admin.png
Found the solution, I upload all the images there now. I am using SMF Ranks Mod which override form copying it to image folder. Hope to get it to work with SMF Ranks sometimes in the future version.
Title: Re: Team Page
Post by: imrich on January 08, 2010, 09:43:37 AM
Quote from: Costa on January 05, 2010, 03:50:44 PM

@imrich, i'll look at that
Sorry for delay =/

No problem on the delay. It's working ok except that it's filling my log with this error so I'm hoping for a fix.


Thanks!
Title: Re: Team Page
Post by: Costa on January 14, 2010, 04:02:42 PM
What you've all been waiting for-- the enhanced Team Page modification! Version 3.5!

This is a major rewrite of previous versions-- this version pretty much is what the very first version of the mod should have been.

Version 3.5 supports both the SMF 1.1 line and the SMF 2.0 line. It is compatible in both core and curve themes and variants thereof. Currently you can move groups to sides using the Move functions (arrows to the right on each group), and you can order groups in each column by using the Order row (located to the left of a group). Groups that are disabled are at the bottom of the page, which can then be placed in any position at any time.

Everyone is welcome to try it on their forums or test sites. Please report bugs, thank you!
Title: Re: Team Page
Post by: Arantor on January 14, 2010, 04:06:53 PM
Congrats :)
Title: Re: Team Page
Post by: Costa on January 14, 2010, 04:08:44 PM
If someone can update the translations or made new ones, please, be my guest :)

@Arantor
Thank's :)
Title: Re: Team Page
Post by: NoobDeveloper on January 15, 2010, 07:31:04 PM
got error on smf 2.0 rc2

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

what to do ?
Title: Re: Team Page
Post by: Arantor on January 15, 2010, 07:42:01 PM
So what file did it error on? It means that it conflicts with something else, though this mod is pretty self contained by design.
Title: Re: Team Page
Post by: imrich on January 19, 2010, 07:45:04 AM
Costa,

Thanks for this 3.5 update!

Some feedback:

1) Your readme.txt release notes last reflect 3.3b and don't include 3.5 (minor point, but FYI)
2) I see you removed the ability to sort the team page (team leaders, etc.) This also solved the ksort error. ;)

This is my bigest wish:

3) The team page is not controlled by permissions. Since I have my SMF forum set so that guests can not view the memberlist, I would like the team page to have a permission setting so as not to display the team page to those without the proper permission.

Thanks again for this team page feature, I appreciate your work.
Title: Re: Team Page
Post by: Costa on January 19, 2010, 09:24:50 AM
@imrich

1) oops :P later I correct the readme, heh
2) ;)
3) The point of a team page, for me, is showing the team of the site. For everyone. I've never seen a site 'hiding' his own team, so, i've never think on that. And I'm not thinking to be honest. So, will not be a feature in this mod.
Title: Re: Team Page
Post by: imrich on January 19, 2010, 01:55:53 PM
Quote from: Costa on January 19, 2010, 09:24:50 AM
3) The point of a team page, for me, is showing the team of the site. For everyone. I've never seen a site 'hiding' his own team, so, i've never think on that. And I'm not thinking to be honest. So, will not be a feature in this mod.

Ok thanks for your consideration.  One of my forums is for a private club site where the forum is only open to members of the private club.  Guests, bots and others that have not joined (registered) for the forum should not be allowed to see any information until they have registered.

This is similar to the SMF 2.0 permission "View the Memberlists and Groups" function which is built in and functions perfectly (except ignored by the Team Page).  By clearing this permission I keep guests from seeing members of groups. Unfortunately some of the groups are exposed by the team page functions since several groups are listed there (as team members).

It would be nice if you could use the same 'View the Memberlists and Groups' permission to control viewing of the Team Page. This would allow forums such as mine to have the Team Page function as needed. For others that prefer it to be viewable, the default value of 'View the Memberlists and Groups' will work perfectly.

Thanks again for your consideration and for your Team Page.
Title: Re: Team Page
Post by: Oscworth on January 19, 2010, 02:19:55 PM
At the moment I'm using 3.3b team page and guests aren't allowed to view our forum only registered members and the team page can't be viewed. 
Does 3.5 change this?
How do I upgrade to 3.5?

Could you enlighten me please and thanks in advance
Title: Re: Team Page
Post by: Costa on January 19, 2010, 04:55:03 PM
@imrich

Ok dude, I'll see what I can do, givme a couple days(or three, the Uni is Killing me)

@Oscworth
Yes, the v3.5 don't hide the team page, and yeah, I think you shoul upgrade.
Title: Re: Team Page
Post by: imrich on January 19, 2010, 05:01:39 PM
Costa,

Thank you! I appreciate your time and I am a very patient person. I'll check back later.

Title: Re: Team Page
Post by: Costa on January 19, 2010, 05:14:53 PM
@Imrich

TeamPage.php

Find:
function TeamPage()
{
global $context, $smcFunc;

// Load our team page template.
loadtemplate('TeamPage');

// Load the language files
if (loadlanguage('TeamPage') == false)
loadLanguage('TeamPage', 'english');

// Do it, now. :D
CreateTeamPage();
}


Replace with:
function TeamPage()
{
global $context, $smcFunc;

if ($context['user']['is_guest'])
fatal_lang_error('no_access', false);

// Load our team page template.
loadtemplate('TeamPage');

// Load the language files
if (loadlanguage('TeamPage') == false)
loadLanguage('TeamPage', 'english');

// Do it, now. :D
CreateTeamPage();
}



Subs.php

Find:
'teampage' => array(
'title' => (!empty($txt['team']) ? $txt['team'] : 'Team'),
'href' => $scripturl . '?action=teampage',
'show' => true,
'sub_buttons' => array(
),
),


Replace with:
'teampage' => array(
'title' => (!empty($txt['team']) ? $txt['team'] : 'Team'),
'href' => $scripturl . '?action=teampage',
'show' => !$user_info['is_guest'],
'sub_buttons' => array(
),
),


And be happy!
Keep Dreaming and a big thank's to ccbtimewiz for this :P
Title: Re: Team Page
Post by: Oscworth on January 19, 2010, 05:37:03 PM
Quote from: Costa on January 19, 2010, 04:55:03 PM

@Oscworth
Yes, the v3.5 don't hide the team page, and yeah, I think you shoul upgrade.


I think I will stay on 3.3b  I prefer to keep this info about who's accounts are admin private.

As for the upgrade I only asked how to do it, i.e.  just upload and it does the update or remove the old one first.

Thanks for the reply though your time is much appreciated as is this mod.
Title: Re: Team Page
Post by: Costa on January 19, 2010, 05:44:54 PM
Oscworth, in my last post I give the edits to hide team page from guests
And to upgrade, simply unnistal the v3.3b and install the v3.5
Title: Re: Team Page
Post by: Oscworth on January 19, 2010, 06:16:44 PM
Quote from: Costa on January 19, 2010, 05:44:54 PM
Oscworth, in my last post I give the edits to hide team page from guests
And to upgrade, simply unnistal the v3.3b and install the v3.5


Oh!   :-[   Please excuse me Costa  Like usual I never read it properly.
I will give it ago.

Thanks M8  8)
Title: Re: Team Page
Post by: Costa on January 21, 2010, 05:23:41 PM
Update 3.5.1:

Changelog:
- Added permission system (SMF 2.0 version)

Strings added:
$txt['permissionname_view_teampage'] = 'Access Teampage';
$txt['permissionhelp_view_teampage'] = 'Giving this permission lets the membergroup in question access the team page, which is a listing of all groups you have defined within the team page settings.';
$txt['cannot_view_teampage'] = 'Apologies, but you\'re not allowed to view the team page.';
Title: Re: Team Page
Post by: ~DS~ on January 22, 2010, 01:08:09 AM
Great update, however I have a request...would it be a good idea to add more info to each member of the Team like the one SMF Service uses?
Title: Re: Team Page
Post by: Costa on January 22, 2010, 01:17:00 AM
That's a custom built version only for SMF Services
Title: Re: Team Page
Post by: ~DS~ on January 22, 2010, 01:18:27 AM
Quote from: Costa on January 22, 2010, 01:17:00 AM
That's a custom built version only for SMF Services
I see, thanks.
Title: Re: Team Page
Post by: Cal O'Shaw on January 22, 2010, 08:11:58 PM
Any chance this MOD will get permissions added for the 1.1.x branch?  I'd like to use this for Admins, Global Moderators, and Moderators, but not for members or guests.

Cal
Title: Re: Team Page
Post by: Costa on January 26, 2010, 11:23:22 AM
@Cal
Sorry for delay. But yes, it would be possible.
Title: Re: Team Page
Post by: David Starr on January 26, 2010, 07:47:09 PM
This mod installed without any errors, but it moved everyone on my site  from "Registered Member" to the "Guest" group.
(http://i231.photobucket.com/albums/ee37/david_starr/tutorials/guest.jpg)

How do I correct this, as there is no option to manually move members in to or out of these groups?
I am running SMF 1.1.11.
Title: Re: Team Page
Post by: Costa on January 26, 2010, 08:09:44 PM
Sorry, but this mod can't do that.

-Costa
Title: Re: Team Page
Post by: David Starr on January 26, 2010, 08:31:16 PM
Quote from: Costa on January 26, 2010, 08:09:44 PM
Sorry, but this mod can't do that.

lol ummm, I'm sorry, but this is the only mod I've installed recently, and the change was there as soon as I went to the site after the installation. I agree that it shouldn't do it, but it seems that it has.
Title: Re: Team Page
Post by: Costa on January 26, 2010, 09:13:16 PM
How can a mod that don't edit anything in membergroups definitions can do this? :P
Check the install.php, and you can see that. This don't edit your membergroups table.
So it's not this mod :P Seriously, I would stay very happy in help you, but the Team Page it's not the guilty :P

And TADAAAAAAAAA in a fresh instalation, the mod works fine (http://www.in4tek.com.br/costa/smf1/index.php?topic=1.0).  :P

-Costa
Title: Re: Team Page
Post by: Costa on January 27, 2010, 06:09:57 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2167)

Update 3.5.2

Changelog:
- Added permission system (SMF 1.1 version)
Title: Re: Team Page
Post by: KensonPlays on January 27, 2010, 06:23:54 PM
Hello, tried installing, get error for admin.php file...
Title: Re: Team Page
Post by: Costa on January 27, 2010, 06:27:42 PM
Attach your admin.php to take a look or see the parser :)

-Costa
Title: Re: Team Page
Post by: TheListener on January 27, 2010, 06:28:15 PM
Quote from: Kcmartz on January 27, 2010, 06:23:54 PM
Hello, tried installing, get error for admin.php file...

What was the error?

The mod installled with no problem on my RC2 forum ( raven theme).
Title: Re: Team Page
Post by: KensonPlays on January 27, 2010, 06:30:52 PM
@Brack1:
I don't know why it didn't

@costa:
Admin.php!!!

EDIT:
added screenshot
Title: Re: Team Page
Post by: Costa on January 27, 2010, 06:44:46 PM
Try the attached file, please

-Costa
Title: Re: Team Page
Post by: KensonPlays on January 27, 2010, 06:48:42 PM
Thanks, even tho it showed as failed when tried to install it second time, it said it was successful at end of install! THANKS!
Title: Re: Team Page
Post by: Costa on January 27, 2010, 06:49:34 PM
You're welcome :)

-Costa
Title: Re: Team Page
Post by: Cal O'Shaw on January 28, 2010, 10:23:15 PM
I was wondering if by default the page is limited to Admins or visible to everyone?  It would seem to me to be better to start with it being invisible to everyone, then allowing the administrator to decide who can see it.

Grazie

Cal
Title: Re: Team Page
Post by: Costa on January 28, 2010, 10:41:09 PM
By default, only Admins can see.

-Costa
Title: Re: Team Page
Post by: Cal O'Shaw on January 29, 2010, 12:23:27 AM
Grazie...

However, found out the PM link is displayed on the page no matter if the "show PM link" is checked or not.

This is version 3.5.1 on an SMF 1.1.11 system.
Title: Re: Team Page
Post by: Cal O'Shaw on January 29, 2010, 02:13:05 AM
And if I could make a request:  The Bottom Group only shows the icon, not the name of the group.  Would you consider displaying the group names in the Bottom Group?

We are looking at using the MOD laid out as follows:

Left Group: Administrators
Right Group: Global Moderator Groups (2 groups)
Bottom Group: Moderator Group, Utility Group, Admin mailing Group, Tech Admin mailing Group

It would help to identify what the four columns of the bottom are used for (Group names)

Grazie

Cal
Title: Re: Team Page
Post by: Cal O'Shaw on January 29, 2010, 11:56:46 PM
Another problem in 3.5.2:  My members, who are not given permission to access the Team Page, see the "TEAM" tab in the menu.

I've pulled it from my site.

Cal

Edit: Had the wrong version number... sorry
Title: Re: Team Page
Post by: Cal O'Shaw on January 31, 2010, 12:15:50 AM
Sorry to be a bother... but finding these things out slowly.

The bottom group doesn't display the names of the groups listed, but shows their badges.  So, instead of having four columns of names with no explanation as to what they are, I thought to add badges to the groups, even though they are secondary groups for us.  Unfortunately, it results in a second badge appearing next to these members posts, which we don't want.

So, long story short, can you display in the Bottom Group the group name?  Just like the Left and Right groups?  Or make it an option to do so?

Grazie
Title: Re: Team Page
Post by: Costa on January 31, 2010, 12:12:50 PM
Ok Cal O'Shaw, I'll look into as soon I can.
Thank's for bug/request hunting :)

-Costa
Title: Re: Team Page
Post by: imrich on February 01, 2010, 02:43:40 PM
Costa,

Thanks so much for the permissions in team page 3.5.2

(Note the version in 3.5.2 still displays as 3.5.1 ;) )

As someone else noted, if a person does not have the permission to use the team page, the team page button still shows on the menu, but this is not a big issue for me.

Title: Re: Team Page
Post by: robbie93 on February 01, 2010, 04:41:22 PM
Loving your work Costa  ;D is there any way to make a lower block for tiny portal that shows all of the team like on the team page,  like for example what you have going on at dream portal at the bottom of the page?  do you have any code for this? thanks for a great mod it looks beautiful on the site :D
Title: Re: Team Page
Post by: DarkLite on February 01, 2010, 04:47:18 PM
Loving the 3.5 update here Costa :D

Any chance we could get the ability to order the members somehow?
Title: Re: Team Page
Post by: Costa on February 01, 2010, 06:51:41 PM
@imrich
Thanks

@robbie93
When DP became public you can use them  O:)

@DarkLite
It's on to-do-list

-Costa
Title: Re: Team Page
Post by: bobster on February 04, 2010, 06:55:05 PM
Nice Mod and a great idea, reading all of the posts here has taken me an age, so I imagine it has taken a lot longer for you to work it all out! Much appreciated!
I have one small question as I have installed the mod and it works fine in the default theme (using 1.1.11) but doesn't appear in the back-n-black theme.
I imagine that I have to manually alter the settings as per the parse?

I'm new to this, it will be the first time that I have altered any settings and I want to make sure that I do it right!!
In the parse do I have to alter ALL of the sections in there or can I get away with just doing the following:
./index.php
./Sources/Subs.php
./Sources/ManagePermissions.php
./Themes/default/index.template.php

or do I only need to alter the ./Themes/backnblack/index.template.php one?

Any pointers in the right direction would be greatly appreciated!

Thanks.
Title: Re: Team Page
Post by: Costa on February 04, 2010, 07:30:24 PM
You only need to edit the index.template.php file from your custom theme.
If you feel any trouble, fell free to link to that theme and someone -- or myself -- give you the right direction.

-Costa
Title: Re: Team Page
Post by: bobster on February 04, 2010, 07:32:56 PM
Excellent, I think the less I have to do with fiddling with the codes the better!
I'll give this a go tomorrow when I'm in front of a machine with my ftp client on.
I'll let you know either way.
Thanks for the quick response!
Title: Re: Team Page
Post by: Costa on February 04, 2010, 07:37:30 PM
You're welcome bobster. Glad you like the mod.

-Costa
Title: Re: Team Page
Post by: bobster on February 05, 2010, 04:25:49 AM
in the parse it says that I have to look for this:

// the [member] list button   if ($context['allow_memberlist'])      echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '            <td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">               <a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>            </td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



in my version of Backnblack (1.1.11) it looks like this:

// the [member] list button
   if ($context['allow_memberlist'])
      echo '<li><a href="', $scripturl, '?action=mlist"><span>' , $txt[331] , '</span></a></li>';
   

I put the following in place (even though it doesn't look the same) and nothing has happened

   // The [team] button!      echo ($current_action == 'teampage' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '            <td valign="top" class="maintab_' , $current_action == 'teampage' ? 'active_back' : 'back' , '">               <a href="', $scripturl, '?action=teampage">' . (!empty($txt['team']) ? $txt['team'] : 'Team') . '</a>            </td>' , $current_action == 'teampage' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';      
Title: Re: Team Page
Post by: Costa on February 05, 2010, 02:13:46 PM
attach your index.template.php file from your custom theme and link me to that theme.

-Costa
Title: Re: Team Page
Post by: bobster on February 06, 2010, 05:02:43 AM
This is the index.template page.

As you can see the changes I did are still in there, but they're obviously wrong as they haven't altered the theme at all!
Thanks for taking the time.

Here's a link to the parse for 1.1.11
http://custom.simplemachines.org/mods/index.php?action=parse (http://custom.simplemachines.org/mods/index.php?action=parse)
Title: Re: Team Page
Post by: Costa on February 06, 2010, 11:33:55 AM
Try the following one.

-Costa
Title: Re: Team Page
Post by: bobster on February 06, 2010, 12:33:44 PM
OK, thanks I've uploaded that onto the server and nothing has happened at all.
There's no sign of the Team Page tab even though I can see it in the php file as follows:

// The [team] button!
   if ($context['allow_teampage'])
      echo '<li><a href="', $scripturl, '?action=teampage"><span>' . (!empty($txt['team']) ? $txt['team'] : 'Team') . '</span></a></li>';   


The permissions are all selected, but there's nothing for anybody to click on!
Sorry for the hassle, but it's puzzling me.
Have there been any problems with other themes, or should this work?
Title: Re: Team Page
Post by: Costa on February 06, 2010, 01:22:53 PM
I think your theme is back-n-black, so there's no problem to setup a button to team page.
As you can see:
(http://img44.imageshack.us/img44/3996/92141575.th.jpg) (http://img44.imageshack.us/img44/3996/92141575.jpg)

Find
// The [team] button!
   if ($context['allow_teampage'])
      echo '<li><a href="', $scripturl, '?action=teampage"><span>' . (!empty($txt['team']) ? $txt['team'] : 'Team') . '</span></a></li>';   


And Replace with:
// Show the [team] button.
echo '<li><a href="', $scripturl, '?action=teampage"><span>' , $txt['team'] , '</span></a></li>';


This should work

-Costa
Title: Re: Team Page
Post by: bobster on February 06, 2010, 03:26:20 PM
Sorry, that still doesn't work.
Title: Re: Team Page
Post by: Costa on February 06, 2010, 03:31:28 PM
Sorry you, but this works heh
As you can see in the screenshot.
Check if the 2nd line of the code is on the coments line, because that was the problem in your previous index.template.

-Costa
Title: Re: Team Page
Post by: bobster on February 06, 2010, 03:44:40 PM
Blimey, that was long winded!
I'm sorry to have been a pain.

It works!
Hooray.

I really appreciate your patience and help.
;D
Title: Re: Team Page
Post by: Costa on February 06, 2010, 04:15:38 PM
You're welcome. Glad you like it :)

-Costa
Title: Re: Team Page
Post by: bobster on February 07, 2010, 10:32:41 AM
I'm also grateful for the pointers as it has enables me to put the Rules Mod on as well with a bit of tinkering.
So thanks.
Title: Re: Team Page
Post by: Costa on February 07, 2010, 11:25:19 AM
heh, It happens xD
You're welcome mate.

-Costa
Title: Re: Team Page
Post by: Maserati on February 12, 2010, 07:07:02 AM
How to add more detail on team page, like email, phone number, moderatgor area, age, location and others...
Title: Re: Team Page
Post by: Arantor on February 12, 2010, 06:03:02 PM
Where is that information being entered, Maserati?
Title: Re: Team Page
Post by: Dream Portal Team on February 16, 2010, 05:56:10 PM
Right now the team page doesn't really show much information besides what was input into the query.

We plan on adding more content to it, which includes custom profile field integration in SMF 2.0. The query is going to be rewritten so it will be easier to fetch the member's specific content without needing to do a mass of edits.

In addition, the new version will have the feature to place specific members on top or on bottom of the group display, as well as order the members in a group by ID, username, email, etc. This will make it easier to customize.
Title: Re: Team Page
Post by: Kill Em All on February 18, 2010, 11:11:13 PM
Is there anyway to make it similar to the Dream Portal and SMF team page where one group can go across the page? If you know what I mean?

Thanks :)
Title: Re: Team Page
Post by: ~DS~ on February 18, 2010, 11:13:51 PM
Quote from: Kill Em All on February 18, 2010, 11:11:13 PM
Is there anyway to make it similar to the Dream Portal and SMF team page where one group can go across the page? If you know what I mean?

Thanks :)
It's exclusive to them only so I was told.
Title: Re: Team Page
Post by: Dream Portal Team on February 19, 2010, 01:10:06 AM
The markup for that page was created specifically for DP.net.

However we will be releasing a "style" so you can use it on the team page modification. :)
Title: Re: Team Page
Post by: Kill Em All on February 19, 2010, 05:12:25 PM
Thanks, I was playing with the code but just could not get it to stretch across. :(

Look forward to the style, will the style be announced in this topic?
Title: Re: Team Page
Post by: Costa on February 20, 2010, 07:39:28 AM
Quote from: Kill Em All on February 19, 2010, 05:12:25 PM
Look forward to the style, will the style be announced in this topic?
Yes :)

-Costa
Title: Re: Team Page
Post by: Costa on February 27, 2010, 06:49:03 AM
Update 3.5.3

Changelog:
- Fixed multiple moderators issue. (SMF 1.1 and SMF 2.0)
- Fixed issues with the package-info.xml requiring files on uninstallation instead of removing them

-Costa
Title: Re: Team Page
Post by: Cal O'Shaw on February 27, 2010, 03:50:58 PM
Hi,

Did you fix where members who were not given permission to view the Team Page do not see the [TEAM] button?  We ran into this problem under SMF 1.1.11.

Grazie,

Cal
Title: Re: Team Page
Post by: Robi052 on February 27, 2010, 05:14:51 PM
I add my test account Global Moderator status, but that account cannot see in Team Page
Title: Re: Team Page
Post by: ~DS~ on February 27, 2010, 05:19:05 PM
Quote from: Costa on February 27, 2010, 06:49:03 AM
Update 3.5.3

Changelog:
- Fixed multiple moderators issue. (SMF 1.1 and SMF 2.0)
- Fixed issues with the package-info.xml requiring files on uninstallation instead of removing them

-Costa
Thank you, that finally fixed it. I thought that bug was normal. lol
Title: Re: Team Page
Post by: Joker™ on February 28, 2010, 02:32:25 AM
yup the members promoted to team ranks in my forum after installation of this mod are not been show in the team page :o
Title: Re: Team Page
Post by: Dream Portal Team on February 28, 2010, 03:09:32 PM
Quote from: Cal O'Shaw on February 27, 2010, 03:50:58 PM
Hi,

Did you fix where members who were not given permission to view the Team Page do not see the [TEAM] button?  We ran into this problem under SMF 1.1.11.

Grazie,

Cal

We're aware of this and a fix will be developed for 3.5.4 for both SMF versions.

Quote from: MojPortal on February 27, 2010, 05:14:51 PM
I add my test account Global Moderator status, but that account cannot see in Team Page

Are those global moderators in the global moderator group, or under a different primary group? If so, enable the "ignore primary groups" option.

Quote from: sid2varun on February 28, 2010, 02:32:25 AM
yup the members promoted to team ranks in my forum after installation of this mod are not been show in the team page :o

What version of SMF are you running? Are you sure to made the groups show in the admin cp? Perhaps clear the forum cache (if its SMF 2.0)?
Title: Re: Team Page
Post by: Joker™ on February 28, 2010, 10:32:17 PM
im using RC2 ... n have cleared cache alot of times but its still same.... also as i told members promoted to the staff group (after installation of mod) n not appearing ..... members already in group r there in the staff page
Title: Re: Team Page
Post by: Horseman on March 01, 2010, 01:39:17 AM
Error in V3.5.3 SMF V2.0RC2
In every group only one member is indicated.
Group Administrator have 1 Member i see in the Team List 1 Member, OK
Group Global Moderator have 5 Members i see in the Team List 1 Member, error
Group Fan have 2 Members, i see in the Team List 1 Member, error

and i see not the secundary member group's!

Attachet a German utf-8 Translation
Title: Re: Team Page
Post by: clumzyfly on March 01, 2010, 12:57:03 PM
Mine is doing this too.
SMF 1.1.11
Title: Re: Team Page
Post by: Cal O'Shaw on March 02, 2010, 10:40:25 PM
Okay, I'll wait until 3.5.4 is released.
Title: Re: Team Page
Post by: Robi052 on March 06, 2010, 07:02:31 AM
2 global moderators, in team page only 1 ... smf 2.0RC2, 3.5.3 team page mod
Title: Re: Team Page
Post by: oOo--STAR--oOo on March 07, 2010, 02:30:31 AM
Yeah I have the same problem.. Its only showing 1 member for each group.

Hope to see a fix soon

Thanks
Title: Re: Team Page
Post by: macmicool on March 08, 2010, 05:27:02 AM
I have a strange issue, I have about 20 member groups and multiple members in most groups, the issue is that only one member only will ever show in each group. I see others have the same issue. :( :o :'( How can I fix this??

Note: using smf 2.0
Title: Re: Team Page
Post by: ~DS~ on March 08, 2010, 05:28:48 AM
Well aren't we all have simliar issue as well...?
Yes I am one of them. :P
Title: Re: Team Page
Post by: MordyT on March 08, 2010, 09:09:18 PM
hmm.. SMF RC3 Support?
Title: Re: Team Page
Post by: Dream Portal Team on March 08, 2010, 09:17:35 PM
Seems like a nasty bug found itself in after my double moderator fix.

I'll be sure to submit a new revision, along with RC3 support. :)
Title: Re: Team Page
Post by: MarcusJ on March 09, 2010, 01:07:53 AM
Quote from: Dream Portal Team on March 08, 2010, 09:17:35 PM
Seems like a nasty bug found itself in after my double moderator fix.

I'll be sure to submit a new revision, along with RC3 support. :)

Thank you. :)
Title: Re: Team Page
Post by: Maserati on March 09, 2010, 06:23:13 AM
Can some one write prrty urls for this team page?
Title: Re: Team Page
Post by: TheListener on March 12, 2010, 06:46:02 PM
Quote from: smp420 on March 09, 2010, 05:33:14 PM
Trying to install in RC3 no errors on install except this

Table 'dukehost_1.smf_team' doesn't exist
File: /home/dukehost/public_html/smfsupport/Packages/temp/smf2/install.php
Line: 70

I had this on my latest forum.
Title: Re: Team Page
Post by: Kill Em All on March 12, 2010, 07:47:37 PM
Quote from: smp420 on March 09, 2010, 05:33:14 PM
Trying to install in RC3 no errors on install except this

Table 'dukehost_1.smf_team' doesn't exist
File: /home/dukehost/public_html/smfsupport/Packages/temp/smf2/install.php
Line: 70
Yep, I get that to.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on March 12, 2010, 09:09:02 PM
The package has been updated to fix all these issues.

The next version should be a pretty major rewrite in places to allow custom templates and pinning members to the top or bottom of groups.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on March 12, 2010, 09:10:01 PM
Quote from: Maserati on March 09, 2010, 06:23:13 AM
Can some one write prrty urls for this team page?

You can make an access URL through .htaccess or similar.

Like

Redirect /index.php?action=teampage /team
Title: Re: Team Page
Post by: ~DS~ on March 12, 2010, 09:59:26 PM
Quote from: Costa on February 27, 2010, 06:49:03 AM
Update 3.5.3

Changelog:
- Fixed multiple moderators issue. (SMF 1.1 and SMF 2.0)
- Fixed issues with the package-info.xml requiring files on uninstallation instead of removing them

-Costa

- Fixed multiple moderators issue. (SMF 1.1 and SMF 2.0)

Ugh...it's back in 3.5.4
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on March 12, 2010, 10:07:20 PM
It's because of how is it currently set up. Simple changes won't prevent them from showing or loading. There are a lot of things I could do that will temporarily prevent the same person from showing (like perhaps adding a field to the loop inside of the template, and then checking that temporary space to see if it already existed.

I'm going to try and make a hotfix for it on 3.5.5, and if not, this will certainly be fixed in 3.6.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ~DS~ on March 12, 2010, 10:15:19 PM
Great, it also show big font even since. The font is too big.

(http://i40.tinypic.com/14aejx5.png)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on March 12, 2010, 11:00:44 PM
The font uses the largetext class of your theme.

You can either change this class, or reassign it in TeamPage.template.php

Find:
<span class="largetext">', $group['name'], '</span>

Replace:
<span class="yourowncustomclass">', $group['name'], '</span>
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ~DS~ on March 12, 2010, 11:12:03 PM
Ahh better, this font should be default IMO.
Thanks again.

I want to let you guys know I have a moderator that express her thought on this.
QuoteAre you saying this is useless?

QuoteNot useless really, but I think it says who the team is in another place. I just think it is repetitious, but there will probably be some members who need that much direction.  I was just surprised at what it was when I clicked on it.

Well the moderator's right. It isn't much of a use unless it's more customize, like SMF here as well as SMFServices, SimpleDesk and not the least yours DreamPortal. All this mod does is see who's on the team and PM.


Just throwing some feedback here.  ;)

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on March 12, 2010, 11:17:59 PM
A customizable team page is what this mod does. The intent of the modification from the start was to provide a quick on-the-fly team page that could be customized in a few minutes. The information displayed could be expanded yes, and this is the intent of the next release which allows more information to be displayed, as well as control where members show up (pins).

Showing mods and the pm system is one important feature that is missing from Simple Machines Forum in general-- there isn't any clear distinction between the staff and members except groups themselves, and it can be tedious to navigate through individual group listings. This is why we've made a page that shows all groups of your staff.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Cal O'Shaw on March 12, 2010, 11:48:42 PM
Did you address allowing only those membergroups that have the permission enabled to see the [TEAM] button?

Just want to be sure before installing it.

Grazie,

Cal
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: xmathewx75 on March 16, 2010, 02:37:49 PM
Hello,

i have entered this Team Mod (http://custom.simplemachines.org/mods/index.php?mod=2167) and im running version 1.1.11 and when i install this mod it works fine but, when i go to Team Page On My Site (http://wbsowns.10001mb.com/index.php?action=teampage) its dont look right im mean i rename adminstor to *[WBS]* Founder and it say "No Members Available..." and defender is founder and im am founder so two founders and only defender is showing and im not why? is this a eorror?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: xmathewx75 on March 16, 2010, 08:28:06 PM
so????
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Arantor on March 16, 2010, 08:31:02 PM
It's been 6 hours since posting. Please be patient, I'm sure the DP team will investigate your issue ASAP.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Cal O'Shaw on March 16, 2010, 08:33:22 PM
Uh, please keep in mind that MODs are written by people VOLUNTEERING their time and knowledge.  They have lives outside of SMF.  So chill.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: xmathewx75 on March 17, 2010, 08:45:45 AM
i didnt no i have to wait 24 hours
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on March 17, 2010, 12:33:54 PM
It's just generally polite to wait.

At any rate, I'll have a look-see at my local SMF 1.1 installation to see if I can replicate the issue. If I can I'll patch it for next version.

Quote from: Cal O'Shaw on March 12, 2010, 11:48:42 PM
Did you address allowing only those membergroups that have the permission enabled to see the [TEAM] button?

Just want to be sure before installing it.

Grazie,

Cal

Completely forgot about that. Apologies. I'll add it in for the next version.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Cal O'Shaw on March 17, 2010, 03:08:55 PM
No worries.  Appreciate it.  Grazie
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: TurtleKicker on March 17, 2010, 03:35:10 PM
So there's this mod and the "Staff Page" mod:

http://custom.simplemachines.org/mods/index.php?mod=348

Aren't they basically the same thing? Are there clear benefits/features in this one that Staff Page doesn't have?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Arantor on March 17, 2010, 03:39:39 PM
They look different, this one looks better.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: xmathewx75 on March 17, 2010, 03:41:39 PM
is that for me?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: TurtleKicker on March 17, 2010, 03:44:18 PM
Quote from: Arantor on March 17, 2010, 03:39:39 PM
They look different, this one looks better.
I would have to agree. :) Just wasn't sure if I was missing anything else.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on March 17, 2010, 07:21:20 PM
Yeah I personally prefer the interface I made (both the adminset and the actual teampage itself). :)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Kill Em All on March 17, 2010, 08:54:48 PM
Quote from: Dream Portal Team on March 17, 2010, 07:21:20 PM
Yeah I personally prefer the interface I made (both the adminset and the actual teampage itself). :)
Do ya? :p

Can't wait for that new template to come out to.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: xmathewx75 on March 18, 2010, 08:18:46 AM
i tested staff page but no good i would like team page when you see the propblem
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: TurtleKicker on March 18, 2010, 09:50:18 AM
Replaced Staff Page with this mod and am definitely liking the look better. Thanks for making this. (http://i867.photobucket.com/albums/ab236/Adison4eva/Animated%20smiley%2000/th_smiley_two_thumbs_up.gif)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Wiejeben on March 18, 2010, 11:49:09 AM
http://www.infodz.com.br/in4tek/index.php?action=teampage
This website has been moved... It has been changed to http://www.in4tek.com.br/forum/?action=teampage
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: xmathewx75 on March 18, 2010, 05:13:42 PM
so i download team page again? and install it?  :o
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: rlh2006 on March 19, 2010, 09:52:22 AM
I have a couple of questions?

I want to use the Team Page to put together my gaming clan roster on a nice page. The types of clan members we have are: Founder, Full Member, Trial Member, and Inactive Member.
It you want to see what I am already working with, then go here: 1upclan.info/forum/index.php?topic=283.0

Questions
1) Does the mod allow the installer to change the link button text to "Roster"?
2) Does the mod allow the installer to customize the titles of the member groups?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MarcusJ on March 19, 2010, 11:46:15 AM
1.  No. You'll have to edit that yourself once the mod is installed.  Make sure to backup your files.  Once you manually edit the menu you won't be able to use the package manager to uninstall it unless you manually change it back to the original text, or replace the edits with a backup.

2.  The mod uses the names of the member groups you have assigned in your forum.  So if the groups are called "Founder, Full Member, Trial Member, and Inactive Member" that is what they will be called on the team page.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: samurai-lupin on March 21, 2010, 03:22:37 PM
Hello, can you please let me know what code I would need to add so it will display the following on the team page:

- Name of boards a person moderates
- Content of field xxx when using the additional profile fields mod

Thanks!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: rahlzel on March 21, 2010, 09:36:49 PM
So... I've installed it, and I can see the "Manage Team Page" admin section.

Where is it on my forum?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hadesflames on March 23, 2010, 11:40:40 PM
You guys will get faster, dedicated support over at http://dream-portal.net/index.php/topic,891.0.html
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: rlh2006 on March 25, 2010, 10:48:08 AM
Hi. This is RonaldLee at 1up Clan. I have the mod installed and I am having some spacing issues, and I also was wondering how I can display the members like two on a line. Please take a look at my team page which is being used as a clan roster: http://www.1upclan.info/forum/index.php?action=teampage (http://www.1upclan.info/forum/index.php?action=teampage).

Reference to my previous post about how I would use the mod: http://www.simplemachines.org/community/index.php?topic=339954.msg2545952#msg2545952 (http://www.simplemachines.org/community/index.php?topic=339954.msg2545952#msg2545952)

_____________
EDIT: I am using two-column layout now and the placement of the text depends upon the size of the avatar in the first row of any field.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: TheListener on March 28, 2010, 06:38:57 PM
As the membergroups ie admin, moderator etc all have badges with the group name on is there a way of getting rid of the wording on the bars?

Also the membergroup names are only half visible despite my having the latest version of the mod.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: venex on March 31, 2010, 04:21:10 AM
The spanish translation that the MOD had was incomplete... I made another...

Quote
<?php
// Txt strings for the team page.
// Important! Before editing these language files please read the text at the top of index.english.php.

global $scripturl, $settings;

/* Basic strings */

// Outside strings
$txt['team'] = 'Equipo';
$txt['team_config'] = 'Configuración';
$txt['team_title'] = 'Nuestro Equipo';
$txt['team_manage'] = 'Configurar p&aacute;gina de equipo';
$txt['team_last_login'] = 'ultima vez activo';
$txt['team_no_members'] = 'ning&uacute;n miembro disponible...';
$txt['team_send_message'] = 'Enviar a %1 un mensaje personal';

// Inside title/confirm strings.
$txt['leadership_inc'] = 'Incluir Lideres';
$txt['list_all_groups'] = 'Lista de grupos por ID ';
$txt['settings_saved'] = 'Tu configuraci&oacute;n a sido guardada. <a href="' . $scripturl . '?action=teampage" target="_self">Click aqu&iacute; para ver la p&aacute;gina.</a>.';

// Inside column/table strings for group inclusion
$txt['groups_left'] = 'Grupos de la Izquierda';
$txt['groups_right'] = 'Grupos de la Derecha';
$txt['groups_bottom'] = 'Grupos de la parte inferior';
$txt['groups_id'] = 'ID del Grupo';
$txt['groups_name'] = 'Nombre del Grupo';
$txt['groups_move'] = 'Mover';
$txt['groups_action'] = 'Acción';
$txt['groups_order'] = 'Orden';
$txt['groups_place'] = 'Poner';
$txt['groups_stars'] = 'Estrellas';

// Tooltips.
$txt['groups_move_left'] = 'Mover el grupo al lado izquierdo';
$txt['groups_move_right'] = 'Mover el grupo al lado derecho';
$txt['groups_move_bottom'] = 'Mover el grupo a la parte inferior';
$txt['groups_remove'] = 'Remover el grupo de la página del equipo';

// Push groups by step (ordering...)
$txt['groups_push_up'] = 'Mover el grupo un espacio para arriba.';
$txt['groups_push_down'] = 'Mover el grupo un espacio para abajo';

// Inside explaination/option strings.
$txt['team_showleaders'] = '¿Habilitar el sistema de liderazgo?';
$txt['team_leaders'] = 'Los lideres del grupo (IDs de usuarios) para ser listados antes que los demás en el grupo (separar por comas)';
$txt['team_show_badges'] = '¿Mostrar las placas del grupo en la página?';
$txt['team_show_avatars'] = '¿Mostrar los avatares en la página?';
$txt['team_show_lastlogin'] = '¿Mostrar el último acceso del usuario del grupo?';
$txt['team_show_pmlink'] = '¿Mostrar el link al MP para los miembros del equipo?';
$txt['team_additional_groups'] = '¿Mostrar usuarios en los grupos segundarios?';

// Error strings.
$txt['no_more_groups'] = 'No hay ningún grupo inactivo...';
$txt['no_groups_defined'] = '¡No hay grupos para ser mostrados en la página del equipo! Por favor agrega algunos grupos. Los usuarios están siendo redireccionados a la página principal cuando accesan a ésta página hasta que usted resuelva esto.';

?>
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: rngrdanny22 on April 01, 2010, 09:30:17 AM
Quote from: xmathewx75 on March 16, 2010, 02:37:49 PM
Hello,

i have entered this Team Mod (http://custom.simplemachines.org/mods/index.php?mod=2167) and im running version 1.1.11 and when i install this mod it works fine but, when i go to Team Page On My Site (http://wbsowns.10001mb.com/index.php?action=teampage) its dont look right im mean i rename adminstor to *[WBS]* Founder and it say "No Members Available..." and defender is founder and im am founder so two founders and only defender is showing and im not why? is this a eorror?

I'm receiving the same issue when I installed last night on 1.1.11.

Once I go to the team page, it shows the "No member's available" text just above the pictures. I installed this on my other forum that is running 2.0RC3 and it works flawlessly.

I will just wait for the fix to elevate before installing it again on 1.1.11.


Thank you! Great mod BTW!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on April 01, 2010, 11:27:22 PM
Been away for a while, am going to get working on pushing an update soon for this mod. Sorry for the wait. :)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Cal O'Shaw on April 02, 2010, 12:05:16 AM
No worries.  That you have volunteered your time and effort to write and maintain this (and other) MODs is greatly appreciated.

Cal
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: rngrdanny22 on April 02, 2010, 07:14:09 PM
Quote from: Dream Portal Team on April 01, 2010, 11:27:22 PM
Been away for a while, am going to get working on pushing an update soon for this mod. Sorry for the wait. :)

Yeah man, I'm in no hurry!

Thanks for all that you do!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hcfwesker on April 12, 2010, 08:24:38 PM
How do you get members in their actual member group boxes.

http://www.brawldomain.com/index.php?action=teampage

Where is says at the top box Administrator, No Member's Available ...   

How do I place members in these boxes, and re order them?

I'm in the admin staff team page, but the options to do this are very limited.

I see no option to place them in the designated member group boxes.  there's on 3 boxes on here that I can place them in, and it just groups them on top of one another..

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: z_dane on April 16, 2010, 09:51:34 AM
Can any tell me how to add the code to display personal text inside team page site?
We put their position in organization in personal text.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on April 18, 2010, 07:15:44 PM
Updated version.. this is mainly bugfixes and one new option that was requested (enable/disable teampage).

Some performance tweaks as well. I'm going to be pushing out a new version sooner than later which will include customizable templating and member specific placement inside groups.

Quote from: hcfwesker on April 12, 2010, 08:24:38 PM
How do you get members in their actual member group boxes.

http://www.brawldomain.com/index.php?action=teampage

Where is says at the top box Administrator, No Member's Available ...   

How do I place members in these boxes, and re order them?

I'm in the admin staff team page, but the options to do this are very limited.

I see no option to place them in the designated member group boxes.  there's on 3 boxes on here that I can place them in, and it just groups them on top of one another..



I honestly am not seeing your issue. Did you modify the page and remove the outlines, because it appears you did on that. Either that or you have no badges or text for your group names.

Quote from: rngrdanny22 on April 01, 2010, 09:30:17 AM
Quote from: xmathewx75 on March 16, 2010, 02:37:49 PM
Hello,

i have entered this Team Mod (http://custom.simplemachines.org/mods/index.php?mod=2167) and im running version 1.1.11 and when i install this mod it works fine but, when i go to Team Page On My Site (http://wbsowns.10001mb.com/index.php?action=teampage) its dont look right im mean i rename adminstor to *[WBS]* Founder and it say "No Members Available..." and defender is founder and im am founder so two founders and only defender is showing and im not why? is this a eorror?

I'm receiving the same issue when I installed last night on 1.1.11.

Once I go to the team page, it shows the "No member's available" text just above the pictures. I installed this on my other forum that is running 2.0RC3 and it works flawlessly.

I will just wait for the fix to elevate before installing it again on 1.1.11.


Thank you! Great mod BTW!

I do believe I have fixed this issue with this update. If not I will need to reinstall my 1.1 test site and redo some parts. I rewrote some of the query and removed some of the checks. Make sure to delete the team table inside your database before installing this new copy.

Quote from: rlh2006 on March 25, 2010, 10:48:08 AM
Hi. This is RonaldLee at 1up Clan. I have the mod installed and I am having some spacing issues, and I also was wondering how I can display the members like two on a line. Please take a look at my team page which is being used as a clan roster: http://www.1upclan.info/forum/index.php?action=teampage (http://www.1upclan.info/forum/index.php?action=teampage).

Reference to my previous post about how I would use the mod: http://www.simplemachines.org/community/index.php?topic=339954.msg2545952#msg2545952 (http://www.simplemachines.org/community/index.php?topic=339954.msg2545952#msg2545952)

_____________
EDIT: I am using two-column layout now and the placement of the text depends upon the size of the avatar in the first row of any field.

Is this still a problem? If it is, could you illustrate what you want?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on April 18, 2010, 07:16:14 PM
Quote from: z_dane on April 16, 2010, 09:51:34 AM
Can any tell me how to add the code to display personal text inside team page site?
We put their position in organization in personal text.

Yes. What version of SMF are you using?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hcfwesker on April 19, 2010, 02:35:26 AM
Quote from: Dream Portal Team on April 18, 2010, 07:15:44 PM
Quote from: hcfwesker on April 12, 2010, 08:24:38 PM
How do you get members in their actual member group boxes.

http://www.brawldomain.com/index.php?action=teampage

Where is says at the top box Administrator, No Member's Available ...   

How do I place members in these boxes, and re order them?

I'm in the admin staff team page, but the options to do this are very limited.

I see no option to place them in the designated member group boxes.  there's on 3 boxes on here that I can place them in, and it just groups them on top of one another..



I honestly am not seeing your issue. Did you modify the page and remove the outlines, because it appears you did on that. Either that or you have no badges or text for your group names.

Yes, I did modify it, because it did look very tacky with all the member group name bars, just sitting at the bottom of the page.  And I tried everything to put each name under their assigned member group table, but it never seemed to work.

I use all custom groups.  Noone is in the moderator or global moderator group.  The only default group I use is administrator.

Do you have any suggestions for getting the correct memebr under their correct member group table?  I can easily add those tables back, but edited them out the best I could, and just ordered my staff the best I could in the left and right tables.

Edit:  I added the tables back at the bottom. 

Example ... Spirit, should be inside the "Tournament Manager" Box.  And Kagato should be inside "The Final Boss" box.


Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Cal O'Shaw on April 19, 2010, 03:28:48 AM
Just had to uninstall this MOD after it quickly dumped 220 errors into my error log. 

Most of them were on 'action=teampage;sa=manage;save':

8: Undefined index: id_group
File: /home/ZZZ/public_html/forum/Sources/TeamPage.php
Line: 131

But there were also 3 errors on 'action=teampage':

8: Undefined index: id_group
File: /home/ZZZ/public_html/forum/Sources/TeamPage.php
Line: 131

And quite a few of:

8: Undefined index: name
File: /home/mcgarden/public_html/forum/Themes/default/TeamPage.template.php
Line: 33



When I uninstalled the MOD, I got these errors:

2: unlink(languages/TeamPage.english.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
File: /home/ZZZ/public_html/forum/Sources/Subs-Package.php
Line: 1054

2: unlink(smf1/TeamPage.template.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
File: /home/ZZZ/public_html/forum/Sources/Subs-Package.php
Line: 1054

2: unlink(smf1/TeamPage.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
File: /home/ZZZ/public_html/forum/Sources/Subs-Package.php
Line: 1054



I did try an earlier version of this MOD, as noted in this topic.  It looks as if the last version left behind settings when it was uninstalled.

Using SMF 1.1.11, default theme.

Hope this info helps...

Cal
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on April 19, 2010, 01:14:15 PM
Apparently there is some issue with the 1.1 version of the mod... however those unlink() issues are not from the mod.

I'll take a look at my local copy of SMF 1.1 and see if I can find out what is wrong.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Cal O'Shaw on April 19, 2010, 01:34:43 PM
Grazie.

The Team page was doing strange things.  For example, the Admin group was a column of:
Administrators
-----
No members (don't remember exact text)
-----
Name of 1st Administrator
Name of 2nd Administrator


Also, the checkboxes for showing PM link and last login were ignored.  Both were shown no matter what I did.

I appreciate you looking into this.

Cal
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 19, 2010, 03:03:22 PM
I've installed this mod, but I can't see it anywhere. I expected a tab to appear across the top of my Forum, but nothing happened. Suggestions?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ~DS~ on April 19, 2010, 03:07:42 PM
admn> manage Team Page> Enable the team page?> checked
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 19, 2010, 03:29:01 PM
Quote from: Dismal Shadow on April 19, 2010, 03:07:42 PM
admn> manage Team Page> Enable the team page?> checked

Yup. Still, nothing. It's checked by default btw.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on April 19, 2010, 03:52:06 PM
Quote from: MATTEK on April 19, 2010, 03:03:22 PM
I've installed this mod, but I can't see it anywhere. I expected a tab to appear across the top of my Forum, but nothing happened. Suggestions?

What version of SMF...
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 19, 2010, 03:54:32 PM
Quote from: Dream Portal Team on April 19, 2010, 03:52:06 PM
Quote from: MATTEK on April 19, 2010, 03:03:22 PM
I've installed this mod, but I can't see it anywhere. I expected a tab to appear across the top of my Forum, but nothing happened. Suggestions?

What version of SMF...

2.0 RC3
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on April 19, 2010, 03:56:02 PM
Well that is rather strange. What theme are you using, then? Link to theme?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 19, 2010, 03:57:31 PM
Quote from: Dream Portal Team on April 19, 2010, 03:56:02 PM
Well that is rather strange. What theme are you using, then? Link to theme?

I'm using the default curve theme. Forum url = http://www.the-ush.com
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ~DS~ on April 19, 2010, 03:58:47 PM
Quote from: MATTEK on April 19, 2010, 03:29:01 PM
Quote from: Dismal Shadow on April 19, 2010, 03:07:42 PM
admn> manage Team Page> Enable the team page?> checked

Yup. Still, nothing. It's checked by default btw.
So you are saying it does not show the tab?
Can you try this:
http://www.the-ush.com/index.php?action=teampage
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 19, 2010, 04:02:24 PM
Quote from: Dismal Shadow on April 19, 2010, 03:58:47 PM
Quote from: MATTEK on April 19, 2010, 03:29:01 PM
Quote from: Dismal Shadow on April 19, 2010, 03:07:42 PM
admn> manage Team Page> Enable the team page?> checked

Yup. Still, nothing. It's checked by default btw.
So you are saying it does not show the tab?
Can you try this:
http://www.the-ush.com/index.php?action=teampage

I get this

QuoteAn Error Has Occurred!
Apologies, but you're not allowed to view the team page.

I'm an admin with full rights to everything. TeamPage is checked and enabled. I've reinstalled twice with the same issue. Has anyone repotred other mods being incompatible with this before?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on April 19, 2010, 04:21:17 PM
I'm not sure that an incompatibility problem is the root of the problem.

Are you using MySQL, and did the team page mod fail on any edits? Anything in your Forum Error Log?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 19, 2010, 05:08:31 PM
I'm using the package manager to install it, but my Host itself (1&1) uses MySQL.

The last Error on my log was on March 28th 2010 so no, there was no errors during the install.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on April 19, 2010, 06:06:00 PM
Please attach your Subs.php.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 19, 2010, 06:21:22 PM
Quote from: Dream Portal Team on April 19, 2010, 06:06:00 PM
Please attach your Subs.php.

I'm sort of new to this stuff, so please bare with me.

At the moment I'm at work and I don't have access to my FTP. Would I be able to locate this file elsewhere or download it directly from 1&1? If not, I'll have to wait until I get home to give you that. My apologies.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 19, 2010, 10:27:04 PM
I'll be home in about 30 minutes. Is anyone willing to try and figure this out for me tonight? I'd prefer tonight because I can't transfer anything through FTP's at work and if no one helps me tonight it'll be tomorrow when (you guessed it) I'm at work.  :P
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Cal O'Shaw on April 20, 2010, 12:45:16 AM
Quote from: Cal O'Shaw on April 19, 2010, 03:28:48 AM
When I uninstalled the MOD, I got these errors:

2: unlink(languages/TeamPage.english.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
File: /home/ZZZ/public_html/forum/Sources/Subs-Package.php
Line: 1054

2: unlink(smf1/TeamPage.template.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
File: /home/ZZZ/public_html/forum/Sources/Subs-Package.php
Line: 1054

2: unlink(smf1/TeamPage.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
File: /home/ZZZ/public_html/forum/Sources/Subs-Package.php
Line: 1054

Okay... the files inside the unlink() call all say TeamPage, and were created when I uninstalled the MOD.  Any ideas what they might be from and why they would appear in the log during the TeamPage uninstall?

Not trying to be impudent, but I do get concerned anytime an unexplained error shows up in the log.  And these do appear to possibly be related to the TeamPage MOD uninstall.

Cal
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on April 20, 2010, 03:50:12 AM
The errors were caused by PHP being unable to remove the files in question on a removal.. because it was already removed.

It was most likely a Package Manager fault, a server permissions issue, a caching problem, a directory problem, or the files were legit removed at the wrong time.

There is no need for concern.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 20, 2010, 04:45:24 AM
Quote from: Dream Portal Team on April 19, 2010, 06:06:00 PM
Please attach your Subs.php.

Ok so the only thing i could find close to subs.php is subscriptions.php

Is that right?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ~DS~ on April 20, 2010, 05:17:12 AM
Quote from: MATTEK on April 20, 2010, 04:45:24 AM
Quote from: Dream Portal Team on April 19, 2010, 06:06:00 PM
Please attach your Subs.php.

Ok so the only thing i could find close to subs.php is subscriptions.php

Is that right?
no, the Subs.php
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: z_dane on April 20, 2010, 08:20:00 AM
Quote from: Dream Portal Team on April 18, 2010, 07:16:14 PM
Quote from: z_dane on April 16, 2010, 09:51:34 AM
Can any tell me how to add the code to display personal text inside team page site?
We put their position in organization in personal text.

Yes. What version of SMF are you using?

SMF 1.1.11 + SimplePortal 2.3.1

Beside of that, i also have problem for both version 3.5.4 & latest 3.5.5.
No members available, then continue with the member list

(http://xs.to/image-BB40_4BCD98C4.jpg) (http://xs.to/share-BB40_4BCD98C4.html)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 20, 2010, 12:26:52 PM
Quote from: Dismal Shadow on April 20, 2010, 05:17:12 AM
Quote from: MATTEK on April 20, 2010, 04:45:24 AM
Quote from: Dream Portal Team on April 19, 2010, 06:06:00 PM
Please attach your Subs.php.

Ok so the only thing i could find close to subs.php is subscriptions.php

Is that right?
no, the Subs.php

Located in what folder of my directory?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ~DS~ on April 20, 2010, 12:28:49 PM
Sources
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 20, 2010, 12:35:14 PM
Thank you.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ~DS~ on April 20, 2010, 12:45:20 PM
Quote from: MATTEK on April 20, 2010, 12:35:14 PM
Thank you.
I can see it fine, it should show the tab as should be. Are you using custom theme?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 20, 2010, 01:06:57 PM
Quote from: Dismal Shadow on April 20, 2010, 12:45:20 PM
Quote from: MATTEK on April 20, 2010, 12:35:14 PM
Thank you.
I can see it fine, it should show the tab as should be. Are you using custom theme?
No. Default Curve.

www.the-ush.com

Mind posting s screen where you see it?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ~DS~ on April 20, 2010, 01:15:20 PM
Quote from: MATTEK on April 20, 2010, 01:06:57 PM
Quote from: Dismal Shadow on April 20, 2010, 12:45:20 PM
Quote from: MATTEK on April 20, 2010, 12:35:14 PM
Thank you.
I can see it fine, it should show the tab as should be. Are you using custom theme?
No. Default Curve.

www.the-ush.com

Mind posting s screen where you see it?
No, I am saying the file is fine and it should shown as should be on your site. I don't know why.  :( Are you the admin there?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 20, 2010, 02:01:05 PM
Quote from: Dismal Shadow on April 20, 2010, 01:15:20 PM
Quote from: MATTEK on April 20, 2010, 01:06:57 PM
Quote from: Dismal Shadow on April 20, 2010, 12:45:20 PM
Quote from: MATTEK on April 20, 2010, 12:35:14 PM
Thank you.
I can see it fine, it should show the tab as should be. Are you using custom theme?
No. Default Curve.

www.the-ush.com

Mind posting s screen where you see it?
No, I am saying the file is fine and it should shown as should be on your site. I don't know why.  :( Are you the admin there?

One of the Admins, yes. Were all sort of new to the SMF forum stuff. Would it be smart to uninstall all of my mods and then install that one first?

Also - Is there a place to re-download the default curve theme? I've looked in themes here and I can't find it. Thanks
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 20, 2010, 03:57:22 PM
Look here

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ~DS~ on April 20, 2010, 04:32:44 PM
I believed I know what the problem is...and you are not the owner of the site, am I correct?
If so, if you have admin access then you should check the permission for the membergroups that you can them to see.
You will see "Access Teampage" check that.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on April 20, 2010, 04:37:23 PM
Quote from: Dismal Shadow on April 20, 2010, 04:32:44 PM
I believed I know what the problem is...and you are not the owner of the site, am I correct?
If so, if you have admin access then you should check the permission for the membergroups that you can them to see.
You will see "Access Teampage" check that.

You are a frackin genius! Thank you!!!  :D
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ~DS~ on April 20, 2010, 04:46:20 PM
You are welcome. :)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: z_dane on April 24, 2010, 10:19:59 AM
Quote from: z_dane on April 20, 2010, 08:20:00 AM
Quote from: Dream Portal Team on April 18, 2010, 07:16:14 PM
Quote from: z_dane on April 16, 2010, 09:51:34 AM
Can any tell me how to add the code to display personal text inside team page site?
We put their position in organization in personal text.

Yes. What version of SMF are you using?

SMF 1.1.11 + SimplePortal 2.3.1

Beside of that, i also have problem for both version 3.5.4 & latest 3.5.5.
No members available, then continue with the member list

(http://xs.to/image-BB40_4BCD98C4.jpg) (http://xs.to/share-BB40_4BCD98C4.html)

Anybody know how to settle my problem?
1. How to display personal text inside team page site
2. "No members available" indication at team page site
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hcfwesker on April 24, 2010, 03:02:55 PM
Big thanx to ccbtimewiz from Dream Portal.  I appreciate you fixing the erros for me.  Page looks amazing, now.

@ z_dane , I tried that myself, by adding the personal text code from the display.template.php; but it didn't work.  Not sure if it's possible, or requires and extra bit of code modding elsewhere.  And, I also had the error of "no memebrs available ..."  as well.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: samurai-lupin on April 25, 2010, 10:58:21 PM
What code would I need to add so it will display ...

- number of posts
- moderated boards

for each team member?

Thank you!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on April 25, 2010, 11:13:34 PM
I'll get to all these customization requests in a bit.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Cal O'Shaw on April 26, 2010, 12:20:48 AM
Hello,

Will you be able to address the "No members" problem?  I think there are at least 3 SMF 1.1.11 folk here (hcfwesker, z_dane, and myself, perhaps others) who are having the same problem.

Don't know if this is related, but I found a "teampage" field (sorry, didn't write down the name, but think it was something like teampage_read) still in the permissions table in our database.  It didn't get dropped when version 3.5.5 of the MOD was uninstalled.  I deleted it, as Team Page is not installed, but don't want to try the MOD again until after you've had a chance to look at this "no members" problem.

Cal
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: venex on June 22, 2010, 01:31:46 AM
Hey! :D

This had benn working pretty good in my forum but I just have a request for the developer :)...

I wanted the MODs to be in the Team Page so I added them. They appeared there but some of them appeared 2 times, 3 times... some even more... that's because they are moderators of more than one category in my forum... for example, my forum has the "Games" category and inside it, I have "tutorials", "downloads", "Requests" and so forth... I make a person moderator for all of those sections... and they appear in the Team Page 4 times... I would like this MOD to display the user once and (if possible) tell which section the user is moderating (only for moderators, obviously)...

But, overall... this is a great mod... keep it going :D
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Afro on June 25, 2010, 03:41:55 PM
I am waiting for the
-Moderated board
-Post couts
too. good mod.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: shaitanfr on July 02, 2010, 06:21:53 AM
Quote from: Cal O'Shaw on April 26, 2010, 12:20:48 AM
Hello,

Will you be able to address the "No members" problem?  I think there are at least 3 SMF 1.1.11 folk here (hcfwesker, z_dane, and myself, perhaps others) who are having the same problem.

Don't know if this is related, but I found a "teampage" field (sorry, didn't write down the name, but think it was something like teampage_read) still in the permissions table in our database.  It didn't get dropped when version 3.5.5 of the MOD was uninstalled.  I deleted it, as Team Page is not installed, but don't want to try the MOD again until after you've had a chance to look at this "no members" problem.

Cal

Hi,

I have fixed some bugs but not the "no members problem".

In TeamPage.php and Teampage.template.php, search

action=admin;area=

Replace by:

action=

Many occurences.

admin;area is for SMF2
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on July 14, 2010, 01:24:41 PM
Version 3.8 will include fixes for known bugs as well as a few new minor features.

For version 4.0 I will be including a new templating system and engine...
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Kill Em All on July 14, 2010, 01:27:26 PM
Quote from: Dream Portal Team on July 14, 2010, 01:24:41 PM
For version 4.0 I will be including a new templating system and engine...
Yipee!!!!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: samurai-lupin on July 23, 2010, 12:37:13 PM
Quote from: samurai-lupin on April 25, 2010, 10:58:21 PM
What code would I need to add so it will display ...

- number of posts
- moderated boards

for each team member?

Thank you!

Hello, I just wante to check back on this as the mod is really good but I think this information would be very usefull.

Regards
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on July 23, 2010, 02:31:07 PM
I'm off today so I have time to finally work on this mod (wary).

I'm in the process of giving custom edits for persons who requested it as well as fixing the fatal bug with SMF 1.1. This will mark the release for 3.6. I'm also including a few more options (if I can fit them in...).
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Afro on July 23, 2010, 02:43:06 PM
Good news.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Aiko on July 24, 2010, 12:28:55 PM
Awesome news.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MarcusJ on July 24, 2010, 01:58:31 PM
Fantastic.  8)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: samurai-lupin on July 24, 2010, 05:01:34 PM
Great news!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Nuttcaze on July 28, 2010, 12:01:57 AM
I'm really looking forward to seeing an updated version as I really like this mod but it doesn't currently work on my forum  :-\
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: andrewb84uk on July 28, 2010, 04:50:48 AM
oh wow, this mod is brilliant well done!!!!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: captanmeto on August 08, 2010, 05:06:38 AM
waiting this new version
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Dream Portal Team on August 13, 2010, 12:33:05 AM
It's attached over at the top at dream-portal.net for now. I will update the mod here in a few days after some sufficient testing.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: amlucent on August 24, 2010, 12:17:13 PM
Is it possible to make this page as a (php?) page in simple portal?  I am trying to run as few modifications as possible... but this is tempting.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: pugcabclub on August 27, 2010, 03:56:28 PM
Current version 1.1.11

Sorry to sound dumb, but Ive uploaded the package and gone into the manage team page, and put some members into the groups, but where doew the team members page show on the forum as I cant find it :-\ :-\ :-\ :-\
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: OnlineFunCorner on September 01, 2010, 01:59:39 PM
I Got This Error

Table '(Database Name).settings' doesn't exist
File: /home/**********/public_html/Packages/temp/smf2/install.php
Line: 95


What To Do?
Please Help
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: steve51184 on September 22, 2010, 12:34:52 PM
any fix for the bug that shows people on the team page twice if there mods on multiple boards?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: NoFeaR / NFSMW on October 06, 2010, 09:28:38 AM
How can i add if a cellphone number must be also listed?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MissyNL on October 06, 2010, 09:37:29 AM
This really looks like a mod that i want to install.. only for me i am missing some stuff...

* Adding Personal text. - This because some teammembers also have secondaire tasks in the team. Like.. Article writer, Managing the newsletter, PR assistant, Merchandising dep. In this way if a shop wants to add a commercial on my site, he or she does not have to go all profiles to know who is responsible for that department.  Though they are all MOD or CREW in the beginning.. i really would like to have me fill out these text.. 

* If a teammember is active or not. - I have teammembers who are still in the team, but maybe a little less present because of circumstances. It would be great to show maybe with a dot in color to show if a teammember is active, less present or inactive.

But.. great MOD :)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: NoFeaR / NFSMW on October 06, 2010, 04:06:55 PM
I agree.
I also want to ad fields.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Jakob Fel on October 16, 2010, 12:02:43 PM
I have 1.1.11 and I am using this mod's version 3-5. I installed it with no problems on my forum, but when I try to look for the Team tab, it's not there. (I've used this before on a RC3 forum.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Oya on October 16, 2010, 12:53:39 PM
you will have to add the tab yourself if it's a custom theme, thought you knew that :/
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Jakob Fel on October 16, 2010, 02:41:44 PM
Yeah, but even when I use the default Core theme, it wouldn't show up.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Oya on October 16, 2010, 02:43:53 PM
then it didn't install right, since 3-5 and 3-5-5 both show the edits to index.template.php for the button
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Jakob Fel on October 16, 2010, 04:07:42 PM
All the tests were successful.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Lordmiller on October 16, 2010, 04:08:44 PM
Has anyone added a LOT of teams to the bottom set? Is there a limit or point when it breaks?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: steve51184 on October 17, 2010, 12:56:06 AM
Quote from: steve51184 on September 22, 2010, 12:34:52 PM
any fix for the bug that shows people on the team page twice if there mods on multiple boards?

bump?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: TheSniperK2R on October 17, 2010, 04:57:59 PM
Hi installed this to my forum and only admins can see it apparently. I don't know how to fix this so all members can see the tab but im using SMF 2.0 RC3  and the custom theme DarkBreak.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Kill Em All on October 17, 2010, 06:57:04 PM
Check the membergroup permissions and look to see if the team page access is enabled for your regular membergroups among other membergroups.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: FireDitto on November 04, 2010, 04:09:06 AM
The Installation process goes very nicely.

Then I get this message:

QuoteDatabase Error
Table 'secondpass_1.settings' doesn't exist
File: [address info removed]/Packages/temp/smf2/install.php
Line: 95

I'm now on RC4; it was installed beautifully on my RC3 version.

What's going on??
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hcfwesker on November 07, 2010, 08:42:49 PM
Quote from: FireDitto on November 04, 2010, 04:09:06 AM
The Installation process goes very nicely.

Then I get this message:

QuoteDatabase Error
Table 'secondpass_1.settings' doesn't exist
File: [address info removed]/Packages/temp/smf2/install.php
Line: 95

I'm now on RC4; it was installed beautifully on my RC3 version.

What's going on??

I got the same exact error.  :(
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Rafferty on November 08, 2010, 03:34:13 AM
Quote from: Dr.IT on September 01, 2010, 01:59:39 PM
I Got This Error

Table '(Database Name).settings' doesn't exist
File: /home/**********/public_html/Packages/temp/smf2/install.php
Line: 95


What To Do?
Please Help

Was this resolved at all, I also have this error after attempting to reinstall the mod on SMF RC4?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: NoFeaR / NFSMW on November 10, 2010, 01:56:15 AM
I have custom profile fields. How can i let the location and phone number show?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: NoFeaR / NFSMW on November 11, 2010, 07:11:48 AM
Any help on this topic?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Sudhakar Arjunan on November 12, 2010, 11:09:49 AM
Quote from: Rafferty on November 08, 2010, 03:34:13 AM
Quote from: Dr.IT on September 01, 2010, 01:59:39 PM
I Got This Error

Table '(Database Name).settings' doesn't exist
File: /home/**********/public_html/Packages/temp/smf2/install.php
Line: 95


What To Do?
Please Help

Was this resolved at all, I also have this error after attempting to reinstall the mod on SMF RC4?

Same error for me. I have got the same issue while installing in 2.0 Rc3 . But no update done so far.

Any update on this issue is appreciated ?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: -=[Vyorel]=- on November 16, 2010, 10:55:03 PM
Please update for SMF 2.0 RC4 ;)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Hally_89 on November 18, 2010, 04:30:38 PM
I managed to fix the error you posted for RC4 but there is another error that i have yet to work out.
This is the new error i am getting

Table 'dzinerwe_dzinerweb.smf_team' doesn't exist
File: /home/dzinerwe/public_html/Sources/TeamPage.php
Line: 201


For the error you posted above, open install.php in the mod .zip file and

search for
if (stristr($forum_version, 'SMF 2.0 RC2') || stristr($modSettings['smfVersion'], 'RC2') || stristr($forum_version, 'SMF 2.0 RC3') || stristr($modSettings['smfVersion'], 'RC3'))

Replace with
if (stristr($forum_version, 'SMF 2.0 RC2') || stristr($modSettings['smfVersion'], 'RC2') || stristr($forum_version, 'SMF 2.0 RC3') || stristr($modSettings['smfVersion'], 'RC3')) || stristr($forum_version, 'SMF 2.0 RC4') || stristr($modSettings['smfVersion'], 'RC4'))
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Stigmartyr on November 20, 2010, 11:51:19 PM
Quote from: Hally_89 on November 18, 2010, 04:30:38 PM
I managed to fix the error you posted for RC4 but there is another error that i have yet to work out.
This is the new error i am getting

Table 'dzinerwe_dzinerweb.smf_team' doesn't exist
File: /home/dzinerwe/public_html/Sources/TeamPage.php
Line: 201


For the error you posted above, open install.php in the mod .zip file and

search for
if (stristr($forum_version, 'SMF 2.0 RC2') || stristr($modSettings['smfVersion'], 'RC2') || stristr($forum_version, 'SMF 2.0 RC3') || stristr($modSettings['smfVersion'], 'RC3'))

Replace with
if (stristr($forum_version, 'SMF 2.0 RC2') || stristr($modSettings['smfVersion'], 'RC2') || stristr($forum_version, 'SMF 2.0 RC3') || stristr($modSettings['smfVersion'], 'RC3')) || stristr($forum_version, 'SMF 2.0 RC4') || stristr($modSettings['smfVersion'], 'RC4'))

I came upon this thread looking for the solution to the posted issue and used your fix listed above.  It did not resolve my issue, when I click INSTALL, I get the following error:


Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/public_html/forums/Packages/temp/TeamPage3-5-5/smf2/install.php on line 19


I have attempted to emulate RC3 as well with both a modified and unmodified zip package to no avail.  Perhaps you might suggest another solution?


Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hcfwesker on November 21, 2010, 04:28:55 PM
Not sure if i'm allowed to post this here, but wanted to help others with this issue.

Update for 2.0 RC4 was posted on the dream portal site

http://dream-portal.net/index.php/topic,891.msg15122.html#msg15122
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Stigmartyr on November 24, 2010, 03:09:37 AM
Quote from: hcfwesker on November 21, 2010, 04:28:55 PM
Not sure if i'm allowed to post this here, but wanted to help others with this issue.

Update for 2.0 RC4 was posted on the dream portal site

http://dream-portal.net/index.php/topic,891.msg15122.html#msg15122

Very good of you, sir.  Help me it did, or at least pointed me in a path I could continue on.  I'll see what they can do to help, thank you!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Baloch on December 03, 2010, 12:50:58 AM
Is it compatible for SMF 2.0 RC4?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: sharks on December 03, 2010, 01:57:27 AM
This demo link is not working anymore: http://in4tek.com.br/forum/index.php?action=teampage

BTW, this mod seems to be much better than the Staff List mod by vbgamer.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Kill Em All on December 03, 2010, 05:10:32 PM
Demo- http://dream-portal.net/index.php?action=about;sa=team
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: -=[Vyorel]=- on December 03, 2010, 06:03:30 PM
Team Page (Updated for SMF 2.0 RC4) on the attachments. ;)



Edited by (F.L.A.M.E.R) : Attachment removed. Please post the edits instead of the whole package if you wish to assist the author with the update.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: samurai-lupin on December 07, 2010, 05:30:21 PM
For some reason it won't display my team mebers contact data (MSN, AIM; YIM etc.) Is this a bug in the code or did I do anything wrong? I would appreciate any help / feedback. Thank you.

<?php
// TeamPage Modification v3.5
// Created by ccbtimewiz (ccbtimewiz@dream-portal.net)

function template_main()
{
global $context$settings$options$scripturl$modSettings$txt$db_prefix$ID_MEMBER$boardurl;
// Start the team page.
echo '
<table cellpadding=0 cellspacing=0><tr><td height=10></td></tr></table>

<table align="center" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr>'
;

// Let's list the group members on each side of the page.
for ($i 0$i <= 2$i++)
{
// Let's check if the array isn't empty
if (!empty($context['display_groups'][$i]))
{
// Check which column we are working with.
$column = ($i == ? ($i 1) : ($i 1));

echo '
<td valign="top" width=50%>'
;

// Depending on $i, if $i==0, it will list the members of the group on the left side of the page. If $i==1, it will list the members on the right side.
foreach ($context['display_groups'][$i] as $id => $group)
{
echo '
<table cellspacing="0" cellpadding="5" width="100%" border=0>
<tr class="titlebg">
<td align="left" width="100" nowrap>'
, (!empty($modSettings['team_show_badges']) ? $group['image'] : ''), '</td>
<td valign="middle" align="left" width="99%"><span class="largetext">'
$group['name'], '</span></td>
</tr>'
;

// Check if there are any members in this group.
if (!empty($group['members']))
{
// List the leader, and regular members.
foreach ($group['members'] as $pos => $data)
{
foreach ($data as $member)
{
echo '
<tr class="windowbg3">
<td colspan=2 style="border-top: 1px solid grey;">

<table cellpadding=0 cellspacing=0 width=100% border=0>
<tr>
<td align="center" valign="top" width="100" nowrap>'
;

// Show avatars?
if (!empty($modSettings['team_show_avatars']))
echo '
<div class="avatar">
<a href="'
$scripturl'?action=profile;u='$member['id'], '"><img src="' $member['avatar']['href'] .'" width="75" border="0" /></a>
</div>'
;
else
echo '
<!-- // -->'
;

echo '
</td>
<td align="left" valign=top>
<div align="left" style="padding-left: 20px;">
<img src="'
$member['online']['image_href'], '" alt="'$member['online']['label'], '" />&nbsp;<span class="largetext">'$member['link'], '</span><br />';

// A bit of a browser-side fix...
echo '
<div style="padding: 2px; clear: both;"><!-- // --></div>'
;

// Check their title. Is it there?
if (!empty($member['title']))
echo '
<i>'
$member['title'], '</i><br />';

echo '

<table cellpaddign=0 cellspacing=0>
<tr>
<td><a href="'
$scripturl'?action=pm;sa=send;u='$member['id'], '"><img src="http://www.thunting.com/smf/Themes/default/images/email_sm.gif" border=0></a><br /></td>
<td nowrap width=5>

'
;
if (
$context['member']['website']['url'])
echo 
'
<td><center>'
$context['member']['website']['url'] != '' '<a href="' $member['website']['url'] . '" target="_blank"><img src="' $settings['images_url'] . '/www.gif" alt="' $member['website']['title'] . '" title="' $member['website']['title'] . '" /></a>' '''</td>
<td nowrap width=5>

'
;
if (
$context['member']['icq']['link_text'])
echo 
'
<td><center>'
$context['member']['icq']['link'], '</td>
<td nowrap width=5>

'
;
if (
$context['member']['aim']['link_text'])
echo 
'
<td><center>'
$context['member']['aim']['link'], '</td>
<td nowrap width=5>

'
;
if (
$context['member']['yim']['link_text'])
echo 
'
<td><center>'
$context['member']['yim']['link'], '</td>
<td nowrap width=5>

'
;
if (
$context['member']['msn']['link_text'])
echo 
'
<td><center>'
$context['member']['msn']['link'], '</td>
<td nowrap width=5>
'
;

if (
$context['member']['twitter']['options'])
echo 
'
<td><center>'
$context['member']['options']['twitter'], '</td>
'
;
echo 
'
</tr>
</table>

'
;

// Do they want to show the last login?
if (!empty($modSettings['team_show_lastlogin']))
echo '
$member['last_login'];


// Show a activitybar.
if(!empty($modSettings['activitybar_enable']))
echo '
<div class="activity_holder" style="width: '
, !empty($modSettings['activitybar_max_width']) ? $modSettings['activitybar_max_width'] : 139'px;"><div class="activity_bar" style="width: '$member['activitybar']['width'], 'px;"><div class="activity_percentage smalltext">'$member['activitybar']['percentage'], '%</div></div></div>';

if (!empty($context['moderators'][$member['id']]))
{
$boards = array();
foreach ($context['moderators'][$member['id']] as $id => $name)
$boards[] = '<a href="' $scripturl '?board=' $id '">' $name '</a>';
echo '<div class="smalltext">Moderated Boards: ' implode(', '$boards) . '</div>';
}
echo '
</div>
</td>
</tr>
</table>

</td>
</tr>'
;
}
}
}
// No members? Let's tell them.
else
{
echo '
<tr class="windowbg3">
<td colspan="2" align="center">
<strong>'
$txt['team_no_members'], '</strong>
</td>
</tr>'
;
}

echo '
</table>
<br/>'
;
}
unset($group);

echo '
</td>'
;
}
}

// Now grabbing the half groups, if there are any.
if (!empty($context['display_groups'][3]))
{
echo '
</tr>
<tr>
<td colspan="2" valign="top">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="bordercolor">
<tr>
<td align="left" valign="top" class="windowbg3">
<table border="0" cellspacing="1" cellpadding="4" width="100%" class="bordercolor">
<tr class="titlebg">'
;

// Return the group first.
foreach ($context['display_groups'][3] as $id => $group)
{
echo '
<td align="left" valign="top">'
;

// Are we showing badges?
if (!empty($modSettings['team_show_badges']))
echo '
$group['image'] . '';

echo '
</td>'
;
}
unset($group);

echo '
</tr>
<tr>'
;

// List the members.
foreach ($context['display_groups'][3] as $id => $group)
{
echo '
<td width="25%" class="windowbg3" align="left" valign="top">'
;

// Now the members.
foreach ($group['members'] as $pos => $data)
{
foreach ($data as $member)
echo '
<div style="padding-bottom: 3px;">&bull; '
$member['link'], '&nbsp;&nbsp;', (!empty($member['title']) ? '-&nbsp;&nbsp;' $member['title'] : ''), '</div>';
}

echo '
</td>'
;
}
unset($group);

echo '
</tr>
</table>
</td>
</tr>
</table>
</td>'
;
}

echo '
</tr>
</table>'
;


}

function 
template_adminset()
{
global $context$modSettings$txt$settings$scripturl;

$sscr $scripturl '?action=teampage;sa=manage';
$alternate = array(falsefalsefalsefalse);

echo '
<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center;">
$txt['team_manage'] . '
</div>'
;

if (isset($_GET['error']))
{
echo '
<div id="update_message" style="font-size: 0.85em; padding: 4px;">
$txt['no_groups_defined'] . '
</div>'
;
}

if (isset($_GET['passed']) || (isset($_GET['del'])))
{
echo '
<div id="update_message" style="font-size: 0.85em; padding: 4px;">
<span style="color: green;">' 
$txt['settings_saved'] . '</span>
</div>'
;
}

echo '
<table class="bordercolor" align="center" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr class="catbg">
<td colspan="5">' 
$txt['groups_left']  . '</td>
</tr>
<tr class="titlebg">
<th width="7%">' 
$txt['groups_order'] . '</th>
<th width="45%">' 
$txt['groups_name'] . '</th>
<th width="20%">' 
$txt['groups_stars'] . '</th>
<th width="15%">' 
$txt['groups_move'] . '</th>
<th width="10%">' 
$txt['groups_action'] . '</th>
</tr>'
;

$count 0;

if (!empty($context['groups']['left']))
{
foreach ($context['groups']['left'] as $group)
{
// If we're at this point, here's our man!
$count++;

// Doing the alternating background game...
$alternate[0] = !$alternate[0];
$window_class $alternate[0] ? 'windowbg' 'windowbg2';

// Some declarations.
$order = array(
'is_last' => $count == count($context['groups']['left']),
'is_first' => $count == 1,
);

echo '
<tr class="' 
$window_class '">
<td align="center">' 
. (!$order['is_last'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=down"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" title="Push down" /></a>' '') . '' . (!$order['is_first'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=up"><img src="' $settings['default_images_url'] . '/sort_up.gif" alt="" title="Push up" /></a>' '') . '</td>
<td>' 
. ($group['id'] == $group['name'] : '<a href="' $scripturl '?action=admin;area=membergroups;sa=members;group=' $group['id'] . '" style="color: ' $group['color'] . '">' $group['name'] . '</a>') . '</td>
<td>' 
$group['image'] . '</td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=2"><img src="' $settings['default_images_url'] . '/selected.gif" alt="" title="' $txt['groups_move_right'] . '" /></a>&nbsp;<a href="' $sscr';act=swap;group=' $group['id'] . ';place=3"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" title="' $txt['groups_move_bottom'] . '" /></a></td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=0"><img src="' $settings['default_images_url'] . '/icons/package_old.gif" alt="" title="' $txt['groups_remove'] . '" /></a></td>
</tr>'
;

}
unset($group);
}

echo '
</table><br />
<table class="bordercolor" align="center" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr class="catbg">
<td colspan="5">' 
$txt['groups_right']  . '</td>
</tr>
<tr class="titlebg">
<th width="7%">' 
$txt['groups_order'] . '</th>
<th width="45%">' 
$txt['groups_name'] . '</th>
<th width="20%">' 
$txt['groups_stars'] . '</th>
<th width="15%">' 
$txt['groups_move'] . '</th>
<th width="10%">' 
$txt['groups_action'] . '</th>
</tr>'
;

$count 0;

if (!empty($context['groups']['right']))
{
foreach ($context['groups']['right'] as $group)
{
// If we're at this point, here's our man!
$count++;

// Doing the alternating background game...
$alternate[1] = !$alternate[1];
$window_class $alternate[1] ? 'windowbg' 'windowbg2';

// Some declarations.
$order = array(
'is_last' => $count == count($context['groups']['right']),
'is_first' => $count == 1,
);

echo '
<tr class="' 
$window_class '">
<td align="center">' 
. (!$order['is_last'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=down"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" title="Push down" /></a>' '') . '' . (!$order['is_first'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=up"><img src="' $settings['default_images_url'] . '/sort_up.gif" alt="" title="Push up" /></a>' '') . '</td>
<td>' 
. ($group['id'] == $group['name'] : '<a href="' $scripturl '?action=admin;area=membergroups;sa=members;group=' $group['id'] . '" style="color: ' $group['color'] . '">' $group['name'] . '</a>') . '</td>
<td>' 
$group['image'] . '</td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=1"><img src="' $settings['default_images_url'] . '/sort_left.gif" alt="" title="' $txt['groups_move_left'] . '" /></a>&nbsp;<a href="' $sscr';act=swap;group=' $group['id'] . ';place=3"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" title="' $txt['groups_move_bottom'] . '" /></a></td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=0"><img src="' $settings['default_images_url'] . '/icons/package_old.gif" alt="" title="' $txt['groups_remove'] . '" /></a></td>
</tr>'
;
}
unset($group);
}

echo '
</table><br />
<table class="bordercolor" align="center" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr class="catbg">
<td colspan="5">' 
$txt['groups_bottom']  . '</td>
</tr>
<tr class="titlebg">
<th width="7%">' 
$txt['groups_order'] . '</th>
<th width="45%">' 
$txt['groups_name'] . '</th>
<th width="20%">' 
$txt['groups_stars'] . '</th>
<th width="15%">' 
$txt['groups_move'] . '</th>
<th width="10%">' 
$txt['groups_action'] . '</th>
</tr>'
;

$count 0;

if (!empty($context['groups']['bottom']))
{
foreach ($context['groups']['bottom'] as $group)
{
// If we're at this point, here's our man!
$count++;

// Doing the alternating background game...
$alternate[2] = !$alternate[2];
$window_class $alternate[2] ? 'windowbg' 'windowbg2';

// Some declarations.
$order = array(
'is_last' => $count == count($context['groups']['bottom']),
'is_first' => $count == 1,
);

echo '
<tr class="' 
$window_class '">
<td align="center">' 
. (!$order['is_last'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=down"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" title="Push down" /></a>' '') . '' . (!$order['is_first'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=up"><img src="' $settings['default_images_url'] . '/sort_up.gif" alt="" title="Push up" /></a>' '') . '</td>
<td>' 
. ($group['id'] == $group['name'] : '<a href="' $scripturl '?action=admin;area=membergroups;sa=members;group=' $group['id'] . '" style="color: ' $group['color'] . '">' $group['name'] . '</a>') . '</td>
<td>' 
$group['image'] . '</td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=1"><img src="' $settings['default_images_url'] . '/sort_left.gif" alt="" title="' $txt['groups_move_left'] . '" /></a>&nbsp;<a href="' $sscr';act=swap;group=' $group['id'] . ';place=2"><img src="' $settings['default_images_url'] . '/selected.gif" alt="" title="' $txt['groups_move_right'] . '" /></a></td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=0"><img src="' $settings['default_images_url'] . '/icons/package_old.gif" alt="" title="' $txt['groups_remove'] . '" /></a></td>
</tr>'
;
}
unset($group);
}

echo '
</table><br />'
;

echo '
<table border="0" width="100%">
<tr>
<td width="40%" align="left" valign="top">
<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center;">
Groups not placed
</div>'
;

if (!empty($context['groups']['notactive']))
{
echo '
<table class="bordercolor" align="center" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr class="titlebg">
<th width="70%">' 
$txt['groups_name'] . '</th>
<th width="25%">' 
$txt['groups_place'] . '</th>
</tr>'
;

foreach ($context['groups']['notactive'] as $group)
{
// Doing the alternating background game...
$alternate[3] = !$alternate[3];
$window_class $alternate[3] ? 'windowbg' 'windowbg2';

echo '
<tr class="' 
$window_class '">
<td>' 
. ($group['id'] == $group['name'] : '<a href="' $scripturl '?action=admin;area=membergroups;sa=members;group=' $group['id'] . '" style="color: ' $group['color'] . '">' $group['name'] . '</a>') . '</td>
<td><a href="' 
$sscr';act=add;group=' $group['id'] . ';place=1"><img src="' $settings['default_images_url'] . '/sort_left.gif" alt="" /></a>&nbsp;<a href="' $sscr';act=add;group=' $group['id'] . ';place=3"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" /></a>&nbsp;<a href="' $sscr';act=add;group=' $group['id'] . ';place=2"><img src="' $settings['default_images_url'] . '/selected.gif" alt="" /></a></td>
</tr>'
;
}

echo '
</table>'
;
}
else
{
echo '
<em>' 
$txt['no_more_groups'] . '</em>';
}

echo '
</td>
<td width="60%">'
;

echo '
<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center;">
Settings
</div>'
;

echo '
<form method="post" action="'
$scripturl'?action=teampage;sa=manage;save">
<table border="0" width="100%" cellspacing="0" align="center" cellpadding="4">
<tr class="windowbg">
<td><input type="checkbox" name="team_show_badges" '
, (!empty($modSettings['team_show_badges']) ? ' checked="checked" ' '') . ' />'$txt['team_show_badges'], '</td>
</tr>
<tr class="windowbg">
<td><input type="checkbox" name="team_show_avatars" '
, (!empty($modSettings['team_show_avatars']) ? ' checked="checked" ' ''), ' />' $txt['team_show_avatars'], '</td>
</tr>
<tr class="windowbg">
<td><input type="checkbox" name="team_show_lastlogin" '
, (!empty($modSettings['team_show_lastlogin']) ? ' checked="checked" ' ''), ' />' $txt['team_show_lastlogin'], '</td>
</tr>
<tr class="windowbg">
<td><input type="checkbox" name="team_show_pmlink" '
, (!empty($modSettings['team_show_pmlink']) ? ' checked="checked" ' ''), ' />' $txt['team_show_pmlink'], '</td>
</tr>
<tr class="windowbg">
<td><input type="checkbox" name="team_additional_groups" '
, (!empty($modSettings['team_additional_groups']) ? ' checked="checked" ' ''), ' />' $txt['team_additional_groups'], '</td>
</tr>


<tr class="windowbg">
<td><input type="submit" name="savesettings" value="Save" /></td>
</tr>'
;

echo '
</table>
</form>
</td>
</tr>
</table>'
;

}

function 
template_assignleaders()
{
global $context$txt$settings$scripturl;

echo '
<h3 class="titlebg"><span class="left"></span>
<b>' 
$txt['team_manage'] . '</b>
</h3>'
;

echo '
<span class="upperframe"><span></span></span>
<div class="roundframe smalltext">
<h3 class="catbg"><span class="left"></span>
Group selected: <strong>' 
$context['group_name'] . '</strong>
</h3>'
;

echo '
<table border="0" cellpadding="2" width="50%">
<tr class="titlebg">
<th width="10%">ID</th>
<th width="40%" align="left">Name</th>
<th width="15%" align="left">Status</th>
</tr>'
;

foreach ($context['members'] as $member)
{
echo '
<tr>
<td align="center">' 
$member['id'] . '</td>
<td align="left"><a href="' 
$scripturl '?action=profile;u=' $member['id'] . '">' $member['name'] . '</a></td>
<td align="left">' 
. (!$member['is_leader'] ? '<a href="' $scripturl '?action=admin;area=teampage;sa=admin;act=leads;group=' $_GET['group'] . ';user=' $member['id'] . ';add">[+]</a>' '<a href="' $scripturl '?action=admin;area=teampage;sa=admin;act=leads;group=' $_GET['group'] . ';user=' $member['id'] . ';del">[-]</a>') . '</td>
</tr>'
;
}

echo '
</table>'
;

echo 
'Page: ' $context['page_index'];

echo '
</div>
<span class="lowerframe"><span></span></span>'
;
}

?>
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: samurai-lupin on December 17, 2010, 03:17:19 AM
Bump
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Saintcrow on December 22, 2010, 07:01:10 AM
hey,

is there a way to add the teammembers jobs on the page like: Admin one jobs: Support
etc..

thanks =)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: samurai-lupin on December 22, 2010, 03:08:16 PM
Quote from: samurai-lupin on December 07, 2010, 05:30:21 PM
For some reason it won't display my team mebers contact data (MSN, AIM; YIM etc.) Is this a bug in the code or did I do anything wrong? I would appreciate any help / feedback. Thank you.

<?php
// TeamPage Modification v3.5
// Created by ccbtimewiz (ccbtimewiz@dream-portal.net)

function template_main()
{
global $context$settings$options$scripturl$modSettings$txt$db_prefix$ID_MEMBER$boardurl;
// Start the team page.
echo '
<table cellpadding=0 cellspacing=0><tr><td height=10></td></tr></table>

<table align="center" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr>'
;

// Let's list the group members on each side of the page.
for ($i 0$i <= 2$i++)
{
// Let's check if the array isn't empty
if (!empty($context['display_groups'][$i]))
{
// Check which column we are working with.
$column = ($i == ? ($i 1) : ($i 1));

echo '
<td valign="top" width=50%>'
;

// Depending on $i, if $i==0, it will list the members of the group on the left side of the page. If $i==1, it will list the members on the right side.
foreach ($context['display_groups'][$i] as $id => $group)
{
echo '
<table cellspacing="0" cellpadding="5" width="100%" border=0>
<tr class="titlebg">
<td align="left" width="100" nowrap>'
, (!empty($modSettings['team_show_badges']) ? $group['image'] : ''), '</td>
<td valign="middle" align="left" width="99%"><span class="largetext">'
$group['name'], '</span></td>
</tr>'
;

// Check if there are any members in this group.
if (!empty($group['members']))
{
// List the leader, and regular members.
foreach ($group['members'] as $pos => $data)
{
foreach ($data as $member)
{
echo '
<tr class="windowbg3">
<td colspan=2 style="border-top: 1px solid grey;">

<table cellpadding=0 cellspacing=0 width=100% border=0>
<tr>
<td align="center" valign="top" width="100" nowrap>'
;

// Show avatars?
if (!empty($modSettings['team_show_avatars']))
echo '
<div class="avatar">
<a href="'
$scripturl'?action=profile;u='$member['id'], '"><img src="' $member['avatar']['href'] .'" width="75" border="0" /></a>
</div>'
;
else
echo '
<!-- // -->'
;

echo '
</td>
<td align="left" valign=top>
<div align="left" style="padding-left: 20px;">
<img src="'
$member['online']['image_href'], '" alt="'$member['online']['label'], '" />&nbsp;<span class="largetext">'$member['link'], '</span><br />';

// A bit of a browser-side fix...
echo '
<div style="padding: 2px; clear: both;"><!-- // --></div>'
;

// Check their title. Is it there?
if (!empty($member['title']))
echo '
<i>'
$member['title'], '</i><br />';

echo '

<table cellpaddign=0 cellspacing=0>
<tr>
<td><a href="'
$scripturl'?action=pm;sa=send;u='$member['id'], '"><img src="http://www.thunting.com/smf/Themes/default/images/email_sm.gif" border=0></a><br /></td>
<td nowrap width=5>

'
;
if (
$context['member']['website']['url'])
echo 
'
<td><center>'
$context['member']['website']['url'] != '' '<a href="' $member['website']['url'] . '" target="_blank"><img src="' $settings['images_url'] . '/www.gif" alt="' $member['website']['title'] . '" title="' $member['website']['title'] . '" /></a>' '''</td>
<td nowrap width=5>

'
;
if (
$context['member']['icq']['link_text'])
echo 
'
<td><center>'
$context['member']['icq']['link'], '</td>
<td nowrap width=5>

'
;
if (
$context['member']['aim']['link_text'])
echo 
'
<td><center>'
$context['member']['aim']['link'], '</td>
<td nowrap width=5>

'
;
if (
$context['member']['yim']['link_text'])
echo 
'
<td><center>'
$context['member']['yim']['link'], '</td>
<td nowrap width=5>

'
;
if (
$context['member']['msn']['link_text'])
echo 
'
<td><center>'
$context['member']['msn']['link'], '</td>
<td nowrap width=5>
'
;

if (
$context['member']['twitter']['options'])
echo 
'
<td><center>'
$context['member']['options']['twitter'], '</td>
'
;
echo 
'
</tr>
</table>

'
;

// Do they want to show the last login?
if (!empty($modSettings['team_show_lastlogin']))
echo '
$member['last_login'];


// Show a activitybar.
if(!empty($modSettings['activitybar_enable']))
echo '
<div class="activity_holder" style="width: '
, !empty($modSettings['activitybar_max_width']) ? $modSettings['activitybar_max_width'] : 139'px;"><div class="activity_bar" style="width: '$member['activitybar']['width'], 'px;"><div class="activity_percentage smalltext">'$member['activitybar']['percentage'], '%</div></div></div>';

if (!empty($context['moderators'][$member['id']]))
{
$boards = array();
foreach ($context['moderators'][$member['id']] as $id => $name)
$boards[] = '<a href="' $scripturl '?board=' $id '">' $name '</a>';
echo '<div class="smalltext">Moderated Boards: ' implode(', '$boards) . '</div>';
}
echo '
</div>
</td>
</tr>
</table>

</td>
</tr>'
;
}
}
}
// No members? Let's tell them.
else
{
echo '
<tr class="windowbg3">
<td colspan="2" align="center">
<strong>'
$txt['team_no_members'], '</strong>
</td>
</tr>'
;
}

echo '
</table>
<br/>'
;
}
unset($group);

echo '
</td>'
;
}
}

// Now grabbing the half groups, if there are any.
if (!empty($context['display_groups'][3]))
{
echo '
</tr>
<tr>
<td colspan="2" valign="top">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="bordercolor">
<tr>
<td align="left" valign="top" class="windowbg3">
<table border="0" cellspacing="1" cellpadding="4" width="100%" class="bordercolor">
<tr class="titlebg">'
;

// Return the group first.
foreach ($context['display_groups'][3] as $id => $group)
{
echo '
<td align="left" valign="top">'
;

// Are we showing badges?
if (!empty($modSettings['team_show_badges']))
echo '
$group['image'] . '';

echo '
</td>'
;
}
unset($group);

echo '
</tr>
<tr>'
;

// List the members.
foreach ($context['display_groups'][3] as $id => $group)
{
echo '
<td width="25%" class="windowbg3" align="left" valign="top">'
;

// Now the members.
foreach ($group['members'] as $pos => $data)
{
foreach ($data as $member)
echo '
<div style="padding-bottom: 3px;">&bull; '
$member['link'], '&nbsp;&nbsp;', (!empty($member['title']) ? '-&nbsp;&nbsp;' $member['title'] : ''), '</div>';
}

echo '
</td>'
;
}
unset($group);

echo '
</tr>
</table>
</td>
</tr>
</table>
</td>'
;
}

echo '
</tr>
</table>'
;


}

function 
template_adminset()
{
global $context$modSettings$txt$settings$scripturl;

$sscr $scripturl '?action=teampage;sa=manage';
$alternate = array(falsefalsefalsefalse);

echo '
<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center;">
$txt['team_manage'] . '
</div>'
;

if (isset($_GET['error']))
{
echo '
<div id="update_message" style="font-size: 0.85em; padding: 4px;">
$txt['no_groups_defined'] . '
</div>'
;
}

if (isset($_GET['passed']) || (isset($_GET['del'])))
{
echo '
<div id="update_message" style="font-size: 0.85em; padding: 4px;">
<span style="color: green;">' 
$txt['settings_saved'] . '</span>
</div>'
;
}

echo '
<table class="bordercolor" align="center" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr class="catbg">
<td colspan="5">' 
$txt['groups_left']  . '</td>
</tr>
<tr class="titlebg">
<th width="7%">' 
$txt['groups_order'] . '</th>
<th width="45%">' 
$txt['groups_name'] . '</th>
<th width="20%">' 
$txt['groups_stars'] . '</th>
<th width="15%">' 
$txt['groups_move'] . '</th>
<th width="10%">' 
$txt['groups_action'] . '</th>
</tr>'
;

$count 0;

if (!empty($context['groups']['left']))
{
foreach ($context['groups']['left'] as $group)
{
// If we're at this point, here's our man!
$count++;

// Doing the alternating background game...
$alternate[0] = !$alternate[0];
$window_class $alternate[0] ? 'windowbg' 'windowbg2';

// Some declarations.
$order = array(
'is_last' => $count == count($context['groups']['left']),
'is_first' => $count == 1,
);

echo '
<tr class="' 
$window_class '">
<td align="center">' 
. (!$order['is_last'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=down"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" title="Push down" /></a>' '') . '' . (!$order['is_first'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=up"><img src="' $settings['default_images_url'] . '/sort_up.gif" alt="" title="Push up" /></a>' '') . '</td>
<td>' 
. ($group['id'] == $group['name'] : '<a href="' $scripturl '?action=admin;area=membergroups;sa=members;group=' $group['id'] . '" style="color: ' $group['color'] . '">' $group['name'] . '</a>') . '</td>
<td>' 
$group['image'] . '</td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=2"><img src="' $settings['default_images_url'] . '/selected.gif" alt="" title="' $txt['groups_move_right'] . '" /></a>&nbsp;<a href="' $sscr';act=swap;group=' $group['id'] . ';place=3"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" title="' $txt['groups_move_bottom'] . '" /></a></td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=0"><img src="' $settings['default_images_url'] . '/icons/package_old.gif" alt="" title="' $txt['groups_remove'] . '" /></a></td>
</tr>'
;

}
unset($group);
}

echo '
</table><br />
<table class="bordercolor" align="center" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr class="catbg">
<td colspan="5">' 
$txt['groups_right']  . '</td>
</tr>
<tr class="titlebg">
<th width="7%">' 
$txt['groups_order'] . '</th>
<th width="45%">' 
$txt['groups_name'] . '</th>
<th width="20%">' 
$txt['groups_stars'] . '</th>
<th width="15%">' 
$txt['groups_move'] . '</th>
<th width="10%">' 
$txt['groups_action'] . '</th>
</tr>'
;

$count 0;

if (!empty($context['groups']['right']))
{
foreach ($context['groups']['right'] as $group)
{
// If we're at this point, here's our man!
$count++;

// Doing the alternating background game...
$alternate[1] = !$alternate[1];
$window_class $alternate[1] ? 'windowbg' 'windowbg2';

// Some declarations.
$order = array(
'is_last' => $count == count($context['groups']['right']),
'is_first' => $count == 1,
);

echo '
<tr class="' 
$window_class '">
<td align="center">' 
. (!$order['is_last'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=down"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" title="Push down" /></a>' '') . '' . (!$order['is_first'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=up"><img src="' $settings['default_images_url'] . '/sort_up.gif" alt="" title="Push up" /></a>' '') . '</td>
<td>' 
. ($group['id'] == $group['name'] : '<a href="' $scripturl '?action=admin;area=membergroups;sa=members;group=' $group['id'] . '" style="color: ' $group['color'] . '">' $group['name'] . '</a>') . '</td>
<td>' 
$group['image'] . '</td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=1"><img src="' $settings['default_images_url'] . '/sort_left.gif" alt="" title="' $txt['groups_move_left'] . '" /></a>&nbsp;<a href="' $sscr';act=swap;group=' $group['id'] . ';place=3"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" title="' $txt['groups_move_bottom'] . '" /></a></td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=0"><img src="' $settings['default_images_url'] . '/icons/package_old.gif" alt="" title="' $txt['groups_remove'] . '" /></a></td>
</tr>'
;
}
unset($group);
}

echo '
</table><br />
<table class="bordercolor" align="center" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr class="catbg">
<td colspan="5">' 
$txt['groups_bottom']  . '</td>
</tr>
<tr class="titlebg">
<th width="7%">' 
$txt['groups_order'] . '</th>
<th width="45%">' 
$txt['groups_name'] . '</th>
<th width="20%">' 
$txt['groups_stars'] . '</th>
<th width="15%">' 
$txt['groups_move'] . '</th>
<th width="10%">' 
$txt['groups_action'] . '</th>
</tr>'
;

$count 0;

if (!empty($context['groups']['bottom']))
{
foreach ($context['groups']['bottom'] as $group)
{
// If we're at this point, here's our man!
$count++;

// Doing the alternating background game...
$alternate[2] = !$alternate[2];
$window_class $alternate[2] ? 'windowbg' 'windowbg2';

// Some declarations.
$order = array(
'is_last' => $count == count($context['groups']['bottom']),
'is_first' => $count == 1,
);

echo '
<tr class="' 
$window_class '">
<td align="center">' 
. (!$order['is_last'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=down"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" title="Push down" /></a>' '') . '' . (!$order['is_first'] ? '<a href="' $sscr';act=move;group=' $group['id'] . ';direction=up"><img src="' $settings['default_images_url'] . '/sort_up.gif" alt="" title="Push up" /></a>' '') . '</td>
<td>' 
. ($group['id'] == $group['name'] : '<a href="' $scripturl '?action=admin;area=membergroups;sa=members;group=' $group['id'] . '" style="color: ' $group['color'] . '">' $group['name'] . '</a>') . '</td>
<td>' 
$group['image'] . '</td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=1"><img src="' $settings['default_images_url'] . '/sort_left.gif" alt="" title="' $txt['groups_move_left'] . '" /></a>&nbsp;<a href="' $sscr';act=swap;group=' $group['id'] . ';place=2"><img src="' $settings['default_images_url'] . '/selected.gif" alt="" title="' $txt['groups_move_right'] . '" /></a></td>
<td align="center"><a href="' 
$sscr';act=swap;group=' $group['id'] . ';place=0"><img src="' $settings['default_images_url'] . '/icons/package_old.gif" alt="" title="' $txt['groups_remove'] . '" /></a></td>
</tr>'
;
}
unset($group);
}

echo '
</table><br />'
;

echo '
<table border="0" width="100%">
<tr>
<td width="40%" align="left" valign="top">
<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center;">
Groups not placed
</div>'
;

if (!empty($context['groups']['notactive']))
{
echo '
<table class="bordercolor" align="center" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr class="titlebg">
<th width="70%">' 
$txt['groups_name'] . '</th>
<th width="25%">' 
$txt['groups_place'] . '</th>
</tr>'
;

foreach ($context['groups']['notactive'] as $group)
{
// Doing the alternating background game...
$alternate[3] = !$alternate[3];
$window_class $alternate[3] ? 'windowbg' 'windowbg2';

echo '
<tr class="' 
$window_class '">
<td>' 
. ($group['id'] == $group['name'] : '<a href="' $scripturl '?action=admin;area=membergroups;sa=members;group=' $group['id'] . '" style="color: ' $group['color'] . '">' $group['name'] . '</a>') . '</td>
<td><a href="' 
$sscr';act=add;group=' $group['id'] . ';place=1"><img src="' $settings['default_images_url'] . '/sort_left.gif" alt="" /></a>&nbsp;<a href="' $sscr';act=add;group=' $group['id'] . ';place=3"><img src="' $settings['default_images_url'] . '/sort_down.gif" alt="" /></a>&nbsp;<a href="' $sscr';act=add;group=' $group['id'] . ';place=2"><img src="' $settings['default_images_url'] . '/selected.gif" alt="" /></a></td>
</tr>'
;
}

echo '
</table>'
;
}
else
{
echo '
<em>' 
$txt['no_more_groups'] . '</em>';
}

echo '
</td>
<td width="60%">'
;

echo '
<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center;">
Settings
</div>'
;

echo '
<form method="post" action="'
$scripturl'?action=teampage;sa=manage;save">
<table border="0" width="100%" cellspacing="0" align="center" cellpadding="4">
<tr class="windowbg">
<td><input type="checkbox" name="team_show_badges" '
, (!empty($modSettings['team_show_badges']) ? ' checked="checked" ' '') . ' />'$txt['team_show_badges'], '</td>
</tr>
<tr class="windowbg">
<td><input type="checkbox" name="team_show_avatars" '
, (!empty($modSettings['team_show_avatars']) ? ' checked="checked" ' ''), ' />' $txt['team_show_avatars'], '</td>
</tr>
<tr class="windowbg">
<td><input type="checkbox" name="team_show_lastlogin" '
, (!empty($modSettings['team_show_lastlogin']) ? ' checked="checked" ' ''), ' />' $txt['team_show_lastlogin'], '</td>
</tr>
<tr class="windowbg">
<td><input type="checkbox" name="team_show_pmlink" '
, (!empty($modSettings['team_show_pmlink']) ? ' checked="checked" ' ''), ' />' $txt['team_show_pmlink'], '</td>
</tr>
<tr class="windowbg">
<td><input type="checkbox" name="team_additional_groups" '
, (!empty($modSettings['team_additional_groups']) ? ' checked="checked" ' ''), ' />' $txt['team_additional_groups'], '</td>
</tr>


<tr class="windowbg">
<td><input type="submit" name="savesettings" value="Save" /></td>
</tr>'
;

echo '
</table>
</form>
</td>
</tr>
</table>'
;

}

function 
template_assignleaders()
{
global $context$txt$settings$scripturl;

echo '
<h3 class="titlebg"><span class="left"></span>
<b>' 
$txt['team_manage'] . '</b>
</h3>'
;

echo '
<span class="upperframe"><span></span></span>
<div class="roundframe smalltext">
<h3 class="catbg"><span class="left"></span>
Group selected: <strong>' 
$context['group_name'] . '</strong>
</h3>'
;

echo '
<table border="0" cellpadding="2" width="50%">
<tr class="titlebg">
<th width="10%">ID</th>
<th width="40%" align="left">Name</th>
<th width="15%" align="left">Status</th>
</tr>'
;

foreach ($context['members'] as $member)
{
echo '
<tr>
<td align="center">' 
$member['id'] . '</td>
<td align="left"><a href="' 
$scripturl '?action=profile;u=' $member['id'] . '">' $member['name'] . '</a></td>
<td align="left">' 
. (!$member['is_leader'] ? '<a href="' $scripturl '?action=admin;area=teampage;sa=admin;act=leads;group=' $_GET['group'] . ';user=' $member['id'] . ';add">[+]</a>' '<a href="' $scripturl '?action=admin;area=teampage;sa=admin;act=leads;group=' $_GET['group'] . ';user=' $member['id'] . ';del">[-]</a>') . '</td>
</tr>'
;
}

echo '
</table>'
;

echo 
'Page: ' $context['page_index'];

echo '
</div>
<span class="lowerframe"><span></span></span>'
;
}

?>


Bump. Thank you.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Thredziii on December 26, 2010, 06:05:21 AM
hi

i have this message during install

Table 'smf.smf_team' doesn't exist
Fichier: C:\xampp\htdocs\ns_forum\Packages\temp\smf2\install.php
Ligne: 70

ty for your help
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: TheListener on December 26, 2010, 09:22:40 PM
Quote from: samurai-lupin on December 22, 2010, 03:08:16 PM
Quote from: samurai-lupin on December 07, 2010, 05:30:21 PM
For some reason it won't display my team mebers contact data (MSN, AIM; YIM etc.) Is this a bug in the code or did I do anything wrong? I would appreciate any help / feedback. Thank you.


That is not a function on this mod. All it does is show the groups ie admin etc and the members within the groups.

Quote from: Thredziii on December 26, 2010, 06:05:21 AM
hi

i have this message during install

Table 'smf.smf_team' doesn't exist
Fichier: C:\xampp\htdocs\ns_forum\Packages\temp\smf2\install.php
Ligne: 70

ty for your help

The answer can be found on the dream portal forum.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: imrich on January 07, 2011, 01:27:37 PM
Will they be updating the files here for RC4 for the bug in the install.php script?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Kimmen on January 25, 2011, 08:22:40 AM
Link to my site: http://www.efclan.eu
SMF version: SMF2 RC4
TP version: TinyPortal 1.0 RC1
Default Forum Language: English
Theme name and version: Catamosphere by Shine-Art & Smf Personal
Browser Name and Version: Firefox
Mods installed: Aeva Media 1.4c - MCLegendII RC3 3.0 - Member Color Link 3.0.8 - Curve_centered_menu 1.2 - Menu_Icons 1.0 - Custom Buttons / tabs and menus
Related Error messages: Error message here

I got this error after doing the parser for SMF2 RC4:

Table 'efclan_eu.smf_team' doesn't exist
File: /customers/efclan.eu/efclan.eu/httpd.www/Sources/TeamPage.php
Line: 201


What now?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Arantor on January 25, 2011, 08:23:23 AM
QuoteTable 'efclan_eu.smf_team' doesn't exist
You need to run the script as provided in the package itself that creates said table.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Kimmen on January 25, 2011, 08:28:50 AM
Then i get this error:

Table 'efclan_eu.smf_team' doesn't exist
File: /customers/efclan.eu/efclan.eu/httpd.www/Packages/temp/smf2/install.php
Line: 70
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Arantor on January 25, 2011, 08:37:05 AM
....the whole point of that script is that's it's supposed to *make* the table.

You could ask for support on DP's site since that's where they tend to support mods, or if you have access to phpMyAdmin you could create the table manually...
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Kimmen on January 25, 2011, 09:02:24 AM
Well, i have access, but i dont know how to do it. I have never edit anything in there ever before.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Arantor on January 25, 2011, 09:16:03 AM
Hmm, it may be best asking the DP folks themselves on dream-portal.net
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ben sisko on February 11, 2011, 09:44:40 AM
Quote from: -=[Vyorel]=- on December 03, 2010, 06:03:30 PM
Team Page (Updated for SMF 2.0 RC4) on the attachments. ;)
nice! thanks.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: jkdove on February 12, 2011, 05:46:14 PM
Obviously, my tables won't make a bunch of sense, but I'm throwing this up here as it's the only error message I have to share atm.   To re-install the mod after upgrading to RC-5, I used the Package Manager cheater option to push it back to RC-4, then attempted to run installation on the mod.  It posted Zero errors in installation testing, but when attempting to actually install, I received this error:


Table 'unk152_tbchq8.settings' doesn't exist
File: /home/unk152/public_html/tbchq.org/forums/Packages/temp/smf2/install.php
Line: 95



Don't know how much that helps, but that's all I have.   This is hands down my Favorite mod, so I really hope this gets updated sooner than later.   We'll be happy to make a donation if you do.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Oscworth on February 18, 2011, 01:13:21 PM
Will this mod be updated to work on RC5 ?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: FireDitto on February 20, 2011, 05:57:45 AM
Quote from: -=[Vyorel]=- on December 03, 2010, 06:03:30 PM
Team Page (Updated for SMF 2.0 RC4) on the attachments. ;)



Edited by (F.L.A.M.E.R) : Attachment removed. Please post the edits instead of the whole package if you wish to assist the author with the update.


=( would you share what you did, please??
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MjÖlNiR on March 01, 2011, 05:16:47 PM
Any prospects if this will be available for RC5?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on March 15, 2011, 08:17:29 PM
Table 'db274223268.settings' doesn't exist
File: /homepages/46/d274007555/htdocs/Packages/temp/smf2/install.php
Line: 95

RC5. I'm sure other people have this issue as well, but just in case I'm looking for assistance please.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Fredx on March 18, 2011, 03:43:39 PM
To install on SMF 2.0 RC4 and RC5, you have to change manually the install.php file, in the smf2/ directory of the package.

Find this line (line 19):
if (stristr($forum_version, 'SMF 2.0 RC2') || stristr($modSettings['smfVersion'], 'RC2') || stristr($forum_version, 'SMF 2.0 RC3') || stristr($modSettings['smfVersion'], 'RC3'))

And replace with this:
if (stristr($forum_version, 'SMF 2.0 RC4') || stristr($modSettings['smfVersion'], 'RC4') || stristr($forum_version, 'SMF 2.0 RC5') || stristr($modSettings['smfVersion'], 'RC5'))

In this case the mod will not install on 2.0RC2 and RC3... but this shouldn't be a problem.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on March 19, 2011, 01:12:52 AM
QuoteTable 'db274223268.settings' doesn't exist
File: /homepages/46/d274007555/htdocs/Packages/temp/smf2/install.php
Line: 95

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Oscworth on March 19, 2011, 08:01:36 AM
I took Arantor's advice and looked on http://dream-portal.net/topic_12.15.html

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MATTEK on March 22, 2011, 06:32:29 AM
Worked. Thanks!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Melissa524 on April 14, 2011, 10:59:42 AM
Okay maybe I am just missing something but how do I put groups in the "Left Groups" section?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Oscworth on April 14, 2011, 12:46:54 PM
I just checked my position options and just to let you know your not going nuts, I can't move groups into the left either  :o

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Kimmen on April 19, 2011, 12:45:27 PM
Quote from: Melissa524 on April 14, 2011, 10:59:42 AM
Okay maybe I am just missing something but how do I put groups in the "Left Groups" section?
I am pretty sure it was something with the left icon image, which you need to manually put in. Name of image is: sort_left.gif

www.yoursite.com/Themes/default/images/sort_left.gif
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Oscworth on April 20, 2011, 07:52:48 PM
Quote from: Kimmen on April 19, 2011, 12:45:27 PM
Quote from: Melissa524 on April 14, 2011, 10:59:42 AM
Okay maybe I am just missing something but how do I put groups in the "Left Groups" section?
I am pretty sure it was something with the left icon image, which you need to manually put in. Name of image is: sort_left.gif

www.yoursite.com/Themes/default/images/sort_left.gif

Thanks Kimmen I uploaded the sort_left.gif and it works perfect now. 

I've attached it if anyone needs the image
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: vectorsector on May 17, 2011, 10:04:42 PM
So when will a version be released for RC5?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: GamersBridge on May 23, 2011, 12:45:27 AM
thanks! just what I needed
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ryry46d9 on June 06, 2011, 12:41:06 AM
Quote from: Kimmen on April 19, 2011, 12:45:27 PM
Quote from: Melissa524 on April 14, 2011, 10:59:42 AM
Okay maybe I am just missing something but how do I put groups in the "Left Groups" section?
I am pretty sure it was something with the left icon image, which you need to manually put in. Name of image is: sort_left.gif

www.yoursite.com/Themes/default/images/sort_left.gif

Thankyou
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: razors edge on June 06, 2011, 12:23:18 PM
Can the page be renamed to something else besides team page? I would like to use this but on my site we do not call the "Team" members.

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Xarcell on June 07, 2011, 06:48:38 PM
RC5 version is still being worked on. I will get an update and report back. SoLoGHoST working on the team page mod and the Dream Portal mod simultaneously. The mod was ready, but then we found a huge template bug.

As far as naming it other than "team page" it certainly wouldn't be an option. However if you have little php knowledge, it could be changed manually I suppose.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: live627 on June 07, 2011, 07:35:35 PM
I have some suggestions for this mod:
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: K33NY on June 08, 2011, 12:50:58 AM
does this mod work for RC5? :)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MordyT on June 12, 2011, 03:26:58 AM
More interested in 2.0 Gold and this mod...
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: dougiefresh on June 15, 2011, 02:21:57 PM
Thank you for the wonderful mod!  I thought I'd let everybody know that when I updated my forum from 2.0 RC5 to 2.0 Gold, I had to reinstall all my mods.  This mod does not install without issues, but does not require emulation. 

I had to modify the smf2/install.php and change this line:
if (stristr($forum_version, 'SMF 2.0 RC4') || stristr($modSettings['smfVersion'], 'RC4') || stristr($forum_version, 'SMF 2.0 RC5') || stristr($modSettings['smfVersion'], 'RC5'))
to read like this:
if ($forum_version == 'SMF 2.0' || stristr($forum_version, 'SMF 2.0 RC4') || stristr($modSettings['smfVersion'], 'RC4') || stristr($forum_version, 'SMF 2.0 RC5') || stristr($modSettings['smfVersion'], 'RC5'))
After doing this mod, it installed correctly on 2.0 Gold.  Hope this info helps someone!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: K33NY on June 28, 2011, 01:39:48 AM
hello is this mod possible to use in 2.0 RC5/Gold version?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: TheListener on June 28, 2011, 11:11:20 AM
It sure is.

I'm using it on my 2.0 forum.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: K33NY on June 28, 2011, 12:45:30 PM
Do i need to make adjustments in the file package or is it just to download and install? :)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: TheListener on June 28, 2011, 12:47:36 PM
Quote from: K33NY on June 28, 2011, 12:45:30 PM
Do i need to make adjustments in the file package or is it just to download and install? :)

I can't answer that.

One persons mod may install with no errors whereas another persons may require an edit or two.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: K33NY on June 28, 2011, 01:27:00 PM
kk thank you :)
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ryry46d9 on June 29, 2011, 06:18:37 PM
So I been getting a lot of errors with 2.0


Quote8: Undefined variable: tpm_version
File: /Sources/TeamPage.php
Line: 166

165: // If you want to get rid of the copyright, simply comment out the variable or empty it.
==>166: $context['tpm_footer'] = '<a href="http://ccbtimewiz.com/" target="_blank">Team Page ' . $tpm_version . '</a>';


So I thought I would be lazy and
// $context['tpm_footer'] = '<a href="http://ccbtimewiz.com/" target="_blank">Team Page ' . $tpm_version . '</a>';
and even tried
/* $context['tpm_footer'] = '<a href="http://ccbtimewiz.com/" target="_blank">Team Page ' . $tpm_version . '</a>'; */
and lastly I tried to delete line 166
but I now just end up with

Quote8: Undefined index: tpm_footer
File: /Themes/default/languages/TeamPage.english.php (main sub template - eval?)
Line: 200



TeamPage.english.php only has 62 lines  with nothing talking about a footer + /Sources/TeamPage.php only talks about tmp_footer on line 166

What can I do to correct this as I hate seeing any thing in the error.log file :)

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hcfwesker on June 30, 2011, 02:16:11 AM
Quote from: ryry46d9 on June 29, 2011, 06:18:37 PMWhat can I do to correct this as I hate seeing any thing in the error.log file :)

Try this. 

If you haven't already done so, goto

Sources/TeamPage.php

Remove

        // If you want to get rid of the copyright, simply comment out the variable or empty it.
$context['tpm_footer'] = '<a href="http://ccbtimewiz.com/" target="_blank">Team Page ' . $tpm_version . '</a>';


Then goto

Themes/default/TeamPage.template.php

Remove

echo '
<div align="right" class="smalltext">', $context['tpm_footer'], '</div>';


Should remove that tpm_footer error you're getting.

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ryry46d9 on June 30, 2011, 02:41:28 AM
Quote from: hcfwesker on June 30, 2011, 02:16:11 AM
Quote from: ryry46d9 on June 29, 2011, 06:18:37 PMWhat can I do to correct this as I hate seeing any thing in the error.log file :)

Try this. 

If you haven't already done so, goto

Sources/TeamPage.php

Remove

        // If you want to get rid of the copyright, simply comment out the variable or empty it.
$context['tpm_footer'] = '<a href="http://ccbtimewiz.com/" target="_blank">Team Page ' . $tpm_version . '</a>';


Then goto

Themes/default/TeamPage.template.php

Remove

echo '
<div align="right" class="smalltext">', $context['tpm_footer'], '</div>';


Should remove that tpm_footer error you're getting.

I only have a TeamPage.english.php , So maybe my install is not complete

I am going to re-download this package and see if it works out any bugs
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hcfwesker on June 30, 2011, 02:54:26 AM
Well, if you were able to view the team page, and get that error, then you should have the TeamPage.template.php under your Themes/default folder.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ryry46d9 on June 30, 2011, 03:17:38 AM
All is well now
I was looking in
/Themes/default/languages
not
/Themes/default/

Thankyou

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: avguste on July 15, 2011, 02:46:38 AM
Hello

I am trying to install this mod, but I am getting this error:

"Table 'avguste_smf.smf_team' doesn't exist
File: /home/avguste/public_html/Packages/temp/smf2/install.php
Line: 70"

Any help would be appreciated.

Thanks
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: far2slow on July 15, 2011, 06:51:52 AM
this is a great mod, but what i would realy like to do is show the users in one member group in a block at the top of each team page, is there anyway that i can use the code from this to do such a thing
data i want to show is username and are they online
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: avguste on July 15, 2011, 11:10:01 PM
is anyone able to help me?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ryry46d9 on July 16, 2011, 01:56:12 AM
Quote from: avguste on July 15, 2011, 11:10:01 PM
is anyone able to help me?

If you would of read back a few pages you would of found:

http://www.dzinerstudio.com/index.php?action=dlattach;topic=3759.0;attach=3550 (http://www.dzinerstudio.com/index.php?action=dlattach;topic=3759.0;attach=3550)

from post
http://www.simplemachines.org/community/index.php?topic=339954.msg2992777#msg2992777 (http://www.simplemachines.org/community/index.php?topic=339954.msg2992777#msg2992777)

this is the only fix I know of
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Kimmen on July 22, 2011, 11:15:07 AM
I tried to register at dezinerstudio, but nada happens to activation email. Could anyone please send me a download link for this mod please?? I run smf 2.0 final version now, and need to update on my end.


Edit: Parse manager was my friend..
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Mopao on August 28, 2011, 11:07:56 AM
Hello,

SMF 2.0

TeamPage3-5-5 can not be installed.
Error message.

Tabelle 'usr_w44.smf_team' doesn't exist
File: /var/www/web444/html/Packages/temp/smf2/install.php
Line: 70


thank you
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Mopao on August 29, 2011, 05:05:10 AM
Can you help?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: MissyNL on August 29, 2011, 09:43:32 AM
it would be nice if the personal text is also added into the userblock. This because i have a teamgroup which is not a standard group. Everyone in that group ha a specific task like the newsletter or help section. Since i use the personal text block to indentifi each ones task.. it would be great if that could also be shown in the blocks itself.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Shadow Queen on August 29, 2011, 03:23:55 PM
I was trying to install this mod on my forum. But I couldn't  because of the error I am getting.

QuoteTable 'mykingdo_test.smf_team' doesn't exist
File: /home/mykingdo/public_html/test/Packages/temp/smf2/install.php
Line: 70

All the testing pass but when I hit the install that error show up.

What should I do?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Mopao on August 30, 2011, 01:19:09 AM
Hello,

SMF 2.0
I installed TeamPage3-5-5  and works, but why can not the user, guest and presenters do not see Team Page?

thank you
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Shadow Queen on September 07, 2011, 09:31:30 PM
Can you updated this mod to SMF 2.0 Gold please?

I really like to install this mod on my forum.

I am getting this errors on the admin file

Can someone help me about this?


Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hcfwesker on September 08, 2011, 12:50:05 AM
Quote from: Shadow Queen on September 07, 2011, 09:31:30 PM
Can you updated this mod to SMF 2.0 Gold please?

I really like to install this mod on my forum.

I am getting this errors on the admin file

Can someone help me about this?

Click the edit image directly under that "3" , it'll show you what edits need to be made. 

But, if that's the only error you have when installing, just do this manually, THEN install after you made this edit.

Sources/Admin.php

FIND
'current_theme' => array(
'label' => $txt['theme_current_settings'],


Add this BEFORE
'teampage' => array(
'label' => (!empty($txt['team_manage']) ? $txt['team_manage'] : 'Manage Team Page'),
'file' => 'TeamPage.php',
'function' => 'ManageTeamPage',
'custom_url' => $scripturl . '?action=admin;area=teampage;sa=admin;sesc=' . $sc,
'icon' => 'server.gif',
'subsections' => array(),
),



Also, there are 2 errors that form in the error log when viewing the team page, if you get them in your error log, the fix for that is at this link ...  http://www.simplemachines.org/community/index.php?topic=339954.msg3093985#msg3093985

Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Shadow Queen on September 08, 2011, 01:07:05 AM
Well, I did what you said to be done. It still no go. Both testing keep failing on me. I left the code in the Admin.php file.

What should I do then?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hcfwesker on September 08, 2011, 02:09:37 PM
Install the MOD.  Even if that one file says "test failed" (JUST make the edits i told you to, then Install it, without worrying about that one test failed.

It's going to say "Test Failed" cause it cant make the edits on it's own.  That's where YOU come in and make the edits manually, then install the MOD , even if it still says "test failed" on that file.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Shadow Queen on September 08, 2011, 08:01:59 PM
Thanks for the help hcfwesker!

I just thought after I edited the file that test will pass. When I edited the file when the testing fail. I can install the mod?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: hcfwesker on September 08, 2011, 08:38:22 PM
ONCE you make those manual edits, YES!

The installer just shows errors, because it can't automatically find the edits (most likely due because a previously installed MOD made an edit to "said file" , in the same location).

Please, INSTALL the MOD, after you make the manual edits i provided.  I can only say it in so many ways  lol
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Shadow Queen on September 09, 2011, 09:53:59 AM
lol,

I did install the mod lastnight. I'm loving the team page very much.

Thanks again!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: JOSHSKORN on September 13, 2011, 01:03:37 PM
A few questions:

Can this mod group ranks?
Can you specify different layouts?  I'd like 1 column, not 2 like the picture shows.  Plus, I want one row, one member, not a group of information inside one box which is what's shown.
Can you order ranks in any way you want?
Can you add custom profile fields to your team page?

To give you an idea of what I'm looking for, see my clan's roster here (http://www.aaapcclan.com/roster.html).  Note that this roster however is done manually, and not off of any forum profile.

Edit: Instead of posting twice in a row, I thought I'd edit my post, considering I was the latest poster on this thread.

I had attempted installing this mod on SMF 2.0, with tests successful, but I was finding I was unable to create the team table.  I was able to modify some of the code and I got it to install.  I just got lucky. I'm not much of a coder.  I understand a little bit.

Extract the mod on your computer (I use WinRAR), and open install.php under the smf2 folder.  Change this:
if (stristr($forum_version, 'SMF 2.0 RC2') || stristr($modSettings['smfVersion'], 'RC2') || stristr($forum_version, 'SMF 2.0 RC3') || stristr($modSettings['smfVersion'], 'RC3'))

To this:
if (stristr($forum_version, 'SMF 2.0 RC2') || stristr($modSettings['smfVersion'], 'RC2') || stristr($forum_version, 'SMF 2.0 RC3') || stristr($modSettings['smfVersion'], 'RC3') || stristr($forum_version, 'SMF 2.0') || stristr($modSettings['smfVersion'], ''))

Zip up the contents again as a ZIP folder.  Make sure the structure of the zip is the same as the original, or it won't work.  Also, make sure you delete your previous attempt to install the mod in the list of installed (or not installed) mods, then re-upload it.

The error that was being produced originally was on line 70, when in fact the code your replace is actually on line 19.

Note: Basically, I got it to install.  I have not had an opportunity to mess with any of the options.

Again, I don't know enough to assist anyone beyond that.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ʜᴏᴍɪᴄɪᴅᴇ on October 15, 2011, 04:51:27 PM
Can you help me with this

Table '********_*******.smf_team' doesn't exist
File: /home/********/public_html/Packages/temp/TeamPage3-5-5/smf2/install.php
Line: 70
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: mikeymx5 on October 25, 2011, 10:04:52 AM
Mine was giving me that error so I deleted the line in the install.php and reinstalled it.

the line giving me trouble was line 95
$smcFunc['db_insert']('ignore', $table_prefix . 'settings', array('variable' => 'string-255', 'value' => 'string-65534'), $replace_array, array('variable'));

Seems to be a problem if you had it installed once before, maybe this will help the others that cant seem to get any support for a common install error. :-\
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Stigmartyr on December 19, 2011, 07:33:12 PM
How to make Default Avatar (http://custom.simplemachines.org/mods/index.php?mod=2665) mod work with this one?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Matthew K. on January 23, 2012, 06:13:40 PM
Just a little bit of information here.

I've had to install this modification on SMF 2.0.2 for two people and there are two issues.

1) It says it's compatible with SMF 2.0 RC2 and SMF 2.0 RC3 although there's not the proper XML attributes provided in package-info.xml, so the latest version WILL NOT work with SMF 2.0 RC2, or SMF 2.0 RC3.

2) In turn, there's an issue in smf2/install.php that does not give any conditions for SMF 2.0.x (non-RC releases)

To the DreamPortal Team - I'd highly suggest fixing these issues, it'll only take you 10-15 minutes, and it'll allow this modification to be used, right now, it's useless as it won't install for any 2.0x branches. (although I suppose it'd work for 1.1x branch just fine)

For anyone wanting to install this modification on SMF 2.0, SMF 2.0.1, or SMF 2.0.2, or even any future patches that might be released before this is resolved, open the install.php file in ./smf2/ of the package, find the following lines:
Code (Find) Select
$table_prefix = '';
if (stristr($forum_version, 'SMF 2.0 RC2') || stristr($modSettings['smfVersion'], 'RC2') || stristr($forum_version, 'SMF 2.0 RC3') || stristr($modSettings['smfVersion'], 'RC3'))
$table_prefix = '{db_prefix}';

Code (Replace) Select
$table_prefix = '{db_prefix}';
Save the file, and repackage it.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: ʜᴏᴍɪᴄɪᴅᴇ on January 28, 2012, 05:24:08 PM
Quote from: Labradoodle-360 on January 23, 2012, 06:13:40 PM

Thanks!
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: D.Joe on March 18, 2012, 03:13:21 PM
Quote from: Stigmartyr on December 19, 2011, 07:33:12 PM
How to make Default Avatar (http://custom.simplemachines.org/mods/index.php?mod=2665) mod work with this one?
I would need the same thing
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Melissa524 on April 08, 2012, 01:37:49 PM
There where rumors of this being updated for 2.0 gold.  Any word on that one?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: TheListener on April 08, 2012, 01:39:26 PM
Quote from: Melissa524 on April 08, 2012, 01:37:49 PM
There where rumors of this being updated for 2.0 gold.  Any word on that one?

very doubtful.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: live627 on April 10, 2012, 03:07:11 AM
No word
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Alb0 on April 12, 2012, 02:55:04 AM
Is there anyway I could possible have the groups on the left & right align with each other at the top? So for example you have the first group on the right, aligned with the first group on the left. And then you have the second group on the right, aligned with the second group on the left. And so on and so on. I'm asking for this because i have about 6 groups that I'm showing, and it looks rather messy at the moment.
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: -=[Vyorel]=- on May 31, 2012, 12:52:44 AM
Hello!

I use this mod, but i have a question :)

How to separated an group in 3 columns on the team page?

For example, this group
(http://www.xerom-zone.ro/imghost/dm-4133843975511.png) (http://www.xerom-zone.ro/imghost/pm-4133843975511.html)
Live example here (http://www.xerom-zone.ro/index.php?action=teampage).

Another example here (http://www.simplemachines.org/about/smf/team.php) on Language Moderators, Friends and Family and Beta Testers.


Thanks
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: TheListener on May 31, 2012, 12:54:32 AM
Quote from: -=[Vyorel]=- on May 31, 2012, 12:52:44 AM
Hello!

I use this mod, but i have a question :)

How to separated an group in 3 columns on the team page?

For example, this group
(http://www.xerom-zone.ro/imghost/dm-4133843975511.png) (http://www.xerom-zone.ro/imghost/pm-4133843975511.html)

Another example here (http://www.simplemachines.org/about/smf/team.php) on Language Moderators, Friends and Family and Beta Testers.


Thanks

You do realise the 2nd image on this site is NOT the Team page mod?
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: -=[Vyorel]=- on May 31, 2012, 01:50:19 AM
Quote from: Old Fossil on May 31, 2012, 12:54:32 AM
Quote from: -=[Vyorel]=- on May 31, 2012, 12:52:44 AM
Hello!

I use this mod, but i have a question :)

How to separated an group in 3 columns on the team page?

For example, this group
(http://www.xerom-zone.ro/imghost/dm-4133843975511.png) (http://www.xerom-zone.ro/imghost/pm-4133843975511.html)

Another example here (http://www.simplemachines.org/about/smf/team.php) on Language Moderators, Friends and Family and Beta Testers.


Thanks

You do realise the 2nd image on this site is NOT the Team page mod?
Yes, i know. But however, i solved  :P
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: amarextreme on June 14, 2012, 11:40:56 AM
I have a problem, the tables, the headers of the tabels of the groups are wrong... Here are the screens...

(http://i49.tinypic.com/2ioq43.png)

(http://i45.tinypic.com/35lrdop.png)

in the Administrator tabel must be user : Amar
in the VIP Član tabel must be users : kilometar, Goran SK, doBUS, Almir, mody_kick, mate, damir fido,
-II- Glavni Moderator must be user : The_Dubster
-II- Moderator must stand the users : Mustafa YJM, ecehajic, tomo, Moderator ...

Can you help me ? I don't know why to dol, to correct these tabels and to place the headers/titels of team groups above the list of the users of the group...

Sorry for the bed English...
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: the-wanted on June 24, 2012, 02:15:36 PM
hej guys , i need help to modify this mod ...


how do i delete the star icon beside the title ?
Title: Re: Team Page
Post by: Diego Andrés on July 19, 2012, 08:06:29 PM
Updated to SMF 2.0 ;D
New style for the team page
Title: Re: Team Page
Post by: TheListener on July 19, 2012, 08:12:12 PM
Thankfully I have a test forum.

Parse error: syntax error, unexpected T_VARIABLE in /home/broadsta/public_html/smf/Sources/TeamPage.php on line 37

the line of code is:

// Determining where we are right now-- and defaulting to 'team' if we're unable to determine
$cur_act = (isset($_GET['sa']) ? $_GET['sa'] : 'team');
Title: Re: Team Page
Post by: Diego Andrés on July 19, 2012, 08:26:09 PM
Fixed.
Waiting to load the re-upload .. but now it's working.

Thanks
Title: Re: Team Page
Post by: TheListener on July 19, 2012, 08:35:27 PM
Just replaced the one file and all is sorted.
Title: Re: Team Page
Post by: TheListener on July 19, 2012, 09:00:20 PM
I spoke to soon.

Fatal error: require() [function.require]: Failed opening required '/home/xxxxxxxx/public_html/Packages/temp/remove.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxxx/public_html/Sources/Packages.php on line 938
Title: Re: Team Page
Post by: Diego Andrés on July 19, 2012, 09:18:29 PM
Quote from: Old Fossil on July 19, 2012, 09:00:20 PM
I spoke to soon.

Fatal error: require() [function.require]: Failed opening required '/home/xxxxxxxx/public_html/Packages/temp/remove.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxxx/public_html/Sources/Packages.php on line 938

Oh! I didn't write the name of the file correctly lol
re-uploading, this time will be ok  ;D

Thanks
Title: Re: Team Page
Post by: TheListener on July 19, 2012, 09:23:29 PM
which file will I need to replace?

Not yet sure if I'll be able to adapt the mod for one of me forums but will be for another.
Title: Re: Team Page
Post by: Diego Andrés on July 19, 2012, 09:28:28 PM
Package_info.xml Change
<code>remove.php</code>
to
<code>remove_hooks.php</code>

Or rename that file to "remove.php"
Title: Re: Team Page
Post by: Richard Cognot on July 20, 2012, 02:33:12 AM
Hi,

is there still a version for 1.1.16 available somewhere?

Thanks in advance!

Regards,
Richard.
Title: Re: Team Page
Post by: Josh Morrow on July 29, 2012, 12:33:57 PM
Hello there!

I have a little problem. When I test the Team Page MOD with a user without rank, the menu don't shows the button to access at Team Page, and in the admin, i can't see the button for edit TeamPage Config.

Only admin can see the button to access Team Page, but i can't edit its configuration.
Title: Re: Team Page
Post by: Diego Andrés on July 29, 2012, 01:25:51 PM
Quote from: xJoseLeon on July 29, 2012, 12:33:57 PM
Hello there!

I have a little problem. When I test the Team Page MOD with a user without rank, the menu don't shows the button to access at Team Page, and in the admin, i can't see the button for edit TeamPage Config.

Only admin can see the button to access Team Page, but i can't edit its configuration.

You have to edit the permissions por that.
Title: Re: Team Page
Post by: AtticusL on August 08, 2012, 05:18:53 PM
Is there a way I can embed the team page externally?
Title: Re: Team Page
Post by: Diego Andrés on August 14, 2012, 08:28:04 PM
Fixed Admin button.
Title: Re: Team Page
Post by: Tiensg on August 18, 2012, 06:47:13 AM
It is cool. But I have one problem. I have the BBC In Custom Title mod installed which working fine on the user profile. But when I go to the Team to view, it shows the entire coding on my custom title. How can I fix this?
Title: Re: Team Page
Post by: hcfwesker on August 18, 2012, 01:38:44 PM
Quote from: Tiensg on August 18, 2012, 06:47:13 AM
It is cool. But I have one problem. I have the BBC In Custom Title mod installed which working fine on the user profile. But when I go to the Team to view, it shows the entire coding on my custom title. How can I fix this?

From what Im seeing the changes that MOD makes, goto the default file TeamPage.template.php

Find
&bull; <strong>', $member['title'], '</strong><br />';

Replace with
&bull; <strong>', parse_bbc($member['title']), '</strong><br />';

See if that does the trick
Title: Re: Team Page
Post by: Tiensg on August 19, 2012, 02:48:03 AM
Quote from: hcfwesker on August 18, 2012, 01:38:44 PM
Quote from: Tiensg on August 18, 2012, 06:47:13 AM
It is cool. But I have one problem. I have the BBC In Custom Title mod installed which working fine on the user profile. But when I go to the Team to view, it shows the entire coding on my custom title. How can I fix this?

From what Im seeing the changes that MOD makes, goto the default file TeamPage.template.php

Find
&bull; <strong>', $member['title'], '</strong><br />';

Replace with
&bull; <strong>', parse_bbc($member['title']), '</strong><br />';

See if that does the trick

Dear Sir,

I have tried to look up for the following in the TeamPage.template.php, but I just can't find it.

&bull; <strong>', $member['title'], '</strong><br />';

Please advise.
Title: Re: Team Page
Post by: Deadfire on September 23, 2012, 11:51:01 PM
For some reason you have the date displayed as Spanish. (to non Spanish users this could become a issue)

You have:

IN /Sources/TeamPage.php

'date' => timeformat($profile['date_registered'],'%d de %B del %Y'),

I corrected it to read:

'date' => timeformat($profile['date_registered'],'%d %B %Y'),

Hope this helps


Title: Re: Team Page
Post by: K33NY on October 25, 2012, 09:08:07 PM
Hello

I was just wondering about one thing, I just downloaded and installed this mod, works PERFECTLY but I am using it for a gaming community, and having the menu button called Team isnt the word we need, we need the button to be called Roster or =TMC= Members

Is it possible to change this? and if so how? thanks for help :)
Title: Re: Team Page
Post by: hcfwesker on October 26, 2012, 02:38:03 AM
Quote from: K33NY on October 25, 2012, 09:08:07 PMTeam isnt the word we need, we need the button to be called Roster or =TMC= Members

Is it possible to change this? and if so how? thanks for help :)

/Themes/default/languages/Modifications.english.php

Find
$txt['team'] = 'Team';

Change Team to what you want.

Title: Re: Team Page
Post by: K33NY on October 26, 2012, 08:33:37 AM
Hello

I changed it but nothing happened, Menu button still says Team
Title: Re: Team Page
Post by: K33NY on October 26, 2012, 08:37:41 AM
and now, when being on main page, "Home" the button doesnt show, and if I try to unisntall, I get test fail Error on these:

Execute Modification   ./Themes/default/languages/Modifications.english.php   Test failed

1.   Add Before   ./Themes/default/languages/Modifications.english.php   Test failed
Title: Re: Team Page
Post by: K33NY on October 26, 2012, 08:39:19 AM
now it worked :)
Title: Re: Team Page
Post by: K33NY on October 26, 2012, 08:40:12 AM
omg sorry for the spamming -.- but now, when clicking Roster button, and entering it, button says Team again
Title: Re: Team Page
Post by: hcfwesker on October 26, 2012, 07:21:24 PM
There is a post modify button for a reason.  Just edit your post and add to it.  Please.

Quote from: K33NY on October 26, 2012, 08:40:12 AM
omg sorry for the spamming -.- but now, when clicking Roster button, and entering it, button says Team again

Thought it would have been obvious, but in that same language file, there are 4 other strings related to the MOD.

Themes/default/languages/Modifications.english.php

$txt['team'] = 'Team';
$txt['permissionname_view_teampage'] = 'Access Teampage';
$txt['permissionhelp_view_teampage'] = 'Giving this permission lets the membergroup in question access the team page, which is a listing of all groups you have defined within the team page settings.';
$txt['cannot_view_teampage'] = 'Apologies, but you\'re not allowed to view the team page.';


Also, goto this file

languages/TeamPage.english.php
TEAM button is in there for the Team page in the Team templates.

$txt['team'] = 'Team';
$txt['team_config'] = 'Configuration';
$txt['team_title'] = 'Our Team';
$txt['team_manage'] = 'Manage Team Page';


Also

/languages/Who.english.php

$txt['whoall_teampage'] = 'Viewing the <a href="' . $scripturl . '?action=teampage">team page</a>.';

Probably want to change team page to Roster page if you want to be throrough.  This code is for when viewing the "Who's Online" list

Title: Re: Team Page
Post by: K33NY on October 26, 2012, 09:19:13 PM
thanks alot for the help!!! and again sorry for he spam, I really need to ge better on that -.-
Title: Re: Team Page
Post by: Diego Andrés on October 27, 2012, 10:11:39 PM
Quote from: K33NY on October 26, 2012, 08:37:41 AM
and now, when being on main page, "Home" the button doesnt show, and if I try to unisntall, I get test fail Error on these:

Execute Modification   ./Themes/default/languages/Modifications.english.php   Test failed

1.   Add Before   ./Themes/default/languages/Modifications.english.php   Test failed

That's because you change the word "Team" in that file.
$txt['team'] = 'Team';

For change the name of the menu item, search in Themes/default/languages/TeamPage.english.php
$txt['team'] = 'Team';
Title: Re: Team Page
Post by: K33NY on October 27, 2012, 10:22:37 PM
yeah thanks I managed to find it :)

allso added a new mod as well, Menu Editor lite so I can sort out the menu buttons.


My next problem now is:

Is there a way to center the menu buttons? they are all the way to the left of the website would look much neater if they where in center :)
Title: Re: Team Page
Post by: FireDitto on November 09, 2012, 08:44:26 AM
Quote from: Deadfire on September 23, 2012, 11:51:01 PM
For some reason you have the date displayed as Spanish. (to non Spanish users this could become a issue)

You have:

IN /Sources/TeamPage.php

'date' => timeformat($profile['date_registered'],'%d de %B del %Y'),

I corrected it to read:

'date' => timeformat($profile['date_registered'],'%d %B %Y'),

Hope this helps

Many thanks! I so couldn't find where to fix it XD
Title: Re: Team Page (Updated for SMF 2.0 RC3!)
Post by: Zerschmetterling on November 27, 2012, 04:51:27 PM
Quote from: Saintcrow on December 22, 2010, 07:01:10 AM
hey,

is there a way to add the teammembers jobs on the page like: Admin one jobs: Support
etc..

thanks =)


I need this aswell... any solutions ?
Title: Re: Team Page
Post by: Diego Andrés on January 01, 2013, 05:16:53 PM
Quote from: Deadfire on September 23, 2012, 11:51:01 PM
For some reason you have the date displayed as Spanish. (to non Spanish users this could become a issue)

You have:

IN /Sources/TeamPage.php

'date' => timeformat($profile['date_registered'],'%d de %B del %Y'),

I corrected it to read:

'date' => timeformat($profile['date_registered'],'%d %B %Y'),

Hope this helps

Fixed  ;D
Title: Re: Team Page
Post by: R[wc]BADFISH on January 14, 2013, 06:29:21 PM
Can I make this mod viewable by unregistered visitors to the site?
Title: Re: Team Page
Post by: Diego Andrés on January 14, 2013, 06:37:25 PM
Quote from: R[wc]BADFISH on January 14, 2013, 06:29:21 PM
Can I make this mod viewable by unregistered visitors to the site?

Yes, you only have to edit guest permissions.
Title: Re: Team Page
Post by: R[wc]BADFISH on January 15, 2013, 07:18:43 PM
Thanks Diego!

alright another request!  ;D  How can I remove item's displayed for each user... like Date registered, Last Active, & Website. Also, if possible replace with custom fields like Steam/Origin Id's and Facebook account's.
Title: Re: Team Page
Post by: Diego Andrés on January 15, 2013, 08:36:16 PM
Quote from: R[wc]BADFISH on January 15, 2013, 07:18:43 PM
Thanks Diego!
if possible replace with custom fields like Steam/Origin Id's and Facebook account's.

And you have this with a mod or with custom fields?
You have to edit TeamPage.template.php.




I'll be implementing some kind of features like that for new version.
Title: Re: Team Page
Post by: R[wc]BADFISH on January 15, 2013, 09:23:16 PM
Currently setup with custom profile fields.

That would be awesome! What I'm gonna try to implement is three rectangle buttons/images located on the right side of the team member that would link to Facebook, Origin, & Steam accounts.

thanks again!
Title: Re: Team Page
Post by: Diego Andrés on January 15, 2013, 09:25:59 PM
Quote from: R[wc]BADFISH on January 15, 2013, 09:23:16 PM
Currently setup with custom profile fields.

That would be awesome! What I'm gonna try to implement is three rectangle buttons/images located on the right side of the team member that would link to Facebook, Origin, & Steam accounts.

thanks again!

Nice, let me see what can I do.  ;D
Title: Re: Team Page
Post by: R[wc]BADFISH on January 17, 2013, 07:18:04 PM
You would be my new best firend if you could help me do that!
Title: Re: Team Page
Post by: kimjhamilton on January 21, 2013, 02:03:56 AM
I have to say I do love this mod.  Unfortunately however I'm not a coding expert and I would love it if the page would to show the members last posting date/time.

Would it be incredibly difficult to add this or could someone point me in the direction of where I could add this :D
Title: Re: Team Page
Post by: vasgod on January 21, 2013, 03:04:31 PM
I got also a idea.

Why don't make a teampage for squads?
I run my own clan and we can use some mod for our squads and the result of the matches etc...
Title: Re: Team Page
Post by: Diego Andrés on February 10, 2013, 09:46:47 PM
Added brazilian and portuguese translation.
Thanks to Darkness_Black
Title: Re: Team Page
Post by: JadeCat95 on February 11, 2013, 04:22:33 AM
This seems like a nice mod, but when I installed, which went without a hitch, I can modify the settings and edit the groups that show, and I have given the permissions to the groups I want, but no matter what I do, there is no menu button to access the page. I can't even access it under Admin rights and the only way I have found to access it is by adding or deleting a group from the list and then I get the 'changes saved successfully, click here to view them' message, and clicking on that is the only way I can access the page.

Any ideas???

Oh, I'm currently running SMF 2.0.3
Title: Re: Team Page
Post by: Diego Andrés on February 11, 2013, 07:06:31 AM
Teampage mod uses hooks for add the button.
You should have search button on the menú and there should be no prolem?
Title: Re: Team Page
Post by: Costa on February 11, 2013, 10:37:53 AM
@Diego
Brazilian translation have mistakes. You'll understand if you have access to translation foruns.
Anyway, here is the correct translation.

./Themes/default/languages/Who.portuguese_brazilian.php

$txt['whoall_teampage'] = 'Vendo a <a href="' . $scripturl . '?action=teampage">Página da Equipe</a>.';


./Themes/default/languages/Modifications.portuguese_brazilian.php

$txt['team'] = 'Equipe';
$txt['permissionname_view_teampage'] = 'Ver a página da equipe';
$txt['permissionhelp_view_teampage'] = 'Dar essa permissão faz com que o grupo de membros em questão acesse a página da equipe.';
$txt['cannot_view_teampage'] = 'Desculpe, mas você não tem permissão para ver a página da equipe.';


./Themes/default/languages/Who.portuguese_brazilian-utf8.php

$txt['whoall_teampage'] = 'Vendo a <a href="' . $scripturl . '?action=teampage">P&#225;gina da Equipe</a>.';


./Themes/default/languages/Modifications.portuguese_brazilian-utf8.php

$txt['team'] = 'Equipe';
$txt['permissionname_view_teampage'] = 'Ver a p&#225;gina da equipe';
$txt['permissionhelp_view_teampage'] = 'Dar essa permiss&#227;o faz com que o grupo de membros em quest&#227;o acesse a p&#225;gina da equipe.';
$txt['cannot_view_teampage'] = 'Desculpe, mas voc&#234; n&#227;o tem permiss&#227;o para ver a p&#225;gina da equipe.';


./Themes/default/languages/Who.portuguese_pt.php
$txt['whoall_teampage'] = 'A ver a <a href="' . $scripturl . '?action=teampage">Página da Equipa</a>.';

./Themes/default/languages/Modifications.portuguese_pt.php

$txt['team'] = 'Equipa';
$txt['permissionname_view_teampage'] = 'Ver a página da equipa';
$txt['permissionhelp_view_teampage'] = 'Dar essa permissão faz com que o grupo de membros em questão consiga aceder à página da equipa.';
$txt['cannot_view_teampage'] = 'Desculpe, mas você não tem permissão para ver a página da equipa.';


./Themes/default/languages/Who.portuguese_pt-utf8.php
$txt['whoall_teampage'] = 'A ver a <a href="' . $scripturl . '?action=teampage">P&#225;gina da Equipa</a>.';

./Themes/default/languages/Modifications.portuguese_pt-utf8.php

$txt['team'] = 'Equipa';
$txt['permissionname_view_teampage'] = 'Ver a p&#225;gina da equipa';
$txt['permissionhelp_view_teampage'] = 'Dar essa permiss&#227;o faz com que o grupo de membros em quest&#227;o consiga aceder &#224; p&#225;gina da equipa.';
$txt['cannot_view_teampage'] = 'Desculpe, mas voc&#234; n&#227;o tem permiss&#227;o para ver a p&#225;gina da equipa.';
Title: Re: Team Page
Post by: Diego Andrés on February 11, 2013, 06:58:37 PM
Thank you
Title: Re: Team Page
Post by: FragaCampos on March 10, 2013, 08:04:52 PM
Hi there.

I've installed this mod, but I'm getting the following error:

index.php?action=teampage
8: Undefined index: topics
File: Sources/TeamPage.php
Line: 202


And it's probably because of this that the page doesn't show member's number of topics.
Any idea about this?

Another question: how can I add the member's number?

Anyway, thank you for this nice and useful mod.
Title: Re: Team Page
Post by: mepmep on March 14, 2013, 12:44:55 AM
index.php?action=teampage
8: Undefined index: topics
File: Sources/TeamPage.php


//'topics' => $profile['topics'],
'topics' => empty($profile['topics']) ? 0 : $profile['topics'],
Title: Re: Team Page
Post by: FragaCampos on March 14, 2013, 01:07:52 PM
Thank you, mepmep, it worked.  ;)

But how do I show the number of topics?
I tried using &bull; '.$txt['topics'].': ', $member['topics'], ' but it shows "Topics: 0"  :-\
Title: Re: Team Page
Post by: JaVeD on March 15, 2013, 01:22:18 PM
HY Guys,.
                   I installed new mode called team page in SMF 2.0.4 Version and i installed staff page mode too now when i uninstall team page mode then the admin panel not show in browser it say

QuoteFatal error: Call to undefined function TeamPage_Who() in /home/rpgkille/public_html/Sources/Who.php on line 803
when i install both mods then it work but the staff list mode not show it show error what is the bug ? pelase help !
Title: Re: Team Page
Post by: JaVeD on March 16, 2013, 12:28:13 PM
Please Reply Waiting............ :-[
Title: Re: Team Page
Post by: FragaCampos on March 16, 2013, 06:10:24 PM
Try to uninstall both mods manually. Use the parser.
Title: Re: Team Page
Post by: JaVeD on March 16, 2013, 11:48:44 PM
when i uninstall this mod but it show in the bar manage team page no uninstall and one problem is that i uninstall this mod then i can't access admin panel :( Please fix your mode
Title: Re: Team Page
Post by: Kindred on March 18, 2013, 12:49:36 PM
JaVeD,

Once again, yuo have problem with your own actions.
The mod works just fine... and both installs and uninstalls just fine on a basic forum.

*IF*, when you installed or uninstalled, there were "errors" or "failures" noted with the auotmated process, that menas that you have to MANUALLY add or remove the mod code to or from your files.

Quote from: FragaCampos on March 16, 2013, 06:10:24 PM
Try to uninstall both mods manually. Use the parser.
Title: Re: Team Page
Post by: JaVeD on March 18, 2013, 11:22:55 PM
i removed the mode from my forum but the child tab in cofiguration tab is showing,. and and page too when we click on page it does not show anything saying site forbidden
Title: Re: Team Page
Post by: Kindred on March 18, 2013, 11:33:02 PM
In other words, you did not fully uninstall the mod and you will have to manually remove the code from your source and template files now.
Title: Re: Team Page
Post by: cybrid on March 26, 2013, 05:03:22 AM
Hi,

I would like to have a Moderator showing once.
But he is showing as often as he is moderating different boards.

Can it be changed?



Title: Re: Team Page
Post by: DSystem on May 05, 2013, 10:12:11 PM
Congratulations for the MOD. Should be integrated with SMF.

I had the same friend above on line 205 of file -> TeamPage.php
I changed the line 205 to:
'topics' => empty($profile['topics']) ? 0 : $profile['topics'],

Had to make some changes to work in Brazil: Portuguese

I added these lines to the file: package-info.xml

<require-file name="languages/TeamPage.portuguese_brazilian-utf8.php" destination="$languagedir" />
<require-file name="languages/TeamPage.portuguese_brazilian.php" destination="$languagedir" />


In the file modifications.xml. Had to change the lines 200, 211, 239, 250, to:
$txt['team'] = 'Equipe';

Rename the file:TeamPage.portuguese_brazilian.utf8.php to -> TeamPage.portuguese_brazilian-utf8.php

Thank you.



Title: Re: Team Page
Post by: Shambles on May 22, 2013, 03:56:45 AM
The mod's description page contains a curious advisory...


(http://i.imgur.com/UwzuuhC.jpg)
Title: Re: Team Page
Post by: la muerte on May 22, 2013, 08:41:28 AM
I have a peculiar issue with this mod.

One of my members by the name of Griminal is showing twice on the teampage within the same group. ( fortitude-gaming.com/index.php?action=teampage ).
Anyone has a clue how I can fix this? He only exists once in the database and I have no clue what is wrong.

Edit: FYI he is not a moderator on any boards.
Title: Re: Team Page
Post by: FragaCampos on May 29, 2013, 02:04:20 PM
dsystem, if I use that piece of code, the result is Topics: 0 :(

What should I use in TeamPage.template.php? This?
&bull; '.$txt['topics'].': ', $member['topics'], '



Quote from: dsystem on May 05, 2013, 10:12:11 PM
Congratulations for the MOD. Should be integrated with SMF.

I had the same friend above on line 205 of file -> TeamPage.php
I changed the line 205 to:
'topics' => empty($profile['topics']) ? 0 : $profile['topics'],
Title: Re: Team Page
Post by: Diego Andrés on June 11, 2013, 05:49:33 PM
Quote from: FragaCampos on March 10, 2013, 08:04:52 PM


index.php?action=teampage
8: Undefined index: topics
File: Sources/TeamPage.php
Line: 202


Fixed, the code has been removed from TeamPage.php.


For the ones who want to show topics:
Install this mod: http://custom.simplemachines.org/mods/index.php?mod=1003

Search on TeamPage.php
'posts' => $profile['posts'],

Add after
'topics' => $profile['topics'],

Now open TeamPage.template.php and search for:
&bull; '.$txt['posts'].': ', $member['posts'], '';

Replace with
&bull; '.$txt['posts'].': ', $member['posts'], '<br />
&bull; '.$txt['topics'].': ', $member['topics'], '';





Quote from: dsystem on May 05, 2013, 10:12:11 PM


In the file modifications.xml. Had to change the lines 200, 211, 239, 250, to:
[code]$txt['team'] = 'Equipe';


Rename the file:TeamPage.portuguese_brazilian.utf8.php to -> TeamPage.portuguese_brazilian-utf8.php

Both things have been fixed




Quote from: Shambles on May 22, 2013, 03:56:45 AM
The mod's description page contains a curious advisory...


(http://i.imgur.com/UwzuuhC.jpg)

Fixed, Thanks.
Title: Re: Team Page
Post by: MechSpecs on June 19, 2013, 11:40:21 PM
Quote from: dsystem on May 05, 2013, 10:12:11 PM
I had the same friend above on line 205 of file -> TeamPage.php
I changed the line 205 to:
'topics' => empty($profile['topics']) ? 0 : $profile['topics'],

You sir, are a life saver!

I had an error log about 9 miles long due to that little bug and I cut and pasted the code you mentioned and VIOLA! No more errors!

Thank you!
Title: Re: Team Page
Post by: FragaCampos on June 22, 2013, 12:10:28 PM
Thank you, Diego Andrés.

I installed the Topic Count On Display (http://custom.simplemachines.org/mods/index.php?mod=1003) like you suggested, however, it isn't showing the number of topics, as you can see here:

(http://img839.imageshack.us/img839/5335/u4u6.png)


Also, I found out that the letter size in the ?action=profile page gets bigger when I install this mod. Which is odd...  ???
And a "8: Undefined index: topics" error in the log.

And a request...  O:)
Could you integrate this  (http://custom.simplemachines.org/mods/index.php?mod=2665)mod, so that Team Page shows the default avatar?

Thanks.
Title: Re: Team Page
Post by: FragaCampos on June 22, 2013, 12:30:12 PM
Ok, I managed to solve the problem.

I had to go to TeamPage.php and replace

mem.id_member, mem.id_group, mem.real_name, mem.avatar, mem.last_login, mem.usertitle, mem.website_url, mem.website_title, b.name, b.id_board, mem.posts, mem.date_registered,

with
mem.id_member, mem.id_group, mem.real_name, mem.avatar, mem.last_login, mem.usertitle, mem.website_url, mem.website_title, b.name, b.id_board, mem.posts, mem.topics, mem.date_registered,


And


mem.id_member, mem.id_group, mem.real_name, mem.avatar, mem.last_login, mem.usertitle, mem.website_url, mem.website_title, mem.posts, mem.date_registered,

with
mem.id_member, mem.id_group, mem.real_name, mem.avatar, mem.last_login, mem.usertitle, mem.website_url, mem.website_title, mem.posts, mem.topics, mem.date_registered,


Still, the letter size problem persists.
Title: Re: Team Page
Post by: Diego Andrés on June 22, 2013, 02:04:23 PM
Quote from: FragaCampos on June 22, 2013, 12:30:12 PM
Ok, I managed to solve the problem.

I had to go to TeamPage.php and replace

mem.id_member, mem.id_group, mem.real_name, mem.avatar, mem.last_login, mem.usertitle, mem.website_url, mem.website_title, b.name, b.id_board, mem.posts, mem.date_registered,

with
mem.id_member, mem.id_group, mem.real_name, mem.avatar, mem.last_login, mem.usertitle, mem.website_url, mem.website_title, b.name, b.id_board, mem.posts, mem.topics, mem.date_registered,


And


mem.id_member, mem.id_group, mem.real_name, mem.avatar, mem.last_login, mem.usertitle, mem.website_url, mem.website_title, mem.posts, mem.date_registered,

with
mem.id_member, mem.id_group, mem.real_name, mem.avatar, mem.last_login, mem.usertitle, mem.website_url, mem.website_title, mem.posts, mem.topics, mem.date_registered,


Still, the letter size problem persists.


Yes, sorry I forgot that.
What do you mean with small font size?

About the default avatar mod, I'm going to add a default avatar to the teampage mod.
Title: Re: Team Page
Post by: FragaCampos on June 22, 2013, 07:24:59 PM
Thanks a lot for considering the default avatar. ;)

Maybe it would be better if you could create an account in my forum. Please contact me via PM.
Title: Re: Team Page
Post by: Diego Andrés on June 22, 2013, 11:14:24 PM
Team Page has been updated
+ Added a default avatar.

Quote from: FragaCampos on June 22, 2013, 07:24:59 PM
Maybe it would be better if you could create an account in my forum. Please contact me via PM.

For what ???
However, thanks for the ideas, any suggestion, you can tell me and I'll see if is possible.
Title: Re: Team Page
Post by: FragaCampos on June 23, 2013, 03:48:36 PM
For you to see what happens in my profile area, because it's not easy to explain. It could be some conflict with other mod, although I know it only happens when I install Team Page.

And thank you very much for the update.
Title: Re: Team Page
Post by: Diego Andrés on June 23, 2013, 03:52:35 PM
Could you add a screenshot?
Title: Re: Team Page
Post by: FragaCampos on June 23, 2013, 04:14:53 PM
Sure. Here they go:

(http://imageshack.us/a/img11/6412/dc9a.png)
(http://imageshack.us/a/img15/1170/952t.png)
Title: Re: Team Page
Post by: Diego Andrés on June 23, 2013, 04:18:27 PM
Not sure that team page could affect that.
What theme are you using?
Title: Re: Team Page
Post by: DSystem on June 23, 2013, 04:28:20 PM
Installed this last updated and I am having the following errors in the LOGS


http://eletronicabr.com/smf/index.php?action=teampage8: Undefined index: profileSendImArquivo:
/home/dsystem/public_html/smf/Themes/default/languages/TeamPage.portuguese_brazilian-utf8.php (main sub template - eval?)
Linha: 85



http://eletronicabr.com/smf/index.php?action=teampage8: Undefined index: lastLoggedInArquivo:
/home/dsystem/public_html/smf/Themes/default/languages/TeamPage.portuguese_brazilian-utf8.php (main sub template - eval?)
Linha: 86
Title: Re: Team Page
Post by: FragaCampos on June 23, 2013, 04:35:16 PM
I'm using Citiez by DzinerStudio.
Title: Re: Team Page
Post by: FragaCampos on June 24, 2013, 09:02:08 AM
I managed to correct the problem.

The who.english.php edit went wrong for some reason, and the ?> symbol didn't stay at the end of the file as it should.

Problem solved. :)
Title: Re: Team Page
Post by: Diego Andrés on June 24, 2013, 07:26:55 PM
Quote from: FragaCampos on June 24, 2013, 09:02:08 AM
I managed to correct the problem.

The who.english.php edit went wrong for some reason, and the ?> symbol didn't stay at the end of the file as it should.

Problem solved. :)

Great that is now solved  :D


Quote from: dsystem on June 23, 2013, 04:28:20 PM
Installed this last updated and I am having the following errors in the LOGS


http://eletronicabr.com/smf/index.php?action=teampage8: Undefined index: profileSendImArquivo:
/home/dsystem/public_html/smf/Themes/default/languages/TeamPage.portuguese_brazilian-utf8.php (main sub template - eval?)
Linha: 85



http://eletronicabr.com/smf/index.php?action=teampage8: Undefined index: lastLoggedInArquivo:
/home/dsystem/public_html/smf/Themes/default/languages/TeamPage.portuguese_brazilian-utf8.php (main sub template - eval?)
Linha: 86


Mod updated, that is now solved.
Title: Re: Team Page
Post by: DSystem on June 24, 2013, 08:57:01 PM
Diego Andrés. Thank you very much.

Working perfect:
SMF 2.04-OK
Portuguese Brazil UTF8-OK
Title: Re: Team Page
Post by: Nstar on July 16, 2013, 12:09:31 AM
Hi, thanks for nice mod... I have a strange problem though. 
Everything works perfectly except that only admins can view the team page. 
I saw some other posts with the opposite problem, that anyone can view it despite permissions...
I have changed guests to be allowed to view the members list (don't really want that but whatevs), but still only admins can view the team page...
have I done something wrong... no normal users, mods, or anyone but admins!!  strange!
thanks again
Title: Re: Team Page
Post by: MechSpecs on July 16, 2013, 03:37:15 AM
Quote from: Nstar on July 16, 2013, 12:09:31 AM
Hi, thanks for nice mod... I have a strange problem though. 
Everything works perfectly except that only admins can view the team page. 
I saw some other posts with the opposite problem, that anyone can view it despite permissions...
I have changed guests to be allowed to view the members list (don't really want that but whatevs), but still only admins can view the team page...
have I done something wrong... no normal users, mods, or anyone but admins!!  strange!
thanks again

You need to set the individual permissions in your DEFAULT permissions profile. Each permission level (Guests, Registered Users, Moderators, Super Moderators, whatever).

Administration Center » Permissions » General Permissions » Modify Group (pick which group) » Access Teampage (make sure this is checked)

Title: Re: Team Page
Post by: Nstar on July 16, 2013, 04:16:15 AM
thank you, i should have known... for whatever reason, the "view teampage" line in permissions was all blank... and unchecked... just tested with it checked and now it works perfectly
any idea why those lines are all blank... did we install the mod incorrectly?
either way, i'm not concerned, as all works as it should...
thanks again, very fast resolution to my issue
Title: Re: Team Page
Post by: Diego Andrés on July 16, 2013, 09:14:28 PM
By default only admins can see Team Page, you have to set the permissions.

For new version you'll be able to set the permissions on the Team Page settings (hooks).
Title: Re: Team Page
Post by: DSystem on October 14, 2013, 09:28:48 PM
Ola.

I would like to have a Moderator showing once. But he is showing as often as he is moderating different boards.

Can it be changed?
Title: Re: Team Page
Post by: DSystem on October 14, 2013, 09:40:14 PM
Explaining better. As the moderator takes care of two plates he appears duplicated on the team page.

(http://fotos.eletronicabr.com/image.php?di=BPKQ)
Title: Re: Team Page
Post by: IcePhreak on November 13, 2013, 04:07:42 AM
I have a problem. The Team Page only shows when I'm logged into my Admin account. If I log into my test account as a regular member the team page does not appear
Title: Re: Team Page
Post by: margarett on November 13, 2013, 05:21:48 AM
Never used the MOD but you probably need to set permissions to the other membergroups.
Title: Re: Team Page
Post by: Diego Andrés on November 13, 2013, 10:37:51 PM
Yes, you have to give permission to access to the other membregroups.

About the local moderators, I'll give a check to see if I can solve it.
Title: Re: Team Page
Post by: Darkfrost on December 09, 2013, 05:46:15 AM
Hello!

i have the problem that the "team" only appears wenn ich go to the admin Panel, when i go to other areas of the Board the Team button disappears.

edit.: When i am at Home i gonna make a german translation
Title: Re: Team Page
Post by: HGNTorres on January 02, 2014, 07:01:00 AM
SUGGESTION

The possibility to create more than one team page would be really appreciated.
Title: Re: Team Page
Post by: kamili34 on February 11, 2014, 04:00:47 PM
Polish translation

./Themes/default/languages/Who.english-utf8.php

$txt['whoall_teampage'] = 'Widok <a href="' . $scripturl . '?action=teampage">personel strony</a>.';

./Themes/default/languages/Modifications.polish-utf8.php

$txt['team'] = 'Personel strony';
$txt['permissionname_view_teampage'] = 'Dost&#281;p do personelu strony';
$txt['permissionhelp_view_teampage'] = 'Dost&#281;p dla grup do strony personelu, kt&#243;re znajduj&#261; si&#281; w ustawieniach personelu.';
$txt['cannot_view_teampage'] = 'Przepraszamy nie masz dost&#281;pu do tej strony.';


TeamPage.polish-utf8.php

$txt['team'] = 'Personel';
$txt['team_config'] = 'Konfiguracja';
$txt['team_title'] = 'Personel';
$txt['team_manage'] = 'Zarz&#261;dzaj';
$txt['team_last_login'] = 'Ostatnio zalogowany';
$txt['team_no_members'] = 'U&#380;ytkownik niedost&#281;pny';
$txt['team_send_message'] = 'Wy&#347;lij pw';
$txt['no_web_tp'] = 'Brak info';

// Inside title/confirm strings.
$txt['leadership_inc'] = 'Zarz&#261;dca';
$txt['list_all_groups'] = 'Sortowanie grup';
$txt['settings_saved'] = 'Twoje ustawienia zosta&#322;y zatwierdzone. <a href="' . $scripturl . '?action=teampage" target="_self">Kliknij aby je zobaczy&#263;</a>.';

// Inside column/table strings for group inclusion
$txt['groups_left'] = 'Lewe grupy';
$txt['groups_right'] = 'Prawe grupy';
$txt['groups_bottom'] = 'G&#243;rne grupy';
$txt['groups_id'] = 'Numer grupy';
$txt['groups_name'] = 'Nazwa grupy';
$txt['groups_move'] = 'Przesu&#324;';
$txt['groups_action'] = 'Akcje';
$txt['groups_order'] = 'Sortuj';
$txt['groups_place'] = 'Wstaw';
$txt['groups_stars'] = 'Gwiazdki';

// Tooltips.
$txt['groups_move_left'] = 'Przesu&#324; grupy w lew&#261; stron&#281;';
$txt['groups_move_right'] = 'Przesu&#324; grupy w praw&#261; stron&#281;';
$txt['groups_move_bottom'] = 'Przesu&#324; grupy w g&#243;r&#281;';
$txt['groups_remove'] = 'Usu&#324; grupy';

// Push groups by step (ordering...)
$txt['groups_push_up'] = 'Przesu&#324; o jeden w g&#243;r&#281;.';
$txt['groups_push_down'] = 'Przesu&#324; o jeden w d&#243;&#322;.';

// Inside explaination/option strings.
$txt['team_enable'] = 'W&#322;&#261;czy&#263; zarz&#261;dzanie grupami?';
$txt['team_showleaders'] = 'W&#322;&#261;czy&#263; zarz&#261;dzanie?';
$txt['team_leaders'] = 'G&#322;&#243;wni zarz&#261;dzajacy (numer u&#380;ytkownika) b&#281;dzie wy&#347;wietlany przed innymi w grupie (odzielony przecinkiem)';
$txt['team_show_badges'] = 'Pokaza&#263; odznaczenia na stronie?';
$txt['team_show_avatars'] = 'Pokaza&#263; avatary na stronie?';
$txt['team_show_desc'] = 'Pokaza&#263; oopis grupy na stronie?';
$txt['team_additional_groups'] = 'Pokaza&#263; u&#380;ytkownik&#243;w w podgrupach na stronie?';

// Error strings.
$txt['no_more_groups'] = 'Nie ma nieaktywnych grup...';
$txt['no_groups_defined'] = 'Brak grup do pokazania na stronie! Prosz&#281; doda&#263; grup. U&#380;ytkownicy b&#281;d&#261; przekierowani do strony g&#322;&#243;wnej do p&#243;ki tego nie skonfigurujesz.';
$txt['team_groups_notp'] = 'Grupa nie umieszczona';
Title: Re: Team Page
Post by: Kimmen on February 12, 2014, 12:21:31 PM
Need some help editing some lines. In the picture, you see alot of white lines that really annoys me, how do i remove/change color to those lines?

Edit:
Found the code in Teampage.template.php located into the default folder. That was actually hard to find, as i would expect this to be located into the style.css file from the theme. Anyways, this is now solved !
Title: Re: Team Page
Post by: Chris180 on February 12, 2014, 12:22:33 PM
Great mod. I have a few questions.

Is there any way to rename the team page and change the position of it? It want to name it staff and have to next to the "members" tab.

Also, my headings are blank because none of my groups have any names. I have my reasons for this (don't want text under staff usernames as I have badges saying the exact same thing). Is there any way to manually edit the list names (e.g "Administrators" "Moderators" etc).

Thanks so much for the mod and support :).
Title: Re: Team Page
Post by: Chris180 on February 12, 2014, 12:24:27 PM
Quote from: IcePhreak on November 13, 2013, 04:07:42 AM
I have a problem. The Team Page only shows when I'm logged into my Admin account. If I log into my test account as a regular member the team page does not appear

You need to go to permissions on a usergroup and allow them to view it :).
Title: Re: Team Page
Post by: margarett on February 12, 2014, 12:28:14 PM
Quote from: Chris180 on February 12, 2014, 12:22:33 PM
Also, my headings are blank because none of my groups have any names. I have my reasons for this (don't want text under staff usernames as I have badges saying the exact same thing).
Actually you shouldn't do this. A better option is to tweak Display.template.php to prevent the name from being shown ;)
Title: Re: Team Page
Post by: Kimmen on February 12, 2014, 01:42:10 PM
I think there should be an option where you can enable/disable whether to show "Custom Title" or "website" from the forum profile.
Title: Re: Team Page
Post by: TheListener on February 12, 2014, 01:43:57 PM
Quote from: Kimmen on February 12, 2014, 01:42:10 PM
I think there should be an option where you can enable/disable whether to show "Custom Title" or "website" from the forum profile.

There is but these are not related to the mod.
Title: Re: Team Page
Post by: Kimmen on February 12, 2014, 01:51:16 PM
Quote from: Old Fossil on February 12, 2014, 01:43:57 PM
Quote from: Kimmen on February 12, 2014, 01:42:10 PM
I think there should be an option where you can enable/disable whether to show "Custom Title" or "website" from the forum profile.

There is but these are not related to the mod.

I did disable it from the Features and options in the admin panel, but still shows up on the team page. And, i dont want to disable it for the forum, only for the teampage, as i dont see a good reason to keep it there, and if i did, it should be displayed in its own column rather next to the name like it does now. It is abit annoying that the names, custom titles and websites push the width of the entire table. I would like it to align things so all groups look the same from top to bottom, now, if you got a long name in one group and the other groups only have short names, the information that display "Date Registered - "Send PM" and "Last Active" will not align properly together.
Title: Re: Team Page
Post by: margarett on February 13, 2014, 10:00:09 AM
Quote from: margarett on February 12, 2014, 12:28:14 PM
Quote from: Chris180 on February 12, 2014, 12:22:33 PM
Also, my headings are blank because none of my groups have any names. I have my reasons for this (don't want text under staff usernames as I have badges saying the exact same thing).
Actually you shouldn't do this. A better option is to tweak Display.template.php to prevent the name from being shown ;)

Just find and remove this bit:

// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($message['member']['group']))
echo '
<li class="membergroup">', $message['member']['group'], '</li>';


So the group name shows everywhere except in topic display.
Title: Re: Team Page
Post by: LirikAskO on February 13, 2014, 12:21:05 PM
Thanks.  ;D
Title: Re: Team Page
Post by: Chris180 on February 14, 2014, 10:57:51 AM
Quote from: margarett on February 13, 2014, 10:00:09 AM
Quote from: margarett on February 12, 2014, 12:28:14 PM
Quote from: Chris180 on February 12, 2014, 12:22:33 PM
Also, my headings are blank because none of my groups have any names. I have my reasons for this (don't want text under staff usernames as I have badges saying the exact same thing).
Actually you shouldn't do this. A better option is to tweak Display.template.php to prevent the name from being shown ;)

Just find and remove this bit:

// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($message['member']['group']))
echo '
<li class="membergroup">', $message['member']['group'], '</li>';


So the group name shows everywhere except in topic display.

You Sir, are a genius! Thank you so much! :D.
Title: Re: Team Page
Post by: heisenberg3041 on April 09, 2014, 03:18:44 AM
Hey,
I have installed and can manage it in the ACP.
But in the Menu i cant see " Team " . All Groups have the righst to access Team Page.
Title: Re: Team Page
Post by: etn991 on May 16, 2014, 10:41:45 PM
Quote from: HGNTorres on January 02, 2014, 07:01:00 AM
SUGGESTION

The possibility to create more than one team page would be really appreciated.

I wish I had the skills to make your suggestion a reality, because I just read all 28 pages of this thread hoping it was already figured out.

So, seconded.
Title: Re: Team Page
Post by: Diego Andrés on May 23, 2014, 10:43:20 PM
Quote from: etn991 on May 16, 2014, 10:41:45 PM
Quote from: HGNTorres on January 02, 2014, 07:01:00 AM
SUGGESTION

The possibility to create more than one team page would be really appreciated.

I wish I had the skills to make your suggestion a reality, because I just read all 28 pages of this thread hoping it was already figured out.

So, seconded.

This is coming for the new version of the mod (4.0).
I don't have an estimated date, but wait for it before the world cup  :P
Title: Re: Team Page
Post by: ryan_dwight on June 01, 2014, 07:49:14 PM
How to remove this error
Quote$txt['whoall_teampage'] = 'Viewing the team page.';
on the left-top of my forum above the banner when Im accessing the forum admin page.

team page on that error has a link
www.myforum.com/' . $scripturl . '?action=teampage

Thanks
Title: Re: Team Page
Post by: Kindred on June 01, 2014, 08:55:08 PM
looks like this (or some other mod) added the text string to modifications.english.php after the closing ?>
just move that line so that ?> is the last thing in the file
Title: Re: Team Page
Post by: ryan_dwight on June 01, 2014, 09:00:08 PM
thanks Kindred
Title: Re: Team Page
Post by: Arantor on June 01, 2014, 09:00:24 PM
Let me guess... the Are You Human mod is installed?
Title: Re: Team Page
Post by: Diego Andrés on July 16, 2014, 09:07:05 PM
Mod updated, new version 4.0!

- Use of hooks
- Possibility of creating various pages for groups, also including bbc and html pages.
- Moderators subpage

That's the important stuff, for more information please check the images attached in the mod page  :P
Title: Re: Team Page
Post by: etn991 on July 16, 2014, 09:47:09 PM
Thank you for the update, it adds a lot of nice features I think everyone will appreciate.

I had been using Teampage 3.6.  I uninstalled 3.6 and installed 4.0.  When trying to view the admin pages I get the following errors:

Fatal error: Cannot call method self::TP_Pages() or method does not exist in /home1/homedir/public_html/smf/Sources/TeamPageAdmin.php on line 56
Fatal error: Cannot call method self::TP_Settings() or method does not exist in /home1/homedir/public_html/smf/Sources/TeamPageAdmin.php on line 56


I am running SMF 2.0.7 and have the following mods installed:

Birthday On Register    1.0     
AJAX Recent Topics    1.1     
SimplePortal    2.3.5     
Switch Permissions    1.0     
Mark Personal Messages as Read    1.0.5     
Recent Forum Topics Boardindex    1.0     
Custom Form Mod    1.7     
Member Color Link    3.1
Related Topics    1.401     
Team Page    3.6     
Auto Lock Old Topics    2.0     
Treasury    2.12     
Inuitive Age    1.0
URL Popup    1.0.2     
Bad Behavior mod    1.5.18

Thanks for your help and efforts.
Ed
Title: Re: Team Page
Post by: Diego Andrés on July 16, 2014, 10:37:44 PM
Maybe this is a bit later but this requires at less PHP 5.0
However, please verify that all files were uploaded correctly
Title: Re: Team Page
Post by: etn991 on July 17, 2014, 05:53:19 PM
Quote from: Diego Andrés on July 16, 2014, 10:37:44 PM
Maybe this is a bit later but this requires at less PHP 5.0
However, please verify that all files were uploaded correctly

I have PHP 5.2.17.

Which files should I be looking for?

Thanks for help,
Ed
Title: Re: Team Page
Post by: Diego Andrés on July 17, 2014, 05:54:37 PM
Subs-TeamPage.php, TeamPage.php, TeamPageAdmin.php in the Sources folder
Title: Re: Team Page
Post by: etn991 on July 17, 2014, 05:58:45 PM
Quote from: Diego Andrés on July 17, 2014, 05:54:37 PM
Subs-TeamPage.php, TeamPage.php, TeamPageAdmin.php in the Sources folder

Thank you for your quick reply.

Yes, all those files are there.

Thanks,
Ed
Title: Re: Team Page
Post by: rgtoxic on July 25, 2014, 03:15:00 PM
Is there a way I can rename the "Team" tab to perhaps "Staff"?

I can't seem to find where to edit it.

Im talking about the navigation bar btw
(http://i.imgur.com/tSMANWD.png)
Title: Re: Team Page
Post by: Diego Andrés on July 25, 2014, 03:20:21 PM
Quote from: rgtoxic on July 25, 2014, 03:15:00 PM
Is there a way I can rename the "Team" tab to perhaps "Staff"?

I can't seem to find where to edit it.

Im talking about the navigation bar btw
(http://i.imgur.com/tSMANWD.png)

Themes/default/languages/TeamPage.english.php
There you can modify the string
txt['TeamPage_main_button'] = 'Team';

Change Team to Staff.
Or... if you're ussing 3.6
$txt['team'] = 'Team';
Title: Re: Team Page
Post by: rgtoxic on July 26, 2014, 06:25:34 PM
Sweet, thanks for that. I was looking in the wrong place completely lol..

Well, learn something new everyday  ;D
Title: Re: Team Page
Post by: ![]stuntman[]! on August 17, 2014, 06:00:06 AM
Great mod ! I use it since a long time, but now I've updated it to 4.0, which is awesome, really great additions, thanks for your work !

But I have a suggestion: group names should be colored with their color, not with the default style color.
Title: Re: Team Page
Post by: Diego Andrés on August 18, 2014, 01:40:39 PM
Quote from: costel_nistor96 on August 17, 2014, 06:00:06 AM
Great mod ! I use it since a long time, but now I've updated it to 4.0, which is awesome, really great additions, thanks for your work !

But I have a suggestion: group names should be colored with their color, not with the default style color.

I'll have that in mind, thanks  ;D
Title: Re: Team Page
Post by: ryan_dwight on September 02, 2014, 08:19:19 AM
Thanks for the great update.

I dont know if it is just in my forum but the team page is overlapping with the simpleportal's right block(right block of simpleportal is over the team page). So you can't be able to see the group on that page.

In the Team settings you have the option to set it left, right or down.
All the list that I placed down was overlapping but right and left is all good.
Title: Re: Team Page
Post by: dougiefresh on November 06, 2014, 04:59:33 PM
Quote from: etn991 on July 16, 2014, 09:47:09 PM
Thank you for the update, it adds a lot of nice features I think everyone will appreciate.

I had been using Teampage 3.6.  I uninstalled 3.6 and installed 4.0.  When trying to view the admin pages I get the following errors:

Fatal error: Cannot call method self::TP_Pages() or method does not exist in /home1/homedir/public_html/smf/Sources/TeamPageAdmin.php on line 56
Fatal error: Cannot call method self::TP_Settings() or method does not exist in /home1/homedir/public_html/smf/Sources/TeamPageAdmin.php on line 56
Same problem here....
Title: Re: Team Page
Post by: RAULVK on November 14, 2014, 09:14:18 PM
Quote from: dougiefresh on November 06, 2014, 04:59:33 PM
Quote from: etn991 on July 16, 2014, 09:47:09 PM
Thank you for the update, it adds a lot of nice features I think everyone will appreciate.

I had been using Teampage 3.6.  I uninstalled 3.6 and installed 4.0.  When trying to view the admin pages I get the following errors:

Fatal error: Cannot call method self::TP_Pages() or method does not exist in /home1/homedir/public_html/smf/Sources/TeamPageAdmin.php on line 56
Fatal error: Cannot call method self::TP_Settings() or method does not exist in /home1/homedir/public_html/smf/Sources/TeamPageAdmin.php on line 56
Same problem here....

I have the same problem.....
Title: Re: Team Page
Post by: zapiy on November 16, 2014, 03:53:09 PM
Same problem here.
Title: Re: Team Page
Post by: Ninja ZX-10RR on November 16, 2014, 07:00:28 PM
Quote from: Diego Andrés on August 18, 2014, 01:40:39 PM
Quote from: costel_nistor96 on August 17, 2014, 06:00:06 AM
Great mod ! I use it since a long time, but now I've updated it to 4.0, which is awesome, really great additions, thanks for your work !

But I have a suggestion: group names should be colored with their color, not with the default style color.

I'll have that in mind, thanks  ;D
I'll install it when you add that :) and perhaps if the errors reported above will be fixed. I've been considering this for months >_<
Title: Re: Team Page
Post by: Diego Andrés on November 17, 2014, 01:42:06 AM
I'm sorry, I'm having some vacations right now (on the beach) :P
But I'll give it a check ASAP when I get home.
Title: Re: Team Page
Post by: Ninja ZX-10RR on November 17, 2014, 02:16:54 AM
I'm on vacations as well :P well relax then, you will have more time and perhaps more willingness to tackle it after some rest ^^ (at least that's what happens to me)
Maybe make available the 3.6 version in the meantime as alternative?
Title: Re: Team Page
Post by: Sorunome on December 01, 2014, 03:31:07 PM
Hello,
Any way that you could specify avatar dimensions as max-width and max-height so that the browser can scale them correctly? Thanks!
Title: Re: Team Page
Post by: dougiefresh on December 01, 2014, 04:55:08 PM
Here is the copy of TeamPage 3.6 that I have....

-- attachment removed
Title: Re: Team Page
Post by: Ninja ZX-10RR on December 01, 2014, 05:39:30 PM
Thanks dougie I'll try that on my test forum when I have time, got some very important things to handle before that. Thanks again :)
Title: Re: Team Page
Post by: FireDitto on January 06, 2015, 05:23:18 AM
Hello;

When I install the new Team Page, I end up with the white page of nothing-ness and have to manually uninstall to regain access to the site. I'm not sure what its clashing with. My PHP is at 5.5 so that should be fine. I have a rather long list of mods installed so I'm not sure where to start with looking into them. Would anyone be able to advise?

In the mean time I have 3.6 installed but I'd love to upgrade :)
Title: Re: Team Page
Post by: Diego Andrés on January 06, 2015, 07:21:31 AM
Sorry, I forgot to check the mod, I'll do it later today.

Regards
Title: Re: Team Page
Post by: Diego Andrés on January 06, 2015, 06:03:54 PM
New version 4.0.1
Please try it, and tell me if that one works fine :)
Title: Re: Team Page
Post by: FireDitto on January 08, 2015, 04:49:04 AM
Thank you! Installed perfectly and works wonderfully :D


ETA: In a future update, would it be possible to add the ability to change the order of the custom pages? I tend to remember to make things in the wrong order and deleting and re-making them gets old fast XD
Title: Re: Team Page
Post by: Diego Andrés on January 08, 2015, 06:57:43 AM
Definitely that's going to be in the next update :P
Title: Re: Team Page
Post by: DragoN_PT on March 16, 2015, 08:53:28 PM
Free bump! I know its kind of an old thread but i have a question and since Diego is an active member maybe he can help me out.

So, is there a way to hide user=1? We use that account as kind of super admin and isn't really used by any of us. Show that account on the Team Page serves no propose to us... Any help will be appreciated.

Cool mod!  ;)
Title: Re: Team Page
Post by: Diego Andrés on March 16, 2015, 08:56:22 PM
Well, you can just leave it out of the page?
The mod gives you the option to select which groups will appear.
Title: Re: Team Page
Post by: DragoN_PT on March 16, 2015, 09:11:21 PM
We have 2 Administrators (plus that one). If we could hide it with a little bit of code that would be awesome, if not, we will leave it there. Thanks for the mod. Really like the display you gave to the page.
Title: Re: Team Page
Post by: Diego Andrés on March 16, 2015, 09:14:31 PM
You just want to hide the user id 1?
Title: Re: Team Page
Post by: DragoN_PT on March 16, 2015, 09:16:39 PM
Yes.
Title: Re: Team Page
Post by: Diego Andrés on March 16, 2015, 09:25:18 PM
Quote from: DragoN_SAMP on March 16, 2015, 09:16:39 PM
Yes.

Sources/TeamPage.php find
WHERE mem.id_group = {int:id_group} ' . (!empty($modSettings['TeamPage_additional_groups']) ? 'OR FIND_IN_SET({int:id_group}, mem.additional_groups)' : '') . '

replace with
WHERE mem.id_member != 1 AND mem.id_group = {int:id_group} ' . (!empty($modSettings['TeamPage_additional_groups']) ? 'OR FIND_IN_SET({int:id_group}, mem.additional_groups)' : '') . '
Title: Re: Team Page
Post by: DragoN_PT on March 16, 2015, 09:30:21 PM
Worked flawlessly! Thank you very much.  ;)
Title: Re: Team Page
Post by: .Vapor on December 14, 2015, 09:56:54 AM
Can you update for smf 2.0.11?

Thanks :)
Title: Re: Team Page
Post by: Diego Andrés on December 14, 2015, 10:00:15 AM
It's compatible with SMF 2.0.x meaning that it will install with no problems! :)

Regards.
Title: Re: Team Page
Post by: .Vapor on December 16, 2015, 03:00:24 AM
Quote from: Diego Andrés on December 14, 2015, 10:00:15 AM
It's compatible with SMF 2.0.x meaning that it will install with no problems! :)

Regards.
Great, thanks ;)
Title: Re: Team Page
Post by: Madirex on August 05, 2017, 08:48:45 AM
Hello please, parch this mod to SMF 2.0.14

The Proxy image system not work on this mod.
Title: Re: Team Page
Post by: silber112 on December 07, 2017, 05:22:33 AM
I have installed and activated the mod correctly.

Ill see in the configuration(admin) the adjustment and page settings but i cant see anywhere the groups and the members of my Team. How can i see them and configure them?
Title: Re: Team Page
Post by: shadav on October 06, 2019, 05:51:58 PM
either I'm blind or it didn't install correctly.... there's no button in the menu for the team page?
2.0.15 on a modified curve theme and on the NightBreeze them..... there wasn't any errors when it installed....
Title: Re: Team Page
Post by: Diego Andrés on October 06, 2019, 09:20:50 PM
You have to enable the team page first if I recall correctly
Title: Re: Team Page
Post by: Jackmoon on December 20, 2019, 04:19:02 PM
The team page don't show external avatars...
Title: Re: Team Page
Post by: wylekk on December 23, 2019, 07:31:25 AM
Will there be support for smf 2.1 RC2?
Title: Re: Team Page
Post by: Diego Andrés on December 27, 2019, 02:34:50 PM
Not atm but at some point in the future
Title: Re: Team Page
Post by: Diego Andrés on February 17, 2020, 08:01:20 PM
Quote from: wylekk on December 23, 2019, 07:31:25 AM
Will there be support for smf 2.1 RC2?

Working on it atm around 85% done, still figuring out how to implement drag and drop but if it's not worth the hassle I'll drop the feature.
Title: Re: Team Page
Post by: Diego Andrés on March 11, 2020, 12:41:22 PM
New version for SMF 2.1!

5.0.1 - 11 March 2020
(http://smftricks.com/Themes/SMFTricks/images/changelog/tag--pencil.png) Removed unnecessary text strings.
(http://smftricks.com/Themes/SMFTricks/images/changelog/language.png) Spanish translation.

5.0 - 11 March 2020
(http://smftricks.com/Themes/SMFTricks/images/changelog/tag--plus.png) Set the height and width of the avatars (if enabled).
(http://smftricks.com/Themes/SMFTricks/images/changelog/tag--plus.png) You can now sort your custom pages.
(http://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Huge performance fixes and improvements.
(http://smftricks.com/Themes/SMFTricks/images/changelog/tag--plus.png) Drag and drop interface for Groups management in the admin.
(http://smftricks.com/Themes/SMFTricks/images/changelog/tag--plus.png) Select the style of the moderators page and the boards included.
(http://smftricks.com/Themes/SMFTricks/images/changelog/tag--plus.png) Added Moderators as a type of page, you can now have multiple moderators pages as well.
(http://smftricks.com/Themes/SMFTricks/images/changelog/tag--pencil.png) Big code improvements.




I will have spanish translation very soon if Rock Lee doesn't beat me to it  ;D done  :P
Title: Re: Team Page
Post by: wylekk on March 12, 2020, 05:20:47 AM
Unfortunately, the mod on PHP 7.0 does not work . :(
Title: Re: Team Page
Post by: Hatshepsut on March 12, 2020, 08:49:27 AM
Version 5.0.1 installed and works fine on SMF 2.1 RC2+ (last commit 00782eb, 09.03.2020).
My forum is on PHP 7.3
Title: Re: Team Page
Post by: Jelle Mees on March 13, 2020, 02:52:27 PM
How do I update 4.0 to 5.01?
Title: Re: Team Page
Post by: Diego Andrés on March 13, 2020, 02:55:01 PM
Quote from: Jelle Mees on March 13, 2020, 02:52:27 PM
How do I update 4.0 to 5.01?

5.0 is for SMF 2.1 only, no update for 2.0
Title: Re: Team Page
Post by: Hatshepsut on March 13, 2020, 11:01:53 PM
Quote from: wylekk on March 12, 2020, 05:20:47 AM
Unfortunately, the mod on PHP 7.0 does not work . :(

If you did try to install or adapt Team Page 4.0.1 on SMF 2.1, and if you want to install the new 5.0 version, you need to uninstall 4.0.1 version completely, before installing 5.0 version.
Run the uninstaller from package manager, then open phpMyAdmin and drop all the tables related to Team Page 4.0.1 version.

If you leave 4.0.1 tables in the database, you will be able to install 5.0 version, but it will not work.
Title: Re: Team Page
Post by: Diego Andrés on March 14, 2020, 04:26:52 AM
That's true I forgot to mention it.

Thanks
Title: Re: Team Page
Post by: wylekk on March 14, 2020, 03:26:12 PM
QuoteIf you did try to install or adapt Team Page 4.0.1 on SMF 2.1, and if you want to install the new 5.0 version, you need to uninstall 4.0.1 version completely, before installing 5.0 version.
Run the uninstaller from package manager, then open phpMyAdmin and drop all the tables related to Team Page 4.0.1 version.

If you leave 4.0.1 tables in the database, you will be able to install 5.0 version, but it will not work.

If only it were that simple...
But here's where the error is  :)
Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in C:\OSPanel\domains\SMF\Sources\TeamPage\TeamPage.php on line 18

public const NAME = 'TeamPage';
public const VERSION = '5.0';


In PHP 7.0, 'public const' is not supported, 'const' is supported
Title: Re: Team Page
Post by: Diego Andrés on March 14, 2020, 04:10:24 PM
i'll check
Title: Re: Team Page
Post by: Diego Andrés on March 14, 2020, 04:14:35 PM
5.0.2 - 14 March 2020
(http://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Replaced constant vars causing incompatibility.

Updated in modsite and github.
To update just replace TeamPage.php file in Sources/TeamPage
Title: Re: Team Page
Post by: wylekk on March 17, 2020, 01:02:14 AM
Hi. In the archive of the Russian language.
Title: Re: Team Page
Post by: wylekk on March 17, 2020, 03:10:34 AM
That something is wrong...
This is how the Team Page_4.0.1 version is displayed on my site - https://wylek.ru/teampage/
And so Team-Page_5. 0.2
Title: Re: Team Page
Post by: Diego Andrés on March 17, 2020, 11:00:46 AM
I'll have a look later
Title: Re: Team Page
Post by: Diego Andrés on March 17, 2020, 01:27:08 PM
5.0.3 - 17 March 2020
(http://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Fixed css issue.
(http://smftricks.com/Themes/SMFTricks/images/changelog/language.png) Russian translation provided by wylekk (https://www.simplemachines.org/community/index.php?action=profile;u=608635).

To update replace teampage.css and View.php
Title: Re: Team Page
Post by: Diego Andrés on April 16, 2020, 09:40:30 PM
5.0.5 - 17 April 2020
(http://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Fixed undefined error when editing a page.

5.0.4 - 16 April 2020
(http://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Fixed permission view issue.

To update replace Settings.php and Pages.php
Title: Re: Team Page
Post by: GooberManNick on April 23, 2020, 09:39:41 PM
Hello, great mod!

I installed it, and some avatars are not showing. A few do, and a few don't. Any reason why?
Title: Re: Team Page
Post by: Diego Andrés on April 23, 2020, 09:58:47 PM
What version of the mod?
Title: Re: Team Page
Post by: GooberManNick on April 23, 2020, 11:52:30 PM
Quote from: Diego Andrés on April 23, 2020, 09:58:47 PM
What version of the mod?

4.0.1.

I tried installing the other version, but it said it wasn't compatible with my version of SMF (2.0.17)
Title: Re: Team Page
Post by: GooberManNick on May 01, 2020, 07:43:37 PM
Quote from: GooberManNick on April 23, 2020, 09:39:41 PM
I installed it, and some avatars are not showing. A few do, and a few don't. Any reason why?

bump. does anyone know how to fix this issue? thanks.
Title: Re: Team Page
Post by: GooberManNick on May 01, 2020, 09:51:34 PM
Quote from: GooberManNick on May 01, 2020, 07:43:37 PM
Quote from: GooberManNick on April 23, 2020, 09:39:41 PM
I installed it, and some avatars are not showing. A few do, and a few don't. Any reason why?

bump. does anyone know how to fix this issue? thanks.

I have found out what the issue was.

If a user uploaded an avatar using a URL, it did not show their avatar. When they upload the actual file to the website, their avatar will show.


I do have another question though: Can I show custom profile fields on the team page? How do I remove fields? i.e. "Last Login"
Title: Re: Team Page
Post by: Diego Andrés on May 06, 2020, 07:11:13 PM
Quote from: GooberManNick on May 01, 2020, 09:51:34 PM
I have found out what the issue was.

If a user uploaded an avatar using a URL, it did not show their avatar. When they upload the actual file to the website, their avatar will show.


I do have another question though: Can I show custom profile fields on the team page? How do I remove fields? i.e. "Last Login"

I could not replicate this issue.

For second one it's not a feature, however for login you can disable that in the mod settings page
Title: Re: Team Page
Post by: Kindred on May 08, 2020, 11:01:53 AM
The URL/avatar issue might be a problem in SMF itself, when the setting for avatars is set to "download all external" and the proxy is turned on...   the avatars seem to fail to load, everywhere
Title: Re: Team Page
Post by: shawnb61 on May 08, 2020, 11:47:28 AM
Confirmed, this is an SMF problem - external avatars specified by URL fail when the 'Download avatar at given URL' option is checked.

All other avatars work fine (uploaded, standard).  This happens whether the proxy is on or off.

Logged internally as #162.
Title: Re: Team Page
Post by: Diego Andrés on May 21, 2020, 05:34:46 PM
5.1 - 21 May 2020
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Other minor bug fixes.
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Fixed missing text from admin help in permissions.




Also I removed the 2.0.x mod cuz it's really bad  :-*
Title: Re: Team Page
Post by: GooberManNick on June 06, 2020, 11:46:36 PM
Quote from: Diego Andrés on May 06, 2020, 07:11:13 PM
For second one it's not a feature, however for login you can disable that in the mod settings page

If I just wanted to remove one field from the team page. (i.e. last login), what line would edit in the TeamPage.php?
Title: Re: Team Page
Post by: Diego Andrés on June 07, 2020, 09:07:32 PM
Quote from: GooberManNick on June 06, 2020, 11:46:36 PM
If I just wanted to remove one field from the team page. (i.e. last login), what line would edit in the TeamPage.php?

For the 4.x version fo the mod would be Themes/default/TeamPage.template.php

<img class="tp_imgs" src="'. $settings['default_images_url']. '/teampage/login.png" alt="'.$txt['TeamPage_last_login'].'" title="'.$txt['TeamPage_last_login'].'" />&nbsp;'.$txt['TeamPage_last_login'].': '.$member['last_login'].'<br />

Might be 2 similar lines, you could remove both.
Title: Re: Team Page
Post by: Diego Andrés on October 17, 2020, 03:07:13 PM
5.1.1 - 17 October 2020
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Fixed undefined errors.
Title: Re: Team Page
Post by: beckzy on October 17, 2020, 03:35:37 PM
Quote from: Diego Andrés on October 17, 2020, 03:07:13 PM
5.1.1 - 17 October 2020
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Fixed undefined errors.

Thank you!

Is it possible to include members with assigned additional membergroups on the team page?
Title: Re: Team Page
Post by: Diego Andrés on October 18, 2020, 12:14:55 PM
Quote from: beckzy on October 17, 2020, 03:35:37 PM
Is it possible to include members with assigned additional membergroups on the team page?

Not really at the moment this is not a feature
Title: Re: Team Page
Post by: Diego Andrés on November 04, 2020, 08:24:57 PM
5.1.2 - 04 November 2020
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Fixed error when visiting a moderators page with no boards selected.
Title: Re: Team Page
Post by: Jelle Mees on March 18, 2021, 04:41:56 PM
How do I upgrade without uninstalling the older version? I don't want to loose my settings.
Title: Re: Team Page
Post by: Diego Andrés on March 18, 2021, 04:44:23 PM
If you are using the 5.x version you can just upload and replace the mod source & theme files.
Also it's possible to uninstall & install, just don't check the option that deletes settings when uninstalling.
Title: Re: Team Page
Post by: Jelle Mees on March 18, 2021, 05:47:16 PM
Quote from: Diego Andrés on March 18, 2021, 04:44:23 PM
If you are using the 5.x version you can just upload and replace the mod source & theme files.
Also it's possible to uninstall & install, just don't check the option that deletes settings when uninstalling.

I am still using 4.x
Title: Re: Team Page
Post by: Diego Andrés on March 18, 2021, 05:49:44 PM
Version 5 is for SMF 2.1, so assuming you already upgraded to SMF 2.1.
There's no import of sorts, you'd have to delete/drop the team page tables before installing the mod.
Title: Re: Team Page
Post by: ryry46d9 on August 11, 2021, 09:01:54 PM
Ver. 4.0.1 pulled from the github
SMF 2.0.18

QuoteDatabase Error
Field 'body' doesn't have a default value
File: /usr/www/pbweb/n7waa/Sources/TeamPageAdmin.php
Line: 225


      // Insert the page into the database
$smcFunc['db_query']('', "INSERT INTO {db_prefix}teampage_cp
(name_page, sub_page, is_text, type)
line: 225 --> VALUES ('$ptitle', '$subact', '$textpage', '$type')");
Title: Re: Team Page
Post by: Diego Andrés on August 11, 2021, 09:03:04 PM
I'm no longer supporting that version that's why it's not on this site anymore
Title: Re: Team Page
Post by: ryry46d9 on August 11, 2021, 09:16:30 PM
Bummer, I tend not to run bleeding edge when it comes to forums.
When it is good enough for simplemachines.org to update I do as well.
Hopefully someone smarter then I will come by with the answer.