View previous topic :: View next topic |
Author |
Message |
kiss
Joined: 09 Sep 2004 Posts: 27 Location: Brooklyn
|
Posted: Sat Sep 11, 2004 9:33 pm Post subject: AIM Name In Comments |
|
|
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 |
|
 |
kiss
Joined: 09 Sep 2004 Posts: 27 Location: Brooklyn
|
Posted: Sun Sep 12, 2004 4:47 pm Post subject: |
|
|
anyone? |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 620 Location: Oslo, Norway
|
Posted: Mon Sep 13, 2004 3:22 pm Post subject: |
|
|
<?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 |
|
 |
kiss
Joined: 09 Sep 2004 Posts: 27 Location: Brooklyn
|
Posted: Mon Sep 13, 2004 3:26 pm Post subject: |
|
|
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 |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 620 Location: Oslo, Norway
|
|
Back to top |
|
 |
kiss
Joined: 09 Sep 2004 Posts: 27 Location: Brooklyn
|
Posted: Mon Sep 13, 2004 3:37 pm Post subject: |
|
|
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 |
|
 |
kiss
Joined: 09 Sep 2004 Posts: 27 Location: Brooklyn
|
Posted: Mon Sep 13, 2004 3:41 pm Post subject: |
|
|
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 |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 620 Location: Oslo, Norway
|
Posted: Mon Sep 13, 2004 4:02 pm Post subject: |
|
|
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 |
|
 |
kiss
Joined: 09 Sep 2004 Posts: 27 Location: Brooklyn
|
Posted: Mon Sep 13, 2004 4:09 pm Post subject: |
|
|
I don't know Steven so you believe he will offer me the help even though we dont know each other? |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 620 Location: Oslo, Norway
|
Posted: Tue Sep 14, 2004 8:45 am Post subject: |
|
|
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 |
|
 |
|