Active Members
[Plugin Screenshots] Invitation Only Topics »

Nao

  • Dadman with a boy
  • Messages: 16 082
Re: Active Members
« Réponse #30, le 15 Octobre 2012 à 20:37 »
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..?!
Posté : 15 Octobre 2012 à 20:25

(Nope... It's definitely the permissions that trigger the error.)
Posté : 15 Octobre 2012 à 20:27

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... :-/
Posté : 15 Octobre 2012 à 20:30

(Fixed.)

live627

  • 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
  • Messages: 1 670
Re: Active Members
« Réponse #31, le 16 Octobre 2012 à 01:11 »
Citation
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.
Re: Active Members
« Réponse #32, le 16 Octobre 2012 à 01:32 »
Citation
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.
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.

Arantor

  • As powerful as possible, as complex as necessary.
  • Messages: 14 278
Re: Active Members
« Réponse #33, le 16 Octobre 2012 à 02:16 »
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. | Game Memorial

Pandos

  • Living on the edge of Wedge
  • Messages: 635
Re: Active Members
« Réponse #34, le 6 Novembre 2012 à 10:07 »


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

  • 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
  • Messages: 1 670
Re: Active Members
« Réponse #35, le 6 Novembre 2012 à 10:37 »
It is looking for an image that doesn't exist. I never got around too finding a suitable icon.

Arantor

  • As powerful as possible, as complex as necessary.
  • Messages: 14 278
Re: Active Members
« Réponse #36, le 6 Novembre 2012 à 13:12 »
Then it shouldn't call for one. Small icons aren't required, big icons have a fallback.

[Plugin Screenshots] Invitation Only Topics »