Advertisement:

Author Topic: [BETA PLUS] WYSIWYG Rich Text Editor for Post and Private Message New Technique  (Read 122622 times)

Offline LLStarks

  • Jr. Member
  • **
  • Posts: 162
is there a version for 1.1.3?

Offline exo81

  • Newbie
  • *
  • Posts: 3
  • Gender: Male
It works fine for 1.1 RC3.

I have got 2 questions:

1. How to change the Hotkey CTRL+K for a hyperlink into another one? (Because if you press CTRL+K in Firefox you jump to the quicksearch bar!)

2. I always use TAB to jump to the POST-Button after finishing my writing. Now if I press TAB it gives me some spaces within the text area, how can I change this?
... ah even the Shortcut ALT+S for submitting does not work for Firefox, coz it opens the History Menu.

Over all a wonderful tool, which is hopefully integrated in a similar way in the 1.2 Version of SMF!

Thanks for this.
« Last Edit: July 03, 2007, 07:35:49 AM by exo81 »

Offline Daniel15

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,222
  • Gender: Male
  • http://dan.cx/
    • daaniel on Facebook
    • Daniel15 on GitHub
    • daniel15 on LinkedIn
    • @Daniel15 on Twitter
    • Daniel15
Quote
Over all a wonderful tool, which is hopefully integrated in a similar way in the 1.2 Version of SMF!
We're working on our own one for SMF 2.0 :).
I think it's active here, but I can't quite remember (if it is, you may enable it on your profile).
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Offline exo81

  • Newbie
  • *
  • Posts: 3
  • Gender: Male
Yepp, found it!

You can activate it under >Profile >Look and Layout. There you check the box at "Show WYSIWYG editor on post page by default?".

It should be activated by default after the registration ;)

Anyway, I hope to see the SMF 2.0 version in July/August - when all programmers and designers have holiday and are spending their time for SMF  :D

The hxxp:www.ecardmax.com/hoteditor/index.html [nonactive] has some more features as the recent one in SMF. Maybe you get a little inspiration and even improve.

All the best & greetings from Berlin.
« Last Edit: July 08, 2007, 03:56:36 AM by exo81 »

Offline Daniel15

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,222
  • Gender: Male
  • http://dan.cx/
    • daaniel on Facebook
    • Daniel15 on GitHub
    • daniel15 on LinkedIn
    • @Daniel15 on Twitter
    • Daniel15
Quote
It should be activated by default after the registration
It's still in development, and has several bugs ;)
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Offline Cool999

  • Jr. Member
  • **
  • Posts: 255
Please SUmone help. Please

Check the below error.


Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/SoftMC_Blue/Display.template.php on line 939

