vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Making a login (https://vborg.vbsupport.ru/showthread.php?t=259126)

AWantedHero 02-19-2011 04:43 PM

Making a login
 
I was wondering if there was a way to code this out in HTML or PHP. I am making a clan website from HTML but I wanted to have a login box for VB3. But if you manage to get the code for VB3, if you can tell me how to convert it to VB4 if I decide to upgrade, that would be helpful!

- Login Box and redirects you to the forum directly once you successfully logged in.
- Logout.
- A remember me box.
- Once you log in, if you go back to the HTML page, it would say "Welcome (Your username)".
- Also a php code for pulling out combat arm's clan page information.

If you could make this code for free or for a payment/donation, I would greatly appreciate it!

Thank you,
AWantedHero

(Oh and by the way, this is for vBulletin.)
(I did manage to find this code but it doesn't redirect you to the forum homepage.)
Code:

Form:
<form action="login.php?do=login" method="post">

Username:
<input type="text" name="vb_login_username" />

Password:
<input type="password" name="vb_login_password" />

Inputs to add:

Remember Me (optional):
<input type="checkbox" name="cookieuser" />

Required Hidden inputs:
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" value="" />
<input type="hidden" name="vb_login_md5password_utf" value="" />


TheLastSuperman 02-19-2011 05:02 PM

Quote:

Originally Posted by AWantedHero (Post 2164321)
- Login Box and redirects you to the forum directly once you successfully logged in.
- Logout.
- A remember me box.
- Once you log in, if you go back to the HTML page, it would say "Welcome (Your username)".
- Also a php code for pulling out combat arm's clan page information.

- Here's some links:
https://vborg.vbsupport.ru/showthread.php?t=174073
https://vborg.vbsupport.ru/showthread.php?t=108026
*More if you use the search *cough *cough
- Redirection after login/out:
https://vborg.vbsupport.ru/showthread.php?t=242354
- Remember me box will be part of the code, make sure you add that or find a way to implement in one of the two links I pasted above should be easy ;).
- That will require some finesse and I'm not about to outline it :o perhaps someone else will take the time to do so :cool:.
- Pulling the code, it depends on what code and where, if it's a php file you can code up something to grab data and this is the same as above unfortunately.

Hopefully some of this was helpful, will get you off to a good start or in the least lead you in a new direction.


All times are GMT. The time now is 07:35 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.01029 seconds
  • Memory Usage 1,718KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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