Program description
SlashPDA add pda functionality (smaller webpages) to you slashcode installation.
Status
Current stable version is 1.1. Works with slashcode 1.0.9. It should also with Bender (2.0). Send a mail to
To Do
- Posting comments
- Write stories
Download
Get the stable package from here: {phocadownload view=file|id=2}.
Installation
- Change directory to the DOCUMENT_ROOT of your slashcode implementation.
- mkdir pda
- Copy the package to the new pda directory.
- cd pda
- tar -zxvf slashpda-1.1.tar.gz
- Check every .pl file "use lib '/home/slash';" and "my $AVG = new AvantGo("/home/slash/avantgo.user");" is right.
- mv avantgo.user /home/slash/avantgo.user
- chmod 666 /home/slash/avantgo.user
- Replace title.jpg with your logo :-)
- Change the email-address in feedback.pl line 47.
Configuration
File | Line | Description |
---|---|---|
ALL | my $AVG = new AvantGo("/home/slash/avantgo.user"); | Change the path if needed. Fields separated by tabulator. 1 = AvantGo username (- = default) 2 = Amount of stories. 3 = Type of comments (none, best, all) 4 = Enable poll (0/1) 5 = Enable Hall of fame (0/1) 6 = Slash-Userid |
comment.pl | my $COMMENT_MAX_THREADLINES = 10; | Use threading comment index beyond this limit. |
feedback.pl | my $FEEDBACK_EMAIL = " |
Send feedbacks to this email address. |
my $FEEDBACK_SUBJECT = "PDA-Feedback"; | Use this subject for the feedback email. | |
my $FEEDBACK_SENDMAIL = "/usr/sbin/sendmail"; | Configuration for senmail. | |
my $FEEDBACK_EOL = "\n"; | Usage for end of line. | |
hof.pl | my $HOF_LIMIT = 10; | Limitation for hall of fame |