News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Staff Page Mod

Started by SMFHacks.com Team, May 18, 2006, 06:53:57 PM

Previous topic - Next topic

vbgamer45

You would have to modify the sql query and do a sort by realName/real_name instead.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Biology Forums

Although a great mod, I ended up making my own staff page using SSI functions:

http://biology-forums.com/index.php?action=staff

One thing that would make me revert back however, if there was a possibility to resize the avatars.

vbgamer45

Resize avatars you mean control how large they are? Doesn't SMF have the settings to control that already?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Alb0

Quote from: Liam_michael on April 10, 2012, 04:56:43 PM
Although a great mod, I ended up making my own staff page using SSI functions:

http://biology-forums.com/index.php?action=staff

One thing that would make me revert back however, if there was a possibility to resize the avatars.

I love what you've done with it. Really organized and clean. Won't you share with us all?!  ;D
I could definitely use that on my site. 

Biology Forums

Quote from: Alb0 on April 28, 2012, 08:19:15 PM
Quote from: Liam_michael on April 10, 2012, 04:56:43 PM
Although a great mod, I ended up making my own staff page using SSI functions:

http://biology-forums.com/index.php?action=staff

One thing that would make me revert back however, if there was a possibility to resize the avatars.

I love what you've done with it. Really organized and clean. Won't you share with us all?!  ;D
I could definitely use that on my site.

Yes, but to create it you'll need SMF version 1.x. I can share the code with you, and then you can revert it to the proper 2.x code. It was purely done using SSI functions.

Gavriel

I don't know if you need it, but I'm posting a brazilian portuguese translation (pt-br). Here it is:

Staff.portuguese_brazilian.php:
<?php
/*
SMF Staff
Version 1.6
by:vbgamer45
http://www.smfhacks.com
*/

//Staff text strings
$txt['smfstaff_local'] = 'Moderadores Locais';
$txt['smfstaff_lastactive'] = '&Uacute;ltima atividade:';
$txt['smfstaff_forums'] = 'F&oacute;runs:';
$txt['smfstaff_dateregistered'] = 'Data de Registro:';
$txt['smfstaff_contact'] = 'Informaç&otilde;es de Contato:';
$txt['smfstaff_sendpm'] = 'Enviar MP';
$txt['smfstaff_avatar'] = 'Avatar';
$txt['smfstaff_options'] = 'Opç&otilde;es';

$txt['smfstaff_nocatabove'] = 'N&atilde;o h&aacute; nenhum grupo acima do atual.';
$txt['smfstaff_nocatbelow'] = 'N&atilde;o h&aacute; nenhum grupo abaixo do atual.';
$txt['smfstaff_errgroupexists'] = 'Esse grupo &aacute; est&aacute; na staff list.';

$txt['smfstaff_staffsetting'] = 'Configuraç&otilde;es da P&aacute;gina de Staff';
$txt['smfstaff_showavatar'] = 'Mostrar Avatar';
$txt['smfstaff_showlastactive'] = 'Mostrar &Uacute;ltima Atividade';
$txt['smfstaff_showdateregistered'] = 'Mostrar Data de Registro';
$txt['smfstaff_showcontactinfo'] = 'Mostrar Informaç&otilde;es de Contato';
$txt['smfstaff_showlocalmods'] = 'Mostrar Moderadores Locais';

$txt['smfstaff_groupstoshow'] = 'Adicionar grupos &agrave; p&aacute;gina da Staff:';


$txt['smfstaff_groupstoadd'] = 'Grupos que aparecem na p&aacute;gina da Staff:';

$txt['smfstaff_addgroup'] = 'Adicionar Grupo';
$txt['smfstaff_delgroup'] = '[Deletar Grupo]';

$txt['smfstaff_up'] = '[Para cima]';
$txt['smfstaff_down'] = '[Para baixo]';

$txt['smfstaff_savesettings'] = 'Salvar Configuraç&otilde;es';
?>


staff2.xml:
<file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin SMF Staff Page Text Strings
$txt['smfstaff_stafflist'] = 'Staff';
$txt['smfstaff_admin'] = 'Configuraç&otilde;es da Lista de Staff';

$txt['permissionname_view_stafflist'] = 'Ver Staff';
$txt['permissionhelp_view_stafflist'] = 'A lista de staff mostra todos os membros da sua staff. Voc&ecirc; pode mudar quais grupos de membros s&atilde;o mostrados indo em Configuraç&otilde;es do F&oacute;rum e procure por Configuraç&otilde;es da Lista de Staff. Essa permiss&atilde;o permite que voc&ecirc; alterne quem pode ver a lista de staff.';
$txt['cannot_view_stafflist'] = 'Voc&ecirc; n&atilde;o pode ver a lista da Staff.';
]]></add>
</operation>
</file>

SMFHacks.com Team

Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Gavriel

No problem, thank you for this mod  :)

SoSad

First of all, Thank you soo much for this mod. :)

Uhmmm, Can I change the name of the menu button into "Staff" instead of "Staff List"?

vbgamer45

Yes in themes/default/languages/modifications.english.php
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

SoSad

Quote from: vbgamer45 on June 24, 2012, 06:16:36 PM
Yes in themes/default/languages/modifications.english.php

Cool. Works great! Thank you soo much. :)

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Sulfur

hi,

is it possible to add the Custom Title to show?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

DreamZ1337

Nice mod.
But when i install it nothing happends, i just get redirect to the staff page. But after i save and everything nothing happends.
Forum link: Crystal-server.com [nofollow]

mr.sonic

Could you tell me where I would have to go in the source to modify the permissions? Currently, it seems as if Global Moderators cannot view the page at all and I want all members to be able to.

Thanks a lot.

vbgamer45

Admin -> Permissions -> Modify group

Give them the View staff page permission.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

than

Quote from: Liam_michael on April 28, 2012, 09:14:41 PM
Quote from: Alb0 on April 28, 2012, 08:19:15 PM
Quote from: Liam_michael on April 10, 2012, 04:56:43 PM
Although a great mod, I ended up making my own staff page using SSI functions:

http://biology-forums.com/index.php?action=staff

One thing that would make me revert back however, if there was a possibility to resize the avatars.

I love what you've done with it. Really organized and clean. Won't you share with us all?!  ;D
I could definitely use that on my site.

Yes, but to create it you'll need SMF version 1.x. I can share the code with you, and then you can revert it to the proper 2.x code. It was purely done using SSI functions.

Any news about the code for SMF 2? I really like this staff page...

Advertisement: