Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Admin Restricted Code Question

edited January 2010 in Vanilla 2.0 - 2.8
How would I code something so its restricted to admins, It just to restrict some links from the members, kinda like how members dont see the Settings panel.

Example of Something Similiar:
if ($userrole == admin){
...
}
Sign In or Register to comment.