930: <style type="text/css">@import url(richedit/styles/office2007/style.css);</style>         
931: <script language="JavaScript" type="text/javascript" src="richedit/editor.js?version=4.2"></script>
932: <script language="JavaScript" type="text/javascript">
933:    var getdata =document.getElementById("message").value;
934:    Instantiate("min","editor", getdata , "100%", "150px");
935:    //For Vietnamese User. Edit file editor.js to enable vietnamese keyboard
936:    if(enable_vietnamese_keyboard==1){
937:       document.write("<script language=\"JavaScript\" type=\"text/javascript\" src=\"richedit/avim.js\"><\/script>");
938:       var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked="";var him_telex_checked="";var him_vni_checked="";var him_viqr_checked="";var him_viqr2_checked="";var him_off_checked="";if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";}

939:       document.write("<div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off<br><img src="+styles_folder_path+"/vietnamese_symbol.gif></div>");

940:    }
941:    function get_hoteditor_data(){
942:       if (HTML_ON == "no"){
943:          alert ("Please uncheck the HTML checkbox");

Offline Cool999

  • Jr. Member
  • **
  • Posts: 255
Here is the Screenshot-




And here is the Display.template.php file-
Download it-
http://www.mediafire.com/?esdslbvnnrb

Please solve it.

Thanks

Offline Rudolf

  • SMF Hero
  • ******
  • Posts: 1,934
  • Gender: Male
  • iamanoompaloompa
Search for
Code: [Select]
document.write("<div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off<br><img src="+styles_folder_path+"/vietnamese_symbol.gif></div>");
Replace with
Code: [Select]
document.write("<div style=\"width:100%;text-align:center;font-family:Verdana;font-size:11px;\"><input \"+him_auto_checked+\" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input \"+him_telex_checked+\" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input \"+him_vni_checked+\" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input \"+him_viqr_checked+\" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input \"+him_viqr2_checked+\" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input \"+him_off_checked+\" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off<br><img src=\"+styles_folder_path+\"/vietnamese_symbol.gif></div>");
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

Offline Cool999

  • Jr. Member
  • **
  • Posts: 255
Thanks a lot Rodolf Sir. You rock



But the Quote function is not Working when Quick reply is enabled, Actually the Quick Reply function is not working, so how cum Quote will work.

Please Solve it

Thanks


« Last Edit: July 24, 2007, 08:09:27 AM by Cool999 »

Offline Cool999

  • Jr. Member
  • **
  • Posts: 255
Bug-

THe SMiley in shoutbox arent working.

When i click on any of the smiley its codes doesnt cum like before. I have to manully write it, then only it works.

btw i m using SMF Shoutbox ver 1.15b

Please sumone help

Thanks

Offline Cool999

  • Jr. Member
  • **
  • Posts: 255
New Bug-

I am facing problem with size code. When i copy some bigger text and paste it, then after posting it, it shows like this example-  [size=18]Copied Text[[/size]

Please Help.

Thanks

Offline Cool999

  • Jr. Member
  • **
  • Posts: 255
 :'( :'( :'( :'( :'(

Also its when i paste sum text in the postng page, its shows fine but after submiting, its show like this before start of text text- [COLOR=#NaNNaNNaN][COLOR=#NaNNaNNaN] and this- [/COLOR][/COLOR] after end of text.

Please solve  the problems.

Thanks


Offline LLStarks

  • Jr. Member
  • **
  • Posts: 162
bump

Offline Stef001

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
Hello,

I have smf 1.1.4 and have installed the editor.
In Mozilla it works perfect, but in IE6 and IE7, the page is very big.
Also when i pusch the look button the sreen is empty.
Have someone a solution for me?

Thanks Stef.
SMF 2.0.2 | SimplePortal 2.3.5

Offline albayrak

  • Semi-Newbie
  • *
  • Posts: 21
  • Gender: Male
    • albayrakFORUM
my problem Quick Reply please help !!!! :'(
You look at the picture. I am taking an error at the fast answer, How do I straighten not can, Please your answer  :(




www.albayrakforum.com/deneme [nofollow]
user name : deneme1
password: 9999
[nofollow]

Offline erikdiamond

  • Semi-Newbie
  • *
  • Posts: 11
Re: [BETA PLUS] WYSIWYG Rich Text Editor for Post and Private Message New Techni
« Reply #115 on: November 20, 2007, 09:42:13 PM »
will Hot Editor works with SMF 1.1.4.? 


The instruction to install hoteditor is quite frankly too much. Need to upload a folder and a file to main root, the do some modificaiton then upload it, etc. 

Erik

Offline Eliana Tamerin

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,612
  • Gender: Female
Is there an option to turn the whole thing off so the old display comes up? Some users are experiencing slow load times which is due to their dialup network speeds. If not, could an option be added in each individual profile so that those who cannot viably use it can turn it off?
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

Offline ronhaha108

  • Newbie
  • *
  • Posts: 6
Re: [BETA PLUS] WYSIWYG Rich Text Editor for Post and Private Message New Techni
« Reply #117 on: November 27, 2007, 09:26:09 AM »
I had a problem with the Quick Reply editor, I had to modify my theme's display.template.php file (as opposed to the default template).  A few things I had to change were the Paths in editor.js to give it a full path or else none of the button images for quick reply pictures were found.  I believe I had to change some of those paths in shot_it.php as well.  Everything is now working correctly except for one thing, if I insert a smiley in the quick editor and save the post, the smiley image is not found because the img src shows it as being a relative path (..\richedit\{etc}).  I've found that that is happening in the js function InsertImage(data) in show_it.php. 
Code: [Select]
if(my_what =="smileys"){
my_document.InsertSymbol("<img border=0 src='" + data + "'> &nbsp;");
}

I've put an alert(data); just before the InsertSymbol line and the path shows correct (http://....), any idea why this is happening and how to fix?

Thanks!
Ron
Ron
hxxp:www.u-assist.com [nonactive]
hxxp:www.linktobuy.com [nonactive]
hxxp:www.animewind.com [nonactive]
hxxp:www.whackoboss.com [nonactive]
hxxp:www.instadigi.com/index.php?referal=21 [nonactive]

Offline bioemm.com

  • Newbie
  • *
  • Posts: 5
i have problem . after the installation of this mode my editor bacame like this :

hxxp:i13.tinypic.com/6l27pd1.jpg [nonactive]

why ? not any part to write !!!

Offline Sfenky

  • Jr. Member
  • **
  • Posts: 201
  • Gender: Male
  • Sfenky!
    • pages/Best-Cures/226238874 on Facebook
    • @BestCuresNet on Twitter
    • Illness Cure
I've a quick reply problem.

Solution for this problem. post.template.php codes practice display.template.php But how do it ?

I don't this :( Who help me ?