Customizing SMF > Portals, Bridges, and Integrations

Managing permissions for an addon

<< < (2/2)

[Unknown]:
Well, as an example, you could say:

if (allowedTo('who_view'))
  echo 'You\'re so awesome, we\'ve allowed you to view who\'s online!!';

-[Unknown]

Elissen:
I know that principle, but my worries are more with upgrading. I'm hesitant to make changes to the source files of SMF becouse of it. I know the package manager should be able to reapply them, but when I tried to make a package of some other changes I ran into some problem that the package manager failed to apply the mod. Probaly an error on my part.

But that is an entirely different topic :)

Navigation

[0] Message Index

[*] Previous page

Go to full version