Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create new hook #44

Open
yashodhank opened this issue Feb 26, 2014 · 8 comments
Open

How to create new hook #44

yashodhank opened this issue Feb 26, 2014 · 8 comments
Labels

Comments

@yashodhank
Copy link

@shibby @AktuelSistem can anyone tell me how to create new hook and how do i extend variables of existing hooks?

Please help, I'm trying to build few new hooks and update existing one, but simply adding variables in hook php file does not help that work for me.

Thank you

@shibby
Copy link
Owner

shibby commented Feb 26, 2014

i will prepare a documentation about creating hooks ASAP.
On Feb 27, 2014 12:42 AM, "Yashodhan" [email protected] wrote:

@shibby https://github.com/shibby @AktuelSistemhttps://github.com/AktuelSistemcan anyone tell me how to create new hook and how do i extend variables of
existing hooks?

Please help, I'm trying to build few new hooks and update existing one,
but simply adding variables in hook php file does not help that work for me.

Thank you

Reply to this email directly or view it on GitHubhttps://github.com//issues/44
.

@kariha
Copy link

kariha commented Feb 27, 2014

Hosting hizmetleri için disk veya band aşımını tetikleyen bir hook var mıdır? Araştırdım fakat kesin bir cevap bulamadım.

@shibby
Copy link
Owner

shibby commented Feb 27, 2014

@kariha tam olarak ne istiyorsunuz bilmiyorum ama, after/premodulesuspend hook'unu kullanabilirsiniz. Ya da günlük cron hook'undan faydalanabilirsiniz.

@shibby
Copy link
Owner

shibby commented Feb 27, 2014

@yashodhank actually i couldn't write a documentation about creating new hooks. because of there is so many different type of a hook. you can do so many thing with one hook. when you decide to do something, you have select correct hook from WHMCS-Hooks. And you have to know database scheme of WHMCS.

I will try to make easier making hooks at next release by using a global class for hooks. so, i'm sorry for cant help you.

@kariha
Copy link

kariha commented Feb 27, 2014

@shibby Hosting paketlerinin kotasını veya band sınırını aşanlara "kotanızı aştınız" diye uyarı sms i göndermek istiyorum. premodulesuspend bunun için uygun mudur?

@shibby
Copy link
Owner

shibby commented Feb 27, 2014

Evet uygundur. Bunun hemen akabinde eğer aktifleştirdiyseniz aftermodulesuspend smsi de çalışacaktır. (sistemde varsayılan olarak hosting suspend edildiğinde sms gönderiliyor) En nihayetinde modül suspend edilecektir. Bunun için aftermodulesuspend hookunu da düzenleyebilirsiniz. Sms gönderiminden hemen önce reason kontrolü yapıp sms in içeriğini değiştirebilirsiniz.

@vpseuro
Copy link

vpseuro commented Feb 15, 2015

Hi, could you help me integrate Serbian GSM networks?

@mkrokos
Copy link

mkrokos commented Jun 8, 2016

How about a hook for announcements? Just the title, as many characters as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants