Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 01:17:01 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155554 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: 1 2 [3]   Go Down
Print
Author Topic: New Post-Its module  (Read 26501 times)
cwsoft

Offline Offline

Posts: 81


« Reply #50 on: February 11, 2012, 01:43:37 PM »

Hello,

this post is to inform you about my trial to revive the support of the PostIts module.

I pushed an initial release to GitHub with the version 1.0.0 (branched from version 0.6.2 posted by user marmot in German forum). The latest version of Postits can be found at it's new home at GitHub:
https://github.com/cwsoft/wb-postits

Next planned steps are to re-structure the help using GitHubs markdown syntax, so users get an idea what the module is about BEFORE installing it on their system. Next steps may require to update the module to work with WB 2.8.3 (once released). So far the module works fine with WB 2.8.2. (SP2+Hotfix).

Feel free to contribute to PostIts development using GitHubs fork and pull mechanisms.

Cheers
cwsoft
Logged
cwsoft

Offline Offline

Posts: 81


« Reply #51 on: February 12, 2012, 05:17:15 PM »

Hello,

just released Postits v1.1.0 on GitHub.

The new version requires WebsiteBaker 2.8.2.

The required template modifications were reduced to a minium, re-structuring of the code etc. Details about the applied changes can be reviewed at GitHub. If you are new to GitHub, please read the README.md file, which explains the required steps.

Cheers cwsoft
« Last Edit: February 29, 2012, 11:07:40 PM by cwsoft » Logged
cwsoft

Offline Offline

Posts: 81


« Reply #52 on: March 11, 2012, 07:00:09 PM »

Hello,

just released Postits v1.2.0 STABLE at GitHub.

The Postits module allows you to send short messages to other users. The messages appear with a jQuery fade in effect once a user is logged in, no matter on which page he is. The message is shown in form of a sticky note (Postit in German).

Minimum requirements:
 - WebsiteBaker 2.8.2 (recommended last stable 2.8.x version)
 - PHP 5.2.2 (recommended last stable 5.3.x version)
 - jQuery shipped with WebsiteBaker (/inlcude/jquery)
 - small modification to your template (see README for details)
 - JavaScript enabled in your browser

Updates since Postits v1.1.0
 1. refined jQuery file inclusion
 2. added option to send Postits from the frontend
 3. status of submitted Postits now also visible from the backend (before frontend only)
 4. reworked the look & feel of the Postits output in the frontend and backend (view README below)
 5. some code clean-up

Infos & Download
 - learn more from README
 - download latest installation package
 - browse Postits repository
 - view or post knwon issues

Cheers
« Last Edit: March 12, 2012, 08:02:04 PM by cwsoft » Logged
cwsoft

Offline Offline

Posts: 81


« Reply #53 on: March 21, 2012, 11:43:55 PM »

Hello,

just released Postits v1.2.1 STABLE at GitHub.

Updates since Postits v1.2.0
 1. only logged in users with Postits module permissions can send Postits from the frontend
     (before all logged in users where able to send Postits from the frontend)
 2. refined Postits Ajax handler

Infos & Download
 - learn more from README
 - download latest installation package
 - browse Postits repository
 - view or post knwon issues

Cheers
Logged
CaptainRob

Offline Offline

Posts: 28



« Reply #54 on: March 30, 2012, 12:51:31 PM »

Hello,

I have the Postits module installed. But no matter how I change the time-zone in my preferences, postits gives just the GMT time.
How can I change the time-zone for postits?

Actually I noticed the same problem in the news module and the dirlist module.

I managed to change the time in the news module with the help of thread:
http://www.websitebaker2.org/forum/index.php/topic,21976.0.html

But how is it done in the other modules?

Thanks,
Rob
« Last Edit: March 31, 2012, 02:06:30 AM by CaptainRob » Logged
cwsoft

Offline Offline

Posts: 81


« Reply #55 on: March 30, 2012, 08:05:31 PM »

Hi,

normally I just scan the threads of the modules I support for issues or requests and quickly scan recent forum posts for interesting keywords in their subject, so I nearly missed this thread.

