userstats.ini 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  1. ;authorization types - currently supported is "ip", "login" and "both" methods
  2. auth=both
  3. ;ip authorization failure redirect URL
  4. authfailredir="https://ubilling.net.ua/"
  5. ;Default language, available values: ukrainian,russian,english,belarusian,bulgarian,georgian,hungarian,romanian,spanish
  6. lang = ukrainian
  7. ;allow user language change?
  8. allowclang=1
  9. ;currency
  10. currency=UAH
  11. ;default skin name
  12. SKIN="paper"
  13. ;Custom background. DEFAULT or existing filename from tiles folder (tile1.jpg for example). May be RANDOM too.
  14. BACKGROUND="DEFAULT"
  15. ;ISP name
  16. ISP_NAME="OurISP"
  17. ;ISP site url
  18. ISP_URL="https://ubilling.net.ua/"
  19. ;ISP logo url. filled ISP_NAME and ISP_URL is required
  20. ISP_LOGO="skins/ublogo.png"
  21. ;city display in address field?
  22. CITY_DISPLAY=1
  23. ;use 0 apartment number as private house?
  24. ZERO_TOLERANCE=1
  25. ;hide user password
  26. PASSWORDSHIDE=0
  27. ;hide user login
  28. LOGINHIDE=0
  29. ;hide payments time
  30. PAYMENTSTIMEHIDE=0
  31. ;max menu entries in menu with no icons (top by default)
  32. MENUNOICONMAX=6
  33. ;sgconf settings
  34. ;sgconf path
  35. SGCONF = /usr/sbin/sgconf
  36. ;stargazer host
  37. STG_HOST = localhost
  38. ;sgconf port
  39. STG_PORT = 5555
  40. ;stargazer admin login
  41. STG_LOGIN = admin
  42. ;stargazer password
  43. STG_PASSWD = 123456
  44. ;tariff changing options
  45. ;tariff change is enabled?
  46. TC_ENABLED = 1
  47. ;cost of change to tariff with higher price
  48. TC_PRICEUP = 0
  49. ;cost of change to tariff with lower price
  50. TC_PRICEDOWN = 25
  51. ;cost of change to tariff with same price
  52. TC_PRICESIMILAR = 0
  53. ;set user credit for TC_PRICEUP, TC_PRICEDOWN or TC_PRICESIMILAR values if user has no money?
  54. TC_CREDIT=1
  55. ;tariff change cash type ID for payment fees
  56. TC_CASHTYPEID=1
  57. ;tariffs that allowed for changing by user
  58. TC_TARIFFSALLOWED = tariff,Unlim-5
  59. ;tariffs with enabled tariff changing option
  60. TC_TARIFFENABLEDFROM = tariff,Unlim-5
  61. ;extended move matrix directed by tariffmatrix.ini
  62. TC_EXTENDED_MATRIX=0
  63. ;Optional option - enables tariff change "right now" feature. Do not enable it without a full understanding of the consequences!
  64. ;TC_RIGHTNOW=0
  65. ;self credit options
  66. ;is self credit enabled?
  67. SC_ENABLED = 1
  68. ;minimal day of month for that credits possible
  69. SC_MINDAY = 1
  70. ;maximum day of month for that credits possible
  71. SC_MAXDAY = 3
  72. ;maximum days for credit
  73. SC_TERM = 3
  74. ;price of this service
  75. SC_PRICE = 5
  76. ;cash type ID for credit fees
  77. SC_CASHTYPEID=1
  78. ;control self credit feature usage only once per month
  79. SC_MONTHCONTROL=1
  80. ;list of tariffs allowed to use self credit, if empty - allowed all. Comma separated.
  81. SC_TARIFFSALLOWED=""
  82. ;add price of virtual services to credit?
  83. SC_VSCREDIT=0
  84. ;Fixes credit summs for tariffs with "day" periods. Optional option. Uncomment to enable it.
  85. ;SC_DAILY_FIX=1
  86. ;Fixes user activity issues after crediting with MikrotikAPI driven NAS-es. Optional option. Uncomment to enable it.
  87. ;SC_MTAPI_FIX=1
  88. ;Use remoteAPI call for credit setup.
  89. SC_REMOTE=0
  90. ;payment cards options
  91. ;is payment cards usage enabled?
  92. PC_ENABLED=0
  93. ;maximum attempts to incorrect serial inputs
  94. PC_BRUTE=5
  95. ;cash type ID for card payments
  96. PC_CASHTYPEID=1
  97. ;payment cards processing in single queue
  98. PC_QUEUED=0
  99. ;Check series + serial number of payment cards in one field?
  100. PC_SERIES_AND_SN=0
  101. ;Number of symbols in payment cards series.
  102. PC_SERIES_LENGTH=4
  103. ;Use payment cards as promo codes?
  104. PC_AS_PROMO=0
  105. ;OpenPayz support
  106. OPENPAYZ_ENABLED=0
  107. ;OpenPayz backend URL
  108. OPENPAYZ_URL=../openpayz/backend/
  109. ;OpenPayz systems (delimiter ",")
  110. OPENPAYZ_PAYSYS=easypay,ipayz,fondy,tachcard,coin,mpay,ipay,uniteller,copayco,liqpay,portmone,mypayprivat,ibox,concordpay,platon
  111. ;fetch payment ID from op_customers
  112. OPENPAYZ_REALID=1
  113. ;Ticketing support
  114. TICKETING_ENABLED=1
  115. ;speedtest module enabled
  116. SP_ENABLED=1
  117. ;speedtest mini URL
  118. SP_URL=http://speedtest.ukrtelecom.ua/
  119. ;speedtest module now can use embedded html5 speedtest (type 1) or embedding external URL (type 3) or just redirect to SP_URL (type 2)
  120. SP_TYPE=1
  121. ;Custom speedtest dimensions. Now used only for SP_TYPE 3. Optional option.
  122. ;SP_SIZE="100%|500"
  123. ;Downloads module enabled?
  124. ZL_ENABLED=1
  125. ;Downloads options in format icon_path|url|title - delimiter comma
  126. ZL_OPTIONS="skins/default/iconz/chrome.png|https://is.gd/wg6BEr|Розширення для Chrome"
  127. ;account freezing enabled?
  128. AF_ENABLED=1
  129. ;each freezing price
  130. AF_FREEZPRICE=10
  131. ;Just a textual indicator of the period for which freezing fee is charged(e.g. month or day, or whatever)
  132. ;Keep in mind: this will not be localized and will appear "as is"
  133. ;AF_FREEZPRICE_PERIOD="day"
  134. ;tariffs with enabled freeze - delimiter comma
  135. AF_TARIFFSALLOWED = Unlim-5
  136. ;allow freezing for any tariff
  137. ;AF_TARIFF_ALLOW_ANY=0
  138. ;cash type ID for account freezing service
  139. AF_CASHTYPEID=1
  140. ;Show tariff speeds in user profile
  141. SHOW_SPEED=0
  142. ;Show speed as is in Mbit/s
  143. ;SHOW_SPEED_MB=1
  144. ;Enable UBAgent/XMlAgent
  145. UBA_ENABLED=1
  146. ;Enable additional fields for address to split city,street,buildnum
  147. UBA_XML_ADDRESS_STRUCT=0
  148. ;Enables writing of the REST API debugging info to WebLogs
  149. ;XMLAGENT_DEBUG_ON=0
  150. ;Enables writing of the REST API detailed debugging info to local file: 'userstats/exports/xmlagent.debug'
  151. ;XMLAGENT_DEBUG_DEEP_ON=0
  152. ;Enables additional auth usage for XMLAgent. Extended auth is based on using the current UB instance serial, just like RemoteAPI does.
  153. ;XMLAGENT_EXTENDED_AUTH_ON=1
  154. ; COUNT DAYS ONLINE LEFT:
  155. ONLINELEFT_COUNT=0
  156. ;Possible values: days, date, mixed
  157. ONLINELEFT_STYLE="days"
  158. ONLINELEFT_SPREAD=0
  159. ONLINELEFT_CREDIT=0
  160. ;Consider all user's virtual services prices when calculating online days left
  161. ;ONLINELEFT_CONSIDER_VSERVICES=0
  162. ; ROUND CASH IN PROFILE:
  163. ROUND_PROFILE_CASH = 0
  164. ;Public offer mode - contract field will be displayed as "Public offer" with link set as parameter
  165. ;PUBLIC_OFFER=""
  166. ;Public offer custom link caption. Will not be localized and will appear "as is"
  167. ;PUBLIC_OFFER_CAPTION=""
  168. ;Document printing support
  169. ;Enable parsing of .docx documents and document printing for users
  170. DOCX_SUPPORT=0
  171. ;document storage path
  172. DOCX_STORAGE="../content/documents/"
  173. ;value-added tax rate percent for document templates
  174. DOCX_NDS=20
  175. ;additional services printable within documents, separator - comma
  176. DOCX_SERVICES="Інтернет"
  177. ;Denies generation documents by user at all.
  178. DOCX_DENY_SELFGEN=0
  179. ;Agents additional config options similar to alter.ini
  180. ;AGENTS_ASSIGN=1
  181. ;DEFAULT_ASSIGN_AGENT=1
  182. ;render Payment ID as QR code
  183. PAYMENTID_QR=0
  184. ;Announcements module is enabled?
  185. AN_ENABLED=0
  186. ;Enables additional read/unread announcements controls.
  187. AN_BUTTONS=1
  188. ;Enables modal announcements display
  189. AN_MODAL=1
  190. ;Previous payments module is enabled?
  191. PAYMENTS_ENABLED=1
  192. ;Show only positive payments, to exclude virtual services and other external charges, etc. Optional option.
  193. ;PAYMENTS_ONLYPOSITIVE=1
  194. ;Show additional virtual services in user profile?
  195. VSERVICES_SHOW=0
  196. ;Consider virtual services periods when calculating it's cost?
  197. ;VSERVICES_CONSIDER_PERIODS=0
  198. ;Show traffic stats module?
  199. TRAFFIC_ENABLED=1
  200. ;sms reminder enabled?
  201. ;0 - off
  202. ;1 - actual service expiration is processed and then other services are processed, according to enabled/disabled options
  203. ;2 - actual service expiration is NOT processed, ONLY other services are processed, according to enabled/disabled options
  204. REMINDER_ENABLED=0
  205. ;sms reminder price per month
  206. REMINDER_PRICE=1
  207. ;TAGID OF VIRTUAL SERVICE
  208. REMINDER_TAGID=36
  209. ;Mobile number length, 10 default for UA
  210. REMINDER_NUMBER_LENGTH=10
  211. ;Threshold when user should be reminded
  212. REMINDER_DAYS_THRESHOLD=2
  213. ;Prefix for mobile phones, default empty
  214. REMINDER_PREFIX="+38"
  215. ;Allow user to change his mobile number?
  216. REMINDER_CHANGE_NUMBER=0
  217. ;do the fee on enabling reminder service
  218. REMINDER_FEE=1
  219. ;cash type for reminder fee
  220. REMINDER_CASHTYPEID=1
  221. ;is reminder turn off by user enabled?
  222. ;this option is used both for mobile phone, e-mail reminders and reminder type change in case if PrivatBank invoices are ON
  223. REMINDER_TURNOFF=1
  224. ; If you use any mechanics(like OnePunches) to send E-mails to your users
  225. ; this will enable the ability to turn on and off E-mail reminder on user's personal page
  226. ; REMEBER: reminder itself doesn't support the E-mail sending. Those options below will only allow users
  227. ; to assign or deassign the tag which your script uses to gather marked users.
  228. ;REMINDER_EMAIL_ENABLED = 0
  229. ; place here the tag ID you using for your E-mail sending routine
  230. ;REMINDER_EMAIL_TAGID=444
  231. ; Enable this option to allow users to change their E-mail address
  232. ;REMINDER_EMAIL_CHANGE_ALLOWED=0
  233. ;THE ‘ENABLED’ STATE AND VALUES OF THE FOLLOWING REMINDER_* OPTIONS SHOULD CORRESPOND TO THE SAME ONES IN ALTER.INI.
  234. ;Reminder will use external mobiles
  235. ;REMINDER_USE_EXTMOBILES=0
  236. ;Consider user's credit if credit set? Modes: 0 - OFF, 1 - ON
  237. ;REMINDER_CONSIDER_CREDIT=0
  238. ;Threshold of days to remind before credit end
  239. ;REMINDER_DAYS_THRESHOLD_CREDIT=2
  240. ;Consider crime and punishment users? Modes: 0 - OFF, 1 - ON
  241. ;REMINDER_CONSIDER_CAP=0
  242. ;Threshold of days to remind before crime and punishment happens
  243. ;REMINDER_DAYS_THRESHOLD_CAP=5
  244. ;Consider users who's available freeze days running out. Works with FREEZE_DAYS_CHARGE_ENABLED only. Modes: 0 - OFF, 1 - ON
  245. ;REMINDER_CONSIDER_FROZEN=0
  246. ;Threshold of days to remind before available freeze days will run out
  247. ;REMINDER_DAYS_THRESHOLD_FROZEN=15
  248. ;Either REMINDER_PBI_ONLY_TAG_ID or REMINDER_PBI_AND_SMS_TAG_ID should be used for actual PB invoices sending
  249. ;REMINDER_PRIVATBANK_INVOICE_PUSH=0
  250. ;TagID which should be assigned to user to send PB invoices(without sending SMS)
  251. ;REMINDER_PBI_ONLY_TAG_ID=101
  252. ;TagID which should be assigned to user to send both PB invoices and SMS
  253. ;REMINDER_PBI_AND_SMS_TAG_ID=111
  254. ;Megogo integration enabled
  255. MG_ENABLED=0
  256. ;Megogo user protection from casual subscription
  257. MG_PROTECTION=1
  258. ;List of allowed tariffs. Leave this option empty if no restrictions. Comma separated.
  259. MG_TARIFFSALLOWED=""
  260. ;Megogo user guide URL
  261. MG_GUIDE_URL=""
  262. ;Ubilling Remote api options
  263. API_URL="http://127.0.0.1/billing/"
  264. API_KEY=""
  265. ;enable or not aditional services order
  266. ADSERVICE_ENABLED=0
  267. ;date when to apply adservice for user. Can be: nextday, nextmonth
  268. ADSERVICE_DATE="nextmonth"
  269. ;services which available for users order. View: "service_name1:tagid1,service_name2:tagid2"
  270. ADSERVICE_NAMES="TV:1,PHONE:3,TEST:4"
  271. ;services cost. view: "service_name1:cost1,service_name2:cost2"
  272. ADSERVICE_COST="TV:50,PHONE:30,TEST:1"
  273. ;custom acceptance for services, use in case you shuold show some license text for user before he will accept
  274. ;fill like 'service_id,http link to document;service_id,http link to document'
  275. ;ADSERVICE_CUSTOM_ACCEPT="6,https://war.ukraine.ua/"
  276. ;Optional option - sets currency for DOCX_SUPPORT documents printing.
  277. ;TEMPLATE_CURRENCY=UAH
  278. ;Optional option - shows custom discounts percent if available
  279. ;CUD_SHOW=1
  280. ;Enables support of UKV users associated with inet account
  281. UKV_ENABLED=0
  282. ;Intro mode. 0 - disabled, 1 - showing in the bottom of user profile, 2 - showing instead menu block for login auth,
  283. ; 3 - top of profile info, 4 - in the bottom of auth form for login auth.
  284. INTRO_MODE=0
  285. ; Enable poll system for user
  286. POLLS_ENABLED=0
  287. ;Display of additional mobiles in users profile
  288. SHOW_EXT_MOBILES=1
  289. ;Are freeze days limited and count of them is enabled?
  290. FREEZE_DAYS_CHARGE_ENABLED=0
  291. ;Amount of days initially available for user(can be individually changed from userprofile)
  292. FREEZE_DAYS_INITIAL_AMOUNT=365
  293. ;Amount of days user has to work to get the amount of freeze days again after he spents out all his available freeze days(can be individually changed from userprofile)
  294. FREEZE_DAYS_WORK_TO_RESTORE=120
  295. ;Allow users to freeze their services even if their balance is < 0.
  296. FREEZE_ALLOW_ON_NEGATIVE_BALANCE=0
  297. ;Prohibit the user from taking a credit if he forgot to pay for internet after the previous credit.
  298. ;This is an additional protection option for those users which likes to take a credit every month and use the service for only a few days.
  299. SC_HACKCONTROL=0
  300. ;OmegaTV integration enabled?
  301. OM_ENABLED=0
  302. ;OmegaTV user protection from casual subscription
  303. OM_PROTECTION=1
  304. ;Tariffs list denied for OmegaTV module usage. Comma separated.
  305. OM_TARIFFSDENIED=""
  306. ;Bundle tariffs names. Comma separated. Denies manual sub/unsub actions.
  307. OM_TARIFFSBUNDLE="Unlim-5,YobaTV"
  308. ;Maximum devices/playlists limit per subscriber.
  309. OM_MAXDEV=3
  310. ;TrinityTV integration enabled
  311. TRINITYTV_ENABLED=0
  312. ;TrinityTV user protection from casual subscription
  313. TRINITYTV_PROTECTION=1
  314. ;Sell trinitytv as sweet.tv service.
  315. SWEETTV_ENABLED=0
  316. ;Some URL with usage guide, software downloads etc.
  317. TRINITYTV_GUIDE_URL=""
  318. ;Some URL with trinity/sweettv channel list URL.
  319. TRINITYTV_CHANLIST_URL=""
  320. ;Disable possibility of subscription by user itself.
  321. TRINITYTV_NOUSERSUB=0
  322. ;Enables Ishimura traffic collecting mechanics
  323. ISHIMURA_ENABLED=0
  324. ;Old-style inline logout controls. Optional option.
  325. INLINE_LOGOUT=0
  326. ;Is Visor-cams module enabled?
  327. VISOR_ENABLED=0
  328. ;Clients surveillance software links. Format: icon_path|url|title - delimiter comma.
  329. ;VISOR_SOFTWARE="skins/paper/iconz/android.png|https://play.google.com/store/apps/details?id=dssl.client|Android,skins/paper/iconz/ios.png|https://apps.apple.com/us/app/trassir-client/id722762165|iOS,skins/paper/iconz/windows.png|http://ubilling.net.ua/visor/Trassir-4.1.1112540-client.exe|Windows,skins/paper/iconz/macos.png|https://apps.apple.com/ru/app/trassir-client/id1277151643|MacOS"
  330. ;Display debug timing/query counters for each rendered page. Optional option.
  331. DEBUG_COUNTERS=0
  332. ;Allow users change password. This option hide current pass
  333. PASSWORD_CHANGE=0
  334. ;Is ProstoTV OTT service enabled?
  335. PROSTOTV_ENABLED=0
  336. ;Is insurance subsystem enabled?
  337. INSURANCE_ENABLED=0
  338. ;Your Telegram bot username. Something like UbillingFeedbackDemoBot or YourSupportBot for example. Live empty to disable.
  339. TG_BOTNAME=""
  340. ;Is YouTV OTT service enabled?
  341. YOUTV_ENABLED=0
  342. YOUTV_PROTECTION=1
  343. ;Is OllTV OTT service enabled?
  344. OLLTV_ENABLED=0
  345. ;Is power tariffs enabled?
  346. POWERTARIFFS_ENABLED=0
  347. ;Power tariffs maximum day of month which will be rounded to 1st.
  348. POWERTARIFFS_MAXDAY=26
  349. ;Is aerial alerts enabled? Requires API_URL and API_KEY options set.
  350. AIR_RAID_ALERT_ENABLED=0
  351. ;Is OphanimFlow integration enabled?
  352. OPHANIM_ENABLED=0
  353. ;Web application custom name
  354. WA_NAME=""
  355. ;Web application custom icons URLs, 192x192 and 512x512 png required
  356. WA_ICON_192=""
  357. WA_ICON_512=""
  358. ;Custom AFU supporting URL, something like https://savelife.in.ua/donate/ or https://ubilling.net.ua/rds/defense/ (default)
  359. AFU_URL=""
  360. ;disables defense donations reminder
  361. IM_JUST_PIDAR=0
  362. ;Visor settings displays extended DVR info.
  363. VISOR_DVR_FULL=1
  364. ;Just hides email field from user profile.
  365. HIDE_EMAIL=0