vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Admin CP (https://vborg.vbsupport.ru/showthread.php?t=47699)

Snake~eyes 01-13-2003 11:36 PM

Admin CP
 
what code do i need to use so its liek the admin cp.

I was going to put the link in the left frame and then i wanted the page in the right frame to be protected so that admin must be logged in.

Help is appreciated

:bunny:

Chris Gwynne 01-13-2003 11:41 PM

...Huh?

Snake~eyes 01-14-2003 02:27 AM

I want to add a file to the admin directory lets just say test.php

Then when you lgointo the admin cp the link on the left will be test and when you click it itll change the right frame to the test.php

How do i protect this test.php so that only admins can access it like a normal admin cp page?

Xenon 01-14-2003 04:07 PM

cpheader() function has to be used :)

Snake~eyes 01-14-2003 06:19 PM

But do i have to include a file or somthing? cause that function wont be coded unless i include somthing or a nother.

Xenon 01-14-2003 06:26 PM

well, as on every file you want to include with vb, you have to require global.php...


All times are GMT. The time now is 10:53 PM.

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.00935 seconds
  • Memory Usage 1,709KB
  • 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)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