The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
There is a tutorial for creating pages in admin cp, but I'm trying to figure out mod CP.
https://vborg.vbsupport.ru/showthread.php?t=83122 Can someone help me out? Thanks. |
|
#2
|
|||
|
|||
|
I'd say they were pretty similar, just put your file in the modcp directory.
You can use the can_moderate() function to verify permissions I think. Then just use the construct_cp_nav() (I think), print_cp_header() and print_cp_footer() functions as usual. Most the print_* functions work the same in the AdminCP as they do in the ModCP The best thing is to look at a few pages already in there and see what is common between them, that will give you a basic template for the page (which should be pretty similar to the AdminCP one.) |
![]() |
|
|