casca
10-14-2008, 01:06 PM
I wanted to upgrade but I heard it doesn't support something (3.xx) (tinyMCE.setupContent(editorId)) so before i attempted it I wanted to know if that made a difference, and if anyone else has successfully done it.
Thanks!
casca
10-15-2008, 04:17 AM
I just finished installing the new TinyMCE. I got it working after screwing with it a bit. I followed the how-to on the vivvo website, but had to make a few diversions to get it working right (something screwy with the images, the upload button didn't popup like it should for whatever reason, and the insert images button wasn't finding anything...)
This is the config file after I was finished with it /admin/js
<?php
/* ================================================== ===========================
* $Revision: 2243 $
* $Date: 2007-10-03 18:03:56 +0200 (Wed, 03 Oct 2007) $
*
* Vivvo CMS 4.0
* Copyright 2005-07 SpoonLabs d.o.o.
* http://www.spoonlabs.com, All Rights Reserved
*
* Warning: This program is protected by copyright law. Unauthorized
* reproduction or distribution of this program, or any portion of it, may
* result in severe civil and criminal penalties, and will be prosecuted to the
* maximum extent possible under the law. For more information about this
* script or other scripts see http://www.spoonlabs.com
* ================================================== ==========================
*/
require_once (dirname(__FILE__) . '/../admin_include.php');
$sm->set_theme();
header("content-type: application/x-javascript");
echo 'tinyMCE.init({
mode : "exact",
elements : "article_body",
theme : "advanced",
plugins : "upload,advimage,media,advhr,advlink,autosave,bbcod e,paste,print,save,directionality,contextmenu,styl e",
theme_advanced_buttons1 : "bold,italic,underline,striketrough,separator,justi fyleft,justifycenter,justifyright,justifyfull,sepa rator,styleselect,formatselect,fontselect,fontsize select,separator,removeformat,cleanup",
theme_advanced_buttons2: "cut,copy,print,paste,separator,bullist,numlist,sep arator,outdent,indent,separator,undo,redo,separato r,link,unlink,anchor,separator,forecolor,backcolor ,separator,image,media,separator,code,separator,up load",
theme_advanced_buttons3 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
plugin_insertdate_dateFormat : "%Y-%m-%d",
plugin_insertdate_timeFormat : "%H:%M:%S",
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|h eight|align|onmouseover|onmouseout|name|obj|param| embed],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],object[width|height|data],param[name|value|_value],embed[width|height|flashvars|allowfullscreen|quality|nam e|id|src|type]",
content_css : "' . VIVVO_THEME . 'css/article_styles.css",
theme_advanced_styles : "Highlight right=quote_right;Highlight left=quote_left;Image right=right_image;Image left=left_image",
external_image_list_url : "'. VIVVO_URL . '/admin/js/tinyMCE_file_list.php?type=image",
media_external_list_url : "'. VIVVO_URL . '/admin/js/tinyMCE_file_list.php?type=media",
relative_urls : true, // Default value
document_base_url : "'. VIVVO_URL . '",
convert_urls : true
});';
?>
As you see I set relative and convert to true and it worked. I don't know why but I was basically just trying anything at that point... Anyway it works great for me.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.