Editing with normal editor isn't possible
4 posters
Page 1 of 1
Editing with normal editor isn't possible
Hello,
if I want to edit a post in my forum (schiggysboard.com) and save the changes, the changes won't saved. Actually editing posts is only possible with advanced editor.
I think the problem/cause is a script, but I don't know.
Is anyone able to find out why editing posts with normal editor isn't possible actually?
Greetings
if I want to edit a post in my forum (schiggysboard.com) and save the changes, the changes won't saved. Actually editing posts is only possible with advanced editor.
I think the problem/cause is a script, but I don't know.
Is anyone able to find out why editing posts with normal editor isn't possible actually?
Greetings
Last edited by darki on August 10th 2015, 5:49 pm; edited 1 time in total
Re: Editing with normal editor isn't possible
Hello,
I believe whenever anyone on any forum hits edit it will automaticly send them to the advanced editor. That is unless they have installed scripts to do so otherwise. For the most part though, it is both standard and normal to go to the advanced editor by default.
Now you mention a script, may you provide this script to us along with the url to your forum?
-Brandon
I believe whenever anyone on any forum hits edit it will automaticly send them to the advanced editor. That is unless they have installed scripts to do so otherwise. For the most part though, it is both standard and normal to go to the advanced editor by default.
Now you mention a script, may you provide this script to us along with the url to your forum?
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Editing with normal editor isn't possible
He did in his first post.brandon_g wrote:Hello,
url to your forum?
-Brandon
Guest- Guest
Re: Editing with normal editor isn't possible
In my forum it was possible to edit posts with normal editor.
Also I gave you the URL to my forum.
And I said that I don't know, it's only an idea with script.
Also I gave you the URL to my forum.
And I said that I don't know, it's only an idea with script.
Re: Editing with normal editor isn't possible
Haha wow, it is because you put it in paratisas that my mind got confused. I apologize for the confusion .
You don't have a script installed then?
-Brandon
You don't have a script installed then?
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Editing with normal editor isn't possible
Are you referring to the quick reply editor?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Editing with normal editor isn't possible
Yes!
Some weeks ago editing and saving with this quick reply edtor was had been possible.
Some weeks ago editing and saving with this quick reply edtor was had been possible.
Re: Editing with normal editor isn't possible
I don't know what else we can do to help you with this. As far as I know, one has never been able to edit their posts in quick reply mode without using a code that must be installed in the acp to allow such.
-Brandon
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Editing with normal editor isn't possible
You can not edit a post with the quick reply editor. You have to press the edit button in a post to edit it.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Editing with normal editor isn't possible
There is a script in action which makes that possible (forgot that). This script worked for a long time until some weeks ago.
In some threads here I saw that @JScript had found out, that one of the installed scripts makes problems.
Does anyone know whether there is a script which makes problems in my forum or does anyone can find a mistake in the script above?
- Script:
- Code:
var sFE_oldMsg = '', oFE_msgID = 0, sFE_subject = '';
jQuery(function () {
var sCSS = '' +
'<style>' +
'.input_submit.alt {' +
'background: none repeat scroll 0 0 #E2E9F0;' +
'border-color: #DAE2EA;' +
'border-radius: 3px 3px 3px 3px;' +
'border-style: solid;' +
'border-width: 1px;' +
'box-shadow: 0 1px 0 0 #EFF3F8 inset, 0 2px 3px rgba(0, 0, 0, 0.2);' +
'color: #464646;' +
'margin-left: 4px !important;' +
'padding: 4px;' +
'text-decoration: none;' +
'}' +
'.input_text, .fdfButton {' +
'padding: 4px !important;' +
'box-shadow: 0 1px 0 0 #EFF3F8 inset, 0 2px 3px rgba(0, 0, 0, 0.2);' +
'}' +
'.desc {' +
'background-color: #F1F6F9;' +
'padding: 9px;' +
'color: #777777;' +
'font-size: 11px;' +
'}' +
'</style>';
document.head.insertAdjacentHTML('beforeEnd', sCSS);
jQuery('a[href*="mode=editpost"]').click(function (event) {
event.preventDefault();
var datahref = jQuery(this).attr('href');
var post_ID = datahref.split('p=')[1].split('&')[0];
/* Forum versions! */
var phpBB2 = jQuery('#p' + post_ID).find('td .postbody div:eq(0)');
var phpBB3 = jQuery('#p' + post_ID).find('div.content');
var punbb = jQuery('#p' + post_ID).next().find('div.entry-content');
var invision = jQuery('#p' + post_ID).find('div.post-entry');
if (phpBB2.length) {
oFE_msgID = phpBB2;
} else if(phpBB3.length) {
oFE_msgID = phpBB3;
} else if(punbb.length) {
oFE_msgID = punbb;
} else if(invision.length) {
oFE_msgID = invision;
};
fastEditMsg(post_ID);
});
});
/***
* Fast edit post!
* Function: fastEditMsg(post_ID);
*/
fastEditMsg = function(post_ID){
if (isNaN(post_ID) || (jQuery('#p' + post_ID).length == 0) ) {return false}
sFE_oldMsg = oFE_msgID.html();
var sHtml = '<div class="main-content topic">' +
'<div class="post">' +
'<div id="editor_' + post_ID + '">' +
'<textarea cols="9" id="text_editor_textarea_' + post_ID + '" name="message" onclick="storeCaret(this)" onkeyup="storeCaret(this)" onselect="storeCaret(this)" rows="15" style="width: 98%; height: 250px;" tabindex="3" wrap="virtual">' +
'\n\n\n\n\n\nLoading a message...</textarea>' +
'<div class="row2 desc">' +
'Grund: <input type="text" value="" name="post_edit_reason_' + post_ID + '" id="post_edit_reason_' + post_ID + '" class="input_text" maxlength="250" size="35"> ' +
'<input type="checkbox" value="1" id="add_edit_' + post_ID + '" name="add_edit_' + post_ID + '" style="vertical-align: middle ! important;"> <label for="add_edit_' + post_ID + '">Gebe eine \'Grund zum Bearbeiten\' an</label>' +
'</div>' +
'<fieldset class="submit" style="font-size: 13px !important; padding: 15px 6px; text-align: center; border: 0 none; background-color: #D1DDEA;">' +
'<input class="button2 fdfButton" name="post" tabindex="6" type="button" value="Speichern" onclick="fastEditSave(' + post_ID + ')"> ' +
'<a class="input_submit alt" href="/post?p='+ post_ID + '&mode=editpost">erweiterter Editor</a>' +
' oder ' +
'<a class="cancel" title="Cancel" href="javascript:void(0);" onclick="fastEditCancel(' + post_ID + ');">Beenden</a>' +
'</fieldset>' +
'</div>' +
'</div>' +
'</div>';
oFE_msgID.html(sHtml);
var text_area = jQuery('#text_editor_textarea_' + post_ID);
text_area.val(sFE_oldMsg.replace(/<br\s?\/?>/g,"\n"));
/* text_area.val(HtmlToBBCode(sFE_oldMsg)); */
try
{
text_area.sceditor({
locale: "pt",
height: "250px",
width: "auto",
plugins: "bbcode",
toolbar: "bold,italic,underline,strike|left,center,right,justify|quote,code,faspoiler,fahide|servimg,image,link,youtube|size,color,font,removeformat|emoticon,date,time,maximizar,source",
parserOptions: {
/*breakAfterBlock: false,*/
/*removeEmptyTags: false, */
/*fixInvalidNesting: false,*/
/*fixInvalidChildren: false*/
},
style: "http://illiweb.com/rs3/85/frm/SCEditor/minified/jquery.sceditor.default.min.css",
rtl: false,
emoticonsEnabled: true,
emoticonsCompat: true,
emoticonsRoot: "",
emoticonsURL: "/smilies.forum?f=9&mode=smilies_frame&t=1383011440"
});
text_area.sceditor("instance").toggleSourceMode();
text_area.sceditor("instance").focus();
jQuery("a.sceditor-button-source").addClass("hover");
/*jQuery.sceditor.ShowHideToolbarElements();*/
var container = $('.sceditor-container');
var ciframe = container.find('iframe');
var ctextarea = container.find('textarea');
ciframe.width(ciframe.width() - 9);
ctextarea.width(ctextarea.width() - 9);
jQuery('.sceditor-resize-cover').show();
} catch(e) { if( typeof(console) != 'undefined' ) { console.error(e); } }
jQuery.get("/post?p=" + post_ID + "&mode=editpost", function(data) {
sFE_subject = jQuery(data).find('input[name="subject"]').val();
var user_Msg = jQuery(data).find('#text_editor_textarea[name="message"]').val();
text_area.val(user_Msg);
text_area.sceditor('instance').val(user_Msg);
}).done(function(){
jQuery('.sceditor-resize-cover').hide();
}).fail(function(){
oFE_msgID.html(sFE_oldMsg);
alert('Ein Fehler ist aufgetreten. Versuche es bitte in einigen Momenten nochmal.');
});
jQuery('html,body').animate({
scrollTop: jQuery('#p' + post_ID).offset().top
}, 1200);
};
/***
* Fast cancel post!
* Function: fastEditCancel(post_ID);
*/
fastEditCancel = function(post_ID){
oFE_msgID.html(sFE_oldMsg);
jQuery('html,body').animate({
scrollTop: jQuery('#p' + post_ID).offset().top
}, 400);
};
/***
* Fast edit post!
* Function: fastEditSave(post_ID);
*/
fastEditSave = function(post_ID) {
if (isNaN(post_ID) || (jQuery('#p' + post_ID).length == 0) ) {return false}
var text_area = jQuery('#text_editor_textarea_' + post_ID);
var edit_reason = '', send_txt = "Enviar";
text_area.sceditor("instance").toggleSourceMode();
var user_Msg = text_area.sceditor('instance').val();
var sHtml = text_area.sceditor('instance').getSourceEditorValue();
if(jQuery('#add_edit_' + post_ID).is(':checked')) {
edit_reason = jQuery('#post_edit_reason_' + post_ID).val();
}
oFE_msgID.html(sHtml);
if (sHtml.indexOf('<code>') !== -1) {
var tagCode = oFE_msgID.children('code');
var sContent = tagCode.html();
tagCode.before('<div class="punbbtop">Código <button onclick="punbbExpand(this); return false;">expand</button><button style="display: none" onclick="punbbCollapse(this); return false;">collapse</button> <button onclick="punbbSelect(this); return false;">select</button> <button onclick="punbbPopup(this); return false;">popup</button> <button style="margin-right: 50px; float: right;" onclick="punbbAbout(this); return false;">?</button></div><pre class="highlight punbb_block">' + sContent + '</pre>');
tagCode.remove();
jQuery.getScript('http://balupton.github.io/jquery-syntaxhighlighter/scripts/jquery.syntaxhighlighter.min.js', function () {
jQuery.SyntaxHighlighter.init({
'wrapLines': false
})
})
}
jQuery.post("/post", {
p: post_ID,
mode: 'editpost',
subject: sFE_subject,
message: user_Msg,
edit_reason: edit_reason,
attach_sig: '1',
notify: "0",
post: send_txt
}).done(function(){
/* */
}).fail(function(){
oFE_msgID.html(sFE_oldMsg);
alert('Es ist ein Fehler aufgetreten. Bitte versuche es in einigen Momenten nochmal.');
});
jQuery('html,body').animate({
scrollTop: jQuery('#p' + post_ID).offset().top
}, 400);
};
In some threads here I saw that @JScript had found out, that one of the installed scripts makes problems.
Does anyone know whether there is a script which makes problems in my forum or does anyone can find a mistake in the script above?
Re: Editing with normal editor isn't possible
if i get you right you used this code https://help.forumotion.com/t141665-fast-edit-without-refresh-window
you will need to ask support in that thread if you are facing a problem with this code as it's not a code FM have used it is a code that was used for testing by a member.
you will need to ask support in that thread if you are facing a problem with this code as it's not a code FM have used it is a code that was used for testing by a member.
Re: Editing with normal editor isn't possible
Thank you, @APE, you're right. I didn't installed the script (I am the successor of the founder) and couldn't find a thread in forumotion forums with that.
So, I replaced code in thread with my code and now it works again!
~Solved
So, I replaced code in thread with my code and now it works again!
~Solved
Re: Editing with normal editor isn't possible
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» How to rip dvd and edit dvd (Windows/Mac)
» WYSIWYG editor missing when editing a post
» The Editor Tools Are Missing From The Full Message Editor!
» Topic Editor vs HTML editor
» editing the chatbox with template editing
» WYSIWYG editor missing when editing a post
» The Editor Tools Are Missing From The Full Message Editor!
» Topic Editor vs HTML editor
» editing the chatbox with template editing
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum