SJPPLOG - Scotts jQuery PPLOG

Welcome to SJPPLOG - a custom version of PPLOG, with some added features. SJPPLOG simply means "Scotts jQuery PPLOG".

Download SJPPLOG (221kb)

Installation: see here
NOTE: For SJPPLOG, you must also set $config_wwwFolder.

Here are the added features:

- enable/disable change stylesheet from menu (uses cookies)
- enable/disable jQuery 1.4.1
- enable/disable lightboxes (requires jQuery)
- enable/disable code highlighting (requires jQuery)
- added [box] to bbcode for lightboxes (requires jQuery)
- added more setup options for file directories
- can install anywhere, even separated from main script
- fixed all spelling errors and typos
- updated layout a little bit in some places

I also added the following setup options:

$config_wwwFolder (webserver root)
$config_JSFilesFolder (javascripts folder)
$config_imgFilesFolder (main images folder)
$config_imgThumbsFolder (thumbnail images folder)
$config_enableStyleSelect (enables switch styles from menu)
$config_enableJQuery (enables jQuery)
$config_enableJQueryCodeHighlighting (highlighted code in [code] tags)
$config_enableJQueryLightboxes (lightbox popups in [box] tags)

All added features can be turned off, and only the required javascript files are loaded - depending on your settings - so there is no extra overhead if not using the added features.

With the added folders and folder config options, it is now also possible to install your main script in your cgi-bin, and all others files elsewhere.

If jQuery is not enabled, all features that depend on jQuery will be disabled as well. This should mean that I have a nice PPLOG, but with totally optional, extra features.

sc0ttman

Posted on 4 Mar 2011, 24:21 - Category: SJPPLOG
Edit - Delete


Comments:

Posted on 4 Mar 2011, 23:37 by fedekun
Nice
Nicely done :)
I added your work to PPLOG repository, as infogami is now dead I cannot change that page :(

http://code.google.com/p/pplog/

Keep up the good work!

Delete

Posted on 4 Mar 2011, 23:52 by sc0ttman
Glad you like it!
I'm happy you like it!

If you do happen to use it or check my changes, please let me know of any problems or errors, especially regarding setting paths with the $config options!

I have no previous PERL experience, and I hate javascript! So I used JSLint on most of the stuff I did :)
Delete

Posted on 7 Mar 2011, 8:24 by fedekun
I will
I didn't check the code yet, If I use it i'll see the diff file :P

Javascript is super wide, so you can do a lot of crazy things, the only important thing is it should work on all browsers.

I'll let you know if I review it :) Keep up the good work!
Delete

Posted on 7 Mar 2011, 11:16 by sc0ttman
working on all browsers
Yeah, I chose only jQuery plugins with good browser support, FF2+, IE6+, Opera9+, Webkit, etc... I should mention that in the main post, I guess.

Anyway, thanks for the kind words and I'll appreciate any feedback or suggestions, if you have time, and are interested enough!

Cheers
Delete

Posted on 7 Mar 2011, 11:33 by sc0ttman
checking the script
Just a quick note if anyone decides to check the scipt for changes made - all changes made by me are marked with:

# sc0ttman

This will be either at the end of a line which was changed.

I also used:

# sc0ttman

(my code here)
# sc0ttman

So, where multiple lines were changed, the changes are surrounded by 'sc0ttman'.
Delete

Posted on 13 May 2012, 2:35 by lrxianed
try to chinese
你好,这是中文。
Delete

Posted on 13 May 2012, 9:18 by Les Iz Mor
Greek translation
Hello! I 've translated the whole PPLOG (the original one) into Greek (navigation, messages, timezone, informations, everything). I 'm sending you a zip in case you want to use it and do your customization multilanguage.
Delete

Posted on 13 May 2012, 9:20 by Les Iz Mor
Greek translation
Hello! I 've translated the whole PPLOG (the original one) into Greek (navigation, messages, timezone, informations, everything). I 'm sending you a zip in case you want to use it and do your customization multilanguage.

http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=55457
Delete

Posted on 5 Mar 2013, 15:17 by Christina
path settings
Hello,
I have a problem with setting paths for js, images and thumbs. I tried to have it in the same folder as my posts and comments, which I can see on my blog, but no pictures...
the path would be /opt/lampp/blog
and the path where the index.pl is is: /opt/lampp/htdocs
I'm using SJpplog version 1.3 (from the puppy forum)
I really would like to update my blog, because I very much like the new features!

Thank you for your work!
Delete

Posted on 30 Jul 2013, 21:26 by ωξρβξ
μδξψυ
σδφσδω' δξσεε.
Delete

Posted on 1 Apr 2014, 9:46 by efiabruni
test
xss!!
Delete

Posted on 1 Apr 2014, 9:47 by efiabruni
test two
xss!

I forgot a bracket there the first time
Delete



Add Comment

Title
Author
 
Content
Show Smilies
Security Code 9210763
Capital city of England?
Password (to protect your identity)