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 

Smilies in Comments

 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
acidgloss



Joined: 08 Oct 2003
Posts: 12
Location: Long Island NY

PostPosted: Sat Jan 17, 2004 9:00 pm    Post subject: Smilies in Comments Reply with quote

I looked around the boards and couldn't find what I was looking for; so I had to post it here - Sorry in advance.

I set up B2 for someone, and they wanted the clickable smilies on the comments, using the tutorial I got off kittyness.com, everything seemed to be going well until I tested it after posting. The image doesn't show up; it shows me the Smile code.

Code:
<script language="JavaScript">
function smile(face)
{
var cache = document.form.comment.value;
document.form.comment.value = cache + " " + face;
document.form.comment.focus();
}
</script>
<a href="javascript:smile(':arrow:')">
<img src="/b2/b2-img/smilies/icon_arrow.gif " border="0">
</a>


This is the code setup that I'm using, via kittyness.com's tutorial. Now it seems to work for her, and I know that smilies are enabled being as they're showing up for the blog itself, and the b2config.php shows that they are enabled.

Any idea's on how I can fix this?

http://13r0wnsuga.net/b2/
Is the URL ; if you look at the comments on the top entry you have an idea on what I'm talking about.


Krissy - email - url
Comments test? :biggrin:
17.01.04 @ 14:46:34

It's supposed to look like this:

Krissy - email - url
Comments test? Very Happy
17.01.04 @ 14:46:34[/code]


Thanks in advance.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Miyu



Joined: 05 Nov 2002
Posts: 32

PostPosted: Sun Jan 18, 2004 12:10 am    Post subject: Reply with quote

There is a tutoriala round here somewhere, because I got it for my comments...but that was awhile ago.... Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
acidgloss



Joined: 08 Oct 2003
Posts: 12
Location: Long Island NY

PostPosted: Sun Jan 18, 2004 12:14 am    Post subject: Reply with quote

I actually did some tweaking myself and realized that you have to set up the Smile kind of code to match the one listed on the b2config file; so I think you can consider this a closed thread now :hehe: -- Sorry for the trouble.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Cyberian75



Joined: 26 Sep 2002
Posts: 1006
Location: Washington

PostPosted: Mon Jan 26, 2004 3:12 am    Post subject: Reply with quote

http://cafelog.com/board/viewtopic.php?t=4218
_________________
Michael P.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Kathryn618



Joined: 03 Sep 2003
Posts: 6
Location: South Carolina

PostPosted: Sun Feb 08, 2004 4:29 am    Post subject: Thanks.. :) Reply with quote

thanks for sharing this hack! Very easy!! Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks 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