Version: 1.00, by eiSecure
Developer Last Online: Apr 2003
Version: 2.2.x
Rating:
Released: 06-24-2002
Last Update: Never
Installs: 64
No support by the author.
WYSIWYG Post Editor
Description:
Lets you have a Microsoft Word/FrontPage-like editing box when you reply to threads, create new threads, and/or edit posts.
Features:
- Supports BBCode
- HTML is converted to BBCode
- Gives user a visual layout of what he/she is typing
- Supports dynamic bolding/underlining/etc.
- Has cool-looking Office XP-styled buttons.:bunny:
- Allows users to choose wether to use this editor, or vB's default one.
- Makes BBCodes obsolete
- And many more...:bunny:
What are some other people's experiences with Wallstreet's mod? [/B]
*updated* it works for me
i just tried to install but it doesn't seem to work for me.
I have Win Xp with IE 6.0 but the code does not recognize me as IE 5.5+ user?????
I also think it is the best to combine the mod from Wallstreat and the possibility to disable this hack. I tried this:
PHP Code:
if ( ($enableHTMLEdit == 1) AND ( ($bbuserinfo['enablewysiwyg']) ) ) {
eval("dooutput("".gettemplate("newthread_wysiwyg")."");");
} else {
eval("dooutput("".gettemplate("newthread")."");");
}
and it works!
For all German speaking users i attached two german buttons for bold and italic
Great job Wallstreet, that defiantly helps! Alot of my members still didn't really know about the WYSIWYG editor because they had to switch it on, mostly the new registered users. One small problem is this WYSIWYG still has some bugs I and my members have noticed, if a member just doesn't want to use it I don't want to force them to install some older browser, I like to give them the option of turning it off....but that requires calling some queries.
Another problem though, you said it checks if the browser is older than IE 5.5, but what about other browsers? I know alot of people use Mozilla, and as I last heard Mozilla 1.0 isn't compatible with the WYSIWYG, will it also check this and bypass it?
Es ist doch gut das ich ein bischen Deutsch sprichts, und das ich viel verstehe. (and have absolutely no clue about your stupid grammar :alien: )
Translated:
PHP Code:
function validate(theform) {
set_x();
switchit();
if (vbform.message.value=="") {
alert("Please fill out the message.");
return false; }
if (theform.subject.value=="") {
alert("Please specify a subject.");
return false; }
if (postmaxchars != 0) {
if (theform.message.value.length > $postmaxchars) {
alert("Your message is too long.\n\nPlease limit the text to $postmaxchars characters.\nYour text is"+theform.message.value.length+" characters long.");
return false; }
else { return true; }
} else { return true; }
}
Originally posted by FireFly You can just replace this:
Code:
$threadengine = $DB_site->query_first("SELECT enablewysiwyg FROM user WHERE userid='$bbuserinfo[userid]'");
if($threadengine[enablewysiwyg]){ eval("dooutput(\"".gettemplate("newthread_wysiwyg")."\");");
} else { eval("dooutput(\"".gettemplate("newthread")."\");"); }
mmmh, i still have problems with the text size! if i choose another text size it is shown as it should, but after submit the text size is always very small??