vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Simple login page/box/code for external pages (https://vborg.vbsupport.ru/showthread.php?t=174073)

Darked_Hax 09-14-2008 07:29 AM

syntax error...

:S

Gursimran 09-21-2008 12:08 PM

What do you think about adding a feature in which logged in user see Welcome $username in the place of the form again?

tunistunis 09-21-2008 01:16 PM

<form action="path-to-your-forum/forums/login.php?do=login" method="post">
<input type="hidden" name="do" value="login" />
<input type="hidden" name="url" value="path-back-to-your-original-page" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" />
<label>Username:<input name="vb_login_username" type="text" id="login" tabindex="1" class="bginput" accesskey="u"/></label>
<label>Password<input name="vb_login_password" type="password" id="password" tabindex="1" class="bginput" /></label>
<input name="submit" type="submit" id="submit" tabindex="1" value="Login" accesskey="s" class="button" />
</form>

hydn 02-05-2009 07:15 AM

In IE 6 and 7 (70% of traffic) we get a pager error after clicking to login.

Users are logged in correctly and there are no issues as far as "function" however there is a page error on Internet Explorer browsers:

Code:

ROW: 274
LINE: 2
Error: 'Null' is null or not an object
Code: 0
Page: login.php?do=login

Here is the code used:
Code:

<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
            <input type="hidden" name="do" value="login" />
            <input type="hidden" name="url" value="/index.php" />
            <input type="hidden" name="vb_login_md5password" />
            <input type="hidden" name="vb_login_md5password_utf" />
            <input type="hidden" name="s" value="$session[sessionhash]" />
            <label>Username:<input name="vb_login_username" type="text" id="login" tabindex="1" class="bginput" accesskey="u"/></label>
  <label>Password:<input name="vb_login_password" type="password" id="password" tabindex="1" class="bginput" /></label>
<label>Remember me?<input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" /></label>
            <input name="submit" type="submit" id="submit" tabindex="1" value="Login" accesskey="s" class="button" />
</form>

I'm on vb 3.7.4. How can this be fixed?

Thanks

metalguy639 02-15-2009 05:46 AM

Is there a way to limit the size of the login boxes? I need them smaller? Thanks.

UKBusinessLive 03-19-2009 07:46 PM

Excellent Job, Works fine for me

See my Demo:http://www.ukbusinesslive.co.uk/

to the right half way down, I added a picture and enclosed it withing a frame, looks well smart.

https://vborg.vbsupport.ru/external/2009/05/7.png

Thanks for this

:D

Shaven_LTS 04-29-2009 08:57 AM

is there anyway you can set it up so that when I go to the page i want my members to go to it will ask me to login and Ill have to... what i am getting at is once the login script sends them off to the page i want them to see I dont want them to be able to just copy the address in the address bar and pass it own to buddies and them not have to login... since the page i am directing them to is a paid member only page.

email me shvnem@yahoo.com if anyone has any idea on how to help me

yaworski 05-29-2009 09:37 AM

Add this before or inside the <form> tag or in the <head> tag
Code:

<script type="text/javascript" src="vbpath/clientscript/vbulletin_md5.js?v=373"></script>
to load md5hash javascript function referenced by onsubmit attribute. With this passwords are sent in the form of md5 hash like in built-in login form.

You also need to set proper vb version in the url (v=373 is for vb 3.7.3).

profanitytalker 06-14-2009 01:58 AM

reserved

ahmer 07-10-2009 02:03 AM

this is gr8 thanks


All times are GMT. The time now is 02:59 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.01386 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_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