Re: Users can enter smileys by the click February 03, 2002 08:05AM |
solution for most recent version of Phorum February 07, 2002 03:32AM |
Jonas
Can't use the smile February 16, 2002 10:48PM |
Re: Can't use the smile February 25, 2002 07:40PM |
Re: Can't use the smile March 24, 2002 07:24PM |
Re: Can't use the smile March 25, 2002 07:53AM |
Registered: 23 years ago Posts: 3 |
normaly if you click on a smiley the text version IS insert into the text field. After posting the message the text version of the smiley is converted into the image. So if you look at the posting the image should be there. As far as I know there is no possibility to display an image in the input box at all.
:-)
Ondrej
---------------------------------
www.chemiestudent.de
:-)
Ondrej
---------------------------------
www.chemiestudent.de
Re: Can't use the smile April 03, 2002 10:28PM |
I have new version with special DHTML editor for posting HTML formatted postings. Because I must "hack" read_functions.php for show normally HTML (may case cross-scripting bug or other security errors), I dont want publish it here.
If someone interested in, should be contact me by mail or ICQ 22635022 - I will send set of needed files to him.
If someone interested in, should be contact me by mail or ICQ 22635022 - I will send set of needed files to him.
Re: Can't use the smile April 08, 2002 01:06PM |
Hendrik
Re: Users can enter smileys by the click May 01, 2002 07:31AM |
Pavel Rùžièka wrote:
>
> Simply add to the form.php this script (should be at the
> beginning):
>
> <script LANGUAGE="JavaScript">
> <!-----
> function InsSm(sm)
> {
> document.form1.body.focus();
> document.form1.body.value=document.form1.body.value+sm;
Well, a
document.form1.body.value+=sm;
should do the same with less typing ;)
> <a tabindex='-1' href="javascript:void InsSm(':-)) ')">
> <img src="images/smileys/2.gif" width="15" height="15"border=0>
> </a>
You could even replace (with newer browsers) replace the link with
an onCLick statement for the img tag (but the above should be more compatible).
I would even suggest to add Phorum-Code-Buttons like that.
Two discovered drawbacks:
The smilies are displayed even with not JavaScript available.
You have to do the synchronisation with replacement plugin manually.
Hendrik
>
> Simply add to the form.php this script (should be at the
> beginning):
>
> <script LANGUAGE="JavaScript">
> <!-----
> function InsSm(sm)
> {
> document.form1.body.focus();
> document.form1.body.value=document.form1.body.value+sm;
Well, a
document.form1.body.value+=sm;
should do the same with less typing ;)
> <a tabindex='-1' href="javascript:void InsSm(':-)) ')">
> <img src="images/smileys/2.gif" width="15" height="15"border=0>
> </a>
You could even replace (with newer browsers) replace the link with
an onCLick statement for the img tag (but the above should be more compatible).
I would even suggest to add Phorum-Code-Buttons like that.
Two discovered drawbacks:
The smilies are displayed even with not JavaScript available.
You have to do the synchronisation with replacement plugin manually.
Hendrik
Sorry, you do not have permission to post/reply in this forum.