Jump to content

egidux77

Member
  • Posts

    11
  • Joined

  • Last visited

About egidux77

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

egidux77's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, I want to override values passed to template files. In .tpl file I have variable of logged user - "$loggedinuser.firstname" I'm trying to create hook "ClientAreaPage", in dump of $vars I see: [loggedinuser] => Array ( [userid] => "84" [firstname] => "John" [lastname] => "Stuff" => "email@email.com" ) I'm trying to modify firstname from "John" to "Mr. John" with hook, to display it in client area, but with no luck How to change that value and return to template. I don't want to change variables in template in case of template update. Version 7.1.2 Thanks.
  2. Hello, I'm interested in how to get UserID in EmailPreSend hook. I need to modify {$client_first_name} and {$client_last_name} values in all mail templates. I tried by [relid], but not in all cases it is possible to get ClientID. Any suggestions?
  3. No. I want to create group for which invoices never will be generated. For now I see only ability to make some discount for group.
  4. Hello, it is possible somehow do not generate invoices for customers if they belongs for specific group?
  5. Looks very promising. Is there any road map? Where we can expect other releases and features?
  6. I think it is will be simple if I could change code. But it is hidden No ideas?
  7. Hello, I need custom number to paid invoice numbering. For example; INV{NUMBER} - Sequential Invoice Number Format But {NUMBER} I want to be 000001 (six digits) For first invoice it's OK. I've got number INV000001, but for second I've got INV2 and third INV3. Seems that in {NUMBER} is stripped zeros. In "Next Paid Invoice Number" I see "4" instead of "000004". It is possible to somehow workaround that? Thanks.
  8. I have the same problem. And it is very bad. I can't use this program until this not solved. 1014 - Parser error: Cannot parse the XML from the source specified
  9. Hello, maybe anyone have expierence to writing registrar module. Documentation is very small I have list of registrar commands and examples, of each command. But how all that implement to registrar module? This is list of commands. Comunication goes via Extensible Provisioning Protocol (EPP). HELLO / GREETING LOGIN LOGOUT CREATE CONTACT UPDATE CONTACT DELETE CONTACT INFO CONTACT CREATE NSGROUP UPDATE NSGROUP DELETE NSGROUP CHECK NSGROUP INFO NSGROUP CREATE DOMAIN UPDATE DOMAIN DELETE DOMAIN TRANSFER DOMAIN CHECK DOMAIN INFO DOMAIN POLL Here is few examples from registrar manual: Example "create DNS group": Clent send command su server create new group of DNS servers with name "group1": <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <command> <create> <nsgroup:create xmlns:nsgroup="http://www.domain.tld/epp/xml/domreg-nsgroup-1.0"> <nsgroup:name>group-1</nsgroup:name> <nsgroup:ns>ns1.domain.tld</nsgroup:ns> <nsgroup:ns>ns2.domain.tld</nsgroup:ns> </nsgroup:create> </create> <clTRID>NS-12345</clTRID> </command> </epp> Server reply with code 1000 (“Command executed successfully“): <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <response> <result code="1000"> <msg lang="lt">Command executed successfully</msg> </result> <trID> <clTRID>NS-12345</clTRID> <svTRID>DOMREG-0</svTRID> </trID> </response> </epp> Example CHECK DOMAIN: Pavyzdys: Client sends queries, check or domains available „domain1.tld“, „domain2.tld“ and „domain3.tld“: <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <command> <check> <domain:check xmlns:domain="http://www.domain.tld/epp/xml/domreg-domain-1.0"> <domain:name>domain1.tld</domain:name> <domain:name>domain2.tld</domain:name> <domain:name>domain3.tld</domain:name> </domain:check> </check> <clTRID>ABC-12345</clTRID> </command> </epp> Server reply with code 1000 (“Command executed successfully“). By each <domain:name> atribute „avail“ value shows is it possible register domain or not. „0“ means not, and „1“ – means ok: <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <response> <result code="1000"> <msg lang="lt">Command executed successfully</msg> </result> <resData> <domain:chkData xmlns:domain="http://www.domain.tld/epp/xml/domregdomain-1.0"> <domain:cd> <domain:name avail="0">domain1.tld</domain:name> </domain:cd> <domain:cd> <domain:name avail="1">domain2.tld</domain:name> </domain:cd> <domain:cd> <domain:name avail="1">domain3.tld</domain:name> </domain:cd> </domain:chkData> </resData> <trID> <clTRID>ABC-12345</clTRID> <svTRID>DOMREG-0</svTRID> </trID> </response> </epp> Anyone can help. Any sugesstions welcome.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated