Coder Social home page Coder Social logo

q2a-projects / cleanstrap Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 15.0 1.32 MB

CleanStrap: Responsive and Advanced Question2Answer Theme

Home Page: http://qa-themes.com/themes/cleanstrap

License: MIT License

CSS 18.41% PHP 60.85% JavaScript 20.74%

cleanstrap's People

Contributors

aresthelord avatar gurjyot avatar tohidn avatar zilker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cleanstrap's Issues

Theme Options Page not found

I click on my profile picture and in it's sub-menu then click on "Theme Options"
Its go to the URL Q2A.com/themeoptions
I get page not found

Google Ad not showing between question and answer

I have added google adsense on my site in theme option > advertisement > advertisement in question page > after question content.

The ad shows when it is added "under question title" but it is not showing in "after question content".

Login button shift towards right which shouldn't be happening

When I click Login button then it shifts a little bit towards right which in my case is creating a problem because it is going a little out of screen. Secondly when the login form drops from top then the cross to cancle is placed at the border line of top menu which is making it way difficult to watch. Have a look.

cross

Moreover in mobile view, when we click on login button then the cross for login form is coming just over the login button which is even very difficult to be seen with black login button.

error

error when adding ask button

Notice: Undefined variable: class in /mounted-storage/home79b/sub003/sc33428-JTJG/site.com/qa-theme/cleanstarp/inc/blocks.php on line 620

Strict Standards: Only variables should be passed by reference in /mounted-storage/home79b/sub003/sc33428-JTJG/site.com/qa-theme/cleanstarp/inc/widget_current_category.php on line 59

Error when a question is closed

This error appears when a question is closed

Notice: Undefined index: form in /home/myweb/qa-theme/cleanstrap/inc/blocks.php on line 1185

Mobile menu not work with the lastest Q&A version

The menu for mobile devices not work with the latest version of Q2A, I know that this is a beta but the problem is related to the jQuery version.

function cs_slide_menu(){
    $('.slide-mobile-menu').toggle(
        function() {
            $('#nav-top .qa-nav-main').animate({'left':0}, 200);
            $('.left-sidebar').animate({'max-width':180}, 200);
            $('.qa-main').animate({'width': $('.qa-main').width(), 'margin-left':190},200);
            $('body').addClass('menu-open');
        }, function() {
            $('#nav-top .qa-nav-main').animate({'left':'-180'}, 200, function(){$(this).removeAttr('style')});
            $('.left-sidebar, #nav-top .qa-nav-main').animate({'max-width':0}, 200, function(){$(this).removeAttr('style')});
            $('.qa-main').animate({'width': 'auto', 'margin-left':10}, 200, function(){$(this).removeAttr('style'); $('body').removeClass('menu-open');});
        }
    );
}
function cs_float_left(){
    var winwidth    = $(window).width();
    if(winwidth < 980)
        $('.left-sidebar .float-nav').removeAttr('style');
    else
    $(window).scroll(function(){
        var st = $(this).scrollTop();

        if(winwidth > 980){
            $('.left-sidebar').each(function(){
                var $this = $(this),
                    offset = $this.offset(),
                    h = $this.height(),
                    $float = $this.find('.float-nav'),
                    floatH = $float.height(),
                    topFloat = 0;
                if(st >= offset.top-topFloat){
                    $float.css({'position':'fixed', 'top':topFloat+'px'});
                }else if(st < offset.top + h-topFloat - floatH){
                    $float.css({'position':'absolute', 'top':0});
                }else{
                    $float.css({'position':'absolute', 'top':0});
                }
            })
        }else{
            $('.left-sidebar .float-nav').removeAttr('style');
        }
    });
}

These functions are incompatible with jquery version 1.11.1

New Users Widget is showing only those who uploaded avatars

On your suggestion I tried the new feature of New Users widget, where only those users will be shown who have uploaded avatars. But now when I change that setting to "Show all users", then it is not showing all new users. Instead the widget is stuck to the first setting. How to go back??

Making a tag favorite is looking very awkward

The heart symbol to make a tag favorite is placed at a very awkward place where no one would easliy recognise that moreover the toop tip for heart symbol is not completely shown due to top menu. I would suggest to bring that heart symbol beneath the ask widget so that it can be easily seen and used.

clean

