Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Problem with copied/pasted text
Not Solved
Hello All, I moved a jeep forum last year from phpBB to myBB. A lot of users liked to use edit the text with color, bold, increase size etc. When I moved to myBB, after a couple of months I noticed when people copied/pasted text from a previous post it would show the code. We are a Jeep club, we do a sign-up list for events, we ask members to copy/paste last list and add their name to their post. At first I thought it was a tapatalk issue, pin pointed its the myBB code option in the themes. It would be impossible to ask members to copy/paste as plain text. Most claim that the forum is hard enough to use (thanks facebook). 

I turned off the MyBB option for a while. I was asked if it could be turned back on recently. I did this week, having a problem with it only in themes. When I delete any theme, it works fine when using the MyBBMaster Style. If had Emerald, tried Flatty, and MyResponsive. 
I do not know too much about the details of the code. 
Would someone point me to the right direction on how to fix this problem when using themes? I'll keep the default, but wanted to provide a couple of other options. 
I am attaching a screenshot how it looks like when text is copied/pasted to a new post.


Attached Files Thumbnail(s)
Not Solved
To remove all formatting when pasting in the visual editor, you need to use a plugin for the editor ( ). You need to take following steps to make it work:

1. Download to your jscripts/sceditor/plugins folder

2. Edit Ungrouped Templatescodebuttons template and add this line at the beginning:

<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/plugins/plaintext.js?ver=1821"></script>

Also in this template find the line:

plugins: "undo",

and change it to 

plugins: "undo,plaintext",
Not Solved
I thought I followed your steps. I put the line, <script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/plugins/plaintext.js?ver=1821"></script>
a couple of lines under the first one. didnt work. i put it in the beginning and it seems to work from my test.
Not Solved
Related post -

Same here, followed steps, hard refreshed - no change.
Not Solved
Yes, it should be at the beginning of the template. Also Mybb version should be very recent, otherwise it will not work.

To check if file is uploaded correctly you can request in your browser and see if the javascript file is loading without errors.

Forum Jump:

Users browsing this thread: 1 Guest(s)