Frequently Asked Questions

2»

Comments

  • peregrineperegrine MVP
    edited November 2014

    - 21 Help! I don't know css or how to change it.

    • you can change the css in the custom.css in the design folder of your theme.
    • you can add rules and change rules.

    See theme guides and tutorials for vanilla

    http://vanillaforums.org/docs/themequickstart
    http://vanillaforums.org/discussion/19915/deploying-a-new-forum-and-adding-a-theme-for-everyone
    http://vanillaforums.org/discussion/24813/how-to-go-about-editing-the-default-theme

    if you make css changes and have problems seeing the changes working, maybe it is due to caching or cloudflare then try this link for info and turn off caching and cloudflare or use the cssedit plugin.

    more info here on cssedit and a great theme tutorial:
    http://vanillaforums.org/discussion/comment/217104/#Comment_217104

    more tutorials may be in this category

    http://vanillaforums.org/categories/tutorials

    try this theme for experimentation and learning.

    http://vanillaforums.org/addon/annotated_css-theme:


    Although css questions are asked on this forum, you really can learn about general css from a tutorial

    But I don't know css and I'm just a beginner

    • everybody was a beginner once,
    • some have learned by reading css tutorials, you can too.
    • try googling css tutorials.

    CSS Tutorial sites

    http://www.csstutorial.net/
    http://www.htmldog.com/guides/css/beginner/
    http://www.tizag.com/cssT/
    http://www.tutorialspoint.com/css/

    also see these links which will be very helpful after you reviewed some of the tutorial links above.

    http://www.smashingmagazine.com/2010/04/07/css-specificity-and-inheritance/

    http://www.w3.org/TR/CSS2/cascade.html

    Development tools for CSS

    Next stop learn how to use Firebug or some other web developer tools

    you can google "firebug tutorial" or "inspecting css tools"

    http://css-tricks.com/video-screencasts/15-introduction-to-firebug/
    https://developer.chrome.com/devtools
    http://msdn.microsoft.com/en-us/library/dd565627(v=vs.85).aspx
    https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/Introduction/Introduction.html

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

    vrijvlinder
  • peregrineperegrine MVP
    edited December 2014

    - 23 How do I change the maximum size for file uploads, pictures, etc ?

    you can add a config statement (or modify it if it exists already) in /conf/config.php

    e.g. config statement below would set a max size of 8 MB

    $Configuration['Garden']['Upload']['MaxFileSize']= '8M';

    However, there may be a limitation set via php.

    you may need to alter php settings as well via php.ini

    e.g.

    upload_max_filesize = 8M

    see links for more details:

    http://php.net/upload-max-filesize

    http://css-tricks.com/snippets/php/increase-maximum-php-upload-size/

    the smallest setting from setting php or from the conf/config.php is the maximum allowed upload size.

    i.e. if php shows upload_max_filesize = 2M and your config statement is $Configuration['Garden']['Upload']['MaxFileSize']= '8M'; You are still limited to max 2M.


    - 24 How do alllow other file extensions allowable for upload? e.g. I want to allow uploads of mp4 files.

    you can add a config statement (or modify it if it exists already) in /conf/config.php

    $Configuration['Garden']['Upload']['AllowedFileExtensions']=array('txt','jpg','jpeg','gif','png','bmp','mp4');

    anything in the array above is allowed you can add other file extensions to the array.

    add any extensions you want to allow to the array.

    e.g.

    $Configuration['Garden']['Upload']['AllowedFileExtensions']=array('txt','jpg','jpeg','gif','png','bmp','mp4','pdf','doc','xls','ppt','docx','xlsx','log','rar','7z','wav','aiff','mov');
    

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

  • - 26 How do I allow users to flag or report posts and receive an email notification that a post has been flagged.

    • enable the flagging plung that comes with the vanilla core distribution.

    • go to the dashboard roles and permissions. select the admin role and check flagging notify

    you can also add this to other roles perhaps moderator.

    • next edit your profile, then select notification preferences, you will see a new notification preference.

    check what preferences you want.

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

    vrijvlinder
  • peregrineperegrine MVP
    edited December 2014

    - 27 Where is the official documentation for vanilla forums? Why should I read it?

    • It may be obvious to some, but others might not be aware....
    • You can see a link for Documentation on the top menu bar of this forum!
    • Reading the documentation can help you). It give you insights about Vanilla.
    • It can be really helpful to skim it, scan it, read it, peruse it!

    • if you are using the open-source version of vanilla, meaning you are hosting vanilla yourself, check out the links relating to open source, Developers, Themes, and Features.

    click here. ---> http://docs.vanillaforums.com/

    if you click on developers it give you insights on many aspects of the open-source configuration, etc.

    http://docs.vanillaforums.com/developers/

    e.g. if you have questions about the configuration, config.php, adding or changing config statements see....

    http://docs.vanillaforums.com/developers/configuration/

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

    vrijvlinder
  • peregrineperegrine MVP
    edited August 2015

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

    visenselxvrijvlinder
  • peregrineperegrine MVP
    edited September 2015

    - 29 What are some basic troubleshooting steps?

    troubleshooting mysterious problems

    Got a mysterious problem occurring. But can't figure out if it is theme or plugin or core or database structure related.

    • A ) run /utility/update and /utility/structure to update structure of database.

      to run /utility/structure and/or /utility/update type

    e.g. if your forum is located at http://example.com then

    http://example.com/index.php?p=/utility/structure
    http://example.com/index.php?p=/utility/update
     or
    http://example.com/utility/update
    http://example.com/utility/structure
    
    • B ) Have you recently changed theme or added css files or added a locale or created new definition files?

      • delete the .ini files in /cache folder.
      • getting a bonk or blank page after changing themes. check the permission on your Smarty/compile folder and make sure it exists.
    • C ) other mysterious issues.

      change theme to default
      if problem goes away - check your theme for errors
      if problem still occurs
      disable plugins one by one
      if problem is fixed - identify plugin and post question under offending plugin
      if problem still occurs, download core files again.

      • if problem still occurs (no plugins and default theme) , file issue on github.
      • if problem is fixed - you made a change to core that caused the problem.
    • D ) if you see a blank page (or something has gone wrong page).

      In order to reveal full descriptive error messages:
      add the following configuration statement to conf/config.php

        $Configuration['Debug'] = TRUE;
      
           if you see
          $Configuration['Debug'] = FALSE;
          change it to
          $Configuration['Debug'] = TRUE;
      

      Remember to remove the config statement or change it to FALSE, when you are done.

    • E) miscellaneous can't see effects of plugin in mobile view

    also for plugins to make them mobile friendly:

    http://vanillaforums.org/discussion/comment/196078/#Comment_196078

    locale and mobile:

    http://vanillaforums.org/discussion/25641/how-to-tutorial-theme-specific-definitions-mobile-vs-non-mobile

    miscellaneous info

    http://vanillaforums.org/discussion/comment/199091/#Comment_199091

    tip: always good to enable plugins via dashboard instead of modifying config.php.

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

    vrijvlinder
  • - 30 Addendum to troubleshooting steps for item 29.

    if your upgrade fails or you have mysterious issues.

    if you see any of these files in your conf folder (make sure they don't create the errors)
    and mention that you have them if posting on the forum.

    created and bootstrap.early.php, bootstrap.before.php, bootstrap.after.php or bootstrap.late.php

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

    vrijvlinder
  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator

    I've edited this thread to add a Table of Contents here

    If any of the replies are out of date or you can improve on them, please do, and let us know on here, so we can edit them.

    If you regularly answer questions, and a FAQ isn't on here, please add it.

    hgtonightvrijvlinder
  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited September 2017

    Bumping this !! It is still very relevant today... @whu606 can you remove the necro tag ?

2»
Sign In or Register to comment.