PDA

View Full Version : Help Needed - Problem related to ~ Text Editor ~


Attitude
10-22-2009, 07:54 AM
Hi All,

I have a problem related to my forum text editor. Text editors at my main forum and test forum have been displaying the same problem. Test forum is version 3.8.2, while main forum is version 3.7.x.

Problem:

When I click on the Font Color selector, it does not give me any color options to select, rather shows a tiny white box. Please see the image below.

https://vborg.vbsupport.ru/external/2009/10/24.jpg


Any ideas whats causing it and how can I fix it? Earlier I was thinking to replace the whole text editor file/script/whatever.

Urgent help will be highly appreciated.


G :confused:

Lynne
10-22-2009, 02:02 PM
Create a new style with no parent:

Styles & Templates > Style Manager > Add New Style
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save

Then browse the site using that totally default vbulletin style - do you still have the same problem?

Attitude
10-23-2009, 03:04 PM
First of all thanks Lynne for replying...

I did as directed and yes, it works in the new style. I wonder what would be the problem.

cant I just edit the 'editor_toolbar_on' template?

<if condition="$show['color_bbcode']">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
</if>

Attitude
10-25-2009, 11:42 AM
My quick reply works fine, but it is just the main editor that has the problem.

Is there a way I can reset the main editor? Please help.

Lynne
10-26-2009, 02:16 AM
You would have to compare the edited templates on that page in your style with those of a default style to find the difference and then fix it. You could try reverting the modified templates, but you will probably want to save a copy of the template first before reverting it since you cannot undo a revert.