An Event Calendar Mod

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

An Event Calendar Mod

Post by ionrock »

Hello, I had two projects that needed an event calendar added to phpwcms so I thought I would release it for everyone. You can download the zip from

http://ionrock.org/downloads/calendar_m ... onrock.zip

There are installation instructions along with how to use it. If you get in a bind trying to install it or use please feel free to send me a private message. I don't get to lurk on the messageboard very much so a PM is much more reliable. It should work with pretty much any version of phpwcms but I have only tried on the last few releases. Hope it helps somone.
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

Someday I will contribute something...
Thanks :D
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

Hi there
do you have a working example?
would be great to see this in action

TriP
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

download zip files... and you'll see where it is... :wink:
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post by Karla »

trip wrote:thanks i Found it

http://thekhabeleschool.org/cms/index.php
Uh oh, but look here:
http://thekhabeleschool.org/cms/login.php

It's missing all this:
phpwcms Copyright © 2003-2004 Oliver Georgi. Extensions are copyright of their respective owners. Visit http://www.phpwcms.de for details. Obstructing the appearance of this notice is prohibited by law.

phpwcms is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

phpwcms is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

This should be sorted out!!
ionrock who contributes so much should respect this
TriP
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

if you click on the top left logo will redirect to phpwcms.de :arrow: and there is on the title too...

If anyone want to rebrand phpwcms they will hide login.php certainly... :roll:

forget it
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Copyright

Post by ionrock »

The copyright info is still in the source code and when you log in. there is a powered by phpwcms on every page. We have not "rebranded" phpwcms with our own brand and we are not going to. Any changes in this regard have strictly been stylistic and nothing else. Just to be clear, there is no intention to take any credit for phpwcms with clients by making changes. It is all simply to make it look like the same style as their site. I love phpwcms and no matter what other cms I try to learn about I always feel phpwcms is the best available. I can't stress enough, I do not want to do anything to upset the community or Oliver. I only want to use the best cms out there, phpwcms!
Last edited by ionrock on Sun 30. Jan 2005, 01:59, edited 1 time in total.
Soletread
Posts: 5
Joined: Fri 5. Nov 2004, 16:12

Post by Soletread »

ionrock

Thanks for the script man !!!

I noticed some ungrateful comments. Sha. Go figure. So I thought maybe someone needs to show a bit of gratitude.

That would be me.

Very nice.

Cheers

P.S. I think your comments regarding hiding the branding to avoid hacker attacks, is very valid.
marco

Post by marco »

Karla wrote:
trip wrote:thanks i Found it

http://thekhabeleschool.org/cms/index.php
Uh oh, but look here:
http://thekhabeleschool.org/cms/login.php

Isn't that maybe a login hack for front-end users only to post events and articles?
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post by Karla »

Soletread wrote:P.S. I think your comments regarding hiding the branding to avoid hacker attacks, is very valid.
It's true that a hacker would be savvy enough to view the source of any page (including "login.php") and easily determine that it's phpWCMS, but unfortunately we also tend to "underestimate" the resourcefulness of a hacker!

Oliver has weighed in on this issue:
http://www.phpwcms.de/forum/viewtopic.php?p=25864#25864
You can remove it from default.html (it's a bit overkill) because there is a copyright info at the bottom in the backend. But copyright info has to stay on login.php

Oliver
So Ionrock has it "right" here:
http://thekhabeleschool.org/cms/index.html
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

I really do want to make it clear that there is no intention to steal any credit for phpwcms. The GPL lets a user distribute the code in any fashion the user wishes and that is how we wanted to distribute it. After reading a bit on the subject, there is no reason that keeping the copyright on the login page in the source violates the GPL or Oliver's request b/c the data associated with phpwcms has not been changed and the copyright remains. Since it is the actual browser that rendering the data for a person going to the site, keeping the copyright in the source code as a comment is notice enough.

With that said, the reason is all about style and has absolutely nothing to do with abstructing justice, stealing credit or violating the GPL. The only reason I even mention this (again) is that I would really hope that anyone going through this forum doesn't see my contributions as negative. I can't emphasize enough how phpwcms has been a valuable tool and how much I appreciate Oliver's work. I have no intention of stealing credit for this work.

I am going to stop talking about it now but if anyone is still having a problem or wants to discuss this more with me specifically please just let me know.

On a technical note, I am going to be making some changes some people requested regarding a basic txt readme and adding other language support. Thanks for the feedback and I hope to get a new version out a little later this week.
Mosguy
Posts: 2
Joined: Mon 8. Nov 2004, 03:14

Post by Mosguy »

Could you show an example of the exact replacement tag to use?

Great mod. Can't seem to get it to display though. I figure I'm making a simple mistake with the tag.

Thank you in advance
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

Here is an example replacement tag

{CAL:1:homepage.template.php:homepage.event.template.php:maincalendar}

every part is needed so you should always have a

{CAL:X:X:X:X} of variables

1) A Category ID
2) The whole calendar template file
3) The single event template
4) The alias of the structure level you want links to go to

Let me know if you have any other problems or if that doesn't work for you.
Last edited by ionrock on Sun 30. Jan 2005, 02:00, edited 1 time in total.
Post Reply