Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


How to become somewhat adept at modifying vanilla to meet your needs for free

peregrineperegrine MVP
edited September 2013 in Tutorials
How to become somewhat adept at modifying vanilla to your needs for free

1) create your own webserver on a used machine at home.
    a) obtain an old computer
    b) download ubuntu
    c) install apache or nginx or ..
    d) install mysql
    e) install vanilla

2) get some skills
    a) run through some tutorials on the web for:
           -php
           -css
           -oop basics
           -read the documentation on site about mvc
    b) learn some debugging skills with your browser
            - obtain firefox and firebug
            - or chrome or some other web browser where you can inspect elements
            - watch some videos on how to debug with firebug or whatever
    c) get an editor and modify some programs.

3)  read discussions on vanilla forum even if they don't pertain to what you are looking for - you might get some ideas.

4)  read the documentation - read the wiki - add to the wiki, if you can.

5)  try to solve other people's question.  If you can find a working solution to someone else's question - provide an answer.

6)  learn how to frame a question - so someone will understand what you want.
         - include you version, theme, screenshot, and any other pertinent info
           that might help the person helping you.

7)  download plugins, themes, etc - try to digest them, modify them, experiment.
          - look at various function calls people use in plugins
          - download the example plugin and experiment
          - read the theme tips provided by 422 and others.
          - read the wiki that hbf volunteered to create


8)  slowly look at the different files in vanilla
           particularly the helper_functions.php  in vanilla/views/discussion and vanilla/views/discussions

9)  don't be afraid to modify the core on your test box - if it will teach you something.  than after you understand the change - write a plugin that does what you want and remove changes from the core.


10)  make your suggestions in a non-abusive way.  Remember everyone is learning and most are volunteering their time gratis and the development team of vanilla consists of a small group with only so much time in the day.  Instead of gripeing contribute.  If you learned something new that you struggled with but now understand either through your own solution or with somebody elses help - add it to the wiki.

11) read 1-10 again, and then one more time and then...

.... add your own tips

Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

vrijvlinderUnderDogaeryEdelAliAdrian

Comments

  • 11) read 1-10 again, and then one more time and then...

    .... add your own tips
    

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

    UnderDog422qwenty
  • a) run through some tutorials on the web for:

    b) learn some debugging skills with your browser:

    • obtain firefox and firebug

    • or chrome or some other web browser where you can inspect elements

    • watch some videos on how to debug with firebug or whatever

    • firebug Firebug intro screencast

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

    UnderDogqwentyvrijvlinder
  • troubleshooting mysterious problems

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

        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.
    

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

    UnderDog
  • aeryaery Gtricks Forum in 2.2 :) ✭✭✭
    If you have a windows machine, here is what you need to do for setting local or test environment - 
    
    1) Download [WAMP](http://wampserver.com/). Install it. Run it.
    
    Now you have local server in your computer with PHP and MySQL.
    
    2) Download Vanilla and extract zip to WAMP's www folder. 
    
    3) Open http://127.0.0.1 or http://localhost in your browser (WAMP should be running)
    
    4) In WAMP page, select phpmyadmin. It is your database interface. Make new database.
    
    5) Now again go to http://127.0.0.1/ or http://localhost and select your vanilla folder.
    
    You should be prompted for Vanilla Installation.
    

    Vanilla is sweet & support is great, to encourage volunteers, please donate.

    vrijvlinderUnderDog
  • peregrineperegrine MVP
    edited July 2013

    see this thread if you plan to develop plugins, etc. and read Lincoln's comments. A good way to go about the process. (and if it overwhelms you - you can use the list provided by hgtonight), then after a while read Lincoln's comment again, and you might not need the list.

    http://vanillaforums.org/discussion/23046/hooking-in-with-plugins

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

    aeryUnderDog
  • TamaTama ✭✭✭

    @aery said: If you have a windows machine, here is what you need to do for setting local or test environment -
    1) Download WAMP. Install it. Run it.
    Now you have local server in your computer with PHP and MySQL.
    2) Download Vanilla and extract zip to WAMP's www folder.
    3) Open http://127.0.0.1 or http://localhost in your browser (WAMP should be running)
    4) In WAMP page, select phpmyadmin. It is your database interface. Make new database.
    5) Now again go to http://127.0.0.1/ or http://localhost and select your vanilla folder.
    You should be prompted for Vanilla Installation.

    Note: WAMP Conflicts with skype, so will not start to fix this go to Tools> Options> Advanced> Connection

    and untick "Use port 80 and...."

    UnderDoghgtonight
  • peregrineperegrine MVP
    edited July 2013

    revised:

    troubleshooting mysterious problems

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

    1) 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 after changing themes.  check the permission on your Smarty/compile folder and make sure it exists.
    

    2) 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.
    

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

    UnderDog
  • TamaTama ✭✭✭
    edited August 2013

    When developing themes for Vanilla, http://alphapixels.com/prepros/ is a great tool, for auto refreshing elements (localhost only, see the WAMP post above); it also complies less and sass automatically for you ( I prefer the latter ).

    UnderDogShadowdarehgtonight
  • peregrineperegrine MVP
    edited September 2013

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

    vrijvlinderUnderDog
  • Another piece of advice

    learn how to identify the version of vanilla you are using and post the version in your question.

    How to find version number

    look in index.php in your forum directory
    or go to dashboard and look on the right hand side of the footer - the version is clearly displayed for you.
    

    To turn on debugging

        vanilla 2.1 and above
        $Configuration['Debug'] = TRUE;
    
      vanilla 2.0.x
        $Configuration['Garden']['Debug'] = TRUE;
    

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

    vrijvlinderilovetech
  • revised:

    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.

    1) run /utility/update and /utility/structure to update structure of database.

    2) 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 after changing themes. check the permission on your Smarty/compile folder and make sure it exists.
    

    3) 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.
    

    4) 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

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

    hgtonight
  • in step 1 above is unclear

    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 if you use rewrite urls's you could also type

    http://example.com/utility/update
    
    http://example.com/utility/structure
    

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

    vrijvlinderprihandokoruditaichicentral
  • Awesome. Thank you. I may actually be able to keep the forum going. I've been spending the past few days investigating ning, spruz, dolphin, eigg, etc. I really do appreciate your help. I hope you are paid well.

    vrijvlinder
  • vrijvlindervrijvlinder Jester MVP

    I hope you are paid well.

    Appreciation is payment enough, most of the time <3

    peregrine
  • peregrineperegrine MVP
    edited January 26

    @taichicentral said: Awesome. Thank you. I may actually be able to keep the forum going. I've been spending the past few days investigating ning, spruz, dolphin, eigg, etc. I really do appreciate your help.

    @ vrijvlinder said:Appreciation is payment enough, most of the time :heart:

    vrijvlinder is a true altruist. Others like me only partly so.

    I hope you are paid well.

    we volunteers are paid by several things. people clicking on reactions, people saying thank you and showing appreciation, and people showing their appreciation by making donations via paypal. All good. You can guess which ones are tangible payment.

    did this work out for you. http://vanillaforums.org/discussion/25966/problem-after-importing-data-from-vanilla-com-to-my-own-host

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

    vrijvlinder
  • vrijvlindervrijvlinder Jester MVP

    p, you are altruistic too, just by donating your time to this community :)

Sign In or Register to comment.