Solutions

Overriding WHMCS default support module with Vision Helpdesk

Sheena Sen Jun-27th, 2012 19:26 0 0

Overiding WHMCS default support module means disabling WHMCS support module and using Vision Helpdesk support module in WHMCS. When your customers will login to WHMCS they will see links for Submit ticket,Support ticket, Knowledgebase, Announcements etc.

When a customer will click on any link in WHMCS that will redirect on Vision Helpdesk client portal and your staff can reply the ticket from Vision Helpdesk Manage portal. The idea is to use WHMCS only for billing and using Vision Helpdesk for support.

Follow below listed steps –


In Vision Helpdesk Setup Zip you will find WHMCS folder -- there is modules folder under it.

1) Copy folder vision4 from /whmcs/modules/support/vision4 to WHMCS installation — /modules/support/

2 A) If you Vision Helpdesk Support portal and WHMCS installed on SAME server then --

1.Edit integrate.php from your WHMCS installation -- /modules/support/vision4/integrate.php

In this file edit three lines --

define("VIS_PORTAL_PATH", "");
$hostName = " ";
require_once("");


To


define("VIS_PORTAL_PATH", "/home/username/public_html/support/");
$host = "support.domain.com";
require_once(VIS_PORTAL_PATH."config.php");
Now in above example we assume you have installed Vision Helpdesk on support.domain.com and its files on server are located at
/home/username/public_html/support/ and include config.php file path of your Vision Helpdesk Support, If config.php also added at same location of integration.php so there is no need to add VIS_PORTAL_PATH before config.php in require_once function Like wise you can add your license domain and files path in integrate.php Save the integrate.php file.


2. Edit configuration.php from your WHMCS installation
add api key as -- $api_access_key='api123';


2 B) If you Vision Helpdesk Support portal and WHMCS installed on DIFFERENT server then --

Example:


Main domain: support.domain.com
Addon domain: support.addon.com
Billing domain: billing.addon.com


Consideration: You want to override addon domain whmcs support module with vision


In /modules/support/vision4/
create a folder say v4
upload Vision Helpdesk setup files (except setup and manage folder) in folder v4


modify config.php file at:
modules/support/vision4/v4/config.php


Add here main domain database details and also make remote database access enable for billing server IP

Now edit integrate.php at:
modules/support/vision4/integrate.php


Here you will see lines --
define("VIS_PORTAL_PATH", "/home/username/public_html/modules/support/vision4/v4/"); // This is path to your whmcs modules and vision files on whmcs installation
$host = "support.addon.com";

require_once("config.php");


and edit configuration.php from your WHMCS installation :
add api key in same as -- $api_access_key='api123';


3) In WHMCS admin,

a. navigate to Setup >> General Configuration >> Support and choose Vision4 in the Support Module drop down.
b. General Configuration >> security >> and add ip in API IP Access Restriction for API access
c. Setup >> Staff management >> administrator role -- enable api access for admin


4) login to helpdesk as a admin

a.navigate to Settings >> Integration >> WHMCS
b.Add or update whmcs integration for selected domain using WHMCS login details,also add api key which is added in configuration.php file under WHMCS


Thats it you are done..

Vote

Was this article helpful?
0 out of 3 found this helpful