-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.php
More file actions
67 lines (41 loc) · 2.38 KB
/
plugin.php
File metadata and controls
67 lines (41 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
//PLUGIN INFO------------------------------------------------------------------------------------------------+
$eplug_name = "NoCaptcha ReCaptcha";
$eplug_version = "0.8.0";
$eplug_author = "Jimako";
$eplug_url = "https://www.e107sk.com/";
$eplug_email = "use_forum";
$eplug_description = "Plugin";
$eplug_compatible = "e107v07";
$eplug_readme = "readme.txt";
$eplug_compliant = FALSE;
$eplug_module = TRUE;
//PLUGIN FOLDER----------------------------------------------------------------------------------------------+
$eplug_folder = "recaptcha";
//PLUGIN MENU FILE-------------------------------------------------------------------------------------------+
$eplug_menu_name = "recaptcha";
//PLUGIN ADMIN AREA FILE-------------------------------------------------------------------------------------+
$eplug_conffile = "admin_config.php";
//PLUGIN ICONS AND CAPTION-----------------------------------------------------------------------------------+
$eplug_logo = "images/_icon_32.png";
$eplug_icon = "{$eplug_folder}/images/_icon_128.png";
$eplug_icon_small = "{$eplug_folder}/images/_icon_16.png";
$eplug_caption = "Configure";
//DEFAULT PREFERENCES----------------------------------------------------------------------------------------+
$eplug_prefs = array(
"recaptcha_active" => "0",
"recaptcha_sitekey" => "Your Site Key",
"recaptcha_secretkey" => "Your Secret Key"
);
//MYSQL TABLES TO BE CREATED---------------------------------------------------------------------------------+
$eplug_table_names = array();
//MYSQL TABLE STRUCTURE--------------------------------------------------------------------------------------+
$eplug_tables = array();
//LINK TO BE CREATED ON SITE MENU--------------------------------------------------------------------------+
$eplug_link = FALSE;
//$eplug_link_name = "$eplug_name";
//$eplug_link_url = e_PLUGIN."$eplug_folder/";
//MESSAGE WHEN PLUGIN IS INSTALLED-------------------------------------------------------------------------+
$eplug_done = "Plugin is now Installed.";
//SAME AS ABOVE BUT ONLY RUN WHEN CHOOSING UPGRADE---------------------------------------------------------+
//---------------------------------------------------------------------------------------------------------+