php Author Pro Chatrooms Software Pro Chatrooms Url http www prochatro

  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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
<?php
###########################################
# Author: Pro Chatrooms
# Software: Pro Chatrooms
# Url: http://www.prochatrooms.com
# Support: support@prochatrooms.com
# Copyright 2007-2009 All Rights Reserved
#
# Pro Chat Rooms and all of its source code/files are protected by Copyright Laws.
# The license for Pro Chat Rooms permits you to install this software on a single domain only (.com, .co.uk, .org, .net, etc.).
# Each additional installation requires an additional software licence, please contact us for more information.
# You may NOT remove the copyright information and credits for Pro Chat Rooms unless you have purchased the 'Remove Branding' plugin.
# Pro Chat Rooms is NOT free software - For more details http://www.prochatrooms.com/software_licence.php
###########################################
#### PRO CHATROOMS CONFIGURATION ##########
#
## Domain Name
#
// the url of your website
$domain_name = "http://coffeshka.net";
#
## Chat Room Name
#
// the name of your chat room
$chatroom_name = "Coffeshka.Net Chat";
#
## Chat Room Url
#
// the url to your chat room
$chatroom_url = "http://coffeshka.net/chat";
#
## Enable/Disable Chat Room
#
// allows the admin to close the chat room
// during maintenance down time. Your users
// will not be able to login when set to closed.
$chatroom_maintenance = '1'; // 0 Closed, 1 Open
#
## Chat Room Logo
#
// appears on login/register/lost password pages
// Upload your images to 'prochatrooms/images' or
// use an url: http://yoursite.com/your_logo.jpg
$chatroom_logo = "images/your_logo.gif";
#
## Chat Room Languages
#
// allows the choice of multiple languages
// to translate the language files open the
// file 'languages/blank.php' with your text
// editor, translate the text inside then
// save the file as 'german.php'and enter
// the text "german", below "english",
$default_lang = 'russian';
$chatroom_languages=array(
"english", // do not edit
);
#
## Chat Room Genders
#
// allows the user to choose their gender
// on the chat room login page. this appears
// as their default icon next to their messages
// if no gender is choosen, default icon will be displayed
// enable/disable feature
$enable_login_genders = '1'; // 0 No, 1 Yes
$chatroom_gender=array(
"Select", // do not edit
"Male",
"Female",
"Couple",
);
#
## Admin Email Address
#
// administration email address
$chatroom_email = "support@coffeshka.net";
#
## Webcam Module (if installed)
#
// enable webcam module
$enable_webcams = "1";
// sets max cams users can view
$max_cams = "10";
// assigns who is able to view/use the webcams
$webcam_access = "0"; // 0 Guests & Members, 1 Members Only
// to help secure webcam streams
// enter a unique word or phrase
$secure_stream = "abc123";
#
## eCredits Module
#
// When enabled, every time a user opens a private chat window,
// the users eCredits will be deducted until they reach zero.
// When a user has no eCredits remaining and tries to private
// chat with another user, the user will be re-directed to a custom
// purchase page to buy more credits. Users are limited to one
// private chat window at any time. Admins, Moderators and Speakers
// do not require any eCredits to private chat with other users.
// enable eCredits module
$eCredits = '0'; // 1 Enable, 0 Disable
// award free eCredits on login (for guests)
$eCredits_bonus = '5'; // 1 eCredit = 1 minute
// award free eCredits on signup (for new members)
$eCredits_signup = '30'; // 1 eCredit = 1 minute
// your paypal email address
// for accepting users eCredit payments
$eCredits_paypal = 'sales@prochatrooms.com';
// paypal currency
$eCredits_currency = 'USD';
// currency character
$eCredits_char = '$';
// sell eCredits package
// units per single cost
$eCredits_package = '10';
// url to your eCredits payment/checkout page
// default template can be found in the folder,
// 'prochatrooms/templates/template.credits.php'
$eCredits_page = 'credits.php';
#
## One2One Module (if installed)
#
// allows CMS users to contact each other via their profile pages
// with unlimited chat windows for multiple private conversations
// If you have the flash webcam module installed, the chat windows
// will include audio/visual flash webcams too.
$enable_one2one = "0"; // 0 No, 1 Yes
// enter your content system
$one2one_CMS = "0"; // 0 Default (none), 1 phpFOX, 2 Joovili, 3 osDate, 4 Social Engine, 5 Custom
#
## Virtual Credits (if installed)
#
// allows chat room users to earn virtual
// credits when logged into the chat room
$enable_virtual_credits = '0'; // 0 No, 1 Yes
#
## Login Gallery (if installed)
#
// shows current members photos on login page
$login_gallery = "0"; // 0 No, 1 Yes
#
## Image Share Module (if installed)
#
// allows users to upload and share images
// to all users in room or privately
$share_images = "0"; // 0 No, 1 Yes
#
## Games Module (if installed)
#
// allows users to play 1 player games
// inside the chat room
$games_inc = "0"; // 0 No, 1 Yes
#
## Moderated Chat Module (if installed)
#
// sets moderated chat function
// allows moderators/admins to approve messages
// before they are displayed in the chat window
$approve_messages = "0"; // 0 No, 1 Yes
// enables moderated chat in any
// of the chat rooms listed below
// note: use lowercase characters only
$enable_modchat=array(
"theroomname",
"theroomname",
"theroomname",
"",
"",
);
#
## Invisible Admin Module (if installed)
#
// sets invisible admin mode
// invisible admins will not appear
// in userlist or room number count.
// admins can type messages, ban users
// and whisper whilst logged in as invisible
$invisible_admins = "0"; // 0 No, 1 Yes
#
## Chat Room Events Module (if installed)
#
// sets open/close time of chat room
// allows admins to set multiple day/times
$enable_events = "0"; // 0 No, 1 Yes
$event_start = "0"; // start time hour (0-24 hour)
$event_stop = "24"; // stop time hour (0-24 hour)
$event_day=array(
"Sun",
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat",
);
#
## Advertising Module 1 (if installed)
#
// enables auto rotation of adverts
// to the left of the main chat screen
$enable_adverts = "0"; // 0 No, 1 Yes
$refresh_adverts = "3600"; // seconds
#
## Advertising Module 2 (adbot)
#
// enables text link advertising in chat windows
// these can be set in the admin control panel
$enable_adverts = "0"; // 0 No, 1 Yes
$show_adverts = "900"; // every XXX seconds (900 = 15 minutes)
#
## Chatroom Admins
#
// set users as chatroom admins
// admins can access the admin control panel
// admins can ban moderators and users
// NOTE: use lowercase characters only
// example: john (NOT John)
$chatroom_admins=array(
"alhimik",
"djdworld",
);
#
## Chat Room Admin Area Password
#
// sets the admin login password for the
// Pro Chat Rooms admin area. Only admins
// can login to the chat room admin area.
$admin_password = "123456789"; // password
#
## Chat Room Admin Symbol
#
// displays the admin symbol next to
// admins name in chat room userlist
$admin_symbol = "(A)";
// sets a color for the username which
// shows in the chat rooms userlist
$admin_color="red"; // red, blue, green, etc
#
## Chat Room Moderators
#
// set users as chatroom moderators
// moderators can ban chat room users
// moderators cannot ban admin users
// NOTE: use lowercase characters only
// example: john (NOT John)
$chatroom_moderators=array(
"don",
"maklapkin",
"svetlanka",
);
#
## Chat Room Moderator Symbol
#
// displays the moderator symbol next to
// moderators name in chat room userlist
$moderator_symbol = "(A)";
// sets a color for the username which
// shows in the chat rooms userlist
$moderator_color="red"; // red, blue, green, etc
#
## Chat Room Speakers
#
// auto approves all speakers messages
// for any chat room usernames below
// NOTE: use lowercase characters only
// example: john (NOT John)
$chatroom_speakers=array(
"Novinka",
);
#
## Chat Room Speakers Symbol
#
// displays the speakers symbol next to
// speakers name in chat room userlist
$speakers_symbol = "(S)";
// sets a color for the username which
// shows in the chat rooms userlist
$speaker_color="green"; // red, blue, green, etc
#
## Allow Guest Access
#
// allow guests to login to your chat room?
// this option appears on the chat login page
$allow_guest_access = "0"; // 0 No, 1 Yes
#
## Guest Access Features
#
// allow guests to IM other users
$enable_guest_im = "1"; // 0 No, 1 Yes
// allow guests to send messages in chat room
$enable_guest_send_messages = "1"; // 0 No, 1 Yes
// allow guests to share files
$enable_guest_share_files = "1"; // 0 No, 1 Yes
// allow guests to whisper
$enable_guest_whisper = "1"; // 0 No, 1 Yes
// allow guests to ring the support bell
$enable_guest_ringbell = "1"; // 0 No, 1 Yes
// display a customisable welcome message informing guests that some
// chat room features may not be available until they have registered
$enable_guest_welcome_message = "0"; // 0 No, 1 Yes
#
## Chat Room Integration (for CMS only)
#
// if the chat room is integrated with
// a content management system, enter 1
// if the chat room has been installed as a
// stand alone unit, enter 0
// NOTE: if the chat room is integrated with a CMS
// guests will not be allowed to login (see above).
$members_only = "1"; // 0 No, 1 Yes
#
## Chat Room Profile Integration (optional)
#
// the Pro Chat Room auto generates a mini user profile
// for all users (even when integrated with existing CMS)
// settings for default profile system
// to edit the header/footer design for the default profiles
// open the file 'profiles/header.php' and 'profiles/footer.php'
$min_age = "16"; // sets the min age for profile
$max_age = "100"; // sets the max age for profile
$max_image_size = "100000"; // sets the max image size for uploading images
// edit settings for the profile url, accepts 2 formats
// example: http://www.yoursite.com/profile.php?user=John
// example: http://www.yoursite.com/profile.php?user=0123
$profiles_enabled = "1"; // 0 No, 1 Yes
$profile_url = "profiles/?gud=";
$profile_id = "0"; // 0 Usernames (eg. John), 1 ID"s (eg. 0123)
#
## Badword Filter
#
// replaces badwords with alternative text
// NOTE: words are CaSe Sensitive
$badword_filter=array(
"fuck",
"shit",
"wank",
"bitch",
);
$badword_replacement = "@!#%";
#
## Chat Room Bans
#
// Ban users by userIP or Username
$ban_method = "1"; // 0 userIP, 1 Username
#
## Chat Screen Text Fonts
#
// displays font style options
$cff=array(
"Arial",
"Arial Black",
"Comic Sans MS",
"Courier New",
"Georgia",
"Impact",
"Tahoma",
"Times New Roman",
"Verdana",
);
#
## Chat Screen Text Size
#
// displays font size options
$cfs=array(
"12",
"14",
"16",
"18",
"20",
"22",
);
#
## Show Last Messages
#
// display previous chat room messages
$show_last_messages = '0'; // 0 No, 1 Yes
// define how many messages to show
$last_messages = '10';
#
## Hide Userlist
#
// prevents the userlist being shown in the chat room
// displays only the main chat window (with all options)
$disable_userlist = '0'; // 0 No, 1 Yes
#
## Hide 'Disconnect' button
#
// hides the disconnect button
$disable_disconnect = '0'; // 0 No, 1 Yes
#
## Allow Users To Create Rooms
#
// allows your users to create
// their own public chat rooms
$custom_rooms = "0"; // 0 No, 1 Yes
// set the expiry time (in seconds) for
// all user created rooms when empty
$delete_custom_rooms = "60"; // seconds
// set the maximum number of rooms any user
// can create (prevents room creation spamming)
$max_rooms = '100';
#
## Enable Select Room
#
// Allows a user to login to a chat room of their choice
// on the Pro Chat Rooms login page. If disabled, the
// user will login into the default Lobby room.
$select_room="1"; // 0 No, 1 Yes
#
## Force Login
#
// To force users to login to a specific chat room add the
// following code to the end of the Pro Chat Rooms url.
// ?room=ROOMNAME
// EG. http://www.yoursite.com/prochatrooms/?room=Lounge
$force_login="0"; // 0 No, 1 Yes
#
## Single Room
#
// Allows the chat room to be used as single room
$show_roomlist="1"; // 0 No, 1 Yes
#
## Enable Audio Sounds
#
// Enables audio alerts when
// user enter/exits chat room
$enable_audio = "1"; // 0 Off, 1 ON
#
## Enable Entry/Exit Sounds
#
// enables the doorbell and door close SFX
// when a user enters or leaves the room
$enable_ee_sfx = "1"; // 0 Off, 1 ON
#
## Enable Beep On New Messages
#
// Enables beep audio effect for
// every new message in chat room
$enable_beep = "1"; // 0 Off, 1 ON
#
## Enable Support Bell
#
// Allows users to alert others
// by ringing a support bell
// Audio must be enabled above
$enable_bell = "1"; // 0 Off, 1 ON
#
## Enable Sound Effects
#
// Allows users to play sound
// effects in the chat room
$enable_SFX = "1"; // 0 Off, 1 ON
#
## Disable Chat Transcripts
#
// Prevents users from viewing chat transcripts
// Only admins can view transcripts via the admin area.
$disable_transcripts = "0"; // 0 No, 1 Yes
#
## Disable the Help file
#
// prevents users from viewing
// the chat room help file
$disable_help = "0"; // 0 No, 1 Yes
#
## Private Chat
#
// enables/disables private chat options
$private_chat = "1"; // 0 Off, 1 ON
#
## Private Chat - Permitted Users
#
// restricts private chat access
// to selected users only
$restrict_PM = '0'; // 0 No, 1 Yes
// enter approved usernames below
// NOTE: use lowercase characters only
// example: john (NOT John)
$pm_users=array(
"admin",
"admin2",
"admin3",
);
#
## Private Whispers
#
// enables/disables private whisper options
$private_whispers = "1"; // 0 Off, 1 ON
#
## define default font color
#
// sets the default color for the user text
// use color formatting '#000000' etc
$def_fontColor = "#000000";
#
## Chat Room Background Colour
#
// sets the background colour for the chat window
// use color formatting '#FFFFFF' etc
$background_color = "#FFFFFF";
#
## Maximum Chat Room Users
#
// sets the maximum number of chat room
// users that are allowed to login at any
// one time. Displays 'chat room full' message
// when maximum chat room users number is exceeded.
$max_users = "99999";
#
## Maximum Message Length
#
// sets the maximum length of any message
// that a chat user is allowed to post
$max_length = "250"; // characters
#
## Flood Filter
#
// prevents users flooding the chat rooms
// with messages, requires users to wait
// XXX number of seconds between posts
$flood_filter = "1"; // seconds
#
## Shout Filter
#
// prevents users typing messages in capitals.
// eg. 'HELLO' becomes 'hello'
$shout_filter = "0"; // 0 Off, 1 ON
#
## Capital Letters
#
// converts each message to start with a capital letter
// works for a-z (non-english characters are not supported)
$message_capitals = "0"; // 0 Off, 1 ON
#
## Menu Posistion
#
// sets the posistion of the user menu
// to appear left of the chat window or
// above the messagebar
// 0 - Left of the chat screen
// 1 - Above the messagebar
$menu_position = "1";
#
## Refresh Chat Screen
#
// this setting controls bandwidth & performance
// set low for fast performance, higher bandwidth (eg. 1000)
// set high for slower performance, lower bandwidth (eg. 5000)
// sets speed for refreshing chat room messages
// example: every 1 seconds = 1000 milliseconds
// example: every 5 seconds = 5000 milliseconds
$refresh_chat_screen = "1000"; // milliseconds
#
## Refresh User List
#
// sets speed for refreshing user list
// example: every 5 seconds = 5000 milliseconds
$refresh_userlist = "5000"; // milliseconds
#
## User Login/Logout Update
#
// auto checks users login/logout status
// min 90 seconds - max unlimited
$usr_update = "90"; // seconds
#
## Silence User
#
// sets the 'silenced' duration for
// users until they can send messages
$silence_user = '30'; // seconds
#
## Idle Status
#
// user status will be set to idle if last
// message sent is longer than this time
$set_idle_time = '300'; // seconds (300 = 5 min)
#
## Auto Logout
#
// if users status is idle, they will be auto logged
// out after the auto logout period has expired
$set_auto_logout_time = '600'; // seconds (600 = 10 mins)
#
## Max Messages
#
// sets the total messages to display
// low numbers help improve performance
// min 20 messages - max unlimited
$max_messages = '20'; // messages
#
## Server Time
#
// time sync for your MYSQL database.
$server_time = "+0"; // +12/-12 hours
#
## Browser Charset
#
// browser character set.
$brower_char = "UTF-8"; // UTF-8, iso-8859-1
#
## Remote Hosted Chat Room
#
// enable this option if you are
// remotely hosting the chat room
// on a Pro Chat Rooms web server
$remotely_hosted = '0'; // 0 No, 1 Yes
#
## Chat Room Version
#
// do not edit below
include("version.php");
###########################################
?>