Not logged in. · Lost password · Register
Forum: Customising UNB Modifications and plug-ins Plug-in gallery RSS
Calendar PlugIn
Adds an calendar to the board environment
Page:  previous  1  2  3  4  5  next 
Avatar
philipp #16
Member since Jul 2005 · 56 posts · Location: Sauerland (NRW)
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6144
After seraching the web for quite a while i found a way to execute the patch-command on win32 mashines! :cool:
Just donwload the necessary files from here and copy them into you system32 folder!
http://www.phpbb.de/moddb/patch
Next chang the first line of both diff-files to the following:
--- ./post.inc.php    2005-12-21 22:46:08.000000000 +0100
--- ./thread.lib.php    2005-12-21 22:46:08.000000000 +0100
Hope this is allright, as i do not really understand the syntax of those diff-files yet :scared:
As a next step copy both the diff-files and the original PHP-files to be patched into an new folder (e.g. My Documents/Patch).
Now open the Command-Line Prompt and switch to the folder where your files are located. Type in the following:
patch -p1 -i post.inc.php.diff
(accordingly for thread.lib.php.diff)
The following output should say sth. like "Patching post.inc.php" ...
I hope this is coherent so far!
If i have forgotten anythig or made any horrible mistake, please let me know! ;-)

Just one thing @tkoneo
You didn't correct ur bug in the mysql-syntax in calendar.php yet, did you?


btw:
Great Plug-in!! ;-)
This post was edited 3 times, last on 2006-03-19, 17:26 by philipp.
tkoneo #17
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
Oh, sorry.

Now I have fixed the table creation.
I didn't know that someone uses this board on a win32 mashine.
Thanks for adding the post-bin for windows.
Avatar
philipp #18
Member since Jul 2005 · 56 posts · Location: Sauerland (NRW)
Group memberships: Members
Show profile · Link to this post
I'm not using the board on a win32 system, but i'm editing my files on such a mashine ;)
Maybe my post help's someone :)
Morty #19
Member since Sep 2005 · 52 posts
Group memberships: Members
Show profile · Link to this post
@tkoneo: Maby you can also provide an already patched file? This make life more easy for all the winowsusers having webspace without shell.
Unser forum: http://www.fsi-mechatronik.de/forum/
Avatar
philipp #20
Member since Jul 2005 · 56 posts · Location: Sauerland (NRW)
Group memberships: Members
Show profile · Link to this post
I don't think, this would be very helpfull.
What if you made some extra changes in these files on your own? Each time you wan't to install the calendar, you would have to edit the whole file again.
Just try the way i posted on top of this page - worked very well for me!
tkoneo #21
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
There I must give philipp right. It won't be very usefull if I provide already patched files.
If you need the files I could send it to you.
Additionally I hope that Yves would implement some Hook's for me, than I don't need to patch the boardfiles anylonger.

BTW:
Version 1.2 is out!
I added the user's birthday to the calendar.
Avatar
philipp #22
Member since Jul 2005 · 56 posts · Location: Sauerland (NRW)
Group memberships: Members
Show profile · Link to this post
Quote by tkoneo:
I added the user's birthday to the calendar.
This is just want i wanted to suggest to you :-D
What do you thing about a the possibility of adding holidays to the calendar?
kao (Guest) #23
No profile available.
Link to this post
In reply to post #16
Subject: little probl
Quote by philipp on 2006-03-19, 15:04:
After seraching the web for quite a while i found a way to execute the patch-command on win32 mashines! :cool:
Just donwload the necessary files from here and copy them into you system32 folder!
http://www.phpbb.de/moddb/patch
Next chang the first line of both diff-files to the following:
--- ./post.inc.php    2005-12-21 22:46:08.000000000 +0100
--- ./thread.lib.php    2005-12-21 22:46:08.000000000 +0100
Hope this is allright, as i do not really understand the syntax of those diff-files yet :scared:
As a next step copy both the diff-files and the original PHP-files to be patched into an new folder (e.g. My Documents/Patch).
Now open the Command-Line Prompt and switch to the folder where your files are located. Type in the following:
patch -p1 -i post.inc.php.diff
(accordingly for thread.lib.php.diff)
The following output should say sth. like "Patching post.inc.php" ...
I hope this is coherent so far!
If i have forgotten anythig or made any horrible mistake, please let me know! ;-)

