https://www.icyphoenix.com/viewtopic.php?f=28&t=5724 ----------------------------------- DWho Tue 14 Apr, 2009 18:49 [MOD RC2] WYSIWYG Editor For Cms ----------------------------------- Hi As someone asks for this I thought I would give it a shot.... [b][size=14]This I a wysiwyg editor for the cms only.... [/size][/b] [b][color=red]I recommend not to try and install this in your posting page as you have to have html on and anything could then be installed on your site...[/color][/b] [strike]Smilies will not work with this neither will the upload photo... but I have incorporated the upload photo feature into the editor so you can upload photos as normal to your site and they will be seen in the posted_img link as normal[/strike] [strike][b]bbcode will no longer work either as this mod only works in html... [/b][/strike] [b][size=14][color=#00FF00]MOD UPDATED[/color][/size][/b] I have updated this mod to use [url=http://xinha.webfactional.com/]xinha [img]http://www.icyphoenix.com/files/images/166/19_04_2009_20_41_18.png[/img] there is also an [b]acp[/b] switch in [b]ACP/ICY PHOENIX/Turn on Wysiwyg Editor[/b] this will allow you to either use [b]ICY standard bbcode[/b] or [b]turn on the editor[/b] and just use that default setting is for icy bbcode... when using the editor standard smilies are incorporated but used differently and if you add more they need to be added and renamed in the editor files.. uploaded images are also done differently in the editor and you can also upload files if you wish... any way if someone would care to test and let me know of any problems... All instructions and files can be [url=http://www.thisbooty.com/icy/xinha_rc1.rar][color=#00FF00][size=14][b]downloaded here[/b][/size][/color] ... any problems let me know... to add to Mega Mail please follow this link http://www.icyphoenix.com/viewtopic.php?p=38595#p38595 For some hints and tip please [url=http://www.icyphoenix.com/viewtopic.php?p=38631#p38631]Click Here [b][color=darkred]updated download [/color][/b] thanks to lopalong for pointing out that.. instead of includes/mod_icy_phoenix.php it should read [b]includes/mod_settings/mod_icy_phoenix.php[/b] in the install file sorry to all of those who could not find the file.. [size=14][color=darkred]EDIT:[/color][/size] Due to lack of support for Xinha I am not going to continue with this add on.... but as soon as the final release is released I will be incorporating tinymce... look Out for new post coming soon.. MOD will still work in RC2 I am not upadting it beyond as I have previously mentioned.. :mrgreen: :mrgreen: ----------------------------------- Mighty Gorgon Sat 18 Apr, 2009 12:39 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- Nice! You may have a look at the WYSIWYG editor included in vB or Wordpress to have further clues on how integrating it. ----------------------------------- DWho Sat 18 Apr, 2009 14:53 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- just spent a few days integrating xinha... once I have it fully done i will look at adding a switch in the acp so you can choose to have icy bbcode or wysiwyg... :mrgreen: :mrgreen: ----------------------------------- Mighty Gorgon Sat 18 Apr, 2009 18:32 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- He he he... great! ----------------------------------- DWho Sat 18 Apr, 2009 20:17 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote user="Mighty Gorgon" post="38512"]He he he... great![/quote] lol it may take a while though lol ----------------------------------- wachowski Sun 19 Apr, 2009 10:31 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote]bbcode will no longer work either as this mod only works in html... [/quote] Hey man do you mean that when you install this MOD the BBCode is not going to work longer in any part of the forum? I mean, when posting a topic or reply? ----------------------------------- DWho Sun 19 Apr, 2009 12:55 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote user="wachowski" post="38542"][quote]bbcode will no longer work either as this mod only works in html... [/quote] Hey man do you mean that when you install this MOD the BBCode is not going to work longer in any part of the forum? I mean, when posting a topic or reply?[/quote] no bbcode will work in the rest of the site... this is for the cms only for blocks etc... when posting in a post everything will work normally ... the editor will not show.. the editor is only for admins in the cms part of the site.. nearly finished an updated version with a better wysiwyg and a switch in the acp to turn it on or of so you can either use normal standard ICY bbcode or the editor... :mrgreen: :mrgreen: ----------------------------------- TheSteffen Sun 19 Apr, 2009 13:04 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- Great work so far [b]DWho[/b] ----------------------------------- wachowski Sun 19 Apr, 2009 15:29 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote user="DWho" post="38545"][quote user="wachowski" post="38542"][quote]bbcode will no longer work either as this mod only works in html... [/quote] Hey man do you mean that when you install this MOD the BBCode is not going to work longer in any part of the forum? I mean, when posting a topic or reply?[/quote] no bbcode will work in the rest of the site... this is for the cms only for blocks etc... when posting in a post everything will work normally ... the editor will not show.. the editor is only for admins in the cms part of the site.. nearly finished an updated version with a better wysiwyg and a switch in the acp to turn it on or of so you can either use normal standard ICY bbcode or the editor... :mrgreen: :mrgreen:[/quote] Oh man if so thats really AWESOME! It's a pitty that now I have the Stable version, well I'm going to update right now, this is the best MOD for IP I've seen since I'm here, it is very useful! I hope you finish your update for the MOD you said soon. Seeya! PS: This MOD ('hope improved) must be integrated in the new IP release! ----------------------------------- DWho Sun 19 Apr, 2009 22:58 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote user="TheSteffen" post="38547"]Great work so far [b]DWho[/b][/quote] First post updated with newer version :mrgreen: :mrgreen: ----------------------------------- paramine-gx Mon 20 Apr, 2009 06:39 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- great work... excelent... i'll install soon... cause im a little afraid to install this :oops: Thanks for your work :mrviolet: ----------------------------------- DWho Mon 20 Apr, 2009 11:31 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote user="paramine-gx" post="38591"]great work... excelent... i'll install soon... cause im a little afraid to install this :oops: Thanks for your work :mrviolet:[/quote] thank you very straight forward to install... only a couple of file edits... To add to megamail for html purposes.. OPEN [b]templates/common/acp/page_header.tpl[/b] FIND [codeblock] [/codeblock] AFTER ADD [codeblock] [/codeblock] only use when mega mail is set to [b]html[/b] .... [color=darkred]not to be used for pms bbcode or full html[/color] :mrgreen: :mrgreen: ----------------------------------- New Player Mon 20 Apr, 2009 11:44 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- can't download it download stops at all times.....firefox, ie, flashget...always the same ----------------------------------- wachowski Mon 20 Apr, 2009 11:46 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- Hey man check the post, cannot download :? ----------------------------------- DWho Mon 20 Apr, 2009 11:56 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- same here... i cannot download anything from this site for some reason... I will upload it to my server and link it to here... 2 secs [size=14][color=#00FF00]first post updated with link to download[/color][/size] :mrgreen: :mrgreen: ----------------------------------- New Player Mon 20 Apr, 2009 12:30 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote]same here... i cannot download anything from this site for some reason... [/quote] looooool :mrgreen: [quote]first post updated with link to download [/quote] link work :D ----------------------------------- spydie Mon 20 Apr, 2009 14:23 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- Nice Mod DWho. looks good to me. i´m testing local at the moment ----------------------------------- DWho Tue 21 Apr, 2009 10:42 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote user="spydie" post="38609"]Nice Mod DWho. looks good to me. i´m testing local at the moment[/quote] great let me know of any problems.. [u][b][size=16][color=seagreen]Here are some tips[/color][/size][/b][/u] The mod comes with a load of plugins that you can add or take away here is the full list with an explanation to what they do.. [url=http://xinha.webfactional.com/wiki/Plugins]plugins to enable them or disable them OPEN [b]xinha/my_config.js[/b] FIND [codeblock] xinha_plugins = xinha_plugins ? xinha_plugins : [[/codeblock] AFTER ADD [codeblock] 'PLUGIN NAME HERE',[/codeblock] you will see some plugins already installed if you go to the plugin folder (xinha/plugins) just copy the name of the plugin folder and copy it to the file as above... remember the tags and the comma.. Also in the file you can change the height and width to suit you FIND [codeblock] xinha_config.width = '900px'; xinha_config.height = '500px';[/codeblock] REPLACE WITH [codeblock]what ever width and height you need ...remember to keep the [b][color=#FF5500]px[/color][/b] otherwise it will pick a size for you[/codeblock] there are a few tips on the xinha site but I do not recommend using the forum as you are unlikely to recieve an answer I will try and help as much as I can as I have spent a week researching xinha.. As I find out more I will post here :mrgreen: :mrgreen: ----------------------------------- wachowski Thu 23 Apr, 2009 08:10 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- Hey man, I've got a problem. Can you explain me how to do the first entry: [code linenumbers=false]# #-----[ SQL ]------------------------------------- # INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('select_wysiwyg', '0'); [/code] I dont know where I have to go and dont find that file (phpbb_config) neither. Thx ----------------------------------- DWho Thu 23 Apr, 2009 09:56 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote user="wachowski" post="38710"]Hey man, I've got a problem. Can you explain me how to do the first entry: [code linenumbers=false]# #-----[ SQL ]------------------------------------- # INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('select_wysiwyg', '0'); [/code] I dont know where I have to go and dont find that file (phpbb_config) neither. Thx[/quote] hi it is a database update.. goto your acp/db security/ip mysqladmin/ on the new page that opens on the right at the top left it says sql click there and a text box will open enter the code below and hit submit [code]INSERT INTO `ip_config` (`config_name`, `config_value`) VALUES ('select_wysiwyg', '0');[/code] :mrgreen: :mrgreen: ----------------------------------- DWho Wed 29 Apr, 2009 11:31 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- When using Xinha and you want to go page down normally you would just hit enter and you will goto the next line... trouble is this creates this html [b]

