Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VB3-Style admin-login Details »»
VB3-Style admin-login
Version: 1.00, by rylin rylin is offline
Developer Last Online: Dec 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-26-2002 Last Update: Never Installs: 27
 
No support by the author.

Right..
Just for fun (well, for the looks, really ) I took a few minutes to re-write the vb2.2.8 admin-login screen to look like the vb3 preview one.

Note: the code does use images that are copyrighted to jelsoft, so you're *supposed* to use your own, unless jelsoft allow us all to use them

Step 1, download the hack (attachment to this post)
Step 2, unzip all the files to your admin/ directory
Step 3, open up global.php (in the admin dir!)
Step 4:
Look for
PHP Code:
if ($bbuserinfo[userid]==and $checkpwd) { 
Delete *everything* below it, and paste:
PHP Code:
  include 'vb3login.php';
  
cpfooter();
  exit;
// end of if ($bbuserinfo[userid]==0 and $checkpwd)
  
?> 
anyway.. have fun, and enjoy

11/28: Made the username (if it was ever set) appear in the username box automatically.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-27-2002, 01:38 PM
rylin rylin is offline
 
Join Date: Nov 2001
Location: Stockholm, Sweden
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #23  
Old 11-27-2002, 01:51 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Was this rewritten at all or just a save as ... file.htm
Reply With Quote
  #24  
Old 11-27-2002, 01:54 PM
rylin rylin is offline
 
Join Date: Nov 2001
Location: Stockholm, Sweden
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 11-27-2002, 01:59 PM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one for attaching that zip
Reply With Quote
  #26  
Old 11-27-2002, 03:47 PM
The Ghost's Avatar
The Ghost The Ghost is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks great! thx

*installs*
Reply With Quote
  #27  
Old 11-27-2002, 04:44 PM
SZ|TalonKarrde SZ|TalonKarrde is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 11-27-2002, 04:47 PM
rylin rylin is offline
 
Join Date: Nov 2001
Location: Stockholm, Sweden
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #29  
Old 11-27-2002, 05:21 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe this is cool

Thanks for sharing it with the community

Regards

- miSt
Reply With Quote
  #30  
Old 11-27-2002, 08:50 PM
countryboy713 countryboy713 is offline
 
Join Date: Mar 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #31  
Old 11-27-2002, 08:55 PM
rylin rylin is offline
 
Join Date: Nov 2001
Location: Stockholm, Sweden
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:38 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.05592 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete