News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Team Page

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

Previous topic - Next topic

Costa

@ Horseman

Can you rephrase? I don't understand your question...
Thank you for your translation :)
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."

Horseman

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.

Gruß Horseman
______________________________________________________

PhpOpenChat Support Portal: http://www.phpopenchat.de

TheListener

Thought I had it but this error appeared.

Wrong value type sent to the database. Array of integers expected. (groups)

Arantor

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

TheListener

That's exactly what I did.

Arantor

Hmm. Hopefully the author can shed some light on this.

Costa

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)
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."

TheListener

/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:    

Costa

Post here a Screenshot of the team page admin area, i'm trying to reproduce the error :)
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."

TheListener


Costa

I'm talking about this action index.php?action=teampage;sa=manage
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."

TheListener

The screenshot is what I get when I go to the page.

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

TheListener

Sorted ( hope) there were too many commas (,)

Costa

: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
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."

TheListener

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>

Costa

It's because you are not using badges in one membergroup
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."

TheListener

Am unable to see where to set permissions fo the groups?

What do you mean by badges?

Arantor

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.

Costa

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 :)
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."

Advertisement: