T string error

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Danny

danny

19/08/2007 19:36:00
Quote Anchor link
Hallow allemaal kan mischien 1 van jullie eveb een progje er over heen halen . Kan de fout niet vinden op line 288

Code (php)
PHP script in nieuw venster Selecteer het PHP script
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
<?php //-*-php-*-
/*   ********************************************************************   **
**   Copyright notice                                                       **
**                                                                          **
**   (c) 1995-2004 PHPOpenChat Development Team                             **
**   http://phpopenchat.sourceforge.net/                                    **
**                                                                          **
**   All rights reserved                                                    **
**                                                                          **
**   This script is part of the PHPOpenChat project. The PHPOpenChat        **
**   project is free software; you can redistribute it and/or modify        **
**   it under the terms of the GNU General Public License as published by   **
**   the Free Software Foundation; either version 2 of the License, or      **
**   (at your option) any later version.                                    **
**                                                                          **
**   The GNU General Public License can be found at                         **
**   http://www.gnu.org/copyleft/gpl.html.                                  **
**   A copy is found in the textfile GPL and important notices to the       **
**   license from the team is found in the textfile LICENSE distributed     **
**   with these scripts.                                                    **
**                                                                          **
**   This script is distributed in the hope that it will be useful,         **
**   but WITHOUT ANY WARRANTY; without even the implied warranty of         **
**   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          **
**   GNU General Public License for more details.                           **
**                                                                          **
**   This copyright notice MUST APPEAR in all copies of the script!         **
**   ********************************************************************   */

/*
  $Author: letreo $
  $Date: 2004/08/26 11:57:24 $
  $Source: /cvsroot/phpopenchat/chat3/config.inc.php,v $
  $Revision: 1.33.2.38 $
*/


define('DEBUG', true);

// configuration file for PHPOpenChat
// will be included by almost all source files

define('POC_BASE', dirname(__FILE__));
define('POC_DOC_ROOT','/pocv302p2');
//$hvz="http://www.phpopenchat.de/pocv302p2/"; // für die ausgabe der smileys im profil

if( strtoupper( substr(PHP_OS,0,3) ) == 'WIN' )
{

  define('POC_OS','win');
  define('DELI','\\');

  /**
  * Temp-directory where we write the channel lock files
  * This define will either be 'Unix' or 'Windows'
  */

   define('TMPDIR', 'c:\cvs\rel300\tmp');
}
else {
  //This is the Linux/Unix case
  define('POC_OS','unix');
  define('DELI','/');
  //For security reasons change TMPDIR to a directory,
  //outsite of your webroot. NOTE: This directory must be
  //writeable for the webserver.

  define('TMPDIR', POC_BASE.'/tmp');
}


/*
 * set include path for phpopenchat includes
 */

define('POC_INCLUDE_PATH', POC_BASE.'/include');
//ini_set('include_path', POC_BASE.'/include');

/*
 * use_trans_sid produce unvalid XHTML (strict)!
 * The form element requires a blocklevel element before using elements like input or select
 * see http://www.w3.org/TR/html4/interact/forms.html#h-17.3
 * because of this fact, we switch off this feature
 */

ini_set('session.use_trans_sid','0');
ini_set('session.bug_compat_warn','0');

/*
 * Name of PHPOpenChat's session cookie (session name)
 */
//if( function_exists('pnUserGetVar') ) ini_set('session.name', 'POCSID');

/*
 * Lifetime of cookies
 */

define('COOKIE_EXPIRE', time() + 60*60*24*30*12*25,true);
define('COOKIE_PATH',"/",true);
define('COOKIE_DOMAIN','',true);
define('COOKIE_SECURE','0',true);
//ini_set('session.cookie_lifetime', COOKIE_EXPIRE);//currently set to 25 years

/*
 * It is highly recommended that you configure/compile
 * php so, that session data are stored in shared
 * memory, not in files. In the 'file' case, we setup
 * the directory where php will store the session-files
 * NOTE: This directory MUST be writeable by the webserver
 */
//ini_set('session.save_path',TMPDIR);

session_save_path(TMPDIR);

/*
 * At this time there are two authentification methods
 * available. PHPOpenChat's own authentification database
 * or authentification using a LDAP server.
 */

define('AUTHENTICATION_METHOD','poc');

/**
 * LDAP settings.
 * Used if you choose 'ldap' as authentication method (see above)
 * Enter the DNS of you local ldap server.
 */

define('LDAP_SERVER','ldap.pixelpark.com');

/*
 * If you don't know the 'dn' of your local ldap server,
 * use test/ldap.php to ask the ldap server for it
 */

define('LDAP_DN','ou=NTUser,ou=Accounts,o=pixelpark.com');

/*
 * Ringbuffer settings
 * If you have:
 * - shared memory and semaphores compiled in,
 *   (search for 'sysvshm' and 'sysvsem' in a page generated by phpinfo() ) and,
 * - specified the initial memory size for the shared memory
 *   (add 'sysvshm.init_mem = 32595000' to your php.ini)
 * set this to 'Mem' for the best performance of your chat.
 * otherwise set to 'DB'
 */

define('CHANNEL_BUFFER_TYPE','DB');

/*
 * database account settings
 */

define('DATABASE_HOST', 'localhost');
define('DATABASE_USER', '*****');
define('DATABASE_PASSWORD', '****');
define('DATABASE_TABLESPACE', '****');/* The value 'poc' is an example only!
                                     * a tablespace contains your sql-tables
                                     * MySQL calls it 'database', so you have to enter the name of your database here.
                                     * If you don't have such a tablespace already, MySQL users have to do:
                                     * # mysqladmin create DATABASE_TABLESPACE
                                     * # mysql -u DATABASE_USER -pDATABASE_PASSWORD DATABASE_TABLESPACE < /your/path/to/phpopenchat/db.schema
                                     */

define('DATABASE_TABLE_PREFIX', 'poc_'); //was soll vor den Tabellen des Chat stehen

/*
 * As a database layer we use ADODB (http://php.weblogs.com/adodb) to be
 * database independent.
 * Possible database drivers are mysql, mssql, oracle, oci8,
 * postgres, sybase, vfp, access, ibase and many others. (see adodb homepage)
 * NOTE: mysql is tested only!
 */

define('DATABASE_DRIVER','mysql');

/*
 * Set this true, if you like a persistant database connection for each user
 * NOTE: You will have one database instance per chatter.
 */

define('USE_PCONNECT',false);

/*
 * Template related settings
 */

define('TEMPLATE_EXTENSION','tpl');
define('DEFAULT_THEME','gtchat');
define('BASETEMPLATE_PATH','/include/templates');
define('ALLOW_TEMPLATE_CHANGES',false);
// the following configuration are nessesary only if  POC is used as PostNuke module
// Integration into postnuke

define('PN_MODULE_NAME','phpopenchat');//directory name of POC in /path/to/postnuke/modules

define('OPERATOR_LABEL','>@< ');//this character labels operators in the chatter list.

//Hier kann man den Werbeframe ein/aus schalten

define('WERBE_FRAME',true); // false or true

// Hier kann man den Smiley Frame ein/aus schalten

define ('SMILEY_FRAME',true); // true=an false=aus

//Hier kann man die Uhrzeit im Main ein/aus schalten

define('MAIN_UHR',true); // false or true

//Hier kann man den Filter an aus setzen

define('FRAME_FILTER', true); // false or true

// Hier kann man einschalten ob die Adminhandlungen im Inputframe angezeigt werden oder nicht True=Ja

define('ADMIN_ACTION_FILTER',true); //false or true

// Hier kann man einschalten ob die Handlungen für die Chatter im Inputframe angezeigt werden oder nicht True=Ja

define ('ACTION_FILTER',true); // true or false

// Hier kann man einschalten ob Systemmeldungen ausgegeben werden wenn ein Chatter den Filter benutzt

define ('FILTER_MESSAGE',true); // true werden ausgegeben, false werden nicht ausgegeben


/*
* Soll der away Befehle aktiviert sein?
* true schaltet den Befehl ab, false schaltet den Befehl ein
*/

define('NO_AWAY',true);

/*
* Soll ein User der away gemeldet ist laenger im Chat bleiben bei inaktivitaet als es unter   MAX_INACTIVE_ONLINETIME angegeben ist?
* Wird dies nicht aktiviert gilt der Wert von  MAX_AWAY_TIME
*/

define('MAX_INACTIVE_ONLINETIME',60); // Zeit in Sekunden eingeben
/*
  * User, die Away sind k�nen flstern und angeflstert werden. Bei false geht das nicht.
  */

define('WHISPER_ON_AWAY',true);