Just one thing @tkoneo
You didn't correct ur bug in the mysql-syntax in calendar.php yet, did you?


btw:
Great Plug-in!! ;-)


hi,

thats really great patcher tutorial to win32 is only working on the
post.inc.php.diff, but when i trry the thread.lib.php.diff the cmd says:

hunk#1 failed at 31
hunk#2 failed at 68
hunk#3 failed at 471
hunk#4 failed at 485
so its rejected :(

any idea? iam a firstimer, but  i'd like to set  up this usefull plugin to my forum.. thx
Avatar
philipp #24
Member since Jul 2005 · 56 posts · Location: Sauerland (NRW)
Group memberships: Members
Show profile · Link to this post
The first two lines of thread.lib.php.diff schould normally look like this:
--- ./unb/unb_lib/thread.lib.php    2005-11-12 19:58:08.000000000 +0100
+++ ./unb_dev/unb_lib/thread.lib.php    2006-03-02 01:46:58.000000000 +0100
Try changing these lines to the following:
--- ./thread.lib.php    2005-11-12 19:58:08.000000000 +0100
+++ ./thread.lib.php    2006-03-02 01:46:58.000000000 +0100

Once again:
I don't exactly know myself what i'm doing here, but for me it worked ;)

Maybe tkoneo can give you more support!
Avatar
philipp #25
Member since Jul 2005 · 56 posts · Location: Sauerland (NRW)
Group memberships: Members
Show profile · Link to this post
Hey,
while experimenting with your Plugin i discovered some kind of bug.
Imagine there is a topic about an upcoming event. First you ask the people around if they're interested in this event and then you come to the conclussion that you wan't to visit this event and therefore additionally want to create an entry in the calendar :)

But when you now try to edit the first post to create an calendar-entry this won't work at the time. A subsequent entry is obviously not possible.

I just wanted to point your interest on this "bug".
Would be great, if you could fix that or at least give me some hint how i can do it on my own.
tkoneo #26
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
First of all, please excuse my long absents. I wrote exams and went on holiday for a few weeks.

Now I'm back and I have a lot of new features implementet. But give me some days to complete testing.

@phillipp:
I now about the edit-bug. I fixed it in the upcomming release. It would be kind if you could wait a few more days.
Avatar
philipp #27
Member since Jul 2005 · 56 posts · Location: Sauerland (NRW)
Group memberships: Members
Show profile · Link to this post
Quote by tkoneo on 2006-04-26, 02:41:
Now I'm back and I have a lot of new features implementet. But give me some days to complete testing.
Sounds good! I just wanted to go about that "bug" myself @ the WE :)
If you want i'd like to support you testing the new features on my board!
Otherwise i, of course, will be patient and wait for your next release ;)
What new features did you implement?
tkoneo #28
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
Quote by philipp:
What new features did you implement?

Oh, a lot. :-)
One of the new features is that you can edit the calendar date in the posts as you want it :-)
Another one is that the calenderPlugIn now can create announcements of the upcomming events if you want it.
And some more new features.

I hope everything is fine till tomorrow, than I could release it.
Avatar
philipp #29
Member since Jul 2005 · 56 posts · Location: Sauerland (NRW)
Group memberships: Members
Show profile · Link to this post
Can't wait for that one! ;)
A release on the WE would be great.
Avatar
philipp #30
Member since Jul 2005 · 56 posts · Location: Sauerland (NRW)
Group memberships: Members
Show profile · Link to this post
Anything new about the next release of your calendar?
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  previous  1  2  3  4  5  next 
Go to forum
This board is powered by the Unclassified NewsBoard software, 20110527-dev, © 2003-2011 by Yves Goergen
Page created in 238 ms (153.7 ms) · 133 database queries in 148.7 ms
Current time: 2012-02-08, 09:39:17 (UTC +01:00)