-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.html
More file actions
1969 lines (1291 loc) · 39.8 KB
/
dev.html
File metadata and controls
1969 lines (1291 loc) · 39.8 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
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
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>PunBB Docs: Developer Information</title>
<meta http-equiv="Content-Type" content=
"text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="style/docs.css" />
</head>
<body>
<ul id="navigation">
<li><a href="index.html">Index</a></li>
<li><a href="about.html">About</a></li>
<li><a href="install.html">Install</a></li>
<li><a href="faq.html">FAQ</a></li>
<li><a href="dev.html">Developer info</a></li>
</ul>
<h1>Developer Information</h1>
<p>Information for developers to enhance your existing PunBB
installation.</p>
<hr />
<h2>Table of Contents</h2>
<ul>
<li><a href="#syndication">Syndication</a></li>
<li><a href="#integration">Website Integration</a></li>
<li><a href="#plugins">Plugins</a></li>
<li><a href="#dbtables">Database Tables Reference</a></li>
</ul>
<hr />
<h2>Syndication<a name="syndication" id="syndication"></a></h2>
<p>This script extern.php is used to include information about
your board from pages outside the forums and to syndicate news
about recent discussions via RSS. The script can display a list
of recent discussions (sorted by post time or last post time), a
list of active users or a collection of general board statistics.
The script can be called directly via an URL (for RSS), from a
PHP include command or through the use of Server Side Includes
(SSI).</p>
<p>The scripts behaviour is controlled via variables supplied in
the URL to the script. The different variables are: action (what
to output), show (how many topics to display), forum (the ID of
the forum to poll for topics) and type (output as HTML or RSS).
The only mandatory variable is action.</p>
<p>Possible/default values are:</p>
<ul>
<li><strong>action:</strong> active (show most recently active
topics) (HTML or RSS)<br />
new (show newest topics) (HTML or RSS)<br />
online (show users online) (HTML)<br />
online_full (as above, but includes a full list) (HTML)<br />
stats (show board statistics) (HTML)</li>
<li><strong>show:</strong> Any integer value between 1 and 50.
This variables is ignored for RSS output. The default is
15.</li>
<li><strong>fid:</strong> One or more forum IDs
(comma-separated). If ignored, topics from all guest-readable
forums will be polled.</li>
<li><strong>type:</strong> RSS. Anything else means HTML
output.</li>
</ul>
<p>Here are some examples using PHP include().</p>
<ul>
<li>Show the 15 most recently active topics from all
forums:<br />
include('http://host.com/forums/extern.php?action=active');</li>
<li>Show the 10 newest topics from forums with ID 5, 6 and
7:<br />
include('http://host.com/forums/extern.php?action=new&show=10&fid=5,6,7');</li>
<li>Show users online:<br />
include('http://host.com/forums/extern.php?action=online');</li>
<li>Show users online with full listing of users:<br />
include('http://host.com/forums/extern.php?action=online_full');</li>
<li>Show board statistics:<br />
include('http://host.com/forums/extern.php?action=stats');</li>
</ul>
<p>Here are some examples using SSI.</p>
<ul>
<li>Show the 5 newest topics from forums with ID 11 and
22:<br />
<!--#include
virtual="forums/extern.php?action=new&show=5&fid=11,22"
--></li>
<li>Show board statistics:<br />
<!--#include virtual="forums/extern.php?action=stats"
--></li>
</ul>
<p>And finally some examples using extern.php to output an RSS
0.91 feed.</p>
<ul>
<li>Output the 15 most recently active topics:<br />
http://host.com/extern.php?action=active&type=RSS</li>
<li>Output the 15 newest topics from forum with ID=2:<br />
http://host.com/extern.php?action=active&type=RSS&fid=2</li>
</ul>
<hr />
<h2>Website Integration<a name="integration"
id="integration"></a></h2>
<p>Integrating PunBB into your website code is easy if you know
a little PHP. By including PunBB's script common.php, you gain
access to all PunBB global variables such as $db and $pun_user.
However, in order to include this file, you need to define a
constant called PUN_ROOT. This constant should be set to the
relative path to your PunBB forum directory. For example, if
your website front page is located in /home/user/public_html/
and your forums are located in /home/user/public_html/forums/,
your PUN_ROOT should be './forums/'. The PHP code to accomplish
this could look something like this:</p>
<pre>define('PUN_ROOT', './forums/');
require PUN_ROOT.'include/common.php';</pre>
<p>Once you've included common.php, you can access and utilize
all of PunBB's global variables and functions. Typically, you
will be most interested in the $pun_user array. This array holds
information about the current user. Another interesting variable
is the database object $db. How to use these variables in your
own script is out of the scope of this document, but here's a
small example showing you how to print a simple message greeting
the current user on your website front page:</p>
<pre>Hello <?php echo pun_htmlspecialchars($pun_user['username']); ?>!</pre>
<p>In addition to defining PUN_ROOT, you can define a number of
other constants to alter the behaviour of PunBB when including
common.php. The two most interesting of these constants are
PUN_TURN_OFF_MAINT and PUN_QUIET_VISIT. If PUN_TURN_OFF_MAINT is
defined when including common.php, PunBB will not exit and
display the maintenance message if the forums are placed into
maintenance mode. You generally don't want this message to appear
on your website front page, so defining that constant is a good
idea. The other constant, PUN_QUIET_VISIT, prevents PunBB from
updating the current user's last visit data in the database so
that a visit to the front page doesn't count as a visit in the
forums. This is also desirable behaviour in most cases. It
doesn't matter what value you set these constants to, but setting
them to a value of 1 is probably a good idea. Example:</p>
<pre>define('PUN_TURN_OFF_MAINT', 1);
define('PUN_QUIET_VISIT', 1);</pre>
<p>Please note that these constants must be defined before
common.php is included.</p>
<hr />
<h2>Admin Plugins<a name="plugins" id="plugins"></a></h2>
<p>Admin plugins are modules for the PunBB admin interface that
can be installed by simply dropping the plugin script in the
plugins/ directory. See the example plugin for information on how
to write your own plugin. Here are a few notes of interest for
aspiring plugin authors:</p>
<ul>
<li>If you want to display a message via the message()
function, you must do so before calling
generate_admin_menu($plugin).</li>
<li>Plugins are loaded by admin_loader.php and must not be
terminated (e.g. by calling exit()). After the plugin script
has finished, the loader script displays the footer, so don't
worry about that. Please note that terminating a plugin by
calling message() or redirect() is fine though.</li>
<li>The action attribute of any and all <form> tags and
the target URL for the redirect() function must be set to the
value of $_SERVER['REQUEST_URI']. This URL can however be
extended to include extra variables (like the addition of
&foo=bar in the example plugin).</li>
<li>If your plugin is for administrators only, the filename
must have the prefix "AP_". If it is for both administrators
and moderators, use the prefix "AMP_". The example plugin has
the prefix "AMP_" and is therefore available for both admins
and moderators in the navigation menu.</li>
<li>Use _ instead of spaces in the file name.</li>
<li>Since plugin scripts are included from the PunBB script
admin_loader.php, you have access to all PunBB functions and
global variables (e.g. $db, $pun_config, $pun_user etc).</li>
<li>Do your best to keep the look and feel of your plugins'
user interface similar to the rest of the admin scripts. Feel
free to borrow markup and code from the admin scripts to use in
your plugins.</li>
<li>Plugins must be released under the GNU General Public
License or a GPL compatible license. Copy the GPL preamble at
the top of this file into your plugin script and alter the
copyright notice to refrect the author of the plugin (i.e.
you).</li>
</ul>
<hr />
<h2>Database Tables Reference<a name="dbtables" id=
"dbtables"></a></h2>
<p>The following is a complete list of all PunBB database tables
and their respective fields. Primary key fields are
underlined.</p>
<h3>bans<a id="bans" name="bans"></a></h3>
<table summary="Banned users">
<thead>
<tr>
<th class="tc1">Field</th>
<th class="tc2">Type</th>
<th class="tc3">Default</th>
<th class="tc4">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="primary">id</td>
<td>int</td>
<td> </td>
<td>The auto-incrementing (identity) primary key identifier
for this table.</td>
</tr>
<tr>
<td>username</td>
<td>varchar(200)</td>
<td><em>NULL</em></td>
<td>The username this ban applies to.</td>
</tr>
<tr>
<td>ip</td>
<td>varchar(255)</td>
<td><em>NULL</em></td>
<td>The IP address(es) or partial IP address(es) this ban
applies to.</td>
</tr>
<tr>
<td>email</td>
<td>varchar(50)</td>
<td><em>NULL</em></td>
<td>The e-mail address or e-mail address domain name this
ban applies to.</td>
</tr>
<tr>
<td>message</td>
<td>varchar(255)</td>
<td><em>NULL</em></td>
<td>A message that is displayed for the banned user.</td>
</tr>
<tr>
<td>expire</td>
<td>int</td>
<td><em>NULL</em></td>
<td>A UNIX timestamp representing the day when the ban
expires.</td>
</tr>
</tbody>
</table>
<h3>categories<a id="categories" name="categories"></a></h3>
<table summary="Categories that envelop forums">
<thead>
<tr>
<th class="tc1">Field</th>
<th class="tc2">Type</th>
<th class="tc3">Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="primary">id</td>
<td>int</td>
<td> </td>
<td>The auto-incrementing (identity) primary key identifier
for this table.</td>
</tr>
<tr>
<td>cat_name</td>
<td>varchar(80)</td>
<td>'New Category'</td>
<td>The name of the category.</td>
</tr>
<tr>
<td>disp_position</td>
<td>int</td>
<td>0</td>
<td>The vertical display position of the category (relative
to other categories).</td>
</tr>
</tbody>
</table>
<h3>censoring<a id="censoring" name="censoring"></a></h3>
<table summary="Words to censor in posts">
<thead>
<tr>
<th class="tc1">Field</th>
<th class="tc2">Type</th>
<th class="tc3">Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="primary">id</td>
<td>int</td>
<td> </td>
<td>The auto-incrementing (identity) primary key identifier
for this table.</td>
</tr>
<tr>
<td>search_for</td>
<td>varchar(60)</td>
<td> </td>
<td>The term to search for.</td>
</tr>
<tr>
<td>replace_with</td>
<td>varchar(60)</td>
<td> </td>
<td>The term to replace <em>search_for</em> with.</td>
</tr>
</tbody>
</table>
<h3>config<a id="config" name="config"></a></h3>
<table summary="Configuration settings">
<thead>
<tr>
<th class="tc1">Field</th>
<th class="tc2">Type</th>
<th class="tc3">Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="primary">conf_name</td>
<td>varchar(255)</td>
<td> </td>
<td>The name of a configuration variable. General
configuration options start with the prefix o_ and general
permission options start with p_.</td>
</tr>
<tr>
<td>conf_value</td>
<td>text</td>
<td><em>NULL</em></td>
<td>The value of the configuration variable
<em>conf_name</em>.</td>
</tr>
</tbody>
</table>
<h3>forum_perms<a id="forum_perms" name="forum_perms"></a></h3>
<table summary="Group forum permissions">
<thead>
<tr>
<th class="tc1">Field</th>
<th class="tc2">Type</th>
<th class="tc3">Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="primary">group_id</td>
<td>int</td>
<td> </td>
<td>The user group for which these permissions apply.
Primary key identifier together with forum_id for this
table.</td>
</tr>
<tr>
<td class="primary">forum_id</td>
<td>int</td>
<td> </td>
<td>The forum in which these permissions apply. Primary key
identifier together with group_id for this table.</td>
</tr>
<tr>
<td>read_forum</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>post_replies</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>post_topics</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
</tbody>
</table>
<h3>forums<a id="forums" name="forums"></a></h3>
<table summary="Forums">
<thead>
<tr>
<th class="tc1">Field</th>
<th class="tc2">Type</th>
<th class="tc3">Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="primary">id</td>
<td>int</td>
<td> </td>
<td>The auto-incrementing (identity) primary key identifier
for this table.</td>
</tr>
<tr>
<td>forum_name</td>
<td>varchar(80)</td>
<td>'New forum'</td>
<td>The name of the forum.</td>
</tr>
<tr>
<td>forum_desc</td>
<td>text</td>
<td><em>NULL</em></td>
<td>A description of the forum.</td>
</tr>
<tr>
<td>redirect_url</td>
<td>varchar(100)</td>
<td><em>NULL</em></td>
<td>The URL to redirect users to upon clicking the forum
link on the index page.</td>
</tr>
<tr>
<td>moderators</td>
<td>text</td>
<td><em>NULL</em></td>
<td>A serialized PHP array of moderators.</td>
</tr>
<tr>
<td>num_topics</td>
<td>mediumint/int</td>
<td>0</td>
<td>The number of topics the forum contains.</td>
</tr>
<tr>
<td>num_posts</td>
<td>mediumint/int</td>
<td>0</td>
<td>The number of posts the forum contains.</td>
</tr>
<tr>
<td>last_post</td>
<td>int</td>
<td><em>NULL</em></td>
<td>A UNIX timestamp representing the date/time the last
post was made in the forum.</td>
</tr>
<tr>
<td>last_post_id</td>
<td>int</td>
<td><em>NULL</em></td>
<td>The ID of the last post that was made in the
forum.</td>
</tr>
<tr>
<td>last_poster</td>
<td>varchar(200)</td>
<td><em>NULL</em></td>
<td>The username (or guest name) of the user that made the
last post in the forum.</td>
</tr>
<tr>
<td>sort_by</td>
<td>tinyint/smallint</td>
<td>0</td>
<td>0 = Display topics sorted by last post. 1 = Display topics sorted by topic start.</td>
</tr>
<tr>
<td>disp_position</td>
<td>int</td>
<td>0</td>
<td>The vertical display position of the forum (relative to
other forums in the same category).</td>
</tr>
<tr>
<td>cat_id</td>
<td>int</td>
<td>0</td>
<td>The category in which the forum resides.</td>
</tr>
</tbody>
</table>
<h3>groups<a id="groups" name="groups"></a></h3>
<table summary="User groups">
<thead>
<tr>
<th class="tc1">Field</th>
<th class="tc2">Type</th>
<th class="tc3">Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="primary">g_id</td>
<td>int</td>
<td> </td>
<td>The auto-incrementing (identity) primary key identifier
for this table.</td>
</tr>
<tr>
<td>g_title</td>
<td>varchar(50)</td>
<td> </td>
<td>The name of the group.</td>
</tr>
<tr>
<td>g_user_title</td>
<td>varchar(50)</td>
<td><em>NULL</em></td>
<td>The title of users in this group.</td>
</tr>
<tr>
<td>g_read_board</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>g_post_replies</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>g_post_topics</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>g_post_polls</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>g_edit_posts</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>g_delete_posts</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>g_delete_topics</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>g_set_title</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>g_search</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>g_search_users</td>
<td>tinyint/smallint</td>
<td>1</td>
<td>0 = Deny. 1 = Allow.</td>
</tr>
<tr>
<td>g_edit_subjects_<br />
interval</td>
<td>smallint</td>
<td>300</td>
<td>Number of seconds after post time that users in this
group may edit the subject of topics they've posted.</td>
</tr>
<tr>
<td>g_post_flood</td>
<td>smallint</td>
<td>30</td>
<td>Number of seconds that users in this group have to wait
between posts.</td>
</tr>
<tr>
<td>g_search_flood</td>
<td>smallint</td>
<td>30</td>
<td>Number of seconds that users in this group have to wait
between searches.</td>
</tr>
</tbody>
</table>
<h3>online<a id="online" name="online"></a></h3>
<table summary="Users currently online">
<thead>
<tr>
<th class="tc1">Field</th>
<th class="tc2">Type</th>
<th class="tc3">Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>user_id</td>
<td>int</td>
<td>1</td>
<td>ID of the user (always 1 for guests).</td>
</tr>
<tr>
<td>ident</td>
<td>varchar(200)</td>
<td> </td>
<td>Identification string for the user. Username for logged
in users and IP address for guests.</td>
</tr>
<tr>
<td>logged</td>
<td>int</td>
<td>0</td>
<td>A UNIX timestamp representing the date/time for the
user's last activity.</td>
</tr>
<tr>
<td>idle</td>
<td>tinyint/smallint</td>
<td>0</td>
<td>0 = User has been active within the last "Online
timeout" seconds. 1 = User has timed out.</td>
</tr>
</tbody>
</table>
<h3>posts<a id="posts" name="posts"></a></h3>
<table summary="Posts">
<thead>
<tr>
<th class="tc1">Field</th>
<th class="tc2">Type</th>
<th class="tc3">Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="primary">id</td>
<td>int</td>
<td> </td>
<td>The auto-incrementing (identity) primary key identifier
for this table.</td>
</tr>
<tr>
<td>poster</td>
<td>varchar(200)</td>
<td> </td>
<td>The username (or guest name) of the user that made the
post.</td>
</tr>
<tr>
<td>poster_id</td>
<td>int</td>
<td>1</td>
<td>The user ID of the user that made the post (always 1
for guests).</td>
</tr>
<tr>
<td>poster_ip</td>
<td>varchar(15)</td>
<td><em>NULL</em></td>
<td>The IP address the post was made from.</td>
</tr>
<tr>
<td>poster_email</td>
<td>varchar(50)</td>
<td><em>NULL</em></td>
<td>The guest e-mail address (if supplied).</td>
</tr>
<tr>
<td>message</td>
<td>text</td>