/*
  * Wenn ein User einen anderen mit /nickname anspricht, wird die Auswahl im "sagt zu" immer auf "alle" eingestellt. Bei false folgt  * das Feld der Ansprache.
  */

define('ALL_AFTER_TALK',false);

/*
  * Wenn der Parameter auf false eingestellt wird, entf�lt bei "sagt zu allen" genau dieses. Sieht die Ausgabe so aus: "sender: text"
  */

define('SHOW_SAYS_TO_ALL',false);
/*
* when a new user enters the chat they can see nothing from before,
* with this property you can enable a history of spoken lines so that users
* can experience what was going on in the current channel before.
*/

define('SHOW_CHAT_HISTORY', false);

/*
* allow channel spying before users login
*/

define('ALLOW_SPYING', true);

/*
 * removes unnecessary white spaces and line breaks from html-output
 * to decrease traffic
 * NOTE: Setting this true makes only sense if you can't use gzip compression for your webserver output.
 */

define('TRIM_OUTPUT',true);

/*
 * Generic settings
 */

/*
 * To add a language, copy the desired language file to the
 * directory /path/to/poc/include/languages
 * and add the language code here. Language codes are described by ISO-639
 * (see http://www.oasis-open.org/cover/iso639a.html)
 */

$supported_languages = array('en','de'); //first language will be choosen,
                                         //in case of no language are specified by client browser
                                         //or no supported language we are found
                                         //in the list of languages of client browser
/*
 * The name of your chat. Mostly used to label HTML-pages
 */

define('CHAT_NAME','jou-site.nl');

/*
 * Exit URL in einer Integration
 */

define('EXIT_URL','./index.php?clear=yes');//Example: http://phpopenchat.org/
//define('EXIT_URL','../index.php');
/*
 * Kick URL ohne Integration
 */
//define('KICK_URL','');//Example: http://www.geocities.com/aniquiz/hero/reason.html

/*
 * Exit URL ohne Integration
*/
//define('EXIT_URL','javascript:parent.window.close()');

/*
 * Kick URL in einer Integration
*/

define('KICK_URL','javascript:parent.window.close()');

/*
 * Context menu
 */

