Permalink
Browse files

Better mod structure. Some installer improvements.

  • Loading branch information...
realdigger
realdigger committed Mar 2, 2017
1 parent 1c1761c commit 4db985e52373bfb0b21c1f55cd4d285b176e419e
Showing with 36 additions and 19 deletions.
  1. +1 −0 .gitattributes
  2. 0 SMF_Garage_License.txt → LICENSE
  3. +16 −0 README.md
  4. 0 {smf2 → }/SSI_Garage.php
  5. 0 {smf2 → Sources}/Garage.php
  6. 0 {smf2 → Sources}/GarageFunctions.php
  7. 0 {smf2 → Sources}/GarageManagement.php
  8. 0 {smf2 → Sources}/GarageSettings.php
  9. 0 {smf2 → Themes/default}/Garage.template.php
  10. 0 {smf2 → Themes/default}/GarageManagement.template.php
  11. 0 {smf2 → Themes/default}/GarageSettings.template.php
  12. 0 {smf2 → Themes/default}/css/garage.css
  13. 0 {smf2 → Themes/default}/css/jquery-ui-1.8.13.custom.css
  14. 0 {smf2 → Themes/default}/css/shadowbox.css
  15. 0 {smf2 → Themes/default}/css/smfg_tips.css
  16. BIN {smf2 → Themes/default}/images/Garage_Card_01.png
  17. BIN Themes/default/images/Garage_Card_02.png
  18. BIN Themes/default/images/Garage_Card_03.png
  19. BIN Themes/default/images/Garage_Card_04.png
  20. BIN Themes/default/images/garage_add_dynorun.png
  21. BIN Themes/default/images/garage_add_insurance.png
  22. BIN Themes/default/images/garage_add_laptime.png
  23. BIN Themes/default/images/garage_add_mod.png
  24. BIN Themes/default/images/garage_add_quartermile.png
  25. BIN Themes/default/images/garage_add_service.png
  26. BIN Themes/default/images/garage_add_vehicle.png
  27. BIN {smf2 → Themes/default}/images/garage_camera.gif
  28. BIN {smf2 → Themes/default}/images/garage_delete.gif
  29. BIN Themes/default/images/garage_delete_vehicle.png
  30. BIN {smf2 → Themes/default}/images/garage_edit.gif
  31. BIN Themes/default/images/garage_edit_vehicle.png
  32. BIN {smf2 → Themes/default}/images/garage_loading.gif
  33. BIN Themes/default/images/garage_no_vehicle.png
  34. BIN Themes/default/images/garage_no_vehicle_thumb.png
  35. BIN Themes/default/images/garage_set_main_vehicle.png
  36. BIN Themes/default/images/garage_vehicle.png
  37. BIN {smf2 → Themes/default}/images/garage_video.gif
  38. BIN {smf2 → Themes/default}/images/icon_delete.gif
  39. BIN {smf2 → Themes/default}/images/icon_down.gif
  40. BIN {smf2 → Themes/default}/images/icon_down_disabled.gif
  41. BIN {smf2 → Themes/default}/images/icon_edit.gif
  42. BIN {smf2 → Themes/default}/images/icon_garage_approve.gif
  43. BIN {smf2 → Themes/default}/images/icon_garage_approve_disabled.gif
  44. BIN {smf2 → Themes/default}/images/icon_garage_disapprove.gif
  45. BIN {smf2 → Themes/default}/images/icon_garage_disapprove_disabled.gif
  46. BIN {smf2 → Themes/default}/images/icon_up.gif
  47. BIN {smf2 → Themes/default}/images/icon_up_disabled.gif
  48. BIN {smf2 → Themes/default}/images/progress.gif
  49. BIN Themes/default/images/shadowbox-close.png
  50. BIN {smf2 → Themes/default}/images/shadowbox-loading.gif
  51. BIN Themes/default/images/shadowbox-next.png
  52. BIN Themes/default/images/shadowbox-pause.png
  53. BIN Themes/default/images/shadowbox-play.png
  54. BIN Themes/default/images/shadowbox-previous.png
  55. BIN Themes/default/images/tipBtm.png
  56. BIN Themes/default/images/tipMid.png
  57. BIN Themes/default/images/tipTop.png
  58. BIN {smf2 → Themes/default}/images/video_thumb.jpg
  59. BIN {smf2 → Themes/default}/images/watermark.png
  60. BIN {smf2 → Themes/default}/images/white_arrow.png
  61. 0 {smf2 → Themes/default/languages}/Garage.english-utf8.php
  62. 0 {smf2 → Themes/default/languages}/Garage.english.php
  63. 0 {smf2 → Themes/default}/scripts/dynamicoptionlist.js
  64. 0 {smf2 → Themes/default}/scripts/garage_functions.js
  65. 0 {smf2 → Themes/default}/scripts/gen_validatorv2.js
  66. 0 {smf2 → Themes/default}/scripts/jquery-1.6.1.min.js
  67. 0 {smf2 → Themes/default}/scripts/jquery-smfg.js
  68. 0 {smf2 → Themes/default}/scripts/jquery-ui-1.8.13.custom.min.js
  69. 0 {smf2 → Themes/default}/scripts/jquery.jeditable.mini.js
  70. 0 {smf2 → Themes/default}/scripts/jquery.preload.min.js
  71. 0 {smf2 → Themes/default}/scripts/jquery.tipTip.minified.js
  72. 0 {smf2 → Themes/default}/scripts/shadowbox.js
  73. 0 {smf2 → Themes/default}/scripts/smfg_ajax.js
  74. 0 install_db-smf2.php → install_db.php
  75. 0 modification-smf2.xml → modification.xml
  76. +19 −19 package-info.xml
  77. BIN smf2/images/Garage_Card_02.png
  78. BIN smf2/images/Garage_Card_03.png
  79. BIN smf2/images/Garage_Card_04.png
  80. BIN smf2/images/garage_add_dynorun.png
  81. BIN smf2/images/garage_add_insurance.png
  82. BIN smf2/images/garage_add_laptime.png
  83. BIN smf2/images/garage_add_mod.png
  84. BIN smf2/images/garage_add_quartermile.png
  85. BIN smf2/images/garage_add_service.png
  86. BIN smf2/images/garage_add_vehicle.png
  87. BIN smf2/images/garage_delete_vehicle.png
  88. BIN smf2/images/garage_edit_vehicle.png
  89. BIN smf2/images/garage_no_vehicle.png
  90. BIN smf2/images/garage_no_vehicle_thumb.png
  91. BIN smf2/images/garage_set_main_vehicle.png
  92. BIN smf2/images/garage_vehicle.png
  93. BIN smf2/images/shadowbox-close.png
  94. BIN smf2/images/shadowbox-next.png
  95. BIN smf2/images/shadowbox-pause.png
  96. BIN smf2/images/shadowbox-play.png
  97. BIN smf2/images/shadowbox-previous.png
  98. BIN smf2/images/tipBtm.png
  99. BIN smf2/images/tipMid.png
  100. BIN smf2/images/tipTop.png
  101. 0 {smf2 → }/ssi_garage_examples.php
