Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

can not edit any themes in css files

This discussion was created from comments split from: About the Vanilla 2.1 release cycle.

Comments

  • Options
    mikadomikado New
    edited December 2012

    @Lincoln
    release 2.1 -> can not edit any themes in css files
    After editing, the changes are not visible

    And another question, why here I can edit photos, but not in one of your release, it's impossible! It is clear that the problem is in the folders, but how to solve this problem?

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @mikado

    I can't find the thread, but adding this to class.YOURTHEMENAMEthemehooks works:

           public function Base_Render_Before($Sender) {
        if ($Sender->MasterView == '' || $Sender->MasterView == 'default') {
        $Sender->AddCssFile("custom.css");
        }
        }

    I think it was @kasperisager who suggested it.

  • Options
    KasperKasper Scholar of the Bits Copenhagen Vanilla Staff

    You can also add this to your config file:

    $Configuration['DebugAssets'] = TRUE;
    

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

  • Options
    mikadomikado New
    edited December 2012

    @whu606, @kasperisager thanks for help

    how to solve the problem with editing pictures...

    any ideas?

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @mikado

    I'm not sure what you mean about editing pictures.

    What is it you can do here but not on your forum?

  • Options
    mikadomikado New
    edited December 2012

    thanks @Lincoln

    @whu606
    I mean this bug -> Failed to move uploaded file to target destination (/home3/eor1/public_html/ops/uploads/userpics/849/p3PO8LFCI6HKK.jpg).

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @mikado

    have you checked permissions on the folder concerned?

    What are you using to move the file?

    Can you move other files to that destination?

    Can you move the .jpg file to a different folder?

  • Options
    peregrineperegrine MVP
    edited December 2012

    mikado
    there appears to be a bug in editing thumbnails in 2.1 if that is what you mean. It doesn't set the profile folder correctly.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    @peregrine
    possible fix it?

  • Options

    @peregrine possible fix it?

    I expect it will be fixed by the designers. It was reported on the forum, but I don't know if anybody filed it on github.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    mikadomikado New
    edited December 2012

    have you checked permissions on the folder concerned?

    after editing the avatar in the userpics folder create new subfolders with a permissions of 755 Of course if the problem is in permissions

Sign In or Register to comment.