Current location: Hot Scripts Forums » Programming Languages » Visual Basic » vb6 communicating with javascript login


vb6 communicating with javascript login

Reply
  #1 (permalink)  
Old 12-30-09, 04:48 PM
merkaba33 merkaba33 is offline
Newbie Coder
 
Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Question vb6 communicating with javascript login

Hey, I'm working on sort of a messenger program for a site I help with. I'm trying to figure out how to take :

A) 2 text boxes - 1 user name 1 password
B) Command Button

and make it communicate with a website with a java script login so the user can obviously login

Any points in a direction are appreciated
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 12-30-09, 05:08 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
Is it java or javascript?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 12-30-09, 05:21 PM
merkaba33 merkaba33 is offline
Newbie Coder
 
Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
a far as I can tell its javascript, im asking the guy who owns the site but I cant understand what hes saying, he seems to think that its generated by the site on the fly. If it helps at all, its an elgg site similiar to this Welcome to TickerHeads!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 12-30-09, 06:34 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
Please post the HTML and javascript you have.

Elgg is PHP based.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 12-30-09, 06:39 PM
merkaba33 merkaba33 is offline
Newbie Coder
 
Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
This is what I think the login looks like, but it also looks like its mixed with a facebook bit. I didn't want to post my friend's site domain, but that's what I think im working with.

HTML Code:
<div id="login-box">
	<h2>Log in</h2>
		<form   action="http://friends_site.com/action/login" method="POST" >
<input type="hidden"  name="__elgg_token"  value="2b2dba847048610041d8140e58073fe0" /> <input type="hidden"  name="__elgg_ts"  value="1262216091" /> <p class="loginbox"><label>Username<br /><input type="text"   name="username" value="" class="login-textarea"/> </label><br /><label>Password<br />

<input type="password"   name="password"  value="" class="login-textarea" /> </label><br /><input name=""  type="submit" class="submit_button"  value="Log in"  /> <div id="persistent_login"><label><input type="checkbox" name="persistent" value="true" />Remember me</label></div></p><p class="loginbox"><a href="http://friends_site.com/account/register.php">Register</a> | <a href="http://friends_site.com/account/forgotten_password.php">Lost password</a></p></form>		
	</div><script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<div id="facebooklogin-box"><fb:login-button onlogin="facebook_onlogin();"></fb:login-button></div>
<script type="text/javascript">
function facebook_onlogin() {
	document.location.href = "http://friends_site.com/action/fbconnect/login";
}
FB.init("e2bcd5fec0891ab12ae808689b10ba7c", "http://friends_site.com/mod/fbconnect/xd_receiver.html"); 
</script>
<div class="clearfloat"></div>	        </div>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 12-30-09, 06:42 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
What are you trying to do?

Accept the username and password and submit them to another site, or use them with an API?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 12-30-09, 06:48 PM
merkaba33 merkaba33 is offline
Newbie Coder
 
Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
I dunno if thats the right login, I want it so that people can enter the login information so that they can access parts of their account like buddy list/videos through the program if that makes sense.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 12-30-09, 08:23 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
Is this a stock Elgg installation? By that, I mean it has been installed on a server and is in use, or are you extending an existing system?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #9 (permalink)  
Old 12-30-09, 08:23 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
Where does VB6 fit in?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #10 (permalink)  
Old 12-30-09, 08:39 PM
merkaba33 merkaba33 is offline
Newbie Coder
 
Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by wirehopper View Post
Where does VB6 fit in?
its not stock in the sense we're running a handful of plugins. Since we're running it as a niche social network, im trying to use what little vb6 I know to set up a stand alone messenger using vb6 that lets you use some of the functions on the site like buddy messaging or watching your user videos, basically features already built into the site but I want to set it up so they can have full functionality off-site.

I dont know if that clarifies anything but if you're still interested in helping me figure out the login bit pm me or keep posting here. I can probably give you more information on what im doing on msn or something just because I'm pretty sure I'm doing a terrible job at explaining anything.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Needed Urgently with JS Login Script! semendemon JavaScript 5 11-25-07 12:24 PM
Login Script v1.9 Problem SuavyDoodle JavaScript 8 09-28-06 10:13 PM
Uhh...Can you use Javascript to make a login page/register? Would it run by itself??? fusion PHP 2 06-04-04 08:47 AM


All times are GMT -5. The time now is 01:19 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.