define('DISABLE_CONTEXT_MENU','true);//Context menu in the output frame shown on right click (It MUST be a string!)
define('
DISABLE_CONTEXT_MENU_ICONS','true);

/*
 * If this true, a login without a password is possible.
 * Format of guest nickname: 'Guest_23543'
 */

define('ALLOW_GUEST_LOGIN',false);

/*
 * Select a Channel before Login
 * Kann der Chatter vor dem Login wählen in welchen Raum er gelangen möchte
 * Addet by Horseman
 */

 define('SELECT_CHANNEL', false);

/*
 * Status messages within the chat will be spoken by this name
 */

define('STATUS_BOT_NAME','Infobot');

/*
 * Minimum length of a nickname
 */

define('MAX_LINE_LENGTH',300);//chars per line

/*
 * Minimum length of a nickname
 */

define('NICKNAME_MAX_LENGTH',16);

/*
 * Minimum length of user passwords
 */

define('PASSWORD_MIN_LENGTH', 5);

/*
 * If it is set to true POC will store the passwords as a md5-checksum in the db
 */

define('MD5_PASSWORDS', false);

/*
 * Maximum of concurrent chatters within one channel
 */

define('MAX_CONCURRENT_CHATTER', 30);//a max. of 100 chatters is recommended

/*
 * Maximum count for registered nicknames per e-mail address
 */

define('MAX_EMAIL_REGISTER_COUNT', 1);

/*
 * If a confirmation of registration by email desired
 * set this true.
 */

define('SEND_CONFIRMATION_MAIL', false);

/*
 * The confirmation mail contains a link for confirming a registration.
 * If this mail ought to contain an other host within the URL,
 * set this property otherwise leave it blank.
 * Nesessary only, if the generated mail contains an wrong host within the link
 * in the mail.
 */

define('CONFIRMATION_HOST','');

/*
 * Set this to false to exclude the most of chatters with freemail-accounts.
 *
 * For Windows users: If this set to true, you can likely set the SMTP directive in the php.ini
 * configuration file to your isp's SMTP mail server - the same as you use for outgoing mail
 * in your email client (Eudora, Outlook, etc.) . However, check with your ISP before doing this!
 * eg
 * SMTP = mail.your_isp.com
 */

define('SEND_MAIL_TO_FREEMAIL_ACCOUNTS',false);

/*
 * Your email address
 * NOTE: This email address MUST exist to send confirmation mails!
 */

define('ADMIN_MAIL_ADDRESS','[email protected]');
define('ADMIN_MAIL_NAME','jou-site Chat-Team');

/*
 * Entered URLs within the chat becomes to links automatically.
 * A forward to such a site will be canceled,
 * if this specified words in the content are found.
 */

define('UNACCEPTABLE_CONTENT','fuck|cunt|bitch');

/*
 * Prohibited nicknames
 */

$NO_NICKS = array('Horseman','me','you','operator','admin','moderator','vip','join','msg','help','quit','ignore','unignore','query','locate','kick','ban','hitler','adolf','nazi', STATUS_BOT_NAME);

/*
 * nicknames which will newer die
 */
                                                                                                                                                                                                                                                                
$DEATHLESS_CHATTERS = array('operator','admin','Horseman');

/*
 * Words which are forbidden in the chat
 */

$NONO_WORDS = array('fuck','shit','Kanker','godverdome','Neuken','anaal','kut','slet','klootzak','hoer','tifus','lul','tering','kankerlijer','neuken','pijpen','beffen','sex','kontneuken','anus','breazahslet','snol','neger','mongool','diebiel','hitler','turkenaaier','kontenaaier','kontebonker','tyfuslijer','tyfusleier','beffer','kanker','kankert','kankerbek','befkameel','bef','kankerjoden','kankerturken'.'snol','tyfus','Snol','FUCK','SHIT','KANKER','GODVERDOME','NEUKEN','ÁNAAL','KUT','SLET','KLOOTZAK','HOER','TIFUS','LUL','KANKERLIJER','NEUKEN','BEFFEN','SEX','KONTNEUKEN','ANUS','BREAZAHSLET','SNOL','DEL','NEGER','MONGOOL','DIEBIEL','TURKENAAIER','KONTENAAIER','KONTEBONKER','TYFUSLIJER','TIEFUSLIJER','TYFUNLEIER','BEFFEN','KANKER','KANKERBEK','BEFKAMEEL','BEF','KANKERJODEN','KANKERTURKEN','SNOL','TYFUS','SNOL');


/*
 * If you want to integrate your PHPOpenChat-Installation
 * into an other PHP-based application with it's own account
 * management, you have to define an entry-channel, which the chatter
 * will join automatically.
 * NOTE: This channel name MUST exist!
 */

define('ENTRY_CHANNEL','default');
define('AUTOLOGIN_DIRECTLY', true);//if is set to false, ENTRY_CHANNEL doesn't matter

/*
 * here you can define a channel which are selected per
 * default within the login form
 */

define('CHANNEL_SELECTED','default');

/*
 * Every chat client polls lines from the server.
 * Setup the sleep time for clients here.
 * NOTE: The more time, the better the load of server! But, you know,
 * your chatters must wait this time for new lines!
 */

define('LINE_POLLING_INTERVAL', 1);//Time in seconds.

/*
 * After a while without activity, a client will be disconnected
 * automatically.
 * Define a maximum of inactive time, after the client will be disconnected.
 */

define('MAX_INACTIVE_ONLINETIME', 700);//Time in seconds

define('MAX_INACTIVE_LIFETIME', 130);//Time in days

/*
 * There are two possibilities for the IRC-command /query
 * first: inviting to the own private channel
 * second: opening a chat request in a separat window
 */

define('IRC_QUERY_OPENS_WINDOW',true);

/*
 * Set this true and all emoticons will be replaced by an image.
 */

define('SMILEYS_AS_IMAGES', true);

/*
 * Max count of images per line
 */

define('MAX_SMILEYS_PER_LINE', 3);

/*
 * Enables a bigger window containing more icons
 */

define('OFFER_MORE_ICONS', true);


/*
 * How many Columns to shown in Smileylist
 */

define('SMILEY_LIST_COLUMNS', 4);

/*
 * Set this true and user are able to upload private
 * images. Users can use this images by enter ':me' or ':you'
 * within the chat.
 */

define('ALLOW_PRIVATE_IMAGES', true);

/*
 * path to common Smileydir
 * once for Scriptaccess and once for Link access
 * Added by Milamber
 */


DEFINE('SMILEY_PATH',POC_BASE.'/images/icons/smileys' );
DEFINE('SMILEY_DOC_PATH',POC_DOC_ROOT.'/images/icons/smileys' );
DEFINE('CHATTER_ICON_PATH',POC_BASE.'/images/icons/chatter' );
DEFINE('CHATTER_ICON_DOC_PATH',POC_DOC_ROOT.'/images/icons/chatter' );
DEFINE('SOUND_PATH',POC_BASE.'/sounds' );
DEFINE('SOUND_DOC_PATH',POC_DOC_ROOT.'/sounds' );

define('SHOW_GENDER_ICON',true);

/*
 * added by Philip Langer
 * Feature: Zeige User Icon
 */

define('SHOW_USER_ICON', true);
/*
 * /added by Philip Langer
 */
/*
 * added by Philip Langer
 * Feature: Redirect to register-page, if login with unregistered nick
 */

 define('REDIRECT_TO_REGISTER_URL', true);
 define('REGISTER_URL', './register.php'); // DEFAULT: './register.php'
 /*
  * /added by Philip Langer
  */

/*
 * added by Simon Tragatschnig
 * 28.04.05
 * Featur: Flstern, private Nachrichten erlauben
 * Funktion geändert von Horseman (Hartmut Götze)
 */

define('ALLOW_WHISPER', true); // Schaltet die Möglichkeit des Flüsterns im Inputframe ab
define('ALLOW_PRIVATE_MESSAGING', true);
/*
 * /added by Simon Tragatschnig
 */

/*
 * Max bytes of private icon
 */

define('PRIVATE_IMG_MAX_BYTES', 25000);

/*
 * Max image height in pixels
 */

define('PRIVATE_IMG_SIZE_X', 40);

/*
 * Max image width in pixels
 */

define('PRIVATE_IMG_SIZE_Y', 40);

/*
 * Accepted mime types for private image
 */

$ACCEPTED_MIME_TYPES = array('image/gif','image/png','image/jpg');//for private images used by chatters by typing ':me' or ':you' within the chat

/*
 * Width and hight for private image in profil
 * addet by horseman
 * X = Max photo width in pixels
 */


 define('PRIVATE_PHOTO_SIZE_X', 150);
define('PRIVATE_PHOTO_SIZE_y', 150);

/*
 * Save mode for private images
 * 1: overwrite mode
 * 2: do nothing if exists, highest protection
 */

define('PRIVATE_IMG_SAVE_MODE', 1);

/*
 * used in profile
 */

define('MIN_BIRTHDAY_YEAR', 1930);

/*
 * Minimum length of a mail body
 */

define('MIN_MAIL_LENGTH', 3);//in characters

/*
 * Maximum length of a note
 */

define('MAX_NOTE_SIZE', 1024);//in bytes

/*
 * Colum count of chatter table on chat home page
 */

define('COL_COUNT_CHATTER_LIST', 4);

/*
 * Show ranking icons
 *
 */

define('SHOW_GRADE_ICONS',true);

/*
 * Multiple line input
 *
 * true: chatters are able to insert more than only one line, this means the chatters can submit line breaks
 * false: chatters can't send line breaks
 */

define('MULTIPLE_LINE_INPUT',false);

/*
 * Limits for the ranking system
 *
 * line count / days since registration = lines per day
 * five logins per week = (5 / 7 = 0.7)
 * over-all online time in hours
 * Grade 'GRADE_ROOKIE' is default
 */

$GRADES = array(
  //50 lines averaged per day (since registration); 0,1 logins per week; over-all online time in hours
  'GRADE_MEMBER' => array('50' , 0.1, 10),
  'GRADE_REGULAR'=> array('100', 0.4, 50),
  'GRADE_ELITE'  => array('200', 0.7, 100),
);


/*
 * Content caching
 *
 * Cached pages:    max. cache life time:
 * - HomePage       2  minutes
 * - Administration 1  week
 * - UserPage       10 minutes
 * - Registration   1  month
 * - RegularsPage   1  day
 * - Help           1  month
 */

define('CACHE_ENGINE', false);
define('DEFAULT_CACHE_LIFE_TIME', 86400);//in seconds (one day = 86400 sec.)

define('HTML_BEFORE_LINE','');
define('HTML_AFTER_LINE','');

/* It's not necessary to setup things below this line */
/*
 * see your system's logfile for log messages! (Linux: /var/log/messages)
 */

define('NO_LOGGING', false);
define('LOG_POC_TRAFFIC', true); // Neu eingebaut von Horseman für den Traffic des Chat
define('LOG_POC_INFOS', true);
define('LOG_POC_LINES', true);
define('LOG_POC_DEBUG', true);
define('LOG_POC_WARNING', true);
define('LOG_POC_ERROR', true);
define('LOG_POC_EMERG', true);

//channel related
define('CB_MAX_LINE', 50); // channel buffer maximum line number.
                          // Depends on db-scheme, if CHANNEL_BUFFER_TYPE = 'DB'!

//addet by Horseman, Message for Privat Channel

define('PRIVAT_MESSAGE', "Du bist in deinem Privaten Raum - damit andere Chatter diesen betreten können musst du diese Einladen!");

define('NL',"\r\n");
define('TAB',"\t");
define('FATAL', E_USER_ERROR);
define('ERROR', E_USER_WARNING);
define('WARNING', E_USER_NOTICE);
define('POC_SESSION_ERROR',1);
define('POC_DB_ERROR',2);

/*
 * Added by Philip Langer
 * Feature: History Logging
 * You can disable logging of a specific event by setting value to -1
 */

define('ENABLE_HISTORY_LOGGIN',                         true);
define('HISTORY_EVENT_LOGIN',                                   0); // default: 0
define('HISTORY_EVENT_LOGOUT',                          1); // default: 1
define('HISTORY_EVENT_MESSAGE',                         2); // default: 2
define('HISTORY_EVENT_CHANNEL_CHANGE',3); // default: 3
define('HISTORY_EVENT_INVITE',                          4); // default: 4
define('HISTORY_EVENT_EXVITE',                          5); // default: 5
define('HISTORY_EVENT_KICK',                                    6); // default: 6
define('HISTORY_EVENT_BAN',                                             7); // default: 7
define('HISTORY_EVENT_IGNORE',                          8); // default: 8
define('HISTORY_EVENT_UNIGNORE',                        9); // default: 9
/*
 * /Added by Philip Langer
 */

//set version information

include_once(POC_BASE.'/Version.php');
?>
Gewijzigd op 01/01/1970 01:00:00 door Danny
 
PHP hulp

PHP hulp

22/11/2024 04:43:31
 
Mark L

Mark L

19/08/2007 19:47:00
Quote Anchor link
Aub niet meer hele scripts posten.

War heeft iedereen het over 'progje eroverheen halen'?

Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
<?php
define('DISABLE_CONTEXT_MENU','true);//Context menu in the output frame shown on right click (It MUST be a string!)
define('
DISABLE_CONTEXT_MENU_ICONS','true);
?>


Kijk daar goed naar.... heel erg goed... staar... staar... wat is er fout?

Hee! bij de eerste staat 'define' als een andere kleur dan de tweede :O

Hee! Betekende rood niet iets dat het geen functie is?

Huh? Maar 'difine' is toch wel een functie?

Hoeveel quotes staan er dan per regel?...

Ik denk dat je er nu ook wel zelf uit komt...

Edit:

Leer debuggen ;-)

Onze grote vrind wes (niet via PM) wil je graag helpen: Klikje();


Edit:

Snap je de errors niet?
Lees dan even de FAQ
Gewijzigd op 01/01/1970 01:00:00 door Mark L
 
PHP erik

PHP erik

19/08/2007 20:13:00
Quote Anchor link
Bij al die laatste defines vergeet je de functie af te sluiten met )
 
Mark L

Mark L

19/08/2007 20:16:00
Quote Anchor link
PHPerik, bedoel je bij regel 642 enzo?

ga dan eens iets naar rechts (irritand dat dat niet gewoon eraanvast zit, maar weer met tabs... goh..)
 
Mebus  Hackintosh

Mebus Hackintosh

19/08/2007 20:21:00
Quote Anchor link
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
define('DISABLE_CONTEXT_MENU','true);//Context menu in the output frame shown on right click (It MUST be a string!)
define('DISABLE_CONTEXT_MENU_ICONS','true);


Er staat een comma teveel? bij alle 2 die regels iig...

Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
define('DISABLE_CONTEXT_MENU',true);//Context menu in the output frame shown on right click (It MUST be a string!)
define('DISABLE_CONTEXT_MENU_ICONS',true);


Zo zouw het goed moeten zijn...
 
Danny

danny

19/08/2007 20:52:00
Quote Anchor link
Geweldig dank jullie wel
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.