News:

Join the Facebook Fan Page.

Main Menu

Team Page

Started by Diego Andrés, October 02, 2009, 04:56:36 PM

Previous topic - Next topic

Maserati

Soory, I just work one forum, ad want to install this mod...

Arantor

@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.

jokesa157

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.

Costa

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
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

oistarbwoy

#124
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

Costa

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)
The e-mails are not in this realease(maybe on v3.4)

Farewell
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

mira-san

The updated version for the French translation.

Costa

Thank's mira-san. Updated :)
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

chadon

Thanks Mira-san and sorry Costa for being late to update the translation. :)

DarkLite

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?

jokesa157

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.

Acans

@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.
"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not
  dead yet, the time was soon to come to pass when mysql_query shall be gone and no more

Costa

Custom Titles are supported, see here
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

Acans

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
"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not
  dead yet, the time was soon to come to pass when mysql_query shall be gone and no more

Costa

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>';

Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

imrich

#135
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!

Costa

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
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

DarkLite

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?

Costa

It's because you're not using stars or badges
Will be fixed at next version.

Thank's for the report
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

Acans

More in-coming requests :P

Anyway to disable custom titles being shown in the groups listened at the buttom of the teampage?
"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not
  dead yet, the time was soon to come to pass when mysql_query shall be gone and no more

Advertisement: