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: 1108
  • 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]

Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Author Topic: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.  (Read 7272 times)

0 Members and 1 Guest are viewing this topic.

Offline sikkens1997

  • Jr. Member
  • **
  • Posts: 54
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« on: March 08, 2011, 03:45:19 PM »
Hello, I made some custom Membergroups, and when I look at 'Forum Staff' there's only the Mods and Admins of the server, and not the custom rank i made: Owner.

I have given Owner the same rights as an Moderator, but still it does not stand in there.

How can I make 'Owner' stand in the 'Forum Staff'?

Offline grafitus

  • Comrade
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #1 on: March 08, 2011, 04:13:04 PM »
The easiest way right now is this:
Open ./Souces/PortalBlocks.php file.
Code: (Find) [Select]
$all_staff = array_merge($local_mods, $global_mods, $admins);
Code: (Replace) [Select]
$all_staff = array_merge(array(288, 5, 4435), array(9, 42, 44), $local_mods, $global_mods, $admins);array(28854435) and array(94244) are two distinct groups. 288, 5, 4435 and 9, 42, 44 numbers of group members their IDs.
my modsI don't reply support PMs. Please use support forums.

Offline sikkens1997

  • Jr. Member
  • **
  • Posts: 54
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #2 on: March 09, 2011, 01:50:07 PM »
Can't this be done on a more easy way?
I don't understand anything of it.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #3 on: March 10, 2011, 09:01:00 AM »
The forum staff block is set up to only show admins and moderators.
So if you wish it to show members of a different group, you will have to do some custom coding to make that work.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline sikkens1997

  • Jr. Member
  • **
  • Posts: 54
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #4 on: March 10, 2011, 10:55:50 AM »
Yes, so how can I do that custom coding? Is there some kind off tutorial for this problem?

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #5 on: March 10, 2011, 02:27:38 PM »
For this one -- just follow grafitus' instructions, above.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline sikkens1997

  • Jr. Member
  • **
  • Posts: 54
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #6 on: March 11, 2011, 10:26:03 AM »
I don't understand this instructions.
Can't this be done on a more easy way?
I don't understand anything of it.

Could you please tell me, how that numbers works?
Like, he says: array(288, 5, 4435) and array(9, 42, 44) are two distinct groups. 288, 5, 4435 and 9, 42, 44 numbers of group members their IDs.

I don't understand what the numbers are.

Offline sikkens1997

  • Jr. Member
  • **
  • Posts: 54
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #7 on: March 14, 2011, 01:23:02 PM »
HELP!

Offline WhiteEagle

  • Semi Newbie
  • *
  • Posts: 13
  • Gender: Male
  • Writer at Large
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #8 on: March 18, 2011, 09:24:02 PM »
I am interested in this as well.
I fold for team 52482. Do you fold at home?

Offline sikkens1997

  • Jr. Member
  • **
  • Posts: 54
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #9 on: March 19, 2011, 05:16:10 AM »
Yea, but they don't do anything with it.
She moved it in here, told me that it is possible and that was it.

Since now they're all ignoring me. I'm waiting 2 weeks for a reply, and ur the first 1 to reply in 2 weeks...

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #10 on: March 21, 2011, 08:26:51 AM »
sikkens1997, please simply follow the instructions that grafitus gave you. He explained how you need to find out the members' id numbers, and put them into an array. You can find the id numbers on the member list.
 
Please do give it a try, and come back with any specific questions after you try it out.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #11 on: April 08, 2011, 02:07:18 AM »
Download and install the attachment.

Perform 1 simple edit:

File: Sources -> PortalBlocks.php

Find:
Code: [Select]
$global_mods = membersAllowedTo('moderate_board', 0);

Replace with:
Code: [Select]
$global_mods = membersAllowedTo('auxiliary_perm1');

When you edit permissions for user groups simply enable Auxiliary Permission #1 and anyone with that permission enabled will appear in your Simple Portal Staff block.  Global Moderators have these enabled after install (can be disabled if opted).

This will work for either current SMF version using Simple Portal 2.3.3

Offline sawz

  • Semi Newbie
  • *
  • Posts: 6
Re: SMF 1.1.13 || SimplePortal 2.3.3 || SP 'Forum Staff' app.
« Reply #12 on: April 18, 2011, 08:57:16 PM »
grafitus' way worked fine, i was wondering if instead of listing individual member id numbers, can it be done with a specific group so all members of that group are included?