vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   login form (https://vborg.vbsupport.ru/showthread.php?t=65603)

meowmeow 05-28-2004 12:56 PM

login form
 
in which file can i find the form thats used to login when you enter the index.php?
I'm trying to modify this and I cant find where it is! I hope i've explained what i'm looking for!

meowmeow 05-28-2004 01:59 PM

is it in vbulletin-style.xml....
problem is its 13000+ lines of code!!! :surprised:

Zachery 05-28-2004 10:51 PM

the .xml file is only uised to IMPORT the data, all templates are stored within the Template system

AdminCP > Styles & Templates > style manager > click on << >> > search for the templates :

meowmeow 05-31-2004 09:21 AM

so the login code is not present in any of the PHP files?

I now have a user which has logged in (not to VB) and wants to access the forum without having to login again.

should i write a script that gives the user a cookie the same as VB would (but looks complicated, there are 20 functions where there is one vbsetcookie or another i have no idea which to use.)

or write a form in my script that would behave like the login form in VB?

I dont think I have a clue on either of the 2 ways....

I think if i put a button inmy script that send username and password to the same file & with the same "name" as the VB login form VB should do the rest no?

Zachery 05-31-2004 09:29 AM

No, NOT files, all templates are in the DATABASE.

meowmeow 05-31-2004 12:22 PM

ok,
what about the error messages..
if say for example i want to modify the error message when the user logs in incorrectly!
I cant seem to find it...
I followed things thru from
login.php:print_standard_error -> functions print_standard_error() -> functions standard_error

i imagine its in a template but if i search thru the admin panel error_badlogin it doesnt find anything

assassingod 05-31-2004 12:29 PM

Those are in phrases. Every piece of text in vB3 is in the form of a phrase.
Admin CP -> Langauge & Phrases -> Phrase Manager


All times are GMT. The time now is 12:10 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.01599 seconds
  • Memory Usage 1,713KB
  • 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
  • (7)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