News:

Wondering if this will always be free?  See why free is better.

Main Menu

Team Page

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

Previous topic - Next topic

Diego Andrés

Teampage mod uses hooks for add the button.
You should have search button on the menú and there should be no prolem?

SMF Tricks - Free & Premium Responsive Themes for SMF.

Costa

#501
@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.';
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."

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

FragaCampos

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.

mepmep

index.php?action=teampage
8: Undefined index: topics
File: Sources/TeamPage.php


//'topics' => $profile['topics'],
'topics' => empty($profile['topics']) ? 0 : $profile['topics'],

FragaCampos

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

JaVeD

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 !

JaVeD

Please Reply Waiting............ :-[

FragaCampos

Try to uninstall both mods manually. Use the parser.

JaVeD

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

Kindred

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.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

JaVeD

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

Kindred

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.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

cybrid

#513
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?




DSystem

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.




Shambles

The mod's description page contains a curious advisory...



la muerte

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

FragaCampos

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'],

Diego Andrés

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




Fixed, Thanks.

SMF Tricks - Free & Premium Responsive Themes for SMF.

MechSpecs

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!

Advertisement: