• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  Editor buttons missing in Opera?

#1
The editor buttons are missing in Opera. They display OK on Firefox and IE. I'm glad it's not just on my site. I see it's happening here too.

Has anybody else noticed this or is my copy of Opera to blame?

Running RC3

edit: The same is happening on my Android phone using the default browser.

Thanks!
 

Mike

XenForo developer
Staff member
#2
Aha, Opera reports a very strange version number (Opera/9.80 (Windows NT 6.0; U; en) Presto/2.7.62 Version/11.01). I'm not sure what the 9.80 version means, as I'm actually running 11.01.
 

lms

Well-known member
#4
I have the same problem in the default style RC3 and disabling all add-ons. Weird thing is that i see normal editor in xenforo (here) with opera. In firefox (4 beta, last version) and chrome (last version) work fine.
Bug in opera 11 (last version)?

Salud2
 

Mike

XenForo developer
Staff member
#7
In library/XenForo/Visitor.php, change:
Code:
			else if (self::isBrowsingWith('opera') && preg_match('#Opera( |/)(Mini|8|9)#', $ua))
to:
Code:
			else if (self::isBrowsingWith('opera') && preg_match('#Opera( |/)(Mini|8|9\.[0-7])#', $ua))
(While this is a "mobile" check, it's basically used to determine if the WYSIWYG editor can be used.)