quick qoute. help
Posted by Kidman
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
screenshot.jpg | 56.5 KB | open | download | Kidman | 11/11/2008 | Read message |
quick qoute. help November 11, 2008 12:21AM |
Registered: 16 years ago Posts: 5 |
read.tpl:
That it is necessary to put that instead of 'author' it was displayed nickname.
Example: [www.e1.ru]
Thanks
Language: PHP<script> // <!-- function quotemessage(nickname) { var t = ';';; if (nickname!=';';) {nickname = nickname.replace(';"';, ';"';);} isDOM=document.getElementById; isMSIE=document.all && document.all.item; isNetscape4=document.layers; isOpera=window.opera; isOpera5=isOpera && isDOM; isMSIE5=isDOM && isMSIE; isMozilla=isNetscape6=isDOM && !isMSIE && !isOpera; if (isMozilla || (isOpera && !isMSIE5)) { t=window.getSelection().toString(); } if (isMSIE5) { text_obj=document.selection.createRange(); t=text_obj.text; } if (nickname!=';';) { t = "[nickname]"+nickname+"[/nickname]\r\n"+t; } if (t!=';';) { document.forms.post_form.body.value+="\r\n[quote]"+t+"[/quote]\r\n"; window.location.href="#reply"; } else { alert(';Для использования функции цитирования следует выделить мышкой цитируемый текст';); } } // --> </script>
Language: PHP<a href="javascript: void(0)"; onmousedown="quotemessage(';[author]';);">{LANG->QuoteMessage}</a>
That it is necessary to put that instead of 'author' it was displayed nickname.
Example: [www.e1.ru]
Thanks
Re: quick qoute. help November 11, 2008 02:48AM |
Admin Registered: 22 years ago Posts: 9,240 |
Re: quick qoute. help November 11, 2008 04:26AM |
Registered: 16 years ago Posts: 5 |
It is necessary to put what variable that was displayed nickname, instead of ' author '?
Help please
Language: PHP<a href="javascript: void(0)"; onmousedown="quotemessage(';[author]';);">
Help please
Re: quick qoute. help November 11, 2008 04:30AM |
Admin Registered: 22 years ago Posts: 9,240 |
Re: quick qoute. help November 11, 2008 04:50AM |
Registered: 16 years ago Posts: 5 |
Re: quick qoute. help November 11, 2008 05:01AM |
Admin Registered: 22 years ago Posts: 9,240 |
Re: quick qoute. help November 11, 2008 06:16AM |
Registered: 16 years ago Posts: 5 |
Re: quick qoute. help November 11, 2008 06:23AM |
Admin Registered: 22 years ago Posts: 9,240 |
without checking but
{MESSAGES->author}
should probably do.
sorry but that is plain wrong. 5.2 supports all languages even better than 5.1. it just needs to be configured to do so and thats where you come in.
there won't be any further 5.1 releases as all development is on 5.2 and 5.3 so I suggest to you to try 5.2 again.
Thomas Seifert
{MESSAGES->author}
should probably do.
Quote
5.2.9 Does not support Russian. Transfer is, but messages do not pass in Russian
sorry but that is plain wrong. 5.2 supports all languages even better than 5.1. it just needs to be configured to do so and thats where you come in.
there won't be any further 5.1 releases as all development is on 5.2 and 5.3 so I suggest to you to try 5.2 again.
Thomas Seifert
Re: quick qoute. help November 11, 2008 06:51AM |
Registered: 16 years ago Posts: 5 |
Sorry, only registered users may post in this forum.