Las Venturas Playground
Development Portal - Printable Version

+- Las Venturas Playground (https://forum.sa-mp.nl)
+-- Forum: Main Talk (https://forum.sa-mp.nl/forum-3.html)
+--- Forum: Development (https://forum.sa-mp.nl/forum-16.html)
+--- Thread: Development Portal (/thread-28409.html)



Development Portal - Russell - 11-09-2011

LVP Development Portal
As a good starting point for our documentation, build overviews and tools, I'd like to present http://development.sa-mp.nl/ to you. The portal has two important functions which you should know about:
  1. Tracking of recent builds. When you compile the Las Venturas Playground gamemode, the PreCompiler contacts the server to retrieve the build number. In order to do this, the server needs to know your name, which is why you needed to create an "AUTHOR" file in the directory where you compile the gamemode. The last 50 builds will be displayed on the portal, eight in the menu, all fifty on the overview page, as a nice gimmick to show our activity.
  2. Documenting the world. We have a vast amount of tools, plugins and experiments at our disposal, all of which can be documented on the portal. It acts like a wiki: you, as a developer, have the ability to create, edit and remove pages at your own liking.
The portal is beta-test to roll out a wiki-like system to the rest of our website, which will eventually lead to Staff members to be able to edit pretty much everything. When you create a tool, or want to use one, please look on this website for documentation. If you have created a great new way of writing a certain feature, please add it to the site. Eventually it's supposed to become a central place for information related to gamemode development.

To-do list
The portal is far from done. Besides filling pages, the following features are expected to be added in the near feature. If you'd like to request a new feature, please open a separate topic requesting it, together with a clear description and use-cases.
  • Latest build overview page (50 builds).
  • Latest generated documentation of the LVP Gamemode.
  • A better menu-system to provide clearer access to the pages.
  • Categories, so pages can automatically be added to a page.
  • Revision history, logs, etcetera.
Quick introduction
Creating and editing a page is simple. Log in to the website and visit the page you'd like to edit. This does not per se have to be an existing page, for the purpose of testing I suggest you create a small personal page to try it out on. In my case, that would be:

http://development.sa-mp.nl/russell/

The page will recognize you as a developer and provide you with an "edit" and "remove" link in the top-right corner. Clicking on edit will give you three input fields: the title of the page, the content and the order in the menu. The title is for usage in a browser's title bar and the left-hand menu. The content, which always should start with a Heading 1 element, allows you to quickly create the content which you would like to add on the page. This is a "WYSIWYM" editor, which means that bold and italic text can be made visible in-line.

The menu order describes the place this page should have in the menu. A value of "0" means that it should not show up, any other value (between 1 and 255) will show up, whereas the menu items will be sorted in ascending order. That means that an item with value 10 will be displayed below an item with value 5.

Tips & Tricks
There are a few tricks available in the editor to make your life easier. These can be entered directly into the editor.

[table]
[tr][td][link text](http://example.com)[/td][td]Create a link to "http://example.com/" with the text "link text".[/td][/tr]
[/table]

If you have any questions, please reply to this topic.