[/b] which is fine some of the times... to create it probably so you create this html [b]
[/b] hold down shift and then hit enter.. this will display a lot better after you hit submit.. Also always clear the cache at an ytime you edit a file or something in xinha as a lot of the time you will not see your changes... :mrgreen: :mrgreen: ----------------------------------- spydie Wed 29 Apr, 2009 12:07 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- question. is it possible to edit the themes with xinha ?? i mean change header and things like that?? ----------------------------------- Lopalong Wed 29 Apr, 2009 13:41 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- Care to tell me where this file is in RC1 Public Release, because I can't find it. :( includes/mod_icy_phoenix.php ----------------------------------- New Player Wed 29 Apr, 2009 13:43 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote user="spydie" post="38907"]question. is it possible to edit the themes with xinha ?? i mean change header and things like that??[/quote] this required big changes but you can already edit the template files acp >> styles & templates >> Edit Templates maybe you have to enable it in acp >> styles & templates >> settings ----------------------------------- DWho Wed 29 Apr, 2009 14:08 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote user="Lopalong" post="38909"]Care to tell me where this file is in RC1 Public Release, because I can't find it. :( includes/mod_icy_phoenix.php[/quote] lol sorry it should be [b]includes/mod_settings/mod_icy_phoenix.php[/b] thanks for pointing that out.. :mryellow: I have updated the download :mrgreen: :mrgreen: [quote user="spydie" post="38907"]question. is it possible to edit the themes with xinha ?? i mean change header and things like that??[/quote] if you open the xinha folder you will see a folder names skins... there are 8 different ones including the css file for them... if you open templates/common/cms/page_header_std.tpl and templates/common/cms/page_header.tpl and find [code linenumbers=false] [/code] look for [code linenumbers=false] _editor_icons = "Tango";[/code] and change the style tango to one of the other skins names... clear the cache and thats it... if you want to change the look of the skin open the css and have a look through it... back up the original though... hope that helps :mrgreen: :mrgreen: ----------------------------------- DWho Mon 15 Jun, 2009 17:59 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- Due to lack of support for Xinha I am not going to continue with this add on.... but as soon as the final release is released I will be incorporating [url=http://tinymce.moxiecode.com/index.php]tinymce As tinymce does not have an extension to upload images... I will be working on a way to incorporate it using icys' present system of uploading images look Out for new post coming soon.. :mrgreen: :mrgreen: ----------------------------------- Informpro Tue 16 Jun, 2009 12:46 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- TinyMCE is REALLY BETTER :) ----------------------------------- DWho Tue 16 Jun, 2009 12:49 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- I totally agree... nicer looking and more flexible... Shame they have not done a free plugin to upload images... but I suppose everyone needs to make money some how... Anyway I made a smple addon to upload images and ten add the link to the mage pop up.. so just testing other features and it will be good to go when the last release of Icy is ready... :mrgreen: :mrgreen: ----------------------------------- Informpro Tue 16 Jun, 2009 13:02 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- The plugins system is great & easy to use. I think u can find something for image ;) EDIT: did "advimage" is not a plug for image ? ----------------------------------- DWho Tue 16 Jun, 2009 13:36 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- It is but there is no way to upload an image directly as far as I can see... still looking though... I just wanted it easy for admins to upload directly to the post but tinymce seem to not want you do to that.. Gonna check out there forums and other scripts... though I did notice joomla had this feature so gonna look at that... Unless I missed something (that nhappens a lot lol) ----------------------------------- novice programmer Tue 16 Jun, 2009 17:20 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [b]Pulling DWho legs:[/b] DWho, you have a new thing for your ToDo list: [list][*]Upgrade this mod to RC2 :)[/list] In my ToDo list is still the Topic Approbal Mod... Guess I will start with it the 23rd, just after exams finish. ----------------------------------- DWho Wed 17 Jun, 2009 12:24 Re: [MOD RC1] WYSIWYG Editor For Cms ----------------------------------- [quote user="novice programmer" post="40466"][b]Pulling DWho legs:[/b] DWho, you have a new thing for your ToDo list: [list][*]Upgrade this mod to RC2 :)[/list] In my ToDo list is still the Topic Approbal Mod... Guess I will start with it the 23rd, just after exams finish.[/quote] lol mod will work fine on RC2 as it is... but I will not take beyond that.... get moving with the approval mod... :P great feature to add to Icy.... :mryellow: ----------------------------------- Informpro Thu 18 Jun, 2009 13:54 Re: [MOD RC2] WYSIWYG Editor For Cms ----------------------------------- what's ur favorite template of tinyMCE ? it will be parametrable ? (I prefer the template 3 (demo/skins.html)) ----------------------------------- DWho Thu 18 Jun, 2009 21:21 Re: [MOD RC2] WYSIWYG Editor For Cms ----------------------------------- do you mean o2k7 skin + black ----------------------------------- Informpro Fri 19 Jun, 2009 13:49 Re: [MOD RC2] WYSIWYG Editor For Cms ----------------------------------- *check on his lib* no, o2k7 Silver ;)