ReadMe for Addons


Introduction

Please carefully read this introduction for security reasons

- It is highly recommending to upload and use only required addons. Do not upload all addons at once, if you`re not planning to use them.

- Read instructions before run addon. Some addons don`t require any additional actions and begin to run immediatly you run it from browser.

Top

Addon: Recreate Address Book

File name: ab.php

Description: Recreate addressbook to fix possible errors.

How to use:

Copy to main script directory and run

Note: Please do not use this addon if it is not required!

Top

Addon: Custom page

File name: custom_page.php

Description: Example how to create custom page

How to use:

Rename this file to your_name.php and put it into main script directory.

Set link to this file in the templates/YOUR_TEMPLATE/header.php as:

<a href="<?=C_URL?>/your_name.php?l=<?=LANGUAGE?>">Your description</a>

Top

Addon: Custom MUI page

File name: custom_mui_page.php

Description: Example how to create custom multilanguage page

How to use:

Rename this file to your_name.php and put it into main script directory.

Set link to this file in the templates/YOUR_TEMPLATE/header.php (or other page) as:

<a href="<?=C_URL?>/your_name.php?l=<?=LANGUAGE?>">Your description</a>



To support Multilanguage content of this file use:

<?if(LANGUAGE == 'default'){?>

Here the file content on default language

<?}?>

Top

Addon: Custom secure page

File name: custom_secure_page.php

Description: Example how to create custom secure page

How to use:

Rename this file to your_name.php and put it into main script directory.

Set link to this file in the templates/YOUR_TEMPLATE/header.php as:

<a href="<?=C_URL?>/your_name.php?l=<?=LANGUAGE?>">Your description</a>

If Free members and higher can access this custom page - write:

IsSecure(0);

If silver members and higher can access this custom page - write:

IsSecure(1);

and etc. Free member - 0, Silver - 1, Gold - 2, Platinum - 3

Top

Addon: Show online users

File name: onlineg.php

Description: This addon can be integrated in any page of your site and will show statistic about dating online users and guests. For example, if you have installed dating script in the dating/ folder, you can to show in the main folder number of the dating online users.

How to use:

- Change C_PATH_TO_PLATINUM value, to internal path of your dating script. (You can to see this value in the C_PATH variable`s value of the include/config.inc.php file)

define('C_PATH_TO_PLATINUM','/home/yoursite/dating');

Just add following code in your .htm,.html or .shtml documents, where you want to include statistic:

<SCRIPT LANGUAGE="JavaScript" SRC="http://your_site/path_to/onlineg.php"></SCRIPT>

Top

Addon: Unhide hidden profiles

File name: unhide_profiles.zip

Description: This addon allow to unhide all profiles hidden by users from options.

How to use:

- Unpack unhide_profiles.zip into main script directory

- Uncomment this line in the unhide_profiles.php:

#mysql_query("UPDATE ".C_MYSQL_MEMBERS_MAIN." SET hide = '0'") or die(mysql_error());

change it to:

mysql_query("UPDATE ".C_MYSQL_MEMBERS_MAIN." SET hide = '0'") or die(mysql_error());

- Run this addon

- Remove unhide_profiles.php after running for security reasons

Top

Addon: Show votes

File name: votes.php

Description: This addon allow to show several votes, created by admin, on the common page

How to use:

- Create several votes, if doesn`t exist

- Just Add several lines, like:

<?ShowVote(N)?><br><br>

Where N - ID number of vote. This ID is visible in the Vote management of admin area.



Upload this file into main script directory, check it from browser and place link to it from any page.

Top

Addon: Inviter

File name: inviter.zip

Description: This addon allow to get contact list from big list of the mails and social networks and send an invite messages to the selected contacts. It is a plugin page into OpenInviter

How to use:

- Download lastest version of OpenInviter from http://openinviter.com/download.php and upload it into under ./mod/inviter/ from the main dating script folder

- Run postinstall.php to install a OpenInviter.

- Upload index.php from the inviter.zip into ./mod/inviter/ and see it from browser.



Top


Powered by AzDG