Koozali.org: home of the SME Server

I-Bay creation and event/action callback

Offline slapshot

  • **
  • 26
  • +0/-0
I-Bay creation and event/action callback
« on: April 27, 2012, 11:19:07 AM »
Hi all,

reading SME Admin manual - chapter 14 there is a chance to use i-bay to share documents with my customers. I found a php script to use in every ibay I created so it is simple enough for me and customers to manage too. Also, reading SME Developer manual with event/action I can automate some tasks. What I would need is at i-bay creation to copy into the same ebay a php script, a directory and erase index.html .

With actions this is possibile but I would have to know i-bay name such as parameter. Is it possible ? Or there is another simplest solution to accomplish that ?

Thanks.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: I-Bay creation and event/action callback
« Reply #1 on: April 27, 2012, 12:46:53 PM »
take a look at ibay-modify event..
you could also think about a db variable to trigger the action
something like

Code: [Select]
db accounts setprop ibayname UseMyScript yes

take also a look here: http://wiki.contribs.org/Webshare

HTH