Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 12:56:06 PM

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.
149636 Posts in 21099 Topics by 7563 Members
Latest Member: bal410kano
* Home Help Search Login Register
Pages: [1] 2 3   Go Down
Print
Author Topic: New Post-Its module  (Read 25089 times)
doc
Guest
« on: November 04, 2006, 06:47:49 PM »

Folks,

I´ve just uploaded a new module, which allows registered WB users to send virtual post-its to other WB users. The module results from my first steps with the Xajax framework.
So far postits can be send out via the admin interface and will automatically pop up at the screen of the recipient when logged into WB no matter which page he is on (frontend). You need to add 4 lines of additional code into the index.php file of your template to enable the auto refresh function. A short installation guide is contained in the attached zip file. The modul supports FF1.0+, IE5.5+, NS7+, Opera8.5+.

Feedback welcome.
Regards Christian

Removed zip file. Module now released in the addons repository; please download from there.
http://addons.websitebaker.org/pages/modules.php
« Last Edit: December 10, 2006, 08:31:27 PM by doc » Logged
doc
Guest
« Reply #1 on: November 04, 2006, 11:10:00 PM »

Added feature to drag (move) the postits with the mouse. The Javascript routine used is licencsed under GNU, very flexible (handles also images including resize) and cross browser ready.

Regards Christian

Removed zip file. Module now released in the addons repository; please download from there.
http://addons.websitebaker.org/pages/modules.php
« Last Edit: December 10, 2006, 08:31:44 PM by doc » Logged
doc
Guest
« Reply #2 on: November 05, 2006, 05:32:58 PM »

Removed bug with IE5.5 and URIs containing redirect directive (e.g. failed login), which caused PHP to output some ugly error messages. Module now validates against XHTML 1.0 transitional. Added option to define background color of the Postits DIVs in config.php. Restricted input to 130 characters to prevent too long DIVs. Some code cleanup.

Regards Christian

Removed zip file. Module now released in the addons repository; please download from there.
http://addons.websitebaker.org/pages/modules.php
« Last Edit: December 10, 2006, 08:32:02 PM by doc » Logged
doc
Guest
« Reply #3 on: November 08, 2006, 07:41:39 PM »

Found the time to create a PDF file explaining installation and purpose of the Post-Its module. So view the PDF first and decide, whether the module makes sense for you or not.

Regards Christian

P.S.: Feedback still welcome  grin

Installation guide now attached to the module zip file
« Last Edit: November 22, 2006, 06:28:35 PM by doc » Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6820


WWW
« Reply #4 on: November 08, 2006, 08:36:03 PM »

Is a cool idea, this module ... just the username presented on the post-it (last one available in this list of posts) is yours.

In the file "modify(.)php" of Version 1.2 you have still the sender as a fixed string. And you should change the WB Header, where it says theat it is the "calendar module" ... wink

Let me see, if I can do something about the first ...

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

kweitzel
Forum administrator
*****
Offline Offline

Posts: 6820


WWW
« Reply #5 on: November 08, 2006, 09:08:40 PM »

OK ... here it is, V 0.1.3

Quote
Changelog:

  v0.1.3  (kw; 08.11.2006)
    + fixed sendername, now showing display name of user sending the post-it

cheers

Klaus

Removed old zip file, so use latest one
« Last Edit: December 02, 2006, 11:31:15 PM by kweitzel » Logged

WebsiteBaker Org e.V. - for WebsiteBaker

doc
Guest
« Reply #6 on: November 09, 2006, 06:32:42 AM »

Klaus,

thanks for the bugfix; seems I had uploaded my developer version  smiley
Added some new feature and released a new version.

Quote
Changelog v0.1.4:
  • message shown when Post-Its page is viewable now depends on language set
    Supported languages: English and German.
  • Removed some obsolete code lines in install.php
  • changed some comments
  • Added the installation guide in PDF format to the zipped module package
  • Removed download links of previous versions v0.1.0 to v0.1.2


Removed zip file, as a newer version is available
« Last Edit: November 26, 2006, 08:16:08 PM by doc » Logged
tomhung

Offline Offline

Posts: 353


« Reply #7 on: November 22, 2006, 12:59:33 AM »

Doc,
thanks for the post it. Can we get a english translation?

My german is seriously rusty.

Greg
« Last Edit: November 22, 2006, 01:29:55 AM by tomhung » Logged
doc
Guest
« Reply #8 on: November 22, 2006, 06:15:59 PM »

Hi Greg,

all text outputs are specified in config.php and can be changed to whatever language you want. A simple 1-to-1 translation of my German text into English is attached to that post.
Download the file, rename it to config.php and replace the old config.php by the new one.

