Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support smilies
Gordo
Posted on 30 May 2008, 18:51:04

Access: Member
Total Posts: 2
Joined: 2008-05-30

I am testing out this excellent looking software to replace the script I am using. I only downloaded it a little while ago and haven't had much chance to play and screw up Yet :grin:

I have included the news on my sites index page and when I click comments it throws the whole thing out od whack. So my questions are

Is there a way of limiting the amount of smiles used on a comment form ? To keep it in my style
#217
Chris
Posted on 30 May 2008, 19:00:44

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Hi Gordo,

There are a number of ways you could fix this problem. The easiest would be to edit the Template you are currently using and remove the {smilies} tag from the Comments Form, then add the smilies you want to show manually for example

Code:
<script type="text/javascript">
//<![CDATA[
function insertsmiley(key){
document.commentsform.message.value=document.commentsform.message.value+' '+ key;
document.commentsform.message.focus();
}
//]]>
</script>

Add this code above where you want your smilies displayed, then use the code below to show only the smilies you want to.

Code:
<a href="javascript:insertsmiley(':ninja:');"><img border="0" src="http://network-13.com/news/smilies/fear.gif" alt=":ninja:"></a>&nbsp;

<a href="javascript:insertsmiley(':crying:');"><img border="0" src="http://network-13.com/news/smilies/crying.gif" alt=":crying:"></a>&nbsp;

#218
Last edited by Chris at 2008-05-30 19:05:10 Reason:
Gordo
Posted on 30 May 2008, 19:06:36

Access: Member
Total Posts: 2
Joined: 2008-05-30

Blimey that was a quick respone, I tried one script and the qustion I asked two weeks ago isn't answered yet.

I have no doubts I will be back again with other howd ya do this .

But that was excellent.

I am now working my way to to login and security image to get them on pages next
#219
Chris
Posted on 30 May 2008, 19:08:35

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

If you have anymore questions I'm always here :happy:
#220
Network-13.com © 2013