SCRIPT 1: Vtiger hosting signup automation script.
The purpose of the script is to automate new account creation for a free hosted Vtiger service.
A new user should be able to create a new Vtiger installation for a company form his browser by entering:
Page 1:
Username
Password - Strong (Ajax)?
Pasword confirmation
Empresa or autónomo? (radio button)
Page 2:
Based on radiobutton:
- Case Empresa:
Company name
Commercial name
Company CIF
Contact Name
Contact Surnames (2):
Contact Phone
Contact Mobile phone
Contact Email - Valid (Ajax)?
Are you human?
- Case autónomo:
Name
Surnames (2)
User NIF
Commercial name
Contact Phone
Contact Mobile phone
Contact Email - Valid (Ajax)?
Are you human?
Page 3:
Account creation successful?
Not: Derivate to support window
Yes: Welcome and service agreement/contract
When the user clicks on the confirmation link:
- A new folder is created in apache server and the vtiger files are copied into it.
- A new customer is created in our own vtiguer
- A new virtual host is created in apache server using the suggested URL.
- Vtiger is configured and ready to use (no manual installation required)
- An admin account is created with the username, password and email provided.
Option A: apache Virtual hosts:
URL: [login to view URL] - Available?
- An email is sent to customer with a confirmation link.
Option B: Subdirectory structure:
URL: [login to view URL] - Available?
- An email is sent to customer with a confirmation link.
Option C: Own Domain:
URL: [login to view URL]
- Welcome email with username, password, contact info and access URL.
SCRIPT 2: Vtiger interstitial and internal advertising:
Objective is to ad advertising on login page and inside Vtiger, just over the actual Vtiger interface or even better just above main horizontal menu. No frames can be used because of advertisement networks not accepting it so it must be embedded in actual vtiguer´s pages
a) Incorporate to the login page Full size (800 x 600) advertising (interstitial, obtrusive) not allowing the user to login for some seconds.
After 8 seconds the login form shows (or fades) up so the user is able to login.
b) Full size “screen saver” page overlay with an ad, (same way as login).
After some time of inactivity on any page of the Vtiger app, a screen saver shows, with a full size ad and the login form.
It is very important that the user never looses actual work in progress or data already introduced in any Vtiger form, so make screensaver run in a layer over actual CRM page.
c) Integrate 1 Leaderboard (728 x 90 pixel) “banner spot” inside Vtiger.
- Top position.
d) Integrate 1 Large Rectangle (336 x 280 pixel) “banner spot” inside Vtiger
- Middle position.
d) ) Integrate 1 Wide Skyscraper (160 x 600 pixel) “banner spot” inside Vtiger
- Right position.
All positions will have support for static media, rich media, video, rich media/video and Google ad sense.
Banners on/off on a per installation basis.
There is an Open Source ad server in our web server, you can download it and play to see if the ads fit right and don't distort the user interface: [login to view URL]
This is a sample tag for calling the adverts from our ad server.
---------------------------------------------------------
<?php
/* <!-- Openads XML-RPC Tag v2.4.4 -->
*
* As the PHP script below tries to set cookies, it must be called
* before any output is sent to the user's browser. Once the script
* has finished running, the HTML code needed to display the ad is
* stored in the $adArray array (so that multiple ads can be obtained
* by using mulitple tags). Once all ads have been obtained, and all
* cookies set, then you can send output to the user's browser, and
* print out the contents of $adArray where appropriate.
*
* Example code for printing from $adArray is at the end of the tag -
* you will need to remove this before using the tag in production.
* Remember to ensure that the PEAR::XML-RPC package is installed
* and available to this script, and to copy over the
* lib/xmlrpc/php/[login to view URL] library file. You may need to
* alter the 'include_path' value immediately below.
*/
//ini_set('include_path', '.:/usr/local/lib');
require '[login to view URL]';
if (!isset($OA_context)) $OA_context = array();
$oaXmlRpc = new OA_XmlRpc('[login to view URL]', '/delivery/[login to view URL]', 0, false, 15);
$adArray = $oaXmlRpc->view('zone:6', 0, '', '', 0, $OA_context);
echo $adArray['html'];
?>
---------------------------------------------------------
Vtiger internal tabs/buttons:
Personalization of vtiger internal labels:
Objective is to have some new tabs in the standard Vtiger interface bar to inform users about existing external services.
Destination pages are shown inside Vtiger and need no special design. Just let CSS flow?
1) Add E-learning button.
With a link to a static “about: e-learning” page with a text and a link to actual E-learning app.
3) Add shop button.
With a link to a static “about: shop” page with a text and a link to actual ecommerce site.
4) Add support button.
With a link to the support page witch will lists contacts and support options.
5) Add 2 new rows to the vtiger´s company profile.
6) Add 2 new rows to the Invoice.
7) Account cancellation link in the vtiger admin section. (rename directory?)