If you are a natural English speaker, you are welcome to correct/update my text and post it here. I will add the language support in one of the next releases.

Regards Christian

P.S.: I wanted some feed back first before adding features to a module which makes no sense to the Community  smiley

File removed, as language support is now integrated to the module itself, so please upgrade to latest version.
« Last Edit: December 02, 2006, 11:53:45 PM by doc » Logged
doc
Guest
« Reply #9 on: November 25, 2006, 11:16:32 AM »

Hi,

added some new features to the "Virtual Postits" module.

Quote
Changelog v0.2.0
 - Integrated external language files (English and German is integrated for now)
 - displayed language now fully depends on the choosen one
 - settings (refresh time, date format...) are now changed via settings panel and stored in DB
 - no changes in config.php required any more
 - updated PDF document to reflect the latest changes
 - code cleanup

Will do some further testing, but from my point of view, the module is close to the status of a first official release candidate and will hopefully move soon into the Addons section.

Quote
Important note:
It´s highly recommended to deinstall previous versions first, before installing the latest one!!!

Regard Christian

Removed zip file. Module now released in the addons repository; please download from there.
http://addons.websitebaker.org/pages/modules.php
« Last Edit: December 02, 2006, 11:53:11 PM by doc » Logged
doc
Guest
« Reply #10 on: December 02, 2006, 09:49:28 AM »

Modified view.php to provide a list of the unread Postits send by you. Some added value compared to the dumb revise to change the visibility to none  smiley.

From my point of view, all features are in to release the module in the addons repository. Will contact the responsible guys for testing it.

Quote
As mentioned before. Please deinstall previous versions before installing the updated version.

Regards Christian

Removed zip file. Module now released in the addons repository; please download from there.
http://addons.websitebaker.org/pages/modules.php
« Last Edit: December 02, 2006, 11:52:44 PM by doc » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #11 on: December 02, 2006, 01:29:50 PM »

Hello,

thanks Christian for this nice modul. Added it to the Addons Repository. Created a new group "Miscellaneous" because it is no Page Typ Modul and no Admin Tool and don't know where to add it else  wink.

Would more like to see it as tool because now you have to create a page to get the modul working wich is not the best solution.

Matthias
Logged
Hach

Offline Offline

Posts: 9


« Reply #12 on: December 03, 2006, 03:21:26 PM »

Hallo Christian,

auf diese Erweiterung warte ich schon lange. Vielen Dank für deine Arbeit.

Auf meinem Testserver funktioniert alles einwandfrei. Auf dem Produktivserver bekomme ich folgende Meldung
.

Ich kenne mich mit ajax noch nicht aus. Muss das als Servererweiterung vom Provider installiert sein?

Eine Idee was der Fehler ist.

Die index.php habe ich drei Mal kontrolliert. Daran sollte es nicht liegen.

Gruß Hach
Logged
doc
Guest
« Reply #13 on: December 03, 2006, 04:03:36 PM »

Hi Hach,

you don´t need a special server extension. But you need to ensure that Javascript is enabled in the Browsers of your Client and that your Clients are using one of the following Browsers: FF1.0+, IE5.5+, NS7+, Opera8.5+

Strange, is the error message the dot . only?

Please check out the following things:
- completely clean up your Broswer cache
 - deinstall all previous version of the Postits modul and reinstall the latest one again
 - check the status of the installation script (installation ok?)
   due to the file size of 200KB you may run into PHP time out problems, in that case remove
   the PDF file from the zipped module before uploading it to your server
 - which Browser you are using on which operating system (Javascript ??)

Please let me know the outcome.

Regards Christian
« Last Edit: December 03, 2006, 05:25:28 PM by doc » Logged
Hach

Offline Offline

Posts: 9


« Reply #14 on: December 03, 2006, 06:07:53 PM »

I am using IE 7.

It can not be the IE settings because it is working under Firefox and IE7 with my Testserver. And it does not work with Firefox and IE7 with the other Server.
I cleaned the cache
I deinstalled as in your manual
I reinstalled it the message was successful
Operating system WinXP SP2 all fixes.
Logged
doc
Guest
« Reply #15 on: December 03, 2006, 09:55:18 PM »

Hach,

if possible, please send me the zipped file of your complete template directory (including CSS, pictures ...) for a detailed analysis. I will install the template locally and on the server of my domain to test it. You can send me the file via a Personal Message (PM).

The error message is still the dot . nothing else?

Regards Christian


