MyBB Community Forums

Full Version: Text Editor missing for admin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey everyone

I'm running mybb 1.8.15 and I was trying something with mycode. 

As suddenly the text editor for my admin was gone. 
When I log in as an other normal user, the text editor is there normally. 
But as admin and dont have it anymore. 
I tried to clear the cache of browser, tried different browsers, tried to clear the mybb cache, but nothing worked. 

I tried install even a third text editor (CKEditor) but its the same problem. 


Does anyone have a clue, what went wrong?

I appriciate any help, ideas or clues. 

Thx Daniel
Is it just the one account or all admin accounts?
(2018-05-31, 05:35 PM)Ben Wrote: [ -> ]Is it just the one account or all admin accounts?

I only had one admin account.
I created a new admin account now and the editor is there.

Maybe I just delete the other admin and recreate it?

I found the cause of the problem. (But not a solution)

I installed the french language and when I change the language to french the editor is gone. 
Even when I change back to another language the editor won't reappear. 

I could replicate the problem with the new admin account I just created. When I change to french, the editor is gone. As it's the same problem with a normal user. 

A problem might be: in the installation guide is mentioned:

Copy the files language.lang.phpmybb_theme.xmlmysql_db_inserts.phpsettings.xmltasks.xml et usergroups.xml in this resources folder

But there is only the language.lang.php file in the resources folder. (No mybb_theme.xml, mysql_db_inserts.php, ...) (as you can see in the attachement)

Any ideas?

Thx for your help. 

Daniel
I'd start by checking your options in your UserCP to ensure that the editor is set to show (I think there is a setting IIRC)
Sorry but I can't find such feature. 
But I found something strange in the settings. (see attached picture)
Looks like there may have been some template edits. Could you PM me an admin account details and I'll take a look? (Would be good if it was the same account experiencing the issues)
So Ben was able to show me the problem:
I show the solution for any other user, who might have the same problem.
As for me this problem occured with the esmerald theme and the french language pack.

The problem is, that I couldn't check: 
Show the MyCode formatting options on the posting pages
in the UserCP. There was only thise code: {$showeditorplaceholder}

I had to update some code in the template. 

As a admin you open the template file: usercp_options
1. You go to Template & Styles
2. then click Templates on the left
3. Esmerald Templates - Options - Expand Template
4. Scroll down to User Control Panel Templates and click expand
5. go to user_cp_option -> Options -> Full edit
6. replace: {$showeditorplaceholder} with: (make backup of the old content to be sure)
<tr> <td valign="top" width="1"><input type="checkbox" class="checkbox" name="showcodebuttons" id="showcodebuttons" value="1" {$showcodebuttonscheck} /></td> <td><span class="smalltext"><label for="showcodebuttons">{$lang->show_codebuttons}</label></span></td> </tr>
Then the option Show the MyCode formatting options on the posting pages in UserCP is visible and selectable. 
Check this option and the Text Editor appears. 
Cheers Daniel