|
Joined: Mar 2001
Posts: 56
Member
|
Member
Joined: Mar 2001
Posts: 56 |
LK, No, I just changed the variable $monthnames[$monthtem-1] to $thismonth (only in one instance) on public_calendar_display.pl. My code actually looks like this-- a little different than Jordo's, since I wanted all the fonts to match: However, for some reason (I wish I was better with Perl/CGI) public_calendar_review.pl did not recognize $thismonth, so I had to use $monthtem like this: I'll try your suggestion when I get home. Looks like it might work. [ July 17, 2001 03:16 PM: Message edited by: Dino ]
|
|
|
|
Joined: Mar 2001
Posts: 56
Member
|
Member
Joined: Mar 2001
Posts: 56 |
LK, I tried replacing $monthnames[$monthtem] with your suggestion "$vars_wordlets_calendar{$this_month}", and it did not work on the public_calendar_review.pl file. For some reason, it does not recognize $thismonth as a variable. Oh well. It works ok the way I have the code posted on an earlier reply. [ July 17, 2001 06:35 PM: Message edited by: Dino ]
|
|
|
|
Joined: Dec 2000
Posts: 595
Member
|
Member
Joined: Dec 2000
Posts: 595 |
great mod "(2 Events)17" events isnt wordletized "$poster_name was born on this day <--$in{bdayyear}--> years ago." is not wordletized "Delete?" on public_calendar_review.pl is not wordletized. months in "add new event" are not wordletized. there are layout problems in the templates, when theres no event on that day (opening ), and the $standard_title_table isnt centralized (fixed with print "$standard_title_table"; )
great mod and all; just kinda worried with the size of the file that stores events "descriptions", when these get too big...
looking forward for new versions, with ability for editing events, smilies, etc good job!
|
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Dino, you're right, but it works on the new version if jordo will approve it.
CopyCat, all verified and fixed in the new version if jordo will approve it.
Jordo, please download my version again
[ July 18, 2001 02:21 AM: Message edited by: LK ]
|
|
|
|
Joined: Dec 2000
Posts: 595
Member
|
Member
Joined: Dec 2000
Posts: 595 |
thanks. one more, the months on registration are not wordletized also.
sug: multi-day/year events, for things like xmas... admin-only i think.
[ July 18, 2001 11:50 AM: Message edited by: CopyCat ]
|
|
|
|
Joined: Apr 2001
Posts: 18
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 18 |
Jordo, I attempted to use your SSI script on an IIS box and it did not work at all because it could not find the variables script location. So I played around with it a bit and got it to work. I also added a link for the Event text to the calender. Here is the modified ubb_calendar_ssi.cgi code. [ July 18, 2001 01:53 PM: Message edited by: PeterC ]
"Oil Beef Hooked" -Drunk Irishman
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Jordo, get the file again (I fixed what CopyCat mentioned).
|
|
|
|
Joined: Feb 2001
Posts: 54
Member
|
Member
Joined: Feb 2001
Posts: 54 |
Understood  Thanks for all your work on this and I'll keep my fingers crossed that you can add that feature (email a subscriber list when calendar is updated) ![[Linked Image]](https://ubbdev.com/ubb/icons/icon14.gif)
|
|
|
|
Joined: Jul 2001
Posts: 24
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 24 |
I Have found my error.
In the new_topic.pl on the box descriptions where the Name for the Day name="day" i have change it to "event_day" now it works.
G. Ta Lun
|
|
|
|
Joined: Jun 2001
Posts: 37
Member
|
Member
Joined: Jun 2001
Posts: 37 |
Hey Jordo,
Great HACK!
[ July 19, 2001 06:05 AM: Message edited by: NitroSimSev ]
|
|
|
|
Joined: Jul 2001
Posts: 109
Member
|
Member
Joined: Jul 2001
Posts: 109 |
jordo hello As I already have written in the chatmod topic and in news fader topic, I have discovered something strange happening with the DHTML slide menubar I have. As you can see from the below picture, the slide menubar is sliding out BEHIND those seachboxes in the calendar mod, just as it also do slide out BEHIND the chatmodapplet. Do you have any idea how to fix this so the menubar load in FRONT as it is supposed to do? ![[Linked Image]](http://www.angelfire.com/jazz/sol30pluss/calendar.gif)
|
|
|
|
Joined: Apr 2001
Posts: 299
Member / MultiHacker
|
Member / MultiHacker
Joined: Apr 2001
Posts: 299 |
If I remember right, it is that the Zorder is set incorrectly. I haven't played much with DHTML and whatnot, but I am pretty sure that is where the problem is.
|
|
|
|
Joined: May 2001
Posts: 315
Member
|
Member
Joined: May 2001
Posts: 315 |
Hey Jordo.. I got a WEIRD issue. http://forums.thunderwave.net/ultimatebb.cgi?ubb=add_calendar_event Check that out. Since you aren't a moderator that can post stuff there, you should see a page that says you can't post new events. Well nothing wrong with that, right? Well there is.. Whenever a moderator who has access to post new events or an administrator tries to post a new event we just get a plain white page. Any help? 
|
|
|
|
Joined: Apr 2001
Posts: 6
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 6 |
strange i cant download it. It says the zip is corrupted
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Mar 2001
Posts: 74
Member
|
Member
Joined: Mar 2001
Posts: 74 |
sorry  trying to fix my reply quote bug, dont ban me [ July 20, 2001 10:16 AM: Message edited by: zerodegreeburn ]
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
afterlab - make sure all the templates are uploaded to the correct directory. in particular, public_new_calendar_event.pl. if your getting a blank white page when trying to add a new event, some problem with the uploading of that file is most likely the culprit.
|
|
|
|
Joined: Dec 2000
Posts: 20
Junior Member
|
Junior Member
Joined: Dec 2000
Posts: 20 |
Great hack, Jordo, but I have a major problem. After I update my profile so I can change my birth date, I get a message saying that there is a hack attempt because one of the members file's is corrupted, and that there are extra fields? I noticed that mine was setup (probably from another hack) for fields 30 and 31, so something must be using them. Any ideas?
Thanks!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
In ubb_profile.cgi, remove nn from the line.
|
|
|
|
Joined: Dec 2000
Posts: 20
Junior Member
|
Junior Member
Joined: Dec 2000
Posts: 20 |
From which line in ubb_profile? Do you mean
print FILE ("nnnnnnnnnnnnnnnnnnnnnnnnn")
?
Thanks!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Dec 2000
Posts: 20
Junior Member
|
Junior Member
Joined: Dec 2000
Posts: 20 |
LK, thanks that worked, but now when I update my profile for my birthday, it doesn't save the date, it just goes back to January 1st, 2001. 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Hmm... What's 10 lines before and after the nnn thing?
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
I was able to get the calendar to work great, thanks for sharing it with us. I have a question. I would like the events to appear on the front page of the forum right under the newest member name. What would I need to add to public_forum_summary to do this?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
In SSI you can use ubb_calendar_ssi.cgi to see a list. (I think) Remove the "exit(0);" line from there and whereever you want it in public_forum_summary.pl, add
|
|
|
|
Joined: Jan 2000
Posts: 139
Member
|
Member
Joined: Jan 2000
Posts: 139 |
Hi all,
I guess i'm to tired so i must have missed the bugfix inhere ...
I suffer from the following prob ..
My server is in the US and i have 7 hours time difference ... the calender seems to take the server time and not the local time as pointed out by the offset of the UBB ... is this my fault or is it a bug ??? I cleared the cache to make sure it was not a caching prob ...
Greetz
Knuff
BTW VERY COOL FEATURE !!!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
You're right. In ubb_lib_calendar.cgi: I don't know if it works yet, but I can't see any reason why not
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
Thanks, LK, but the ssi doesn't work on my site. Is there any other way I can get this information on the front page?
|
|
|
|
Joined: Jan 2000
Posts: 139
Member
|
Member
Joined: Jan 2000
Posts: 139 |
Thanks LK ...  Life can be easy ... if you now where to look ! Ellen ... could it be that you have no "exec permessions" try That could help you out ... Greetz Knuff
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
OK, then... or however you want it to be
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
Thanks so much for all of your help!
|
|
|
|
Joined: Jul 2001
Posts: 109
Member
|
Member
Joined: Jul 2001
Posts: 109 |
Hello Troy Thanks for the tip I have searched to find out more about the "Z order" without finding anything. Could you please tell some more about it so I understand what you mean. I am not a coder, so it isnt that easy to figure out. [ July 22, 2001 01:08 PM: Message edited by: kaukagaul ]
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I got an authorization from jordo to post Calendar Hack v1.4 revision 2. URL: http://members.tripod.co.uk/lkubb/calendar.zip You have to upload all new files except ubb_calendar_ssi.cgi (including vars_wordlets_calendar.cgi), and I can't remember which files I changed so rehack all of them  (edit: changed the URL) [ July 23, 2001 07:15 AM: Message edited by: LK ]
|
|
|
|
Joined: Jul 2001
Posts: 109
Member
|
Member
Joined: Jul 2001
Posts: 109 |
LK that sounds good...but what about the files in the "calendar" dir, the datafiles containing all events already added. Must these files be changed to?
|
|
|
|
Joined: Jul 2001
Posts: 109
Member
|
Member
Joined: Jul 2001
Posts: 109 |
hmm...is it possible to include this in the News Fader 2.0; [ July 26, 2001 11:02 AM: Message edited by: kaukagaul ]
|
|
|
|
Joined: May 2001
Posts: 56
Member
|
Member
Joined: May 2001
Posts: 56 |
This is a superb hack - but with UBB 6.1 just around the corner and it's significant code changes; should we hack our 6.04 board or wait for 6.1? Will UBB Calendar have to be completely recoded (and rehacked) to work with 6.1? We have a fairly busy board (about 600 members in 4 months) and have already installed several hacks incuding Topic Ratings, Statistics, Who's Online, Total Posts/Topics,... and the migration (of a hacked UBB) from 6.04 -> 6.1 appears to be a significant effort. So... should we hang on for UBB Calendar to be ported to UBB 6.1? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
kaukagaul, 1. nope, not files in /calendar directory  2. look above, and just instead of after $RegisteredMemberLine, put: right after RTM, from what I understand, UBB 6.1 will be rebuilt totally differently. [ July 23, 2001 02:26 AM: Message edited by: LK ]
|
|
|
|
Joined: Feb 2001
Posts: 251
Member
|
Member
Joined: Feb 2001
Posts: 251 |
I rehacked the Files and load the new ones up.
When I ad a event now it shows up one month later in the calendar
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Whoops  Download it again and upload the new ubb_lib_calendar.cgi [ July 23, 2001 03:15 AM: Message edited by: LK ]
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|