Jump to content

eNom Extended


n2972s

Recommended Posts

  • Replies 373
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 3 weeks later...
Hello All,

 

I have 2 questions.

 

1. Does anyone have specific installation instructions for Version: 4.1.2?..

2. I had this installed on previous versions of WHMCS. Does this work for v4.1.2?

 

To make it work, just upload the directory to the whmcs/modules/admin

 

but as for the template edits, would be great to have the install instructions.

Link to comment
Share on other sites

  • 4 weeks later...
To make it work, just upload the directory to the whmcs/modules/admin

 

but as for the template edits, would be great to have the install instructions.

 

I totally agree. I've tried and tried but cannot get this mod to show up correctly. The instructions are still referring to the old style template file.

 

Any takers?...

 

1. Open homepage.tpl located in your whmcsdirectory/admin/templates directory.

 

Find the following lines:

 

<div class="errorbox">Quick Summary » <span style="color:#000000;">Todays Income: {$incometoday} - Pending Orders: {$pendingorders} - Pending Cancellations: {$pendingcancellations} - Overdue Invoices: {$overdueinvoices} ({$overdueinvoicesamount})</span></div> <br>

 

Add the following below the above code where ROOTPATH_FOR_WHMCS is the root path to your WHMCS install. The smarty variables shown in the code below can be used to format any way you want.

 

{include_php file="/ROOTPATH_FOR_WHMCS/modules/admin/enom_extended/smarty/admin_homepage.php"} <link href="../modules/admin/enom_extended/templates/eestyle.css" rel="stylesheet" type="text/css"> <div class="errorboxenom">eNom Summary » <span style="color:#000000;"> {if $enomdebug != ''}{$enomdebug}{else}Balance: ${$enom.balance} - Available Balance: ${$enom.availbalance} - Active Domains: {$enom.active} - Expired Domains: {$enom.expired}{/if}</span></div> <br>

 

2. If it does not show up correctly you may need to clear your browser cache as well as empty your templates_c directory.

 

 

WHMCS Menu

 

1. Open menu.js located in your whmcsdirectory/admin/javascript directory.

 

Add the following menu items after menu9:

 

var menu10=new Array() menu10[0]='<a href="addonmodules.php?module=enom_extended">Home</a>' menu10[1]='<a href="addonmodules.php?module=enom_extended&page=settings">Settings</a>' menu10[2]='<a href="addonmodules.php?module=enom_extended&page=domains">Domains</a>' menu10[3]='<a href="addonmodules.php?module=enom_extended&page=domaindetail">Domain Detail</a>' menu10[4]='<a href="addonmodules.php?module=enom_extended&page=transfers">Transfers</a>' menu10[5]='<a href="addonmodules.php?module=enom_extended&page=sslcerts">SSL Certificates</a>' menu10[6]='<a href="addonmodules.php?module=enom_extended&page=refillaccount">Refill Account</a>' menu10[7]='<a href="addonmodules.php?module=enom_extended&page=utilities">Utilities</a>' menu10[8]='<a href="addonmodules.php?module=enom_extended&page=modconfig">Configuration</a>'

 

 

2. Open topmenu.tpl located in your whmcsdirectory/admin/templates directory.

 

Add the following at the end of the file.

 

<span class="navbutton" onMouseOver="this.className='navbuttonover';dropdownmenu(this, event, menu10, '');" onMouseOut="this.className='navbutton';delayhidemenu();" onClick="window.location='addonmodules.php?module=enom_extended'">eNom</span>

 

 

3. If the menu does not show up you may need to clear your browser cache as well as empty your templates_c directory.

Link to comment
Share on other sites

Ok - I'll start this off :lol:

 

Step 1 is pretty simple. Just edit the file in relation to the template your going to use (v4, original OR simple). I have edited the code/instructions for step 1

 

It's Step 2 (WHMCS Menu) I'm puzzled about. There is NO admin/javascript directory let alone a menu.js file.

 

1. Open homepage.tpl located in your whmcsdirectory/admin/templates/v4 original OR simple directory.

 

NOTE: Here I'm using the v4 template

 

Find the following lines:

<div class="errorbox" style="font-size:14px;"><a href="supporttickets.php">{$sidebarstats.tickets.awaitingreply} Ticket(s) Awaiting Reply</a> || <a href="cancelrequests.php">{$stats.cancellations.pending} Pending Cancellation(s)</a> || <a href="todolist.php">{$stats.todoitems.due} To-Do Item(s) Due</a> || <a href="networkissues.php">{$stats.networkissues.open} Open Network Issue(s)</a></div>

 

<br />

 

Add the following below the above code where ROOTPATH_FOR_WHMCS is the root path to your WHMCS install. The smarty variables shown in the code below can be used to format any way you want.

 

{include_php file="/ROOTPATH_FOR_WHMCS/modules/admin/enom_extended/smarty/admin_homepage.php"} <link href="../modules/admin/enom_extended/templates/eestyle.css" rel="stylesheet" type="text/css"> <div class="errorboxenom">eNom Summary » <span style="color:#000000;"> {if $enomdebug != ''}{$enomdebug}{else}Balance: ${$enom.balance} - Available Balance: ${$enom.availbalance} - Active Domains: {$enom.active} - Expired Domains: {$enom.expired}{/if}</span></div> <br>

 

2. If it does not show up correctly you may need to clear your browser cache as well as empty your templates_c directory.

 

 

WHMCS Menu

 

1. Open menu.js located in your whmcsdirectory/admin/javascript directory.

 

Add the following menu items after menu9:

 

var menu10=new Array() menu10[0]='<a href="addonmodules.php?module=enom_extended">Home</a>' menu10[1]='<a href="addonmodules.php?module=enom_extended&page=settings">Settings</a>' menu10[2]='<a href="addonmodules.php?module=enom_extended&page=domains">Domains</a>' menu10[3]='<a href="addonmodules.php?module=enom_extended&page=domaindetail">Domain Detail</a>' menu10[4]='<a href="addonmodules.php?module=enom_extended&page=transfers">Transfers</a>' menu10[5]='<a href="addonmodules.php?module=enom_extended&page=sslcerts">SSL Certificates</a>' menu10[6]='<a href="addonmodules.php?module=enom_extended&page=refillaccount">Refill Account</a>' menu10[7]='<a href="addonmodules.php?module=enom_extended&page=utilities">Utilities</a>' menu10[8]='<a href="addonmodules.php?module=enom_extended&page=modconfig">Configuration</a>'

 

 

2. Open topmenu.tpl located in your whmcsdirectory/admin/templates directory.

 

Add the following at the end of the file.

 

<span class="navbutton" onMouseOver="this.className='navbuttonover';dropdownmenu(this, event, menu10, '');" onMouseOut="this.className='navbutton';delayhidemenu();" onClick="window.location='addonmodules.php?module=enom_extended'">eNom</span>

 

 

3. If the menu does not show up you may need to clear your browser cache as well as empty your templates_c directory.

Edited by lanquest
Link to comment
Share on other sites

Next part to the puzzle, Step 2. The WHMCS Menu

 

STEP 2 - The WHMCS Menu

 

1. Open adminmenu.js located in your whmcsdirectory/includes/jscript directory.

 

Add the following menu items after menu9:

 

var menu10=new Array()

menu10[0]='<a href="addonmodules.php?module=enom_extended">Home</a>'

menu10[1]='<a href="addonmodules.php?module=enom_extended&page=settings">Settings</a>'

menu10[2]='<a href="addonmodules.php?module=enom_extended&page=domains">Domains</a>'

menu10[3]='<a href="addonmodules.php?module=enom_extended&page=domaindetail">Domain Detail</a>'

menu10[4]='<a href="addonmodules.php?module=enom_extended&page=transfers">Transfers</a>'

menu10[5]='<a href="addonmodules.php?module=enom_extended&page=sslcerts">SSL Certificates</a>'

menu10[6]='<a href="addonmodules.php?module=enom_extended&page=refillaccount">Refill Account</a>'

menu10[7]='<a href="addonmodules.php?module=enom_extended&page=utilities">Utilities</a>'

menu10[8]='<a href="addonmodules.php?module=enom_extended&page=modconfig">Configuration</a>'

Link to comment
Share on other sites

Eiting this code doesn't show the new ENOM Extended menu item straight away.

 

Next part to the puzzle, Step 2. The WHMCS Menu

 

STEP 2 - The WHMCS Menu

 

1. Open adminmenu.js located in your whmcsdirectory/includes/jscript directory.

 

Add the following menu items after menu9:

 

var menu10=new Array()

menu10[0]='<a href="addonmodules.php?module=enom_extended">Home</a>'

menu10[1]='<a href="addonmodules.php?module=enom_extended&page=settings">Settings</a>'

menu10[2]='<a href="addonmodules.php?module=enom_extended&page=domains">Domains</a>'

menu10[3]='<a href="addonmodules.php?module=enom_extended&page=domaindetail">Domain Detail</a>'

menu10[4]='<a href="addonmodules.php?module=enom_extended&page=transfers">Transfers</a>'

menu10[5]='<a href="addonmodules.php?module=enom_extended&page=sslcerts">SSL Certificates</a>'

menu10[6]='<a href="addonmodules.php?module=enom_extended&page=refillaccount">Refill Account</a>'

menu10[7]='<a href="addonmodules.php?module=enom_extended&page=utilities">Utilities</a>'

menu10[8]='<a href="addonmodules.php?module=enom_extended&page=modconfig">Configuration</a>'

 

So what I have done in the meantime is this... That's until the next stage...

 

In case the next stage doesn't work out well..... Extend MENU9 to include this as well as the code above...

 

menu9[7]='<a href="addonmodules.php?module=enom_extended">eNOM</a>'

menu9[8]='<a href="addonmodules.php?module=enom_extended&page=settings">Settings</a>'

menu9[9]='<a href="addonmodules.php?module=enom_extended&page=domains">Domains</a>'

menu9[10]='<a href="addonmodules.php?module=enom_extended&page=domaindetail">Domain Detail</a>'

menu9[11]='<a href="addonmodules.php?module=enom_extended&page=transfers">Transfers</a>'

menu9[12]='<a href="addonmodules.php?module=enom_extended&page=sslcerts">SSL Certificates</a>'

menu9[13]='<a href="addonmodules.php?module=enom_extended&page=refillaccount">Refill Account</a>'

menu9[14]='<a href="addonmodules.php?module=enom_extended&page=utilities">Utilities</a>'

menu9[15]='<a href="addonmodules.php?module=enom_extended&page=modconfig">Configuration</a>'

Edited by lanquest
Link to comment
Share on other sites

STAGE 3 - The Top Level Menu Item

 

Open header.tpl and NOT topmenu.tpl located in your whmcsdirectory/admin/templates/v4 simple OR Portal directory.

 

IMPORTANT NOTE: The problem I've noticed with this part is. After applying the code and refreshing. The dropdown for the eNOM menu item does not appear if your using Firefox. However, the menu item itself works.

Find

 

<li class="navbutton" onmouseover="this.className='navbuttonover';dropdownmenu(this, event, menu9, '');" onmouseout="this.className='navbutton';delayhidemenu();">Help</li>

 

Add the following after OR before...

 

<li class="navbutton" onMouseOver="this.className='navbuttonover';dropdownmenu(this, event, menu10, '');" onMouseOut="this.className='navbutton';delayhidemenu();" onClick="window.location='addonmodules.php'"><a href="addonmodules.php?module= enom_extended" title="eNOM">eNOM</a></li>

Link to comment
Share on other sites

After a little tweaking with paths and stuff, here is the finished set of instructions if your using the WHMCS v4 template.

 

Hope this helps both the users and creator of this add-on.

 

 

STEP 1 is pretty simple.

 

Just edit the file in relation to the template your going to use (v4, original OR simple).

 

1. Open homepage.tpl located in your whmcsdirectory/admin/templates/v4 original OR simple directory.

 

NOTE: Here I'm using the v4 template

 

Find the following lines:

<div class="errorbox" style="font-size:14px;"><a href="supporttickets.php">{$sidebarstats.tickets.a waitingreply} Ticket(s) Awaiting Reply</a> || <a href="cancelrequests.php">{$stats.cancellations.pe nding} Pending Cancellation(s)</a> || <a href="todolist.php">{$stats.todoitems.due} To-Do Item(s) Due</a> || <a href="networkissues.php">{$stats.networkissues.ope n} Open Network Issue(s)</a></div>

 

<br />

 

Add the following below the above code where ROOTPATH_FOR_WHMCS is the root path to your WHMCS install. The smarty variables shown in the code below can be used to format any way you want.

 

{include_php file="/ROOTPATH_FOR_WHMCS/modules/admin/enom_extended/smarty/admin_homepage.php"} <link href="../modules/admin/enom_extended/templates/eestyle.css" rel="stylesheet" type="text/css"> <div class="errorboxenom">eNom Summary » <span style="color:#000000;"> {if $enomdebug != ''}{$enomdebug}{else}Balance: ${$enom.balance} - Available Balance: ${$enom.availbalance} - Active Domains: {$enom.active} - Expired Domains: {$enom.expired}{/if}</span></div> <br>

 

2. If it does not show up correctly you may need to clear your browser cache as well as empty your templates_c directory.

 

 

STEP 2 - The WHMCS Menu

 

1. Open adminmenu.js located in your whmcsdirectory/includes/jscript directory.

 

Add the following menu items after menu9:

 

var menu10=new Array()

menu10[0]='<a href="addonmodules.php?module=enom_extended">Home</a>'

menu10[1]='<a href="addonmodules.php?module=enom_extended&page=s ettings">Settings</a>'

menu10[2]='<a href="addonmodules.php?module=enom_extended&page=d omains">Domains</a>'

menu10[3]='<a href="addonmodules.php?module=enom_extended&page=d omaindetail">Domain Detail</a>'

menu10[4]='<a href="addonmodules.php?module=enom_extended&page=t ransfers">Transfers</a>'

menu10[5]='<a href="addonmodules.php?module=enom_extended&page=s slcerts">SSL Certificates</a>'

menu10[6]='<a href="addonmodules.php?module=enom_extended&page=r efillaccount">Refill Account</a>'

menu10[7]='<a href="addonmodules.php?module=enom_extended&page=u tilities">Utilities</a>'

menu10[8]='<a href="addonmodules.php?module=enom_extended&page=m odconfig">Configuration</a>'

 

What I have done in the meantime is this... That's until the next stage...

 

In case the next stage doesn't work out well..... Extend MENU9 to include this as well as the code above...

 

menu9[7]='<a href="addonmodules.php?module=enom_extended">eNOM</a>'

menu9[8]='<a href="addonmodules.php?module=enom_extended&page=s ettings">Settings</a>'

menu9[9]='<a href="addonmodules.php?module=enom_extended&page=d omains">Domains</a>'

menu9[10]='<a href="addonmodules.php?module=enom_extended&page=d omaindetail">Domain Detail</a>'

menu9[11]='<a href="addonmodules.php?module=enom_extended&page=t ransfers">Transfers</a>'

menu9[12]='<a href="addonmodules.php?module=enom_extended&page=s slcerts">SSL Certificates</a>'

menu9[13]='<a href="addonmodules.php?module=enom_extended&page=r efillaccount">Refill Account</a>'

menu9[14]='<a href="addonmodules.php?module=enom_extended&page=u tilities">Utilities</a>'

menu9[15]='<a href="addonmodules.php?module=enom_extended&page=m odconfig">Configuration</a>'

 

 

STEP 3 - The Top Level Menu Item

 

Open header.tpl and NOT topmenu.tpl located in your whmcsdirectory/admin/templates/v4 simple OR Portal directory.

 

Find

 

<li class="navbutton" onmouseover="this.className='navbuttonover';dropdo wnmenu(this, event, menu9, '');" onmouseout="this.className='navbutton';delayhideme nu();">Help</li>

 

Add the following after OR before...

 

<li class="navbutton" onMouseOver="this.className='navbuttonover';dropdownmenu(this, event, menu10, '');" onMouseOut="this.className='navbutton';delayhideme nu();" onClick="window.location='addonmodules.php'"><a href="addonmodules.php?module= enom_extended" title="eNOM">eNOM</a></li>

Link to comment
Share on other sites

  • 4 weeks later...

We're also getting:

 

Warning: Cannot modify header information - headers already sent by (output started at /opt/whmcs/templates_c/%%03^035^0357BA3F%%header.tpl.php:84) in /var/www/whmcs/modules/admin/enom_extended/include/globallib.php on line 0

 

Warning: Cannot modify header information - headers already sent by (output started at /opt/whmcs/templates_c/%%03^035^0357BA3F%%header.tpl.php:84) in /var/www/whmcs/modules/admin/enom_extended/include/globallib.php on line 0

 

 

...directly above the blue box containing the eNom stats (and we've purged the browser/whmcs caches). Seems to be triggering on the smarty include in homepage.tpl.

 

Any thoughts?

Link to comment
Share on other sites

  • 1 month later...

Hi,

The module is working fine for us - but transfer status reports a error- Invalid Access Key under the section client email?

 

 

eNom Extended Transfer Tracking ReportDomains Transferred Successfully

Domain Status Note Update Domain Update Client Email

________________________________________

doman name Completed Successfully Success Success Invalid Access Key

 

Can anyone help?

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

 

I'm currently on the latest 4.2.1 WHMCS and got this error message when I clicked on the ENOM Extended link under the addon modules

 

Enom Extended

 

Fatal error:

The encoded file /var/www/whmcs/modules/admin/enom_extended/include/globallib.php is corrupt. in Unknown on line 0

 

Since globallib.php is encrypted so I don't know how to proceed.

 

Thanks

 

Charles

Link to comment
Share on other sites

Fatal error:

The encoded file /var/www/whmcs/modules/admin/enom_extended/include/globallib.php is corrupt. in Unknown on line 0

 

Since globallib.php is encrypted so I don't know how to proceed.

 

The error message might give you a clue... :roll:

 

Try uploading it again.

Link to comment
Share on other sites

Someone needs to repackage this addon with new install instructions since the original author has not been during it.

 

Also something has changed how WHMCS 4.2.1 is doing the drop down menus because in the previous versions the enom menu worked just fine in Firefox. Has anyone come up with why its not working ?

Link to comment
Share on other sites

I found they moved the admin menu to a new javascript file.

 

Instead of editing menu.js you now must edit includes/jscript/adminmenu.js then add the drop down menu.

 

var menu10=new Array()
menu10[0]='<a href="addonmodules.php?module=enom_extended">Home</a>'
menu10[1]='<a href="addonmodules.php?module=enom_extended&page=settings">Settings</a>'
menu10[2]='<a href="addonmodules.php?module=enom_extended&page=domains">Domains</a>'
menu10[3]='<a href="addonmodules.php?module=enom_extended&page=domaindetail">Domain Detail</a>'
menu10[4]='<a href="addonmodules.php?module=enom_extended&page=transfers">Transfers</a>'
menu10[5]='<a href="addonmodules.php?module=enom_extended&page=sslcerts">SSL Certificates</a>'
menu10[6]='<a href="addonmodules.php?module=enom_extended&page=refillaccount">Refill Account</a>'
menu10[7]='<a href="addonmodules.php?module=enom_extended&page=utilities">Utilities</a>'
menu10[8]='<a href="addonmodules.php?module=enom_extended&page=modconfig">Configuration</a>'

 

We really need to isolate this addon code so that future upgrades don't break it like they have been doing.

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