Results 1 to 7 of 7

Thread: New Question for Vshare 2.9 Version

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default New Question for Vshare 2.9 Version

    Sorry for the back-to-back posts here, but I've been re-installing some of my old sites onto a new host and I've encountered things that I haven't known how to deal with since I took them down what seems like a lifetime ago. So here is the question: I just installed Vshare 2.9 on one of my newer sites and I need to know where I can set the default for the black theme to black? In past versions of vshare it used to be /include/class.css.php, in 2.9 it's not there. Where is it now?

    Site: http://cypher.obscure-media.org

    Thanks in advance.

  2. #2
    Join Date
    Oct 2007
    Posts
    126

    Default

    /include/classes/Css.php
    CasselmanCanada.com (free access)


  3. #3

    Default

    I just set it to the black as the default, but it won't take. The site whenever I refresh it keeps reverting back to the lighter background. The person I had from the helpdesk didn't remove the "default" from the file. Both should be set to "black" and "black".

    Here is the coding:

    public static function validate($css)
    {
    $valid_css = array(
    'black', 'black'
    );
    Last edited by nowordneeded; 08-15-2015 at 06:48 AM.

  4. #4
    Join Date
    Oct 2007
    Posts
    126

    Default

    I came back here to say it was not working in v2.9 but it looks like you got help to fix it. I will try your code. Thanks.
    CasselmanCanada.com (free access)


  5. #5

    Default

    Hi,

    To set black theme as default, do the following.

    Open include/classes/Css.php file and find
    PHP Code:
    $css 'default'
    replace this line with
    PHP Code:
    $css 'black'
    Save file.

    Re-load your site after clearing the browser's cache and cookie.

  6. #6

    Default

    this not work in 3.1, how can i set the theme with black style in 3.1?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •