|
-
Jul 9th, 2003, 12:07 AM
#1
making an aim profile?
aah excuse me if I'm asking too many "general" questions 
I remember one of ma ole highschool friends made one of those with asp (ver3 ?). I'm talking about those so called "sub profiles". You put the link to the page in your aim profile and it loads the page in the user's profile when you click on it (rather than opening up a new page)... just wondering how I can do it
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 13th, 2003, 02:03 AM
#2
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 13th, 2003, 01:29 PM
#3
PowerPoster
All you have to do is go to a site that does that and check out the html.
-
Jul 13th, 2003, 01:42 PM
#4
PowerPoster
I'm rather bord at the moment, so I found an example for you
Code:
<a href="aim:addbuddy?screenname=ScreenName" />
-
Jul 13th, 2003, 01:48 PM
#5
-
Jul 13th, 2003, 03:14 PM
#6
Stuck in the 80s
What you need to do is have target="_self" in the profile link. How you get that into the profile link is what's tricky.
You can't type it in there, because AIM will parse the < > characters right away. So if you type something like this:
Code:
<a href="http://www.aol.com/" target="_self">AOL</a>
In Notepad or any other application, then paste it into the profile window, it should turn it into a link. Submit the profile, and then view it. When you click in the link, it should load it within the profile window, rather than opening a new window.
Newer versions of AIM may have a fix for this, though.
Now, the trick is that the loaded page can't have much HTML in it. Pretty much just basic tags, like <b>, <i>, <a>, etc. Otherwise AIM will either give an "Error loading" message, or just show a bunch of code.
So if you target it to a page on your website, ie http://www.mysite.com/aimprofile.html, make sure you use basic HTML and that all links on aimprofile.html have the target="_self" in it so that they will also load in the profile window.
If you need anymore explaination, let me know. I used to screw around with this stuff all the time.
Edit: Edited to make more sense.
Last edited by The Hobo; Jul 13th, 2003 at 03:21 PM.
-
Jul 13th, 2003, 06:45 PM
#7
Hey thank Hobo!
one more problem for you though.... I want to make sure that people are viewing my profile from AIM. I don't know how to check the browser version and stuff and I don't really know what type/version of browser aim uses...
anyone can tell me how to determine if the page is being viewed by aim or by another browser?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 13th, 2003, 07:44 PM
#8
Stuck in the 80s
Hmm...that's a tough one. I'm sure that AIM either uses IE webbrowser control, or they parse for RichText.
What could help is making it have to pass a certain variable, such as http://www.yoursite.com/myprofile.php?f=wt658fj.
And if it doesn't have that wt658fj, then you know they didn't come via your profile.
It isn't fool proof, but right now it's about all I can think of.
Also, I have had problems getting .php pages to work. I haven't tried it in awhile, but I think whenever I had one, no matter what I put in it, it gave me an error. 
Not sure, though. I'll fool around when I get home from work.
-
Jul 13th, 2003, 08:08 PM
#9
oh hey I tried this and it seems to be working fine with my version of aim at least:
VB Code:
Dim browserInfo As String = Request.ServerVariables("HTTP_USER_AGENT")
Dim isAIM As Boolean
isAIM = System.Text.RegularExpressions.Regex.IsMatch( _
browserInfo, _
"aim/", System.Text.RegularExpressions.RegexOptions.IgnoreCase)
it's messed up coding though, I'll clean it up later
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 13th, 2003, 09:14 PM
#10
Stuck in the 80s
Awesome. I'm not familiar with ASP, so I only understand about 60% of that, but cool.
-
Jul 14th, 2003, 02:23 AM
#11
hehe now I have another problem.... when I load the page in IE, it looks normal... but when it's loaded in aim, there are like 3 or 4 empty lines before it shows the text. I have noooo idea why this is happening. I'll post some screenshots
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 14th, 2003, 02:50 AM
#12
here:

and here's the html source when I view it in IE:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
</HEAD>
<body>
Hello<BR>Nothing to say, <STRONG>go away</STRONG>.
</body>
</HTML>
what the heck is wrong with this?
edit: changed that STRONG tag to B btw, nothing's wrong with that.... see all that white space in the profile? where does that come from?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 14th, 2003, 02:56 AM
#13
yay fixed, aim SUCKS, I had to change the HTML code in visual studio to this! (note I removed header, title and stuff and I had to put the <%@ page...> and <html> in one line
Code:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="aim.aspx.vb" Inherits="WebApplication2.aim"%><HTML><body><asp:Literal id="Literal1" runat="server"></asp:Literal>
</body>
</HTML>
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 14th, 2003, 09:53 PM
#14
-
Jul 23rd, 2003, 03:53 PM
#15
Stuck in the 80s
How well do ASP pages work with it? I remember that whenever I tried to use a PHP file (even with just HTML in it), it always gave me the "Error Loading Content" messages.
-
Jul 23rd, 2003, 04:53 PM
#16
well it's working quite fine....
I made a guestbook, profile page, pages to track people's ip, to track who;s been viewing my profile... another to let me edit/enable/disable my profile
umm the reason it gives you error could be because you have some sorta html tag that aim doesnt like. You can just put basic html tags in your page. no scripts either
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 23rd, 2003, 05:08 PM
#17
Stuck in the 80s
I had something like:
Code:
<html><b>bold</b></html>
In a file such as info.php, and it wouldn't work.
-
Jul 23rd, 2003, 05:33 PM
#18
Originally posted by The Hobo
I had something like:
Code:
<html><b>bold</b></html>
In a file such as info.php, and it wouldn't work.
hmm could be because you didnt have the body tag? I dont have a head tag but I have a body tag
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 23rd, 2003, 05:37 PM
#19
Stuck in the 80s
Actually, it works perfectly now (just tested it). It must have been an issue back when I first tried it a year or so ago.
-
Jul 23rd, 2003, 06:27 PM
#20
hehe probably the older version of the aim browser didnt work quite well with it... but it wont hurt to put that body tag in there anyways
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|