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.

Embedded forum issues

edited November 2011 in Vanilla 2.0 - 2.8
Hey all,

I'm having some issues with the embed vanilla plugin...I've got it working pretty well, and even using the Embed friendly theme - but there are bits and pieces of the forum still being cut off, as if the window is too small.

Any way to fix this? :( Can I make the window larger?

Best Answer

  • 422422 Developer MVP
    Answer ✓
    first off in style.css

    #content { float: left; margin-top: -10px; width: 1024px; }

    That will make embed same size as menu ?

    There was an error rendering this rich post.

«1

Answers

  • 422422 Developer MVP
    edited November 2011
    Can you post screenpic or link?

    There was an error rendering this rich post.

  • 422422 Developer MVP
    Answer ✓
    first off in style.css

    #content { float: left; margin-top: -10px; width: 1024px; }

    That will make embed same size as menu ?

    There was an error rendering this rich post.

  • 422422 Developer MVP
    Any other design style changes you want, need to be done for the particular style ( within Vanilla )

    Basically in themes, create a new folder called mytheme ( or whatever ) and inside that a new folder called design and you copy style.css from (themes/vanilla/design ) into this new folder.
    Then make changes to this style.css file, and re upload to themes/mythemes/design/style.css

    Then in dashboard, change to your new theme.

    There was an error rendering this rich post.

  • 422422 Developer MVP
    in #content if you change margin-top:-10px to -40px this will close the embed to under your menu

    There was an error rendering this rich post.

  • oh man, you rock! I made some changes to my earlier and forgot to delete the padding left line...that fixed the whole thing LOL
  • 422422 Developer MVP
    edited November 2011
    Then in mythemes/ create a new file called about.php

    Customize the code to suit your OWN style.
    <?php if (!defined('APPLICATION')) exit();
    /*
    Copyright 2008, 2009 Vanilla Forums Inc.
    This file is part of Garden.
    Garden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
    Garden is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    You should have received a copy of the GNU General Public License along with Garden. If not, see <http://www.gnu.org/licenses/>.
    Contact Vanilla Forums Inc. at support [at] vanillaforums [dot] com
    */

    /**
    * An associative array of information about this application.
    */
    $ThemeInfo['Mytheme'] = array(
    'Name' => 'Mytheme',
    'Description' => "Custom theme for TorDrive.",
    'Version' => APPLICATION_VERSION,
    'Author' => "Joe Bloggs",
    'AuthorEmail' => youremail@email.com',
    'AuthorUrl' => 'http://tordrive.com/'
    );
    Sample about.php for you

    There was an error rendering this rich post.

  • 422422 Developer MVP
    No problems :)

    There was an error rendering this rich post.

  • as as the PHP file goes...

    You said mythemes/..would that also be Themes?
  • 422422 Developer MVP
    Basically copy theme folder , vanilla to a new folder called whatever , perhaps tordrive , then do changes to the files within that folder, such as about me , CSS etc.

    The about.php must be done because in dashboard the theme activated and description stuff use the code in the about file to access your specific code, need help just gimme. Shout

    There was an error rendering this rich post.

  • 422422 Developer MVP
    Yeah wait one moment will do. Schematic for you, and post.

    There was an error rendering this rich post.

  • Oh ok, yes please and thank you. I'm following what you're saying but I'm still a bit lost.
  • 422422 Developer MVP
    image

    There was an error rendering this rich post.

  • 422422 Developer MVP
    actually if you are using embed friendly, perhaps better to download that instead of default, and do what I said above in the explanation.

    There was an error rendering this rich post.

  • So I can make changes to that css file to change the colors and such to match the websites own background color? if so, which line would I be looking for? I looked but I may be overlooking it...

  • 422422 Developer MVP
    The style.CSS within your new theme you created , controls color and styling of your forum only.

    It's quite complex working with CSS , but easy when you get going.

    There was an error rendering this rich post.

  • edited November 2011
    is the custom.css the file Im looking for? I dont see a style.css...
  • 422422 Developer MVP
    R u on google chat

    There was an error rendering this rich post.

  • yep! tom.chapman10@gmail.com
Sign In or Register to comment.