Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 03-01-2002, 11:07 PM
rishel's Avatar
rishel rishel is offline
 
Join Date: Jan 2002
Location: Florida :)
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Login code on Non VB Page

Just a request, if someone has this, or can show me a post about it, would greatly appreciate it.

Just want the login name and password on our main website page that logs the user into the bulletin board.
Reply With Quote
  #2  
Old 03-02-2002, 02:34 AM
sleepbirdcyp's Avatar
sleepbirdcyp sleepbirdcyp is offline
 
Join Date: Dec 2001
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<table border="0" cellpadding="0" cellspacing="0">
<form action="member.php" method="post">
<tr>
	<td nowrap><smallfont>No Cookies?<br>Enter your Username and Password to Login:</smallfont></td>
</tr><tr>
	<td nowrap><input type="hidden" name="s" value="$session[sessionhash]">
	<input type="hidden" name="action" value="login">
	<input type="text" class="bginput" name="username" size="7">
	<input type="password" class="bginput" name="password" size="7">
	<input type="submit" class="bginput" value="Login!"></td>
</tr>
</form>
</table>
Reply With Quote
  #3  
Old 03-02-2002, 02:51 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heres what i dod for PHPNUKE

echo "<center>"
."<table cellpadding=\"3\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\">\n"

."<tr bgcolor=\"#c0c0c0\">\n"

."<form action=\"/forums/member.php\" method=\"post\">\n"

."<input type=\"hidden\" name=\"action\" value=\"login\"><input type=\"hidden\" name=\"s\" value=\"$session[sessionhash]\">\n"

."<td width=\"580\">\n"

."<font class=\"formbox\">Nick:</font> \n"

."<input type=\"text\" name=\"username\" size=\"7\" maxlength=\"25\" class=\"box\">\n"

."<font class=\"formbox\">Pass:</font> \n"

."<input type=\"PASSWORD\" name=\"password\" size=\"7\" maxlength=\"20\" class=\"box\">\n"

."<input type=\"hidden\" name=\"op\" value=\"login\">\n"

."<input type=\"submit\" value=\"Login!\" class=\"formbox\">\n"

."&nbsp;<a href=\"/forums/register.php?action=signup\"><font class=\"formbox\">Join</font></a>\n"

."</td>\n"

."</form>\n\n"
Reply With Quote
  #4  
Old 04-01-2002, 03:13 PM
mt_100 mt_100 is offline
 
Join Date: Mar 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sleepbirdcyp!

Hey that works great except for one thing.

When I go to the page that is protected I see the login boxes and I'm able to log in using them, but there is an error just about them that reads:

Warning: Undefined index: bbuserid in c:\inetpub\wwwroot\dealerforge\vbulletin\homelogin .php on line 7

Line seven is:

if(!$HTTP_COOKIE_VARS["bbuserid"]) {

Can you or someone help? I seem to get that error anytime I refer to bbuserid in code.
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:45 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.06119 seconds
  • Memory Usage 2,183KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete