Advertisement:

Author Topic: Staff Page Mod  (Read 249416 times)

Offline azhriel

  • Jr. Member
  • **
  • Posts: 132
Re: Staff Page Mod updated for SMF 2.0 RC3!
« Reply #620 on: November 15, 2010, 12:30:48 AM »
How can i make this mod not to display boards being moderated by the "Local Moderators"

It is so messy when one moderators moderates more than 1 board...

Offline cloksin

  • Jr. Member
  • **
  • Posts: 148
  • Gender: Male
    • D+X Institute
Re: Staff Page Mod updated for SMF 2.0 RC3!
« Reply #621 on: January 18, 2011, 04:38:49 PM »
Love this mod, have it installed on 2.0 RC3.  I have a question though, instead of just having the members listed one after another in a vertical format, I'd like to have them two across, with all the pertinent information about the staff member to the right of the avatar, so basically it would be a 4 column table with as many rows as half the amount of staff members.  How would I go about making this change?
SMF 2.0.1
SimplePortal 2.3.3

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,510
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Staff Page Mod updated for SMF 2.0 RC3!
« Reply #622 on: January 18, 2011, 04:42:47 PM »
You would need to edit the Staff.template.php file and change the code to organize it differently.
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

Offline DasVON

  • Jr. Member
  • **
  • Posts: 112
  • Gender: Male
  • Fortune Favors the Bold
Re: Staff Page Mod updated for SMF 2.0 RC3!
« Reply #623 on: March 13, 2011, 10:30:54 PM »
How do you rename the button from "Staff List" to "Roster"

what files do I edit and what to look for ?

thanks

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,510
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Staff Page Mod updated for SMF 2.0 RC3!
« Reply #624 on: March 13, 2011, 10:57:42 PM »
themes/default/languages/modifications.english.php

Look for Staff List
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

Offline DasVON

  • Jr. Member
  • **
  • Posts: 112
  • Gender: Male
  • Fortune Favors the Bold
Re: Staff Page Mod updated for SMF 2.0 RC3!
« Reply #625 on: March 13, 2011, 11:35:13 PM »
Thank You...  ;D

Offline gvalfer

  • Jr. Member
  • **
  • Posts: 125
Re: Staff Page Mod updated for SMF 2.0 RC3!
« Reply #626 on: April 25, 2011, 07:54:57 AM »
you can give me only sql file please?
file.sql
thks

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,510
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Staff Page Mod updated for SMF 2.0 RC3!
« Reply #627 on: April 25, 2011, 10:49:29 AM »
There is no .sql file but sql is found in the installer you can extract it to your root forum directory and run it to create tables
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

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,510
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Staff Page Mod updated for SMF 2.0 RC3!
« Reply #628 on: May 03, 2011, 07:30:45 PM »
Two options.
1.  Get the manual install transactions for the mod and reverse it.
2. Uninstall all mods afterwords that were installed after this mod in order of last installed to uninstall cleanly
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

Offline OCJ

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Staff Page Mod updated for SMF 2.0!
« Reply #629 on: July 14, 2011, 12:38:07 AM »
Nice, like a lot of your mods - thanks always.

One suggestion is including avatars on the list.
Andy

Offline 017

  • Semi-Newbie
  • *
  • Posts: 21
Re: Staff Page Mod updated for SMF 2.0!
« Reply #630 on: September 11, 2011, 10:13:30 PM »
So I gotta question... how would I edit the size of avatars on the page? I'd like to resize the avatars on it so the height is always at 25px. I think it has something to do with this code snippet, but not sure cause I don't see any of the usual context for image size or etc.:

Code: [Select]
if ($modSettings['smfstaff_showavatar'])
{
echo '<td class="windowbg">';
// Display the users avatar
            $memCommID = $row2['ID_MEMBER'];
            loadMemberData($memCommID);
            loadMemberContext($memCommID);
            echo $memberContext[$memCommID]['avatar']['image'];

echo '</td>';
}

Anyway, if someone can point out what I'm missing with this that'd be great.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,510
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Staff Page Mod updated for SMF 2.0!
« Reply #631 on: September 11, 2011, 10:14:56 PM »
Not easily you would have to get your own picture url
   echo $memberContext[$memCommID]['avatar']['image'];
That above code includes all the html.
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

Offline 017

  • Semi-Newbie
  • *
  • Posts: 21
Re: Staff Page Mod updated for SMF 2.0!
« Reply #632 on: September 11, 2011, 10:31:25 PM »
Ack, that's what I feared was the case.

Offline luuuciano

  • SMF Hero
  • ******
  • Posts: 2,979
    • http://cbasites.net/
Re: Staff Page Mod updated for SMF 2.0!
« Reply #633 on: September 12, 2011, 08:49:15 AM »
You may try changing <td class="windowbg"> to <td class="windowbg avatar25">
then in the css adding something like
.avatar25 img {
height:25px;
}
or maybe
height:25px !important;
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Offline 017

  • Semi-Newbie
  • *
  • Posts: 21
Re: Staff Page Mod updated for SMF 2.0!
« Reply #634 on: September 12, 2011, 11:11:08 AM »
Worked like a charm. Thanks!

Offline Runmauk

  • Newbie
  • *
  • Posts: 1
Re: Staff Page Mod updated for SMF 2.0!
« Reply #635 on: September 15, 2011, 09:35:44 AM »
I am using 2.0 Final and I attempted to change the Staff List to Roster in the modification.english.php file but it is not updating the site. Did I miss something? I tried using the default theme but no change there either.

Offline bruce86

  • Jr. Member
  • **
  • Posts: 135
Re: Staff Page Mod updated for SMF 2.0!
« Reply #636 on: September 25, 2011, 07:39:35 AM »
Italian Translation..;)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,510
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Staff Page Mod updated for SMF 2.0!
« Reply #637 on: September 25, 2011, 11:36:33 AM »
Thanks for translation
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

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,781
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Staff Page Mod updated for SMF 2.0!
« Reply #638 on: November 05, 2011, 01:15:35 AM »
vbgamer45, could you assist me here.

Just as you've done in your mod, where you call out a membergroup of your choice and it displays the user names and link to their profile.

I want to create a block (outside the staff page) that displays the same information as found in the staff page, but only for membergroup 12. That it, I want to call out all users in member-group 12, display their usernames, a link that leads to their profile, and their avatar beside the username.

Could you help me do this? I'm totally stumped.

Offline dStruct

  • Semi-Newbie
  • *
  • Posts: 19
Re: Staff Page Mod updated for SMF 2.0!
« Reply #639 on: March 12, 2012, 01:34:26 AM »
Is there a way to make the list display in alphabetical order? Rather then registration date