[TUT] ZP 5.0 Admin Only class
Hi, I am going to show you how to make a admin only class in ZP 5.0
First we make a simple class: PHP Code:
PHP Code:
PHP Code:
|
Re: [TUT] ZP 5.0 Admin Only class
PHP Code:
PHP Code:
|
Re: [TUT] ZP 5.0 Admin Only class
This shows how powerful ZP 5.0's API is :lol:
|
Re: [TUT] ZP 5.0 Admin Only class
Quote:
|
Re: [TUT] ZP 5.0 Admin Only class
Quote:
|
Re: [TUT] ZP 5.0 Admin Only class
Quote:
|
Re: [TUT] ZP 5.0 Admin Only class
It is possible to make admin class even in ZP 4.3
Just use forward zp_user_infected_pre example: Code:
public zp_user_infected_pre(id) |
Re: [TUT] ZP 5.0 Admin Only class
Quote:
|
Re: [TUT] ZP 5.0 Admin Only class
Quote:
|
Re: [TUT] ZP 5.0 Admin Only class
Sure, but ZP 5.0 is still in beta, so no one will use it until it is stable. If someone want admin class now, he might use this solution. It works in practice very good.
|
| All times are GMT -4. The time now is 16:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.