collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 362
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ 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

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: New Staff Block  (Read 57287 times)

0 Members and 1 Guest are viewing this topic.

Offline grafitus

  • Comrade
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
New Staff Block
« on: May 03, 2011, 02:30:37 PM »
Many people already wanted to do it; adding new groups, excluding some of members...



New Staff Block allows those:
+ displaying entered groups (separated with commas)
+ excluding entered members (separated with commas)
+ sorting in ascending (by default, sort entered groups IDs -- thanks to Sinan for this)

Before I forget, it works with SMF 2.0 versions.

If you want this; install attached mod file via Package Manager, and you'll see the Sun. 8)
« Last Edit: July 01, 2011, 07:08:17 AM by grafitus »
my modsI don't reply support PMs. Please use support forums.

Offline slop_chute

  • Semi Newbie
  • *
  • Posts: 43
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #1 on: May 27, 2011, 09:08:20 PM »

I tried this out with my local xampp install.

Installed via package manager with no errors

SMF2.0 RC5
SP 2.3.3

MODS:
1.    Aeva ~ Auto-Embed Video & Audio    7.1
2.    Clean Thread Icons    1.0
3.    Gamer IDs    1.02    
4.    Join date and Location in Posts    1.1
5.    Member Awards    2.2.3    
6.    MessagePreviewOnHover    1.7
7.    newstaffblock    1.0
8.    Simple .htaccess Bot Blocker Mod    1.1
9.    SimplePortal    2.3.3

When I configure and deploy the block I get these errors...

Code: [Select]
http://localhost/prod/index.php?
8: Undefined index: group
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2376

http://localhost/prod/index.php?
8: Undefined index: link
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2375

http://localhost/prod/index.php?
8: Undefined index: id_group
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2375

http://localhost/prod/index.php?
8: Undefined index: group
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2376

http://localhost/prod/index.php?
8: Undefined index: link
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2375

http://localhost/prod/index.php?
8: Undefined index: id_group
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2375

http://localhost/prod/index.php?
8: Undefined index: id
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2360

http://localhost/prod/index.php?
2: array_multisort() [<a href='function.array-multisort'>function.array-multisort</a>]: Array sizes are inconsistent
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2350

Not sure what the snag is...

Thanks

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: New Staff Block
« Reply #2 on: May 29, 2011, 11:44:45 AM »
Did you fill in the block which from the image says Untitled?
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline slop_chute

  • Semi Newbie
  • *
  • Posts: 43
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #3 on: May 29, 2011, 04:50:58 PM »
Sure did... I even have tried several group combos. This image was just from the last attempt and I just left at the default text.  Also removed and re-installed more than once via pkg manager. .

Thanks

Offline SrMorte

  • Newbie
  • Posts: 3
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #4 on: June 02, 2011, 04:00:43 PM »
With happens the same thing.

Only appears one member icon and nothing more.

The version of my SMF is 2.0 RC4 and the SP is 2.3.3

Offline slop_chute

  • Semi Newbie
  • *
  • Posts: 43
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #5 on: June 02, 2011, 04:25:23 PM »
With happens the same thing.

Only appears one member icon and nothing more.

The version of my SMF is 2.0 RC4 and the SP is 2.3.3

Do you get the same errors?


Offline SrMorte

  • Newbie
  • Posts: 3
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #6 on: June 02, 2011, 04:46:15 PM »
The same erros (Error in line XXX or YYY, didn't appear nothing about that)

But the block appear like your block



Didn't work. If you whant i can post here a printscreen.

(Sorry the possible bad english)

Offline slop_chute

  • Semi Newbie
  • *
  • Posts: 43
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #7 on: June 03, 2011, 07:42:44 AM »
The same erros (Error in line XXX or YYY, didn't appear nothing about that)

But the block appear like your block



Didn't work. If you whant i can post here a printscreen.

(Sorry the possible bad english)

Did you look in your error log?  These errors did not pop up until I went to the portal. Since you have the same issue I would suspect you have the same errors. 

If I get time I might try a fresh install and see what happens but at this point I have moved on..

Offline SrMorte

  • Newbie
  • Posts: 3
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #8 on: June 03, 2011, 12:52:56 PM »
I've searched the error log, and are in the same lines and files.

Everything is the same.

Offline grafitus

  • Comrade
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: New Staff Block
« Reply #9 on: June 05, 2011, 12:08:21 PM »
Sorry for the delay. I had done a mistake. To resolve:

First, install the mod. Then in ./Sources/PortalBlocks.php:
Code: (Find) [Select]
foreach ($staff_list as $staff)
Code: (Replace) [Select]
foreach ($staff_list as $group)
foreach ($group as $staff)

I'll fix the package within a few days.
my modsI don't reply support PMs. Please use support forums.

Offline slop_chute

  • Semi Newbie
  • *
  • Posts: 43
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #10 on: June 06, 2011, 07:41:40 AM »
Sorry for the delay. I had done a mistake. To resolve:

First, install the mod. Then in ./Sources/PortalBlocks.php:
Code: (Find) [Select]
foreach ($staff_list as $staff)
Code: (Replace) [Select]
foreach ($staff_list as $group)
foreach ($group as $staff)

I'll fix the package within a few days.

Ah... Okay -  Thank you..

Offline RvG

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #11 on: June 06, 2011, 08:14:13 AM »
thanks I've been waiting for this one... will it be included on the SP 2.4?

Offline grafitus

  • Comrade
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: New Staff Block
« Reply #12 on: June 06, 2011, 10:25:16 AM »
will it be included on the SP 2.4?
I hope, maybe...
my modsI don't reply support PMs. Please use support forums.

Offline K4Lku

  • Just Registered
  • Posts: 1
  • SMF Version: 2 RC1.2
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #13 on: June 26, 2011, 05:27:54 PM »
Can this be made scrollable?

Offline grafitus

  • Comrade
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: New Staff Block
« Reply #14 on: June 26, 2011, 05:46:29 PM »
I think you should give width to block body.
my modsI don't reply support PMs. Please use support forums.

Offline Yngwiedis

  • Jr. Member
  • **
  • Posts: 67
  • SMF Version: None
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #15 on: July 01, 2011, 05:25:30 AM »
How can i make the members on this block to be displayed with their membergroups color ?

Thank you very very much.

Offline grafitus

  • Comrade
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: New Staff Block
« Reply #16 on: July 01, 2011, 07:12:01 AM »
Enabling 'Colored Member Links' setting from Admin > SimplePortal > General Settings is enough.
my modsI don't reply support PMs. Please use support forums.

Offline Yngwiedis

  • Jr. Member
  • **
  • Posts: 67
  • SMF Version: None
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #17 on: July 01, 2011, 08:37:36 AM »
This is already enabled... In the default Staff Block all the members are colored ok.
But not after i install this mod...
« Last Edit: July 15, 2011, 11:01:39 PM by Yngwiedis »

Offline Yngwiedis

  • Jr. Member
  • **
  • Posts: 67
  • SMF Version: None
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #18 on: July 02, 2011, 11:41:19 PM »
So ? Can we do something about the colors ?

Offline Yngwiedis

  • Jr. Member
  • **
  • Posts: 67
  • SMF Version: None
  • SP Version: 2.3.3
Re: New Staff Block
« Reply #19 on: July 08, 2011, 12:40:21 PM »
Anyone ?