1
tank1955
Need some help with OnUpdate in xoops_version.php
  • 2008/7/25 2:58

  • tank1955

  • Module Developer

  • Posts: 276

  • Since: 2007/9/7 1


I am preparing release of Video Tube version 1.6 and have completed all tasks except for the need to create an additional MySQL table for categories when the user is upgrading from a previous version of Video Tube. I tried using the OnUpdate function in the xoops_version file. When I performed the module update the software did call the function I defined but there was a problem with the parameters I passed to the function. Could anyone identify a good example of this feature I could review? Thanks in advance for any help you can provide.

2
iHackCode
Re: Need some help with OnUpdate in xoops_version.php

i would say CBB 3.08 . aka newbb http://www.xoopsforge.com

im not sure if you read this already so i'll post it anyways. http://dev.xoops.org/modules/phpwiki/index.php/DatabaseTables
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
tank1955
Re: Need some help with OnUpdate in xoops_version.php
  • 2008/7/28 0:31

  • tank1955

  • Module Developer

  • Posts: 276

  • Since: 2007/9/7 1


Thx bandit. After reviewing how it was employed in CBB 3.08 this answered all of my questions.