-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 90decde
Showing
35 changed files
with
5,108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Options Includes FollowSymLinks +ExecCGI | ||
AddHandler cgi-script .py .pl .cgi | ||
DirectoryIndex pe_pplog.pl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
Licenses: | ||
The original PPLOG version 1.1b was coded by Federico Ram�rez (fedekun) | ||
and is licensed under the GNU Public License v3 (see LICENSE in the /blog folder). | ||
|
||
Thanks to Scott Jarvis (sc0ttman), Chris (Catdude), Grant (Smokey01) and Jamesbond for suggestions and pointing out bugs. See comments in the script. | ||
|
||
The smilies used in this blog are by lmproulx (http://www.picto-rama.blogspot.com/) and have been released into the public domain. | ||
|
||
Changelog: | ||
The full changelog for the pe_pplog can be found in CHANGELOG in the /blog folder. | ||
|
||
Installation: | ||
Move this folder (pe_pplog) to the root of your web server. | ||
Rename HTACESS => .htacces | ||
|
||
-Test:(Start your webserver) and point your browser to http://localhost/pe_pplog, you should see the blog main page with the welcome message | ||
The admin page should be at http://localhost/pe_pplog/pe_admin.pl | ||
|
||
Open the pe_Config.pl file in a text editor. | ||
|
||
In pe_Config.pl | ||
#set your password | ||
|
||
Making the posts and comments folders writeable for the webserver | ||
# What is the username and usergroup for your webserver (traditionally it is "nobody") | ||
# open a terminal | ||
type in "chown -R username:usergroup /the path to /blog" and enter | ||
type in "chmod 750 /the path to /blog" and enter | ||
|
||
-Test again:(Start your webserver) and point your browser to http://localhost/pe_pplog | ||
you should see the blog main page with the welcome message. Write your first post :) | ||
|
||
Change other options in pe_Config.pl according to your liking | ||
If you want to change the name of the subdirectory (eg from pe_pplog to blog) change the path to the css and smilies folders | ||
Styling options can be changed in css (open with text editor) | ||
If you have old posts (from pup_pplog) you want to import into the new pplog you can find a script on the website: http://tine.pagekite.me/blog?viewDetailed=00035 | ||
|
||
Trouble? | ||
Error message: Object not found... Did you put the files in the root of your webserver? | ||
copy and paste the files to the root of the web server. | ||
Did you type the correct path into the browser? | ||
Error message: Permission denied... | ||
You might have to change the permissions for them to be executable for your webserver (chmod a+x /path../to../pe_pplog.pl and pe_admin.pl) | ||
Is your server set up to execute CGI (perl) scripts? (look in the config file of your web server) | ||
Sometimes when running cgi scripts from cgi-bin, they need to be renamed: pe_pplog.pl -> pe_pplog (eg. in the lampp webserver) | ||
Error message: Server not found... Is the webserver running? | ||
|
||
Error message: Software error... Have you given the correct path to the /blog folder as described above? | ||
Have you changed the pe_Config.pl file lately? There might be a syntax error (most of the time a missing ' or ;)! | ||
|
||
Cannot write new posts/comments... Does the webserver have the permission to write into the /posts and /comments folder? | ||
See making the posts and comments folder writeable above |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
pe_pplog v2.1b December 3rd, 2013 | ||
Bugfixes | ||
"posts" was printed instead of the entry number when editing a new entry | ||
Emails stred locally were bening overwritten | ||
Lightboxes not working in Chrome and IE | ||
Changed the way entries were sorted out from posts as the old way could lead to no entries per page for the index | ||
Spelling mistakes | ||
|
||
Tweaks | ||
Some css improvements | ||
Simplifing path specifications | ||
|
||
New | ||
Possible to delete emails when they are saved locally | ||
Comment preview | ||
|
||
pe_pplog v2.1a October 30th, 2013 | ||
Bugfixes | ||
When deletinga post, the comments belonging to the posts now get deleted as well | ||
Minor spelling and punctuation fixes | ||
|
||
Tweaks | ||
Fixing path issues, to make it possible for the blog to be in a subdirectory | ||
Config option for search engine robots behavious | ||
Taken out target=_blank for links | ||
Smilies are now seperate buttons next to textfield | ||
Bbcode help update | ||
added .htacces file for live server environment | ||
|
||
New | ||
took out prettyPhoto | ||
css lightboxes for pictures or text | ||
option to set program for sending mail or having mails stored as private messages | ||
show private messages plugin | ||
make a new Gallery script (for css lightboxes) | ||
script to make notes (to publish later) | ||
|
||
pe_pplog v2b July 23rd, 2013 | ||
Bugfixes | ||
#changes to the login, stats and ban to work with a reverse proxy (using X_HEADER_FORWARD and HTTP_X_FORWARDED_PROTO) | ||
#add a viewport for mobile to make it display in a readable size | ||
#changed "elsif (r('do') eq $config_pluginsBlog[$_] && r('do') ne '')" to "elsif (grep {$_ eq r('do') } @config_pluginsBlog)" | ||
as it was not working with some versions of perl | ||
#Stats in the admin section do only show if enabled | ||
|
||
Some tweaks | ||
#prettyPhoto disabled for small devices | ||
#automatic redirect to https when $config_HTTPSlogin = 1 | ||
#css style mainly determined by main css file (colors, font, backgrounds) | ||
#error messages for login in case cookies can't be set | ||
#If Javascript is disabled pictures in galleries pop up on hover (only if no seperate thumbnails are used) | ||
|
||
From sc0ttman (thanks :)!) | ||
#able to change and modify style sheet in editConfig | ||
|
||
pe_pplog v2a June 21st, 2013 | ||
#Added plugin section to the main blog and admin page | ||
#Plugins: contact page, edit the Config file from within the blog, create a gallery | ||
|
||
#Added a mobile and print style | ||
#css updated degrade nicer if the browser does not support html | ||
#javascript tooltips exchanged for css solution | ||
|
||
#More secure login: possible to choose only to login with https and IP address check | ||
#Stats for the main blog shown in the menu of the admin page | ||
#Back up file in case pe_Config is corrupted and warning message on the admin page | ||
#possible to add scripts to the admin page ($config_customHTMLadmin) | ||
|
||
#added newest version of prettyPhoto and JQuery 1.9.1 | ||
|
||
pe_pplog v1.1b June 13th, 2013 | ||
Bugfixes | ||
25.05.13 Archive bugfix from Jamesbond | ||
13.06.13 Login fix to make it work with Hiawatha | ||
|
||
pe_pplog v1. May 10th, 2013 | ||
|
||
Summary | ||
#Added JQuery prettyPhoto | ||
|
||
#devided the blog in a main blog, admin page, subroutine and config options script | ||
#login for admin page, no need to enter passwords for individual actions as admin | ||
#moved to sub: archive, search, listComments, Bbcode help page, BBcode Buttons html, Javascript and JQuery code | ||
#new front page and show pages page for admin page | ||
#possible to check "is HTML" for a post when creating or editing entry | ||
|
||
#rewrote show archive to get the months in correct order, added JQuery effect and pages | ||
#former dead end pages (eg: "entry has been added") now returns to "view detailed" or index | ||
#made it possile to use more than 1 category for a post | ||
|
||
#changed the BBcode somewhat to allow for use of all the prettyPhoto options added buttons and a help page | ||
#took out WYSIWYG editor (was not working) | ||
|
||
#took out a lot of $config_options added custom html options and cleaned it up a bit | ||
#updated to html5, use of some JQuery effects, corrected spelling mistakes and prettyfied blog and css | ||
|
||
Big changes | ||
#devided the blog in a main blog, admin page, subroutine and config options script | ||
#Login for admin page | ||
#moved to sub: archive, search, listComments, Bbcode help page, BBcode Buttons html, Javascript and JQuery code | ||
#new entry, edit entry, send comment and delete comment returns to view detailed, delete entry returns to index | ||
#Added JQuery prettyPhoto | ||
#rewrote show archive to get the months in correct order, added JQuery effect and pages | ||
|
||
Changes in different categories: | ||
#Create and edit entry pages: | ||
#moved to admin.pl; no passwords (instead login to admin page), took out passord fields | ||
#delete entry and delete comments page have a "go back" option | ||
#"post as html" now a checkbox and trying to make is somewhat harder to break the blog when posting hmtl (a " used to be deadly...) | ||
|
||
Categories: | ||
#redesigned showCategories for public and admin, added optional JQuery slide effect | ||
#made it possible to assign more than one category to a post, use category1'category2, no spaces! | ||
#pages are listed in viewCat | ||
|
||
Comments | ||
#Added name of post in "list comments" | ||
#added sc0ttmans anchor | ||
#Comments in admin: no security codes or questions or password, uses automatically the first Name $Config_commentsForbiddenAuthors | ||
|
||
added in Admin | ||
#Home for admin: consits of show lates comments and add new entry | ||
#a list Pages page | ||
|
||
Bbcode changes: | ||
#changed the BBcode somewhat to allow for use of all the prettyPhoto options and some more text styling options | ||
#changed the way smilies are inserted, now one can change, add smilies simply by changing or adding the png files in the smilies folder | ||
|
||
#made a BBCode help page instead of old show smilies | ||
#changed Bbcode buttons | ||
#Took out WYSIWYG editor | ||
|
||
#taken out $config options are: | ||
$allow Bbcode buttons | ||
$config_useWYSIWYG | ||
$config_allowHMTLOnEntries (is now a checkbox) | ||
$config_textAreaCols and Rows (set to 15 and 50) | ||
$config_searchMinLength hardcoded to 4 | ||
$config:commentsDescending and set newest first as default | ||
$config_onlyNumbersOnCAPTCHA and $config_CAPTCHALenght (set 8 numbers and letters as default ) | ||
$config_showGmtOnFooter | ||
$config_allowReddit (replace by custom html) | ||
$config_allowCustomHTML | ||
$config_menuLinksHeader | ||
|
||
#added $config options are: | ||
$config_blogHeader | ||
$config_blogFooter | ||
$config_tmpFolder | ||
$config_customHTMLtop (in menu) | ||
$config_customHTMLpost | ||
$config_customHTMLhead (for scripts) | ||
|
||
#HTML5 changes: | ||
<div id=header> to <header> | ||
<div=menu> to <nav> | ||
<div id=code> to <code> | ||
used <footer> instead of <center> on all well, footers | ||
|
||
prettyfied: | ||
#all is somewhat redesigned making it (to me) prettier or easier to use | ||
#JQuery used in Menu, showPages, showCategories, archive | ||
#update css style sheet | ||
#Background pictures |
Oops, something went wrong.