Jump to content

update a registrar module


keneso

Recommended Posts

Hi,

 

I registered an account with internetbs, and downloaded the registrar module from their site, and in the readme file it's written:

 

***ADVANCED WHMCS REGISTRAR MODULE INSTALLATION***

***supporting .eu, .be, .it, .fr, .re, .asia, .us and .uk ***

IMPORTANT NOTE: If you are upgrading from a previous version of our module

please execute the following SQL query on the WHMCS database:

UPDATE `tbldomainsadditionalfields` INNER JOIN `tbldomains` ON

`tbldomains`.id=`tbldomainsadditionalfields`.`domainid` SET

`tbldomainsadditionalfields`.`name`='VATTAXPassportIDNumber' WHERE

`tbldomainsadditionalfields`.`name`='VAT/TAX/Passport/ID Number' AND

`tbldomains`.`registrar`='internetbs'

In order for WHMCS to support .eu, .be, .it, .fr, .re, .asia, .us and .uk domains, you have

to perform the following additional steps:

0) Complete the BASIC MODULE INSTALLATION first.

1) Copy the file itterms.html to the root of your WHMCS instalation

2) Open the local file /YourLocalPath/whmcs/includes/additionaldomainfields.php

and append the following line at the very end of the file:

include(ROOTDIR."/modules/registrars/internetbs/internetbs_additionaldomainfields.php");

For .it you also need to copy the file itterms.html from the archive into the root folder of

your whmcs installation. (/YourLocalPath/whmcs/). This file contains the .it terms and

conditions in English. If you want to use the Italian version use the file itterms-it.html but

rename it itterms.html.

***HOOK INSTALLATION***

If you are updating module in order to detect hook file - ”hooks.php” and to start running

it for the module, you must edit and resave domain registrar configuration. This file

contains validations for domain.

You can now configure your price list and enjoy our module!

 

I know there is a module in the WHMCS release, but from checking additionaldomainfields.php and taking a look at the module's folder it seems to me that it is the "previous version".

 

Shall I just follow up their instructions with the SQL query, and the rest, or just add the line to additionaldomainfields.php and upload the extra files in the module directory?

 

Thank you

Link to comment
Share on other sites

from reading the above instructions, it looks like you shouldn't need to do the SQL query... if you've never installed their module before, then you aren't upgrading - the default WHMCS internetbs module will be written by WHMCS (I assume), so I would imagine you just overwrite the internetbs folder with theirs.

 

however, if it were me, i'd contact internetbs support to confirm before installing.

Link to comment
Share on other sites

Thank you.

 

I undesrtand that, but since you do know your product I thought you could shed a light on the difference, and why there are diffrerences, as, perhaps wrongly, I assumed you have "talked" to the registrar to make the module, thus knowing about it.

Link to comment
Share on other sites

Thank you.

 

I meant you talked, getting API docs in order to create YOUR module, of course you can't know about all independent modules out there.

 

Anyhow I'll just test, and see how yours works, and in case switch to theirs.

 

My main question though was in case I needed would it be all right to delete your files, and reload theirs.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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