Logged
doc
Guest
« Reply #16 on: December 04, 2006, 06:19:20 PM »

@Hach

The index.php file of your template you sent via PM does not include the required Postits directions as described in the manual (PDF). After adding the missing lines, I got an error message (could´t modify header, header already send).

Looking in the Source code, I found out that two characters were outputed in front of the <doctype declaration>, which is strictly forbidden. This error appeared most likely due to the wrong utf encoding of the index.php. I created a empty textfile with Wordpad and pasted the content of index.php into the new file, saved it and everything works (locally as well as on the server).

I send you the zipped file I tested via PM. Try it out and let me know if the error message is still present. If the error is still present, download the template Ya2CT from the Addons Repository, modify the index.php file of that template as described in the manual and try if the Postits module works with this template.

Best regards
Christian
« Last Edit: December 04, 2006, 06:25:22 PM by doc » Logged
lausianne
WebsiteBaker Org e.V.

Offline Offline

Posts: 139


WWW
« Reply #17 on: November 15, 2007, 10:32:28 AM »

Hi,

there hasn't been a message about post-its for a long while. Am I in the right thread?

Anyway, I just installed the Post-Its module according to instructions, as far as I can tell, including index.php additions.
I created a post-its page, and can change the settings, send a message etc.
But: when, as a sender, I go to the Post-Its page in the front-end, it always says "... alles bereits gelesen ..." (everything already read) at once.
Logging in as the receiver of the post-it, I get nothing.
No error messages.

I'd really like to use this module. Any help appreciated.

Cheers,
Ralf.
Logged
doc
Guest
« Reply #18 on: November 15, 2007, 10:35:18 AM »

Hello,

the error is related to the viewmodify.php. There I check the display name instead of the login name. Hence Post-its will be send out to the recipient, but you can not check if the recipient has already viewed the postit or not. Will release a new version tonight.

Regards Christian
« Last Edit: November 15, 2007, 05:13:29 PM by doc » Logged
doc
Guest
« Reply #19 on: November 15, 2007, 05:14:59 PM »

Hello,

just released version 0.23 of the Virutal Postits module on the Add-ons repository. The bug in the modify.php file is removed. Now unread postits should be listed in view.php.

Regards Christian
Logged
lausianne
WebsiteBaker Org e.V.

Offline Offline

Posts: 139


WWW
« Reply #20 on: November 19, 2007, 10:22:40 AM »

Hi Christian,

Thanks, very nice. To display the list of unread messages works now.
Still, PostIts are not displayed. No error messages.
Could it be a problem with the host, that they don't support xajax?

Cheers,
Ralf.
Logged
doc
Guest
« Reply #21 on: November 19, 2007, 02:12:20 PM »

Hello,

please check the following:
- frontend login (post its are not displayed in the backend) enabled
- you have a login formular in your template
- you have modified the index.php of your template as described in the PDF
- Javascript is enabled, pop-up blockers are disabled
- try a different browser

Regards Christian
« Last Edit: November 19, 2007, 03:16:39 PM by doc » Logged
lausianne
WebsiteBaker Org e.V.

Offline Offline

Posts: 139


WWW
« Reply #22 on: November 19, 2007, 05:28:16 PM »

Hi,

ok for all your points. Tried the other browser and all. So if it cannot be the hoster who blocks something, I'll have to check the index.php modifications again.
This is my site, maybe you see sth. obvious: www.longwitz.ch
Thanks!

Regards, Ralf.
Logged
doc
Guest
« Reply #23 on: November 19, 2007, 05:37:44 PM »

Hello,

nice website. Can not see any obvious errors. Have you tried it on a local environment like XAMPP?
One user reported some problems related to the server settings, but he posted no solution. Maybe contact your server admin and ask if a server setting may explain this behaviour. If you have found the problem, please post the solution here in this thread.

Good luck
Regards Christian
Logged
Rahya

Offline Offline

Posts: 67


WWW
« Reply #24 on: March 19, 2008, 11:31:08 AM »


Hi there,

same problem like lausianne  cry

- Have tried it in 3 different browsers on windows and linux, it don't work.
- Front-End-Login is enabled
- Modification just like in PDF are made
- Javascript is enabled, no Pop-Up-Blocker

What do you mean with "Login-Formular" in Template? I've tried it with the "Round"-Template without modifications, just a new and fresh installation.

When I log in with any of the "users" there's also a message that all of my messages are read.
Don't understand it...

Is there any solution I haven't found in the forum?

Thx!
Logged

Meine Rüstung ist die Ironie, mein Schild der Zynismus und mein Schwert der Sarkasmus...
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!