vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   VB3-Style admin-login (https://vborg.vbsupport.ru/showthread.php?t=46137)

rylin 11-27-2002 01:38 PM

Quote:

Originally posted by Xenon
you can release files you've written yourself, or the instructions here can be put into a file, but you are not allowed to post full vb-files, no matter if you have changed some code in it or not..
Hmm.. right, nice version coming up shortly :D

Floris 11-27-2002 01:51 PM

Was this rewritten at all or just a save as ... file.htm

rylin 11-27-2002 01:54 PM

Quote:

Originally posted by xiphoid
Was this rewritten at all or just a save as ... file.htm
the login page was ripped straight off, path-names to images & css changed, form-fields changed.
global.php was hacked to simply include() the page

wolfe 11-27-2002 01:59 PM

nice one for attaching that zip :D

The Ghost 11-27-2002 03:47 PM

looks great! thx

*installs*

SZ|TalonKarrde 11-27-2002 04:44 PM

heh...my co-admin messed up and installed it wrong...only he could log in for admin, wouldn't let me in. Uninstalled it, for now.

rylin 11-27-2002 04:47 PM

Quote:

Originally posted by SZ|TalonKarrde
heh...my co-admin messed up and installed it wrong...only he could log in for admin, wouldn't let me in. Uninstalled it, for now.
did he use the zip file, or did he use the original instructions?
might wanna try the zip

Dean C 11-27-2002 05:21 PM

hehe this is cool

Thanks for sharing it with the community :)

Regards

- miSt

countryboy713 11-27-2002 08:50 PM

can someone explain better how to do this for the mod CP also? i cant find
Code:

if ($bbuserinfo[userid]==0 and $checkpwd) {
in the global.php in the mod folder

rylin 11-27-2002 08:55 PM

Quote:

Originally posted by countryboy713
can someone explain better how to do this for the mod CP also? i cant find
Code:

if ($bbuserinfo[userid]==0 and $checkpwd) {
in the global.php in the mod folder

after a quick look, i believe it should be enough if you follow the above instructions but look for
PHP Code:

if (!ismoderator() or !$permissions['canview']) { 

instead

also, a few rows after this, you should see
PHP Code:

<?php
  cpfooter
();
  exit;
}

you should *not* do anything past that ;)
I'll verify it by fixing on my site.. gimme a few minutes :)


All times are GMT. The time now is 05:49 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.01079 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete