boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AIM Name In Comments

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
kiss



Joined: 09 Sep 2004
Posts: 27
Location: Brooklyn

PostPosted: Sat Sep 11, 2004 9:33 pm    Post subject: AIM Name In Comments Reply with quote

What's the correct way to add "AIM Name" as an option in the comment form?

(IE: Name, Email, URL, AIM, Comment - So when another viewer or myself read the comments they can click on the person's AIM name just like they do for email and url)
Back to top
View user's profile Send private message Visit poster's website AIM Address
kiss



Joined: 09 Sep 2004
Posts: 27
Location: Brooklyn

PostPosted: Sun Sep 12, 2004 4:47 pm    Post subject: Reply with quote

anyone?
Back to top
View user's profile Send private message Visit poster's website AIM Address
Sigg3



Joined: 03 Jul 2003
Posts: 620
Location: Oslo, Norway

PostPosted: Mon Sep 13, 2004 3:22 pm    Post subject: Reply with quote

<?php the_author_aim() ?>

This goes in the b2-loop, naturally.
More the_author stuff (from the readme) :

Quote:
<?php the_author_email() ?> - the author's email.
<?php the_author_url() ?> - the author's url.
<?php the_author_email() ?> - the author's number of posts.
<?php the_author_icq() ?> - the author's ICQ number.
<?php the_author_aim() ?> - the author's AIM handle.
<?php the_author_yim() ?> - the author's Yahoo Messenger handle.
<?php the_author_msn() ?> - the author's MSN Messenger handle.
<?php the_author_posts() ?> - the author's post count.
<?php the_author_login() ?> - the author's login name in b2. If you want some static data about the author, this is what you're searching for. You can, for example, associate a picture with an author, like this: <img src="pictures/<?php the_author_login() ?>.jpg" border="0">
<?php the_author_ID() ?> - the author's ID number in b2. This number is automatically set when the user registers: to see the ID of an user, go to the Team page. This is static data too, so you can use it like the_author_login() in associating stuff with authors.

_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
kiss



Joined: 09 Sep 2004
Posts: 27
Location: Brooklyn

PostPosted: Mon Sep 13, 2004 3:26 pm    Post subject: Reply with quote

I tried that and it didnt work. I added the script right next to their email and url and I tested it out with a comment using my aim name and when i clicked it i received a parse error. Lemme go try it again...
Back to top
View user's profile Send private message Visit poster's website AIM Address
Sigg3



Joined: 03 Jul 2003
Posts: 620
Location: Oslo, Norway

PostPosted: Mon Sep 13, 2004 3:36 pm    Post subject: Reply with quote

you've entered stuff correctly in your Options page?
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
kiss



Joined: 09 Sep 2004
Posts: 27
Location: Brooklyn

PostPosted: Mon Sep 13, 2004 3:37 pm    Post subject: Reply with quote

I think i can get the first part downpact but how do i apply the AIM option in the form? I think that's where I messed up.
Back to top
View user's profile Send private message Visit poster's website AIM Address
kiss



Joined: 09 Sep 2004
Posts: 27
Location: Brooklyn

PostPosted: Mon Sep 13, 2004 3:41 pm    Post subject: Reply with quote

ok when i add the aim name script it shows MY aim name...i want it to show THEIR aim name and an option where they can fill that out in the comment form
Back to top
View user's profile Send private message Visit poster's website AIM Address
Sigg3



Joined: 03 Jul 2003
Posts: 620
Location: Oslo, Norway

PostPosted: Mon Sep 13, 2004 4:02 pm    Post subject: Reply with quote

Sorry, I misunderstood:p

Now, this is a bit more complicated. You'd probably need another table in your db to do this, because it isn't simple GET or SEND info, but stuff that's going to the db.. PM Stevem.
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
kiss



Joined: 09 Sep 2004
Posts: 27
Location: Brooklyn

PostPosted: Mon Sep 13, 2004 4:09 pm    Post subject: Reply with quote

I don't know Steven so you believe he will offer me the help even though we dont know each other?
Back to top
View user's profile Send private message Visit poster's website AIM Address
Sigg3



Joined: 03 Jul 2003
Posts: 620
Location: Oslo, Norway

PostPosted: Tue Sep 14, 2004 8:45 am    Post subject: Reply with quote

Well, I can't guarantee you anything, but Stevem is a decent fella with a slight weak spot for b2 users and developing issues, so it doesn't hurt asking him politely. I've bothered him many times with my petty problems, and he's always turned out to give a working solution:)
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group