Home Tour Demo Pricing Documentation Integrations Directory Invitation Templates Themes And Styles Language Packs Contact Support FAQ Member Login

AdiInviter Pro Documentation

Welcome to AdiInviter Pro documentation. Everything you need to know to install, configure and manage AdiInviter Pro on your website can be found here. Please take a tour and try our interactive live demos to see AdiInviter Pro in action.

Home
Installation
Standalone vBulletin Joomla 3.x Community Builder Jomsocial WordPress BBPress BuddyPress Drupal 7.x IP.Board Xenforo 1.x Phpfox 3.x Dolphin 7.1.x CakePHP CodeIgniter ExpressionEngine 2.x Zend 2.x Laravel Yii Framework
Reference Developers API OAuth Branding Troubleshooting
FAQ

Embed

Step 1 - Login to your ExpressionEngine Admin Panel and go to following location :
ExpressionEngine Admin Panel -> Design -> Templates -> Template Manager
Step 2 - Under the Template Groups section, click on New group button.
Step 3 - Specify following fields :
Template Group Name : find-friends
Duplicate an Existing Template Group? : Do not duplicate a group.
Make the index template in this group your site's home page? : [Uncheck]
Step 4 - Click on Submit button.
Step 5 - Now go to newly created template group : find-friends and edit the template : index
Step 6 - Put following code in that index template :
<?php
$contents = "";
global $RTR;
$adi_segment = isset($RTR->uri->segments[2]) ? $RTR->uri->segments[2] : "";

$adi_path = FCPATH."find_friends".DIRECTORY_SEPARATOR;
if($adi_segment == "invite-history") {
   include($adi_path."adi_invite_history.php");
   $adi_title = "Invite History";
}
else if($adi_segment == "verify") {
   include($adi_path."adi_verify.php");
   $adi_title = "Verify Invitation";
}
else {
   include($adi_path."adi_inpage.php");
   $adi_title = "Import Contacts";
}

$adi_contents =& $contents;
$adiiinviter_root_url = $adiinviter->settings["adiinviter_root_url_rel"];
?>
{html_head}
   <title>{site_name}: <?php echo $adi_title; ?></title>
{global_stylesheets}

{rss}
{favicon}
{html_head_end}

<link rel="stylesheet" type="text/css" href="<?php echo $adiiinviter_root_url; ?>/adiinviter_css.php">
<script type="text/javascript" src="<?php echo $adiiinviter_root_url; ?>/adiinviter/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $adiiinviter_root_url; ?>/adiinviter/js/adiinviter.js"></script>
<script type="text/javascript" src="<?php echo $adiiinviter_root_url; ?>/adiinviter_params.php"></script>

   <body>
{nav_access}
   {branding_begin}
         {embed="global_embeds/_top_nav" loc="contact"}
         {global_top_search}
         {global_top_member}
   {branding_end}
   {wrapper_begin}
{embed="global_embeds/_page_header" header="<?php echo $adi_title; ?>"}

<div style="margin: 15px 0px;"><center>
<?php
echo $adi_contents;
?>
</center></div>

{global_footer}
{wrapper_close}
{js}
{html_close}

Note - If you already have jQuery included in your web pages, then remove second line from the above code (Highlighted in RED).

Step 7 - Go to Preferences Tab and change Allow PHP setting to Yes.
Step 8 - Click on Update button.

Custom URLS For AdiInviter Pro Interfaces

If you want to use custom URLS for AdiInviter Pro interfaces, then please refer to following document and update the URL scheme used in Step 3 above.

Custom URLS For AdiInviter Pro Interfaces.

Can't find what you're looking for? Don't worry, the AdiInviter Pro team is here to help. Just drop us a line and our support staff will get back to you ASAP.