admin section disappears

The link to the admin section works however it only displays the general page but the menu with links to everything else is gone

Replaces the default banner

If the user has set their own banner and then load CleanStrap then that banner is replaced by CleanStrap's logo

screen shot 2015-03-11 at 3 15 03 pm

stylesheet missing

When i try to activate the theme i get an error that there is a stylesheet missing.

Error when a question is hidden

This error happend when a question is hidden

Notice: Undefined index: popup in /home/myweb/qa-theme/cleanstrap/inc/blocks.php on line 1220

Auto posting questions and answer

Line 429 in the spectrum.css Posts questions to automatical
http://hellohappy.org/best-essay-writing-services/

If you are using cleanstrap then you know because you too once received a question from best-essay-writing-services

/* Buttons: https://hellohappy.org/css3-buttons/ */
.sp-container button {
background-color: #eeeeee;
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
background-image: linear-gradient(to bottom, #eeeeee, #cccccc);

signin

Notice: Undefined variable: icon in /mounted-storage/home79b/sub003/sc33428-JTJG/site.com/qa-theme/cleanstarp/inc/blocks.php on line 320

Notice: Undefined variable: icon in /mounted-storage/home79b/sub003/sc33428-JTJG/site.com/qa-theme/cleanstarp/inc/blocks.php on line 320
Foursquare Login
Notice: Undefined variable: icon in /mounted-storage/home79b/sub003/sc33428-JTJG/site.com/qa-theme/cleanstarp/inc/blocks.php on line 320

Couldn't find the option to show usercard

I have seen this theme when first released and I know that usercard was added to this theme which made it one of the top themes so far. But I couldn't find a way to show usercard on my site. How to activate that and if that is not added to this version yet then please add that. Usercard is a great addition and can make huge difference.

resources linked with http causing error on SSL Site

Hello,
I found 2 files linked with http which causes issue while the site is on SSL ..

File : CleanStrap/inc/blocks.php
$this->output('<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" rel="stylesheet" type="text/css">'); $googlefonts = json_decode(qa_opt('typo_googlefonts'), true); if (isset($googlefonts) && !empty($googlefonts)) foreach ($googlefonts as $font_name) { $font_name = str_replace(" ", "+", $font_name); $link = 'http://fonts.googleapis.com/css?family=' . $font_name; $this->output('<link href="' . $link . '" rel="stylesheet" type="text/css">');

So i just removed the "http:" part so it doesnt bug ...there was one more file which i couldnt find it had the same issue

there are blanks in the main page between question and widgets sidebars,why?

in the main page ,shows like this ,there are large blanks between the questions and widgets
the screenshot:
default

but in any other pages,like activity,question etc, it acts normal
the screenshot:
2

this really bothers me a lot ,i dont know why.
I'm very appericate if you can solve me the problem.

Thanks a lot

PHP warning

For your information, got this:

[07-Jun-2018 22:25:33 UTC] PHP Question2Answer more info: Methods with the same name as their class will not be constructors in a future version of PHP; qa_layer_3_from_widgets_php has a deprecated constructor in eval()'d code from /home/site/public_html/qa-theme/cleanstrap/inc/widgets.php

Site running PHP Version 7.0.30

Cleanstrap and Q&A 1.7 + Bootstrap 3.3.1

any chance to update the theme for work with the last Q&A 1.7 and the latest Bootstrap version, currently there are incompatibilities between the theme and the new versions.

Disable animation

HI
Anyway to disable all the animations.
My users and I are going a bit nuts with all the animations,slides and redraws.
Otherwise great theme !

Comment on a question is having some issues

After doing a comment on a question, if I immediately try to comment again on the same quesiton the the page reloads and shows on button to either comment or answer. Have a look in the pic below.

cle

Error on comments

This error appears whenever the mouse is passed over every comment

Notice: Undefined variable: buttons in /home/mywebsite/qa-theme/cleanstrap/inc/blocks.php on line 1291

Warning: Invalid argument supplied for foreach() in /home/mywebsite/qa-theme/cleanstrap/inc/blocks.php on line 1291

The search button and login button are not aligned properly

Very small alignment issue is there for search bar and login button for both desktop and mobile view. Search button is little down as compared to login button. Its not a big issue but by fixing this, this theme can take one more step toward perfect.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.