Programming How to contribute to the site code

Not open for further replies.


Banned deucer.
The code that runs on is publicly available (excluding the forum, which is vBulletin) and we encourage you to contribute to improving the site infrastructure.

To get a development environment set up, follow the instructions in this thread. If you have questions about setting up the development environment, post in that thread. For information on how to use the Smogon framework itself, see this thread.

Once you've made some changes to the site code, and want to contribute them, you must export those changes as an svn patch. Using the command-line svn client, change into the base svn directory and try

svn diff > ~/smogon-patch.txt
If you use a graphical svn client, you will have to find the export diff option in its menus.

Send your patch via email to one of the maintainers listed below, and also send that person a PM on the forums. That person will vet your patch and give you feedback as required.

Some simple projects that you could implement for the site:
  • Adding a mechanism to specify a category for each item, and to allow sorting items by their category.
  • Minor tweaks to the pokedex pages for Little Cup pokemon.
  • Last edited data for analyses
  • Add Tier tabs for Pokemon that work in more than one tier.
  • More to be listed
If you have an idea for something to implement not in the above list, post a thread about it before getting started, in case it turns out we don't need it at this time.

Site code maintainers:
As mentioned above, if you want to submit a patch, send it via PM to one of these people.

  • Articuno64

If you have further questions about the logistics of how to contribute, please post.
I'm working on getting the Pokedex tweaks for LC working.

In the future, since we're going to have manually editable XML files as teams and (possibly) boxes for SB2, I'm looking into parsing analyses into teamfiles (being able to choose a combination of 6 analysis sets and automatically generate a team file), or creating a "box" for each Pokemon to make things more immediately and readily available.

Also, something similar to the Marriland Team Builder would be nice, simply because it's often useful to be able to see common weaknesses/resistances at a glance.
Not open for further replies.