Command in menu only for admin
Hi.
I have a problem (again...). I have this code: Quote:
Quote:
|
Re: Command in menu only for admin
PHP Code:
|
Re: Command in menu only for admin
So I must replace
Quote:
Quote:
|
Re: Command in menu only for admin
Yes, just replace this with yours:
PHP Code:
|
Re: Command in menu only for admin
Now the whole menu is grey, only "Exit" is chooseable. For admins - all is OK. There is something wrong?
Quote:
|
Re: Command in menu only for admin
Quote:
|
Re: Command in menu only for admin
Quote:
|
Re: Command in menu only for admin
You click the search button and enter "menu_makecallback"(without quotes)
Or you can lookup the function "menu_makecallback()" in the funcwiki. Or even look it up in the Snippets/tutorial section. I do however recommend the search or snippets way since there they usually have simple examples to ensure that you do it right :) |
Re: Command in menu only for admin
I found this in funcwiki (I can't find it in forum):
Quote:
Sorry, i'm beginner. |
Re: Command in menu only for admin
Well then you obviously didn't check the tutorial section, I'm 100% sure you've already been in the right tread.
I think you should be able to guess this right away since it's about menus. When I've been helpfull enough to post all links and tell you what function to use i atleast expect you to search through them. |
| All times are GMT -4. The time now is 19:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.