vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Make your OWN Admin Controll Pannel (https://vborg.vbsupport.ru/showthread.php?t=109469)

pyro.699 03-05-2006 01:00 AM

Make your OWN Admin Controll Pannel
 
Now, before youthink, i want to add apage to the current admincp directory, i already know how (heres a link) I want to make an entirely new Controll pannel, with just the links that i need, and would like to manage... so there would be no style editor, no Plugins... just the ones that i want! I don know this ispossible, because my good friend AJ has done it! and it looks awesome! i though, maby i could do it ^^; Thanks alot!
-Cody Woolaver

pyro.699 03-06-2006 11:59 PM

Any help would be appreacheted..... I need this quite badly [not badly enough to pay though]

Marco van Herwaarden 03-07-2006 07:00 AM

Hmm maybe ask AJ then. :D

Paul M 03-07-2006 07:19 AM

You could ;

1. Edit your permissions to only show those you want.

2. Edit cpnav_vbulletin.xml to remove those options you don't want.

pyro.699 03-07-2006 07:29 PM

i asked aj, he said
Quote:

Aj: recreate admincp
Aj: thats my tip
aj, likes for me to figure things out on my own... and im quite bad at it... lol

Adrian Schneider 03-10-2006 04:34 AM

I don't see how figuring it out on your own includes asking someone else. :p

Anyway, I made a new folder for the new CP, and put the admincp global.php and index.php in it. Begin tweaking.

I think I actually hardcoded the XML parser for the navigation to just read one file, or something like that.

The biggest problem was with the logins, you'll have to create a new login method (for lack of a better term), and specify that in your login form. You'll also have to add a new case in one of the login hooks (check login.php). Make sure you do your own security check and set $checkpwd = 1; if they don't meet it.

I'm still not sure if I did the login session stuff correctly (or did at all, I don't remember), but it was definitely something I am still iffy about. Anyway, you'll figure it out, just might take a lot of tweaking.


All times are GMT. The time now is 10:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01767 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete