Active Members
[Plugin Screenshots] Invitation Only Topics »

Nao

  • With a Box
  • If you say so.....
  • Posts: 12,914
Re: Active Members
« Reply #30 on October 15th, 2012, 08:37 PM »
Well, it's still crashing.
But I just realized that it's not the permissions that are a problem at this point, it's the fact that it can't find the 'main' block, which rings no bell to me... I mean, it's the exact same code as in Help.php..?!
Posted: October 15th, 2012, 08:25 PM

(Nope... It's definitely the permissions that trigger the error.)
Posted: October 15th, 2012, 08:27 PM

1/ it's id_member_started, not just id_member...
2/ action=activemembers doesn't have 'topic' but 't' as its topic ID, so no $topicinfo for it... :-/
Posted: October 15th, 2012, 08:30 PM

(Fixed.)
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,417
Re: Active Members
« Reply #31 on October 16th, 2012, 01:11 AM »
Quote
And also just out of curiosity I know it displays member names in the order of the number posts made on that topic but how does it choose between two members who've made the equal number of posts on that topic?
Database order I think.

live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,417
Re: Active Members
« Reply #32 on October 16th, 2012, 01:32 AM »
Quote
Secondly, adding the permission to the settings page. <permissions name="view_active_members_own" /> and <permissions name="view_active_members_any" /> though you'll need to make strings for them too. (And the <newperms> block still has to be left present too.)
I specifically did not do that because it doesn't play with the permission profile system.

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,627
Re: Active Members
« Reply #33 on October 16th, 2012, 02:16 AM »
Yeah, you're not really supposed to for that reason. It doesn't work properly, of course, though the system won't actively prevent it at this stage (it really should)

Does it really need to be an own/any permission, though?
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


Pandos

  • We-Gen
  • the only wedge you'll ever need
  • Posts: 105
Re: Active Members
« Reply #34 on November 6th, 2012, 10:07 AM »


One thing that is filling my error log:
#/Plugins/active_members_fixed/img/tick.png): failed to open stream: No such file or directory


# dpkg-reconfigure brain
error: brain is not installed or configured

live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,417
Re: Active Members
« Reply #35 on November 6th, 2012, 10:37 AM »
It is looking for an image that doesn't exist. I never got around too finding a suitable icon.

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,627
Re: Active Members
« Reply #36 on November 6th, 2012, 01:12 PM »
Then it shouldn't call for one. Small icons aren't required, big icons have a fallback.
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.

[Plugin Screenshots] Invitation Only Topics »