@@ -0,0 +1 @@
*.russian.php encoding=cp1251
File renamed without changes.
@@ -0,0 +1,16 @@
# SMF Garage mod
This is an updated and improved version of the original SMF Garage mod by RRasco.
* **Original author:** rrasco09 https://github.com/rrasco09/smfgarage
* **License:** BSD-3-Clause
* **Compatible with:** SMF 2.0
* **Languages:** English

## Description

SMF Garage is a Vehicle Management System (VMS) for Simple Machines Forum. This extension adds the capability for users to create a vehicle profile to be a associated with their user profile on an SMF forum.

Each vehicle profile is capable of maintaining vehicle details, images, videos, modifications, dynoruns, quartermile runs, insurance premiums, lap times, and service history.

In addition to vehicle profiles, SMF Garage is also capable of storing business profiles to help track the history of a vehicle. Retail shops, repair garages, manufacturers, and insurance agencies can all be stored and associated with vehicle profiles

This mod works with SMF 2.0.x only. If you need version for SMF 1.1 you should use original version https://github.com/rrasco09/smfgarage
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes.
File renamed without changes.
@@ -5,33 +5,33 @@
<id>RRasco:SMFGarage</id>
<name>SMF Garage</name>
<type>modification</type>
<version>2.3</version>
<version>2.3.1</version>

<!-- Installation, the key part of this file. -->
<install for="2.0.9-2.0.99">
<readme parsebbc="true">readme.txt</readme>
<code type="file">install_db-smf2.php</code>
<modification type="file">modification-smf2.xml</modification>
<require-file name="smf2/Garage.php" destination="$sourcedir" />
<require-file name="smf2/GarageFunctions.php" destination="$sourcedir" />
<require-file name="smf2/GarageSettings.php" destination="$sourcedir" />
<require-file name="smf2/GarageManagement.php" destination="$sourcedir" />
<require-file name="smf2/Garage.template.php" destination="$themedir" />
<require-file name="smf2/GarageSettings.template.php" destination="$themedir" />
<require-file name="smf2/GarageManagement.template.php" destination="$themedir" />
<require-file name="smf2/Garage.english.php" destination="$languagedir" />
<require-file name="smf2/Garage.english-utf8.php" destination="$languagedir" />
<require-file name="smf2/SSI_Garage.php" destination="$boarddir" />
<require-file name="smf2/ssi_garage_examples.php" destination="$boarddir" />
<require-dir name="smf2/css" destination="$themedir" />
<require-dir name="smf2/images" destination="$themedir" />
<require-dir name="smf2/scripts" destination="$themedir" />
<require-dir name="smf2/Garage" destination="$boarddir" />
<code type="file">install_db.php</code>
<modification type="file">modification.xml</modification>
<require-dir name="Sources" destination="$boarddir"/>
<require-dir name="Themes" destination="$boarddir"/>
<require-dir name="Garage" destination="$boarddir"/>
<require-file name="SSI_Garage.php" destination="$boarddir" />
<require-file name="ssi_garage_examples.php" destination="$boarddir" />
<redirect url="?action=admin;area=garagesettings" timeout="1000" />
</install>

<!-- Don't forget something to make it uninstallable! -->
<uninstall for="2.0.9-2.0.99">
<modification type="file" reverse="true">modification-smf2.xml</modification>
<modification type="file" reverse="true">modification.xml</modification>
<remove-file name="$sourcedir/Garage.php"/>
<remove-file name="$sourcedir/GarageFunctions.php"/>
<remove-file name="$sourcedir/GarageSettings.php"/>
<remove-file name="$sourcedir/GarageManagement.php"/>
<remove-file name="$themedir/Garage.template.php"/>
<remove-file name="$themedir/GarageSettings.template.php"/>
<remove-file name="$themedir/GarageManagement.template.php"/>
<remove-file name="$boarddir/Mod-SSI_Garage.php"/>
<remove-file name="$boarddir/Mod-ssi_garage_examples.php"/>
</uninstall>

</package-info>
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
BIN -1.38 KB smf2/images/tipBtm.png
Diff not rendered.
BIN -181 Bytes smf2/images/tipMid.png
Diff not rendered.
BIN -897 Bytes smf2/images/tipTop.png
Diff not rendered.
File renamed without changes.

0 comments on commit 4db985e

Please sign in to comment.