2007-02-15, 06:14 PM
2007-02-15, 08:13 PM
When I go to reply to a PM the Editor doesn't show up...
EG:
EG:
2007-02-15, 09:59 PM
there's no "quoting" possible witht he editor?
2007-02-15, 11:40 PM
I don't think those AJAX features are implemented with the WYSIWYG modification.
Compliments to eCardMAX.com for the WYSIWYG although.
Compliments to eCardMAX.com for the WYSIWYG although.
2007-02-16, 03:21 PM
I integrated it to the forum but it gives some errors. When I add smile or clippart, it adds them, however they do not appear on the message after messages are sent. the case is the same when I copy a picture and I add it. What is the reason of this problem?
2007-02-16, 04:24 PM
Hello!
There is an important note I need you guys to re-check:
Inside the script inc/functions.php - Find the code below (line number 2697)
if you access to admin control panel with the URL like this:
then the function above should be changed to
Pay attention on this line
(replace /admin to /xxx_admin_xxx). After that you have to login to admin CP to re-edit the list of templates below (Copy the HTML code inside Hoteditor_Mod_MyBB.txt and paste it to textbox template - read file Hoteditor_Mod_MyBB.txt for more information)
If you have the problem with this MOD, then give me your Mybb board URL, I need to take a look at your site to see what going on.
There is an important note I need you guys to re-check:
Inside the script inc/functions.php - Find the code below (line number 2697)
function htmlspecialchars_uni($message)
{
//EDITOR
global $_SERVER;
$message = preg_replace("#&(?!\#[0-9]+;)#si", "&", $message); // Fix & but allow unicode
$message = str_replace("<","<",$message);
$message = str_replace(">",">",$message);
$message = str_replace("\"",""",$message);
$message = str_replace(" ", " ", $message);
//EDITOR
if(strpos($_SERVER['PHP_SELF'],"/admin")===false)
$message=get_hoteditor($message,0);
return $message;
}
if you access to admin control panel with the URL like this:
http://mysite.com/mybb/xxx_admin_xxx/index.php
then the function above should be changed to
function htmlspecialchars_uni($message)
{
//EDITOR
global $_SERVER;
$message = preg_replace("#&(?!\#[0-9]+;)#si", "&", $message); // Fix & but allow unicode
$message = str_replace("<","<",$message);
$message = str_replace(">",">",$message);
$message = str_replace("\"",""",$message);
$message = str_replace(" ", " ", $message);
//EDITOR
if(strpos($_SERVER['PHP_SELF'],"/xxx_admin_xxx")===false)
$message=get_hoteditor($message,0);
return $message;
}
Pay attention on this line
if(strpos($_SERVER['PHP_SELF'],"/xxx_admin_xxx")===false)
(replace /admin to /xxx_admin_xxx). After that you have to login to admin CP to re-edit the list of templates below (Copy the HTML code inside Hoteditor_Mod_MyBB.txt and paste it to textbox template - read file Hoteditor_Mod_MyBB.txt for more information)
Quote:editpost
editpost_Hoteditor
newreply
newreply_Hoteditor
newthread
newthread_Hoteditor
postbit_edit
private_send
private_send_Hoteditor
showthread_quickreply
showthread_quickreply_Hoteditor
If you have the problem with this MOD, then give me your Mybb board URL, I need to take a look at your site to see what going on.
2007-02-16, 04:31 PM
i'm slow, you can still quote, all you have to do is press "reply" button
love the editor!
thanks!
do you think it would be possible to integrate a "translit" button into it? in some later version maybe? (translit changes highlighted text into cyrillic)
love the editor!
thanks!
do you think it would be possible to integrate a "translit" button into it? in some later version maybe? (translit changes highlighted text into cyrillic)
2007-02-16, 04:58 PM
NJunkies Wrote:When I go to reply to a PM the Editor doesn't show up...
EG:
Quote:Bug:
Under User CP , when you go to view message and click Reply or Forward link the Hoteditor won't show up.
Instruction to fix:
Use Text editor to open file private.php
#
#-----[ FIND ]------------------------------------------
# ~ line number 305
$quoted['message'] = preg_replace('#^/me (.*)$#im', "* ".$pm['quotename']." \\1", $quoted['message']);
#
#-----[ AFTER, ADD ]------------------------------------------
#
//EDITOR
$message=get_hoteditor($message,0);
DONE - SAVE & CLOSE FILE.
2007-02-16, 07:01 PM
Ok so far but the thread description mod does not show any more anyway of fixing this.
2007-02-16, 11:39 PM
What do you mean? NJunkies was the last person who reported Editor not showing up when PM message. And this bug was fixed (reply #28).
Jim
Jim