Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Custom extension not recognized

edited March 2007 in Vanilla 1.0 Help
I've just started using Vanilla and am trying to write a custom extension. I'm following the instructions here: - however, I can't get past the first step.

Right now the only contents of my default.php file are the commented portion with extension name, author name, etc. When I upload that, the extension is not showing up at all in the control panel.

I'm using v1.1.2 and everything is in the proper folder. I've even tried copying the default.php file of a downloaded extension and changing the commented out header and uploading that, but it still won't work. I'm not sure what I'm doing wrong!


  • Options
    MarkMark Vanilla Staff
    Where exactly is your default.php file?

    It should be something like this:


    Have you got any other extensions installed? Do they show up properly?

    Also, post the source code of your extension.
  • Options
    The path is /vanilla/extensions/JHUOnly/default.php

    Right now the code is just:
    Extension Name: JHU Only
    Extension Url:
    Description: Restrict membership to the domain
    Version: 1.0
    Author: Leslye
    Author Url: n/a
    I'm just trying to get the system to recognize the extension at all.

    I have 4 other extensions which all show up: Category Jumper, Notify, Signatures, and Participated Threads
  • Options
    Have you checked the file permissions on your extension are the same as on the other extensions that work?
  • Options
    Try adding something for the Author Url. The latest Vanilla version may require you to add something about the extension version number. Check in one of the other extensions you've downloaded for this.
  • Options
    edited March 2007
    All of the permissions were identical and the Author Url did not make a difference. It seems the problem is caused by using Dreamweaver. When I edited a working extension (just added a comment) in Dreamweaver and then re-uploaded it, it disappeared from the list. Writing the extension in a text editor works just fine and it is seen by Vanilla. I'm not sure what kind of encoding Dreamweaver uses for it's files, but I've never had this kind of problem before with any other kind of PHP scripting ...
This discussion has been closed.