Search found 18 matches

by gorip96
29 Jan 2017, 14:20
Forum: Legacy Module
Topic: Override registrar's DNS management
Replies: 28
Views: 18787

Re: Override registrar's DNS management

I'm not referring to the DNS record value. But the {$ns1} value in WHMCS
by gorip96
29 Jan 2017, 06:55
Forum: Legacy Module
Topic: Override registrar's DNS management
Replies: 28
Views: 18787

Re: Override registrar's DNS management

I have a suggestion As I understands, the module's menu hook is activated, if the zone for the domain exists in the database. Is it possible to add additional condition, where the menu hook is activated if the zone for the domain exists, AND the domain is pointed to Nameservers as configured in Solu...
by gorip96
29 Jan 2017, 04:28
Forum: Legacy Module
Topic: Override registrar's DNS management
Replies: 28
Views: 18787

Re: Override registrar's DNS management

Ah yes you're right, I forgot to add the <?php and ?> at the beginning and end of the file. After adding it, it works now Here's the current custom_hooks.php content <?php function SDNS_hook_ClientAreaMenuPriority() { return array( 'ClientAreaPrimarySidebar' => 65535, 'ClientAreaPrimaryNavbar' => 1 ...
by gorip96
28 Jan 2017, 21:49
Forum: Legacy Module
Topic: Override registrar's DNS management
Replies: 28
Views: 18787

Re: Override registrar's DNS management

On my log file, I search for SDNS_hook_menu function, but Priority always shows as 1, even though I've configured different priority value in custom_hooks.php
by gorip96
28 Jan 2017, 19:59
Forum: Legacy Module
Topic: Override registrar's DNS management
Replies: 28
Views: 18787

Re: Override registrar's DNS management

I found this on activity log

Code: Select all

Hooks Debug: Hook Defined for Point: ClientAreaPrimarySidebar - Priority: 1 - Function Name: (anonymous function)
I don't know whether it's related, because I can't find which module is calling that hook function
by gorip96
28 Jan 2017, 19:47
Forum: Legacy Module
Topic: Override registrar's DNS management
Replies: 28
Views: 18787

Re: Override registrar's DNS management

It's okay, I totally understood that this is not something relatively easy to overcome, since hooks priority is hardcoded on hooks.php itself, and every developer can use the same function, which we could never know which priority they use SoluteDNS itself actually is usable in my system, but the re...
by gorip96
28 Jan 2017, 18:37
Forum: Legacy Module
Topic: Override registrar's DNS management
Replies: 28
Views: 18787

Re: Override registrar's DNS management

Owh, I thought 1 got the highest priority

But I already try with higher number ( I tried with 2,9,9999 ) and still doesn't work
by gorip96
28 Jan 2017, 18:14
Forum: Legacy Module
Topic: Override registrar's DNS management
Replies: 28
Views: 18787

Re: Override registrar's DNS management

This is the entry of my custom_hooks.php [sinihost@server1 ~]$ cd public_html/store/modules/addons/solutedns/ [sinihost@server1 solutedns]$ cat custom_hooks.php function SDNS_hook_ClientAreaMenuPriority() { return array( 'ClientAreaPrimarySidebar' => 1 ); } [sinihost@server1 solutedns]$ Does it need...
by gorip96
28 Jan 2017, 11:54
Forum: Legacy Module
Topic: Override registrar's DNS management
Replies: 28
Views: 18787

Re: Override registrar's DNS management

Update to 2.17.001, but unfortunately still can't overwrite other module's DNS management
by gorip96
24 Jan 2017, 14:11
Forum: Legacy Module
Topic: Override registrar's DNS management
Replies: 28
Views: 18787

Re: Override registrar's DNS management

Looking forward to it