-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathvibe_config.php
129 lines (113 loc) · 3.76 KB
/
vibe_config.php
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?php //security check
if( !defined( 'in_phpvibe' ) || (in_phpvibe !== true) ) {
die();
}
/* This is your phpVibe config file.
* Edit this file with your own settings following the comments next to each line
*/
/*
** MySQL settings - You can get this info from your web host
*/
/** MySQL database username */
define( 'DB_USER', 'database username' );
/** MySQL database password */
define( 'DB_PASS', 'database password' );
/** The name of the database */
define( 'DB_NAME', 'name of the database' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
/** MySQL tables prefix */
define( 'DB_PREFIX', 'vibe_' );
/** MySQL cache timeout */
/** For how many hours should queries be cached? **/
define( 'DB_CACHE', '12' );
/*
** Site options
*/
/** License key for commercial use (if case!) **/
define( 'phpVibeKey', 'vibe-localhost-key' );
/** Site url (with end slash, ex: http://www.domain.com/ ) **/
define( 'SITE_URL', 'https://yoursiteurl.com/' );
/** Admin folder, rename it and change it here **/
define( 'ADMINCP', 'moderator' );
/* Choose between mysqli (improved) and (old) mysql */
define( 'cacheEngine', 'mysqli' );
/** Timezone (set your own) **/
date_default_timezone_set('Europe/Bucharest');
/** Your Paypal email **/
define( 'PPMail', 'test@gmail.com' );
/*
** Mail settings.
*/
$adminMail = 'admin@domain.com';
$mvm_useSMTP = false; /* Use smtp for mails? */
/* true: Use smtp | false : uses's PHP's sendmail() function */
$mvm_host = 'mail.domain.com'; /* Main SMTP server */
$mvm_user = 'postman@domain.com'; /* SMTP username */
$mvm_pass = 'mail pass'; /* SMTP password */
$mvm_secure = 'tls'; /* Enable TLS encryption, `ssl` also accepted */
$mvm_port = ''; /* TCP port to connect to */
/*
** Full cache settings.
*/
$killcache = true; /* true: disabled full cache (recommended for starters); false : enabled full cache */
$cachettl = 7200; /* $ttl = Expiry time in seconds for cache's static html pages */
/* 1 day = 86400; 1 hour = 3600; */
/*
** Custom settings would go after here.
*/
/*
** Definitions needed by the CMS
*/
/** Arrays with options for logins **/
$conf_facebook = array();
$conf_google = array();
//Callback url for facebook
$conf_facebook['redirect_uri'] = SITE_URL.'callback.php?type=facebook';
//Callback url for google
$conf_google['return_url'] = SITE_URL.'callback.php?type=google';
//Facebook callback fields
$conf_facebook['fields'] = 'id,name,email,first_name,gender,last_name,location,about';
//Facebook permissions(default values)
$conf_facebook['permissions'] = 'public_profile,email';
/* URL delimiter RULE for phpVibe */
define( 'url_split', '/' );
/* SEO url structure */
define( 'trending', 'trending' );
define( 'page', 'read' );
define( 'blog', 'blog' );
define( 'blogcat', 'articles' );
define( 'blogpost', 'article' );
define( 'embedcode', 'embed' );
define( 'video', 'video' );
define( 'videos', 'videos' );
define( 'premiumhub', 'premiumhub' );
define( 'channel', 'channel' );
define( 'channels', 'channels' );
define( 'playlist', 'playlist' );
define( 'album', 'album' );
define( 'playlists', 'lists' );
define( 'albums', 'albums' );
define( 'note', 'note' );
define( 'profile', 'profile' );
define( 'show', 'show' );
define( 'thetags', 'tag' );
define( 'members', 'users' );
define( 'share', 'share' );
define( 'add', 'add-video' );
define( 'upmusic', 'add-music' );
define( 'upimage', 'add-image' );
define( 'subscriptions', 'subscriptions' );
define( 'manage', 'manage' );
define( 'me', 'me' );
define( 'buzz', 'activity' );
define( 'imgsearch', 'imgsearch' );
define( 'pplsearch', 'pplsearch' );
define( 'playlistsearch', 'playlistsearch' );
// Mini video seo excerpts
define( 'mostliked', 'most-liked' );
define( 'mostviewed', 'most-viewed' );
define( 'promoted', 'featured' );
define( 'browse', 'browse' );
define( 'mostcom', 'most-commented' );
?>