If you have issues with the modules Postits, Anynews or Addon File Editor, please check out the bottom of the README files at GitHub, for the link to WebsiteBaker  support threads. For Postits, see https://github.com/cwsoft/wb-postits#readme.

Postits uses the PHP time() function, which uses the GMT time of your server. This timestamp is stored in the database in store_postits.php. It's converted into the date format defined in the Postits language file, without further offsets and outputed via get_postits.php. You can change the last file to include the user defined time offset so the sticky notes are displayed correctly. As time handling is realized quite different and inconsistent between different modules and WB versions, I sticked to this convention.

Maybe I will change this in a future Postits version to use UTC for storing and the user defined timezone ( e.g. America/Toronto) to convert and display it to the right time for the given timezone. This would also solve  the odd daylight saving time issue in WebsiteBaker. Maybe for Websitebaker 2.9/3.0 or so.

Some general aspects on  PHP and time can be found here: http://phpadvent.org/2011/dates-and-times-by-evert-pot

cheers cwsoft

P.S. maybe an Admin can move this thread to the English Postits thread.
« Last Edit: March 31, 2012, 05:58:35 AM by cwsoft » Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #56 on: March 30, 2012, 09:52:27 PM »

Done ...

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

CaptainRob

Offline Offline

Posts: 28



« Reply #57 on: April 02, 2012, 08:42:26 AM »

Ah, that did the trick.

Only changed in file: code/store_postits.php
Line:
$posted_when = addslashes(time());
in:
$posted_when = addslashes(time()+TIMEZONE);

Thanks very much for helping.
Rob
Logged
cwsoft

Offline Offline

Posts: 81


« Reply #58 on: April 02, 2012, 08:56:21 AM »

Hi Rob,

glad you made it working for you.

I personally would prefer to add the TIMEZONE to the code outputting the value (get_postits.php).

Cheers
« Last Edit: April 02, 2012, 09:52:53 AM by cwsoft » Logged
cwsoft

Offline Offline

Posts: 81


« Reply #59 on: April 10, 2012, 10:51:07 PM »

Hello,

just released Postits v1.3.0 STABLE at GitHub.

Updates since Postits v1.2.1
 1. Postits time now considers TIMEZONE user settings (Preferences) --> thanks to CaptainRob
 2. date/time outputs now formated according user settings (removed format strings in language files)
 3. added jQuery function to display remaining characters for the sticky notes message

Infos & Download
 - learn more: README
 - download latest installation package
 - view or post knwon issues

Cheers
Logged
cwsoft

Offline Offline

Posts: 81


« Reply #60 on: May 05, 2012, 12:14:43 PM »

Hello,

just released Postits v1.4.0 STABLE at GitHub.

With this release, I replaced the outdated phplib template parser with the flexible, fast, maintained and well documented template parser Twig. Twig is shipped with Postits (thirdparty folder) for convenience.

Updates since Postits v1.3.0
 1. replaced outdated phplib template parser with Twig
 2. removed duplicated code

Infos & Download
 - learn more: README
 - download latest installation package
 - view or post knwon issues

Cheers
« Last Edit: May 05, 2012, 10:10:57 PM by cwsoft » Logged
cwsoft

Offline Offline

Posts: 81


« Reply #61 on: May 08, 2012, 04:52:29 PM »

Hello,

just released Postits v1.5.0 STABLE at GitHub.

Updates since Postits v1.4.0
 1. added compatibility fix for the upcoming WB 2.8.3 hotfix (thanks to ruebenwurzel for the notice)
    (Background: with WB 2.8.3 SVN #1688, Twig is part of the WB core and will be registered by default)
 2. this release ensures that Postits works on WB 2.8.2 and all 2.8.3 versions as usual

Infos & Download
 - learn more: README
 - download latest installation package
 - view or post knwon issues

Cheers
« Last Edit: May 08, 2012, 06:32:11 PM by cwsoft » Logged
Pages: 1 2 [3]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!