amiyasahu / donut Goto Github PK
View Code? Open in Web Editor NEWModern and Responsive theme for Question2Answer ( Q2A ) websites
License: GNU General Public License v2.0
Modern and Responsive theme for Question2Answer ( Q2A ) websites
License: GNU General Public License v2.0
I've tried filled the blanks of first box icon like http://weisite/qa-theme/Donut-theme/images/bright-lightbulb.svg but it didn't show.
Hi, very nice template, thanks a lot.
Please added notification bar.I install plugin but now show at the moment.
None of the buttons on the More Actions menu are working. For example, if I click Hide the form is posted and the page loads, but nothing happens. I've confirmed these actions work using the default theme. So this is donut theme specific. Those are pretty critical items.
What can I do to fix this? I can't Hide or Close questions. Please advise.
Thank you
I just installed your theme, and it seems broken:
http://systemengineer.com/
Would you mind taking a look to see what might have gone wrong? Thanks!
Kenny
Hello Amiya Sahu, Thanks much for the Donut Theme, very Nice.
I have been trying to use it in my Question2Answer Platform, most of other parts works fine, though I came to realize that, the Social Media icons, on top and bottom right corner, after enabling them in the settings, they do not appear when Browsing with Google Chrome, but they do Appear when Browsing with Firefox.
Have met this Problem before? Any help or Suggestion?
The Site am working on is jawabu.ujvictory.com
Thank You very much for the theme once again and for the Support.
Regards,
James.
On the category list on the right side bar- there is count of the questions. This works fine. But when we enable the category for unanswered questions, there is no count and hence the category list gets scrambled a bit.
more info (by @arjunsuresh )-
http://www.question2answer.org/qa/47326/updating-donut-theme-any-suggestions?show=47393#a47393
I use q2a dev version. https://github.com/q2a/question2answer/tree/dev
[Fri Aug 14 11:31:53 2015] [error] [client 90.143.49.17] PHP Parse error: syntax error, unexpected '@' in /var/www/szh/data/www/szh.kz/test/qa-theme/Donut-dev/qa-donut-layer.php on line 1277, referer: http://szh.kz/test/admin/general
I've seen the wide note style being properly applied but not the tall one. Same style looks good.
Hi!
For first thank's for your great work!
This theme is awesome!
My only problem is: I'm trying to apply some changes to css and, if possible, if prefere to work on less files but I could not find any grunt or gulp file for compile them into css.
Please may you commit your less compiler to dev channel or may you help me with this question?
Thank's a lot.
Example: Github use max container 980px.
How i use for Donut theme use 980px
in function donut_include_template()
quick and dirty change part
/* Answers and views count */
.qa-a-count {
border: 1px solid #d6e9c6;
color: #3c763d;
float: left;
width: 60px;
height: 60px;
text-align: center;
margin-right: 5px;
padding: 0;
border-radius: 5px;
}```
into
```css
/* Answers and views count */
.qa-a-count {
border: 1px solid #d6e9c6;
color: #3c763d;
float: left;
min-width: 60px;
width: auto;
height: auto;
text-align: center;
margin-right: 5px;
padding: 0;
border-radius: 5px;
}```
works for me. maybe it will help someone else.
double border bottom for div class="qa-a-form" id="anew" http://oi61.tinypic.com/2q3c203.jpg
If questions are there for moderation in which some are with tags and some are not with tags then approve and reject buttons alignment problem is there.
I have installed the on-site-notifications plugin from http://www.q2apro.com/plugins/on-site-notifications and it works perfectly for the Snow theme and FlatSnow theme and others themes as weel. However, if I use Donut theme (which is the one that I want to use since it is free nice and responsive), the notification icon does not appear anywhere (on the other themes it appears on the top close to username when logged in).
The problem seems to be with the Donuts theme, any help is welcome.
Q2A version: 1.7
display: inline-block
After logging out from the site the whole QA is getting down.
the website doesn't loads until Donut Master theme is deleted from system.
@amiyasahu its nice theme for q2a. You work nice job. Thanks.
I have any question for Donut theme.
q-view-main should be changed
Hi @amiyasahu
I use its theme. Its nice.
I have one question. How i use fixed width layout for Personal Computer? In my laptop width 1366, site max-width 1000px.
In all PC browser max-width 980 or 1000px.
Example. http://www.bootply.com/71142
When we change into mobile view then the only two things visible at the menu is the site logo and a toggle button which leads us to menu. But when new visitors come to site, they need everything in front of them. I don't want my users end up searching the register button and even login. So I would suggest that these two should be place in front with the menu toggle button.
Moreover the login in button is in a dropdown fashion, so if it remained in same fashion then users first have to click menu button, then click login and then further slide it down to go to login form. Better idea would be to place it in front. As well as the register button.
display:block
attribute is given for images. This will make inline images not working (some use image for latex) and at least for entry-content this should be changed.
for other users
The problem down to request being made to the qa-users table, which doesn't exist because I am integrating with Wordpress
A Question2Answer database query failed when generating this page.
A full description of the failure is available in the web server's error log file.
New sections in profile need custom HTML as the CSS selector is too specific. This leads to issues such as this one:
That can be fixed per plugin but it makes sense for the theme to be ready to this section being extended. Check the selector in SnowFlat and you'll see what I mean. BTW, positioning looks perfectly fine.
On site notification not showing in mobile but desktop no problem
I was asking a question but when the time came to hit the "Ask the question", I got a message from warn on leave plugin that whether I want to stay on the page or leave it.
Please have a look at the issue... as I have tested a lot of themes but those all work fine with that plugin.
How i add php code for theme?
In SnowFlat theme i use qa-theme.php code add:
`public function _remove_nofollow( $str )
{
$search1 = '#<a rel="nofollow" href="http://surak.szh.kz("|/[^"]*")#i';
$search2 = '#<a href="http://surak.szh.kz("|/[^"]*") rel="nofollow"#i';
$replace = '<a href="http://surak.szh.kz\1';
$str = preg_replace( $search1, $replace, $str );
$str = preg_replace( $search2, $replace, $str );
return $str;
}
public function q_view_content($q_view)
{
if ( !empty($q_view['content']) )
$q_view['content'] = $this->_remove_nofollow( $q_view['content'] );
parent::q_view_content($q_view);
}
public function a_item_content($a_item)
{
if ( !empty($a_item['content']) )
$a_item['content'] = $this->_remove_nofollow( $a_item['content'] );
parent::a_item_content($a_item);
}
public function c_item_content($c_item)
{
if ( !empty($c_item['content']) )
$c_item['content'] = $this->_remove_nofollow( $c_item['content'] );
parent::c_item_content($c_item);
}
private $suffixes = array('', 'k', 'm');
private function formatViews($size, $precision = 1) {
$base = log($size) / log(1000);
return round(pow(1000, $base - floor($base))) . $this->suffixes[floor($base)];
}
private function updateViewCount(&$questionItem) {
if (isset($questionItem['views_raw'], $questionItem['views']['data'])) {
$questionItem['views']['data'] = $this->formatViews($questionItem['views_raw']);
}
}
public function q_list_item($q_item) {
$this->updateViewCount($q_item);
qa_html_theme_base::q_list_item($q_item);
}
public function main_parts($content) {
$newcontent = array();
if(isset($content['a_form']) && isset($content['a_list'])) {
$a_form = $content['a_form'];
$a_list = $content['a_list'];
foreach($content as $key => $item) {
if($key == 'a_form')
$newcontent['a_list'] = $a_list;
else if($key == 'a_list')
$newcontent['a_form'] = $a_form;
else
$newcontent[$key] = $item;
}
qa_html_theme_base::main_parts($newcontent);
} else
qa_html_theme_base::main_parts($content);
}`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.