q2apro / q2apro-on-site-notifications

Question2Answer Plugin: Facebook-like / Stackoverflow-like notifications that can replace all email-notifications of your forum.
29 stars 22 forks source link

Some problem with FlatBox #7

Closed gurjyot closed 10 years ago

gurjyot commented 10 years ago

It is not showing on username that is good, but it is still not perfectly aligned and needs to be placed out of dropdown menu. Have a look. flat

q2apro commented 10 years ago

The plugin is adapted to q2apro themes and to all question2answer themes that come with the default installation. FlatBox is not a default theme. In other words: There is no free support for custom themes.

Idea: You might solve the issue by editing the layer file: https://github.com/q2apro/q2apro-on-site-notifications/blob/master/q2apro-onsitenotifications-layer.php

And changing line if(qa_opt('site_theme')=='SnowFlat') { to if(qa_opt('site_theme')=='FlatBox') {

gurjyot commented 10 years ago

Thnx a lot for your help. I would reply back once I have tried your way.

gurjyot commented 10 years ago

Thanks a lot again kai... Your advice on this also worked and its working with FlatBox as well. :)

gurjyot commented 10 years ago

Hello again... I have just checked the admin pannel, by changing SnowFlat to FlatBox I am getting a warning in admin section. How to resolve this. The warning is something like this.

Warning: Cannot modify header information - headers already sent by (output started at /home3/name/public_html/sitename/qa-include/qa-base.php(568) : eval()'d code:1) in /home3/name/public_html/sitename/qa-include/qa-page.php on line 364