collapse collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 143
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM
  • phantomm: and from what I see only patch is broken, full install package is fine
    October 21, 2016, 03:44:44 PM
  • phantomm: they say it for over 3 weeks now..
    October 21, 2016, 03:43:52 PM

* Recent Posts

Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Author Topic: New Staff Block  (Read 29393 times)

0 Members and 1 Guest are viewing this topic.

Offline stapler2025

  • Just Registered
  • Posts: 1
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: New Staff Block
« Reply #40 on: December 20, 2011, 06:27:38 PM »
Thanks for this mod of a mod.  One request/question I have is, how can I make it to where it order's based upon what I put in the box?  I don't want it to sort anything, and even with the sort box unchecked, it continues to sort in whatever fashion it wishes.

Offline Buta

  • Semi Newbie
  • *
  • Posts: 6
    • Sportski ribolov
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #41 on: February 02, 2012, 12:22:49 PM »
Thank you for this block - a mod of a mod :)

However I cannot get this to work and just can't work out why. The group I want to add, which is a regular one, is number 15 I assume from its address:
index.php?action=admin;area=membergroups;sa=members;group=15
But when I put "15" into the Groups to Display field and click preview I get nowt!

There is one member of this group and there is nothing in the Exclude Members box. If anyone can suggest where I may be going wrong I'll be grateful :)

I have a same problem, please help
I have a group Donator and ID group is 13, when i enter 13 in Groups to display, i got nothing

No errors in error log

Please help me,
Sorry for my bad english

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: New Staff Block
« Reply #42 on: April 16, 2012, 05:33:36 AM »
Would be nice to have an option to just add member IDs.
I had problems with another staff mod as it required a new group making and caused some permissions problems.
Often staff are a small group of people so nice not to have to worry about making groups but just add the IDs of certain people.
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline mehrtadbir

  • Semi Newbie
  • *
  • Posts: 19
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
Re: New Staff Block
« Reply #43 on: January 22, 2014, 08:19:51 PM »
Thank you all, But there was an error


8: Undefined index: id
/home/xxx/domains/xxx/public_html/Sources/PortalBlocks.php
Line:2356

Code: [Select]
2336:
);
2337:
}
2338:
$smcFunc['db_free_result']($request);
2339:
2340:
if ($sort_asc)
2341:
ksort($staff_list);
2342:
else
2343:
{
2344:
$groups = array_flip($groups);
2345:
ksort($groups);
2346:
array_multisort($groups, SORT_ASC, $staff_list);
2347:
}
2348:
$staff_count = count($staff_list);
2349:
$count = 0;
2350:
$icons = array(1 => 'admin', 'gmod', 'lmod');
2351:
2352:
if (!empty($colorids) && sp_loadColors($colorids) !== false)
2353:
{
2354:
foreach ($staff_list as $k => $p)
2355:
{
==>2356:
if (!empty($color_profile[$p['id']]['link']))
2357:
$staff_list[$k]['link'] = $color_profile[$p['id']]['link'];
2358:
}
2359:
}
2360:
2361:
echo '
2362:
<table class="sp_fullwidth">';
2363:
2364:
foreach ($staff_list as $group)
2365:
foreach ($group as $staff)
2366:
echo '
2367:
<tr>
2368:
<td class="sp_staff sp_center">', !empty($staff['avatar']['href']) ? '
2369:
<a href="' . $scripturl . '?action=profile;u=' . $staff['id'] . '" rel="nofollow"><img src="' . $staff['avatar']['href'] . '" alt="' . $staff['name'] . '" width="40" /></a>' : '', '
2370:
</td>
2371:
<td class="sp_staff_info', $staff_count != ++$count ? ' sp_staff_divider' : '', '">
2372:
', sp_embed_image(!empty($icons[$staff['id_group']]) ? $icons[$staff['id_group']] : 'user'), ' ', $staff['link'], '<br />
2373:
', $staff['group'], '
2374:
</td>
2375:
</tr>';
2376:
تالار گفتگوی تخصصی متا    دفتر تلفن مشاغل   سامانه پیام کوتاه ویژه اعضای دفتر تلفن مشاغل     شبکه تجارت الکترونیک البرز

Offline WhiteEagle

  • Semi Newbie
  • *
  • Posts: 13
  • Gender: Male
  • Writer at Large
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: New Staff Block
« Reply #44 on: December 18, 2014, 07:23:44 PM »
Thank you for this block - a mod of a mod :)

However I cannot get this to work and just can't work out why. The group I want to add, which is a regular one, is number 15 I assume from its address:
index.php?action=admin;area=membergroups;sa=members;group=15
But when I put "15" into the Groups to Display field and click preview I get nowt!

There is one member of this group and there is nothing in the Exclude Members box. If anyone can suggest where I may be going wrong I'll be grateful :)

I have a same problem, please help
I have a group Donator and ID group is 13, when i enter 13 in Groups to display, i got nothing

No errors in error log

Please help me,
Sorry for my bad english

I have this error as well. I want to use it to display my Folding at Home Team Members (id 9), and so when I put in 9, I get nothing, and I'm a member of that group!
I fold for team 52482. Do you fold at home?

Offline ThatCrazyGuy

  • Semi Newbie
  • *
  • Posts: 5
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: New Staff Block
« Reply #45 on: May 01, 2015, 09:11:21 PM »
Sorry for the necropost but I was hoping someone would be able to help with this. I'm trying to remove the those 16x16 icons that appear next to the staff member's name. Does anyone know how to do that?

Any help would be greatly appreciated.

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1173
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: New Staff Block
« Reply #46 on: May 04, 2015, 07:30:44 PM »
ThatCrazyGuy,

Add this bit at the bottom of your {yourthemename}/css/portal.css
Code: [Select]
#sp_block_12 tr td.sp_staff_info.sp_staff_divider img { display: none; }Replace "12" with the ID of your block. You can see the ID of your block by either using the inspect element function on your browser, but also while editing the block in the URL itself, you will see an "id=XX". That's your ID :)
Tested.

Regards
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis

Offline LittleFang

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: New Staff Block
« Reply #47 on: September 10, 2018, 12:09:04 PM »
The archive is corrupt, there are no files in the package to install.

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1173
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: New Staff Block
« Reply #48 on: September 13, 2018, 08:30:33 AM »
The archive is corrupt, there are no files in the package to install.
Yeah sadly it's because of this: https://simpleportal.net/index.php?topic=14500.0
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis