"$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!
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 ]
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 ]
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 ]
Jordo, get the file again (I fixed what CopyCat mentioned).
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)
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
Hey Jordo,
Great HACK!
[ July 19, 2001 06:05 AM: Message edited by: NitroSimSev ]
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?
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.
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?
strange i cant download it. It says the zip is corrupted
sorry trying to fix my reply quote bug, dont ban me [ July 20, 2001 10:16 AM: Message edited by: zerodegreeburn ]
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.
Thanks Jordo.. I just forgot to upload the file. It's working fine now. I changed the layout of the UBB Calendar a bit too check it out: http://forums.thunderwave.net/ultimatebb.cgi?ubb=calendar
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!
In ubb_profile.cgi, remove nn from the line.
From which line in ubb_profile? Do you mean
print FILE ("nnnnnnnnnnnnnnnnnnnnnnnnn")
?
Thanks!
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.
Hmm... What's 10 lines before and after the nnn thing?
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?
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
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 !!!
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
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?
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
OK, then... or however you want it to be
Thanks so much for all of your help!
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 ]
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 ]
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?
hmm...is it possible to include this in the News Fader 2.0; [ July 26, 2001 11:02 AM: Message edited by: kaukagaul ]
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?
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 ]
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
Whoops Download it again and upload the new ubb_lib_calendar.cgi [ July 23, 2001 03:15 AM: Message edited by: LK ]
LK, It's still a month ahead
That's weird, works fine for me... Maybe it's your browser/proxy's cache, try http://lkubb.dns2go.com/calendar2.zip . Upload ubb_lib_calendar.cgi to the cgi-bin directory
Works Fine now LK, I think it was the proxy indeed Thanks
So to upgrade I just overwrite my 1.4 files right? I don't need to rehack the UBB files again or change anything??
You have to rehack many files, but I can't remember which files.. I know public_register_page_kid.pl, and therefor also ubb_registration.cgi, also ubb_new_topic.cgi but I think some others aswell.. Just don't forget, backup first
Found another bug, just in ubb_registration.cgi and ubb_profile.cgi change $monthindex = $i + 1; to $monthindex = $i;
Nice work LK, thanks for the bug-testin/fixin
That was my understanding as well - this Calendar hack is very popular, I hope you plan on porting it to UBB 6.1? Still not sure if I should install it now and then migrate to UBB 6.1 and rehack again..... hmmm
I have so many hacks now that here is NO WAY I'm touching 6.1 until all my favorite hacks have been ported over. I'm thinking this will take quite a while.
Yeah, I agree most people shouldn't upgrade to 6.1 beta. BTW, your 100th post [ July 24, 2001 04:25 PM: Message edited by: LK ]
we need the birthday in profil i think (in customfield4?) ... plz in the next upate
The birthday is in the profile, but not as custom field 4.
It's $user_profile[55]
ok - but not in public_display_profil.pl - u know ?
little hack ...
in CP give the "registration fild - costumer 4" a name - birthday - and select "off".
#and edit public_display_profil.pl ### find: #################
if (($vars_registration{custom4_field_use} ne 'DEL') && ($vars_registration{customfield4} ne '') && ($user_profile[19] ne '')) {
print <
$vars_registration{customfield4}:
|
$user_profile[19]
|
THISFIELD
} # end field
#replace with: ################ if (($vars_registration{customfield4} ne '') && ($user_profile[55] ne '')) {
print <
$vars_registration{customfield4}:
|
$user_profile[55]
|
THISFIELD
} # end field
Try [ July 27, 2001 12:34 PM: Message edited by: LK ]
... yes bug: if u edit your profil - birthday is not saved. check this. ................. and we need in public_calendar the box 4 years after the box 4 month. happy hacking
1. In Calendar 1.5, which is exactly like this one but for 6.1, it's fine.
2. In public_edit_profile.pl/public_register_page.pl/public_register_page_kid.pl, change "$monthselectbox / $dayselectbox / $yearselectbox" to "$dayselectbox / $monthselectbox / $yearselectbox"
I searched and read through the thread and forums but I haven't found anything specific for the problem I'm having.
I installed using MultiHack and everything looks great. The problem is when I tie the calendar to a post in a specific forum, the date set for the calendar item to be added is off. If I specify Aug 7th for example, it always posts somewhere else, usually in the previous month, but never on the same numbered day in the previous month.
Any ideas?
Yeah, this bug was fixed in the V6.1 version but I forgot to fix this one I don't have access to the /mhk directory, so download the ZIP file and rehack ubb_new_topic.cgi. I can't be sure if it's fixed, because I don't have a V6.0 board anymore, but it should.
looking for better instructions. I'd like to add this hack in but the instructions need to be very clear and concise. just my two bits..good job on the hack tho.
-=Splitfyre=-
I just looked at the zip file I was able to download off of page 17 of this thread. It is the same as the mhk file. Where can I get the zip file (what version is it too) that you are referring to? Thanks.
From the first page/page 16. Clear your/your proxy's Temporary Internet Files
Okay, I am losing my mind here. I went step by step on the hacks. Where the heck to do you see the calendar? Where is the link to it once everything is uploaded? I went into the control panel & put placed the forum name where I want people to put in dates. Is it that I have a black background? I know I am missing something elementary here. thanks for any help I feel like a pre-schooler here. Sorry for ranting.
Hmm... Your UBB needs a password.
BTW, I don't wanna be picky, but if you want more users to register, I suggest you to renew your VeriSign license
hmm, I renewed 2 months ago -- The appropriate person has been told about this.
Do you have any idea why this would be going on? LK - if you don't mind helping me--I will pm you username/password please let me know. thanks
LK your the man. Thanks for your help.
Just 1 more question:
If I delete a post in the forum that updates the calendar, shouldn't it delete it in the calendar as well?
Thanks again!
tazzie, it's supposed to be shown near my profile | register | search | faq | forum home, but I don't think you did the ultimatebb.cgi part that makes the worldets recognized.
Even if I type ?ubb=calendar I can't see it, so I think the problem is that you didn't hack/upload ultimatebb.cgi
thanks LK I'm getting this as a message now when I click on calendar.
You are attempting to reach a page that does not exist.
I searched but couldn't find this message in this topic. thanks for any help.
tazzie
Im not exactly sure what this hack is havign trouble with. Maybee you guys have seen this error?
Can't locate /home/biolord/public_html/forums/cgi-bin/calendar/public_calendar_event.cgi in @INC (@INC contains: /home/biolord/public_html/forums/cgi-bin /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /home/biolord/public_html/forums/cgi-bin/ubb_lib_calendar.cgi line 305.
Thanks in advance for any help.
tazzie, rehack ultimatebb.cgi
Hellbent, Did you upload the 3 public*.cgi files to the /cgi-bin/calendar directory?
LK I see that you are a busy man, so I thought I would repost this question. Thanks
wy ?
SSI dont show me the birthdays 4 today ?!?
and at this point we can make a second SSI.cgi to show birthdays ?
Sure did. Even Chmodded them properly.
thanks LK--- I rechecked I put one of the lines of code in the wrong place. I appreciate all your help!!!
[ August 07, 2001: Message edited by: tazzie ]
Hey guys, implemented the hack.. have a problem though when clicking on Calender:
Can't locate E:/futurelooks/web/cgi-bin/calendar/public_calendar_events.cgi at E:/futurelooks/web/cgi-bin/ubb_lib_calendar.cgi line 22.
I've uploaded the files as per the readme and had permissions set on it. My server is NT so I can't CHMOD the files. My ISP however has said that the folder has been set with the appropriate permissions.
When I go through my PFE and look at Line 22 this is what it shows:
require "$vars_config{CGIPath}/calendar/public_event_desc.cgi";
You should put public_event_*.cgi in /cgi-bin/calendar directory
That's what its at right now.. and I still get that error...help LK!
"http://www.futurelooks.com/cgi-bin/calendar" doesn't exist
Can't seem to get anything to come up under Primary - Calender Settings. What file should I rehack. Sorry I am still an intermediate on PERL here. Thanks!
You still didn't fix it.
about the other thing, cp_vars_calendar.pl - noncgi/Templates
The ISP is working on getting the folder to be accessible.
Once this hack is enabled can you actually add in the ability to set specific gif images for important event days on the calender along with changing the font to Verdana maybe?
Hey since I implemented this hack now it won't allow people to register:
Unmatched right curly bracket at E:/futurelooks/web/cgi-bin/ubb_registration.cgi line 726, at end of line syntax error at E:/futurelooks/web/cgi-bin/ubb_registration.cgi line 726, near "}" Compilation failed in require at E:futurelookswebcgi-binultimatebb.cgi line 413.
Checked line 726 here it is.. can anyone suggest what I change?
if ($vars_registration{ModerateRegs} eq "ON") { $ModWording = "$vars_wordlets{moderated_reg}"; } do "$vars_config{NonCGIPath}/Templates/public_reg_confirm.pl"; }
} # end submit_reg (this is line 726!)
sub add_to_registration_mod_list { local(*FILE); # parameter: # $_[0] : member number
Thoughts?
Thanks to Tech-Ni-Kal I fixed that small bug..but a pain in the butt it was. Just wanted to find out from LK if I can somehow point those three files that you ask for us to copy into that folder.. and instead can we not just post them in the CGI-BIN directory. If so, what files and what lines do I need to change to reflect this?
quote: Originally posted by LK: "http://www.futurelooks.com/cgi-bin/calendar" doesn't exist
not a cgi-bin a cgi folder of your forum
quote: Originally posted by hellhound: how to make a color that i the table other
http://www.flashpointer.ru/cgi-bin/forum2/ultimatebb.cgi?ubb=calendar
my color is black
please it URGUNT i dont know what to do ()
my calender can somebody tell me what i´ve made wrong?
It's /cgi-bin/calend ar, not calend er Rename your directory
_ups_ *had a red face* *g*
thx a lot
quote: Originally posted by hellhound:
please it URGUNT i dont know what to do ()
You set the colors in your control panel.
hi @ all
can everybody take UBBCode inside ?!? and plz make that mods can edit events (like megamods?)
just downloaded this hack and it says v1.6 for ubb 6.1 does that mean it wont work on my 6.05 i thought this forum was for mods before 6.1 ?
Yeah, there were some problems with Tripod UK.
URL updated in the first post
thx for a very quick response i've got the correct one now
melder: In ubb_lib_calendar.cgi If you have MegaModerators, make: or something like that (I don't have this hack, so I'm not really sure if it's 'MegaModerator').
small problem i got the calendar working fine and i put memberlist in at the same time but both hacks ask me to edit the same line in ubb_lib.cgi so i either get memberlist on the top bar or calendar can someone give me the code please to have them both in i tried it myself but cocked it up
ok... i fixed it now id forgot to clear the cache after my own attempt so i did get it right after all
[ August 22, 2001: Message edited by: tony c ]
Try: (edit: some problems with [code][/code]) [ August 22, 2001: Message edited by: LK ]
is there an option to delete old postings in the calendar and i´m to stupid to see it?
So long Grummel
"Purge Today's Events", right after the events list.
some of my members birthdays are coming up as, 's birthday, instead of, Tony's birthday,
What's the URL? Try in ubb_profile.cgi: And update it again. Did it work?
quick off the mark once again LK thank you that fixed it i had to delete the the old ones first and update the profiles before it worked [ August 23, 2001: Message edited by: tony c ]
Hi! Heres my Url: www.board4all.net The Birthdays will not be saved and shown in the calendar.. Can u help?
Eraser: it's fine, but you have to check "Klicken Sie hier um den Geburtstag anzulegen".
Like you can see "LK's Birthday" in Januar.
lol.. sorry but no chance.. i set my birthday to this time: 29.12.1978 and there is.... nothing! I checked the Box as u say... When i go back to my Profil the Changes in my Birthday will not be saved
Oh.... It's saved only in the registration, not edit profile. Rehack ubb_profile.cgi
The failure was in public_edit_profile.cgi .. I missed the right line Thanx for ur hard work and your help!!
HI! My Calendar is workin great, besides the cp function... it won´t show up in cp that´s strange cuz i´ve exactly followed the instructions for installation. idea anyone? thx alot
If you mean it's not in the drop-down menu, rehack cp_common.pl. If you mean it is, but the page is empty, upload cp_vars_calendar.pl to the /noncgi/Templates directory.
LK is there a way to have the option to disable displaying birthdays?
The calander works great, but the display of birthdays for the most part does not fit in with the forum or what the calander is used for.
Skip the public_edit_profile.pl, public_register_page.pl, public_register_page_kid.pl, ubb_profile.cgi and ubb_registration.cgi parts to not let anyone add new birthdays.
[edit: for some reason my post isn't shown in forum summary.. maybe it will work after the edit]
[ August 27, 2001: Message edited by: LK ]
Thanks LK I'll give it a try.
I've been running this for about 3 days on my forum. A few things I've noticed.
When I view a members settings in the cp.cgi The calendar is added to the private forums section...and has a check box where you can give people access who aren't moderators.
Tried this... members who are given this access can add events, but cannot prune them ( didn't know if this was intentionally coded like that ).
Also I have found two members who were randomly given access to this function ( I didn't, and noone elase has access to the cp.cgi... that I know of anyway )
So I went to try and do a search for members that had access to the calander...can't do it. That would be a real nice feature hehe
Thanks man.
LWC
Hmph, apparently i left out the 1st instruction in that file. it works! w00t!
Hi, Great Hacks, works perfect on my Board! But only one Thing, where can I change the color of the Days of the whole current Month? Because right now it takes the same color as the main background color, and that sux. It doesn't have to be in the CP, maybe someone just tell me in what file to change the HEX, and I'll be happy! [ September 07, 2001: Message edited by: Domain ]
works fine ...
1) can we insert the ubbcode table like in "new_reply_form" ? and the Message at the left: HTML is on/off I Ubbcode is on/off controlled in CP.
2) can we make it as a new forum - like to insert spezial moderators in CP and make ubbcode and HTML on/off for calendar ? u understand?
3) if u make a ! or ? or " in the subject /title of the calendar u cant delete or edit this.
4) BUG? birthdays are not fixed in profil. if u edit your profil the birthday goes back to 1/1/2001
-------------------------------------------
thats your melder ... CU
Domain: ubb_lib_calendar.cgi, the $clr=$vars_style{BGColor}; part.
melder:
3. Is it also like that in Calendar 1.6? Because I don't have any testboard to test it.
4. If it's really like that, it's a bug, but it wasn't like that in my board.
About the other questions, I'm gonna keep developing only the v6.1 hack, in this version I'll just fix bugs.
sorry ...
i change the hack to german dates like day.month.year and dont change the profil.cgi :rolleyes: but now the date is fixed in my board too.
.......................
but can u make (spezial?) moderators inside to edit kalendar events?
You can choose that some members will be able to create a new poll, but not to edit it. To edit, find: add above:
Hey Guys!
I Installed The Calendar On My UBB And.. It Just Goes White..No MSg´z No Errors No Nuttin..
But b4 It Got White I Got lotz Of Errorz Of Missin cgi Files In The Calender Dir..So I Copied The Missin cgi files 2 The Calender Dir..Now I Can´t Get The Calender 2 Work Anyone That Can Help Me
CheckOut membaz.cyrusthevirus.nu/cgi-bin/ultimatebb.cgi
Plz Help!
Cyruz
Speak English Plz... Are u Sure u Copied public_*.cgi 2 The Calendar Dir? Plz Copy Them Again... Or something like that
Right, this has probably been answered before, but I'm the fattest and laziest [censored] here, so I'll (Re-) type it. I followed the instructions to this part: In ubb_registration Now, firstly my UBB_Registration.cgi doesn't have a "print MEMBERSHIP ("yesn");" that i can find? I'm using a 6/04f and I'm using as my testboard whilst I wait for my ubb members area pass to be upgraded so I can get the latest version Um........I know that the real Mastermind LK will answer this in like 2 minutes, so go ahead LK prove my point Please tell me if I'm just plain stupid Or if I don't do things right. But I'm disappointed, I managed to put up 10 hacks on that test board, all today!, maybe my Luck ran out
Are you sure it's not there? Is in line 556 in my 6.05 testboard. [ 09-26-2001: Message edited by: LK ]
Since I'm sick of Calendar 1.4, I ported UbbCalendar 1.6 to v6.0 from v6.1. It's really untested, so beware! If you want to get the older version again, it's at http://lk.netfirms.com/calendar14.zip (it will be removed if this version is considered stable). Modified files: ubb_lib_calendar.cgi ultimatebb.cgi cp.cgi ubb_registration.cgi ubb_profile.cgi vars_calendar_events.cgi (ofcourse) vars_wordlets_calendar.cgi public_calendar_display.pl public_calendar_review.pl public_new_calendar_event.pl /cgi-bin/calendar directory isn't needed anymore, but don't remove it until this version is considered stable. NOTE: all previous events won't be used anymore.
i keep getting what have i hacked wrong.
I thought I fixed that Fixed.
Great Hack! But: If I try to post a new event the system says "thank you for posting, bla, bla...", but there's no new posting in the calendar. It looks very nice, but what's an empty calendar good for?? I do not get any errors at all. Try it at my board . Teccno
Sorry, I forgot to add $ before vars_config , weird that nobody noticed that in a very active board. ZIP file updated
Where exactly did you forget that?
That would help to avoid the re-installing everything...
teccno
ubb_lib_calendar.cgi
Hi LK.. I think Ic licked the link for 1.4 and did that and then did 1.6. I have the calendar showing up but when i try to change colors etc in cp it brings me to 'cp.cgi line 258.' Also I cant add entries without an error 'ultimatebb.cgi line 342'
I checked both them files and I think i have followed the instructions correctly.. Any help would be greatful. Thanks
It's a great hack! I really love it!
But I've found another problem.
If somebody adds an event or puts his birthday to the calendar the vars_calendar_events.cgi gets much longer and sometimes it is changed that extreme that the script is no longer executable. Any ideas to change that? In my understanding the script shouldn't add some or hundreds of lines to the file above, should it?
Excuse my English. Still learning...
Thank you for the help.
teccno
Updated, hopefully for the last time... RW, it has to be incorrect hacking, I didn't change anything in the CP code.
This is what comes up I re-pasted the code from the instructions and it still give me an error.
Hmmmm, it works much smoother now. Great job.
But (yes, one more but...):
1. I cannot erase an event. The systems says something like "Thanks for erasing, we take you back to ..."(my boards speaks german...), but the event is still in the calendar and, of course, in vars_calendar_events.cgi. Any ideas to change/repair that?
2. It's a very good idea to add the "Add an event" feature to one forum, but how is it possible to add it to two or more forums? I've tried "14,20" or "[14] [20]", but the system alsway makes a "1420" out of that.
Thanks
teccno
ZIP file updated with RC/Teccno's bugfixes. Updated files: ubb_new_topic.cgi (multiple forums), ubb_lib_calendar.cgi (delete/review/whatever), cp_vars_calendar.pl (multiple forums text), cp_lib.cgi (multiple forums spaces), cp.cgi (RC's bug). Sorry for releasing it with all the bugs, next time I'll ask Teccno to be a betatester [ 10-12-2001: Message edited by: LK ]
Thanks LK.. It says updated now, and when I go to look on the page of the event, the event doesnt show up.
Wow, now it works!
Thanks!
It was fun to test it!
Always proud to help.
Teccno
RC, what do you mean? it works fine on my 6.05 testboard I've just installed from the insructions
all the pages work etc, and I can add events, but when i go to november for example.. the event isnt there, can u tell me which file this is? so i can double check. Thanks.
Nice work LK.. will be adding this one to a site this weekend
are you insert mods 4 edit ???? if not - edit lib_calender.cgi near line 425 ############# # make sure user is an admin or moderator of this forum my $is_one = &is_admin_or_mod($in{f}, @user_profile); if ($is_one ne "true") { &StandardHTML($vars_wordlets_err{not_admin_or_mod}); } ############# replace to: ############# # make sure user is an admin or moderator of this forum chomp($user_profile[8]); if ($user_profile[8] ne "Administrator" && $user_profile[8] ne "Moderator") { &StandardHTML($vars_wordlets_err{not_admin_or_mod}); } ################ im a long time out of this board . sorry
ohhhh - i install 1.6 ... ... ... :rolleyes:
bugs ... ultimatebb.cgi = &GetOrPost("POST"); twice - near line 336 ############### can´t read this - i have ubb 6.01 ?!?!? ... mmm and one other in a other file ... mmm - i forget ... thats i´m 27 y. old ... 1) delet new event include the "!?´ works fine in 1.6 calendar! 2) if u make a event for every year u can only delete this event in the "start year" for all years! but not in a other year - u understand ? 3) ubbcode is ok - but without my table ... u know. (like in new posting) test it at http://www.axtien.de/cgi-bin/UBB/ultimatebb.cgi?ubb=add_calendar_event !!! in german words !!! - user: test (mod) password: test - user: test1 (normal) password test1 test it if u like ...
suggestion as an add-on: email sent on birthday
melder: can you rephrase it please? Allen: very nice idea, I can make it, but should I make that it sends only when the calendar is viewed (?ubb=calendar)? Also I need some 'expert' to make me an HTML/text card
I see what you are saying... it would need to be run some how... possible to run it when the calendar ssi is viewed on the front page? and once daily? that way it will never be missed but also, if it's a rather large process, won't be run everytime someone accesses the site. Otherwise, when the calendar is viewed will catch it 99% of the time on a busy site.
What kind of html card are you considering?
Add-on: automatically adds a birthday cake avatar on the persons birthday. Deb has a nice cake graphic that can be used. -Tacks
That's very cute tacks, I'm gonna make it right now (btw, I need that avatar ) Allen, 1. I'll make it if somebody watches ?ubb=calendar. 2. That's why I said I need a designer [ 10-18-2001: Message edited by: LK ]
BTW, I finished making Tacks' addon (still looking for that graphic), and Allen's addon is a little more complicated if the public name/wordlets have been changed since when it was updated... However, I can make it do it for future profile edits using $member_number as the 'Poster'.
That'll work... and I love the idea about the avatar Lemme think about it.. Deb is prolly a better choice in regards to the birthday card design.... I'll point her this way.
Looks like a great mod, two questions...
1. Can the birthday input & display be turned off?
2. Is the calendar data stored in a seperate file so that when upgrading to 6.1 or 6.2 and reinstalling the new ported version of the hack, the calendar event data will still be there?
Thanks!
[ 10-19-2001: Message edited by: August ]
your hack need to insert in ultimatebb.cgi:
&GetOrPost("POST"); # near line 336
my 6.01 UBB say ERROR - without this lines it works perfect ?!
and if u want to delet "yearly" events >>> u can do it ONLY an the right day u have insert and not 1 your later.
4 yearly events = make a special button in edit_events if u want to make it back to normal (from yearly?) and make it possible to edit yearly events in every year.
hope u understand my lovely english
[ 10-19-2001: Message edited by: melder ]
melder: 1. It's only for security purposes, you can remove it. 2. Should be fixed, zip file updated. 3. That's a good idea, but there isn't even 'change date' there, which is more basic than this one. I'll probably add it later.
fine .... testboard = board
take a look ... if u make a new event in a threat - the hack create in "ubb_new_topic.cgi" a link like: " }
###################### the edit are right but without edit the link goes dead.
melder test this at ... http://www.axtien.de/cgi-bin/testboard/ultimatebb.cgi?ubb=calendar ####### and edit in _lib_calendar.cgi line 110 to ####### if ($numevents == 0) { } elsif ($numevents == 1) { $preday .= qq~$numevents $vars_wordlets_calendar{event}~; } elsif ($numevents => 1) { $preday .= qq~$numevents $vars_wordlets_calendar{events}~; } ######## so u can make: 1 event and 2 events [ 10-22-2001: Message edited by: melder ] [ 10-22-2001: Message edited by: melder ]
and if u make the "yearly message" in "edit events" make it too for "birthdays" !
### or can u make that birthdays are dont delete in calendar - only in profil ...
hello =!=! ???
... make html "on" in calender like ubbcode if u edit ! so we have no problem if we edit a topic_event include the html link - u understand ?!
and make plz a daily, weeklyy and monthly option too - but only 4 mods and admins - hidden by normal users maybe ...
here i am mmm SSI dont work ...
&do_add_event_general is AFTER the [url]/etc are processed. I don't think HTML should be on, but I might make it. Daily? It will be in every calendar day Weekly/Monthly: If some other people will also ask for it. BTW, I suggest you to update to v6.1.0, v6.01 is pretty buggy
Undefined subroutine &main::GetOrPost called at /home/bayareag/public_html/cgi-bin/ubb/ultimatebb.cgi line 428.
can anyone help me with this? any help would be greatly appreciated.
You probably have a very old UBB. Remove &GetOrPost("POST"); from ultimatebb.cgi/cp.cgi
hey thanks a lot LK it works now... hey does anyone know how I can make it so I can have my calendar be displayed as a forum under one of my categories instead of being way up there where no one sees it.
i remove too in _lib_calendar: line 345 # $eventtitle = FixSubjectEncoding($eventtitle); line 532 # $in{$key} = FixSubjectEncoding($in{$key}); ------------- 1) yes ok make html on - or make a syntax and delete in edit! the
2) daily, weekly and monthly !!! only for admins and mods like we make a daily chat or a weekly ...
3) ssi dont work - u know ?!
Fixed
and plz make a ssi to show ONLY the birthdays today.
I installed this hack to my ubb 6.05 and now its like dead. I will tell you what happend.
I installed it. Chmoded everything to 755. the hacked looked as if it worked. Then i got a few new members on my page. I noticed in my cp i couldn;t see there email address or passwords.
So I wanted to sign up myself again to see if its me or them why its not working. Then i found that after i used that hack it wont let the password feild or the email address feild log into members profiles.
Then i went into the members dir, looked at some profiles that were made before and after the hack. I saw the the ones after the hack. didn;t look the same as the old ones. Which makes me think that i needed to us the backup copys that i had of the files i edited.
I uploaded them and CHMODED them and went to my ubb and it tells me "Hack attempt logged or corrupt/altered member file found with extra fields." So i reuploaded and chomed the file that i hacked and it was back up but my new members still can;t get on. SO.... now I locked the ubb becase i keep getting "Hack attempt logged or corrupt/altered member file found with extra fields." error. Can some one help me please i am on aol as Digital Bots I need some help fast.
@ LK - make HTML on. plz ...
digita_bots: rehack ubb_lib.cgi, and if it doesn't help also cp_users.cgi, ubb_profile.cgi, ubb_registration.cgi. melder: This feature exists in Calendar Hack 1.9 for UBB 6.1.0. Maybe I'll also update the UBB 6.0x version to 1.9, but I have plenty of other things to do and this version isn't even offered in the Members Area . [ 11-05-2001: Message edited by: LK ]
Screw it. how do ya uninstall it? I used the backups and it get this error about my members log being hacked. So how do i do this. Like what file did this thing change and how do i fix them back so everything can be normal again. Its a great hack its just my ubb doesn't like it. [ 11-05-2001: Message edited by: digital_bots ]
Oh, that's only ubb_lib.cgi... (the maxmemfields thing) in ubb_lib.cgi, if you can find it, just find 29 and replace with 55. if you xan't, it might be 31 if you installed Last Post Info by Slurpee. (and if you have, I suggest you to change its place to 54 or something if you don't want to have problems with UBB 6.1.0...)
So use those numbers if i try to get ride of the calender or use it to let people be able to regeister?
o here are the hacks i have running if that helps out more 1)Avatars 2)Custom Title 3)Last post 4)UBB Poll 5)Sticky posts 6)Calender 7)Top Sites / Affiliates
[ 11-06-2001: Message edited by: digital_bots ]
It's if you want people to be able to register/edit profile/access the board if they've already edited their profile.
MHP file updated to 1.6 tonight, tested on UBB version 6.05 tonight. https://ubbdev.com/mhk/ [ 11-08-2001: Message edited by: AllenAyres ]
HTML on - waiting ...
I downloaded the hack from the 1st post and installed it manually, but theres a problem whenever i try to add an event it gives me this error: Software error: Undefined subroutine &main::GetOrPost called at c:PROGRA~1APACHE~1apachecgi-binULTIMA~1.CGI line 384. For help, please send mail to the webmaster ( [email protected]), giving this error message and the time and date of the error. Also one more problem, for some reason Multihack doesnt want to recognize my CGI dir?? Did anyone else have any problems like this i have the newest ver. from the multihack website. If anyone could help me it would be really appreciated.
jordo great hack, but i seem to be having some problems with it, it doesn't seem to want to update the birthdays in the already registered members profiles, and when a new membe register it will just show 's birthday it wont show the name.
Epik: 1. remove &GetOrPost("POST"); from everywhere in ultimatebb.cgi 2. Rehack ubb_profile.cgi, make sure you have
hello again if u edit members in CP !!! u delete the birthday - u know ? insert the birthdayline into the cp member profile - hope u understand. ... and html ist my love - u know: if u make a birthday include the profile_link in calendar - or u make a new event in a new topic - u become html code in puplic_calendar - and if u edit this events u have a dead html link in public_calendar ... ... ich muß weg (by by ...)
LK thanks for the replay Ya thats the code i have in there it still doesn't work BTW i have UBB 6.05
Whoops i mean that I took this out &GetOrPost("POST"); and that part works. But it still doesn't update the profile or display the birthdays , when i add a event it works fine Melder : I didnt edit anyones profile in CP. [ 11-13-2001: Message edited by: EpiK-X ]
if u have a private part in your board u can edit the "Posting Restrictions" in cp. and if u edit this u delete the birthdays ...
I didnt do this, and if I did (and dont remember) i went to update profile and put in the bday and saved it, then i went back to it right after and it was back to january 1st. LK please help.
ok i did it, double checked it like 5 times, still doesn't work. I also noticed when i go to edit profile is the birthday drop down boxs supposed to be on top, because i noticed that when i do a new register they are in the middle?
Argh!! Double post! I'm so sorry!!
[ 11-24-2001: Message edited by: BloggerMan ]
Help! When I try to add a new event I get this error: --------------------------- Content-type: text/html Software error: Undefined subroutine &main::GetOrPost called at /home/thegrabb/public_html/forums/cgi/ultimatebb.cgi line 384. For help, please send mail to the webmaster ( [email protected]), giving this error message and the time and date of the error. --------------------------- Why is it/how can I fix it? Thanks.
Remove &GetOrPost("POST") from ubb_forum_summary.cgi...
I took out both of the &GetOrPost("POST")'s in ultimatebb.cgi, and then it gave me: ------------------------- Undefined subroutine &main::FixSubjectEncoding called at /home/thegrabb/public_html/forums/cgi/ubb_lib_calendar.cgi line 345. -------------------------- So I went into ubb_lib_calendar.cgi and took out the two lines with FixSubjectEncoding and it works mint. Thanks!
I can't seem to find a current version of the Calender to download. Can somebody help me with this?
I install Hack V1.6 on UBB V6.05. I try to use ubb_calendar_ssi.cgi I must use it over virtual_include on my board, but all I get is this error message: [an error occurred while processing this directive] Update: Problem found and solved. Thanks to LK. Replace with: Now it work fine to me if I use: [ 12-08-2001 10:18 AM: Message edited by: Zarzal ]
quesion ... as i don't feel like reading all 401 posts , is it ok for this hack to work on v 6.04e ???
Pablo, it should, if it doesn't just remove &GetOrPost from ultimatebb.cgi/maybe cp.cgi.
tanks .... will try this tomorrow .... i'll let you know how it goes
agh ! its not available to download .. and i was already to install it and all
Works now
emmm where can you add the list for people that can add calander events ?
-primary settings -- Calander Events
gives you the option of allow "Only Administrators and selected Members may post new events." any ideas where the list can be added ?
CP - Members - View/Edit Member Record - Username/number - edit profile - Able to post in calendar?
i re-did cp_users and it worked ... must have gotten tired near the end of the hack [ 01-05-2002 01:38 PM: Message edited by: pablo ]
ZIP file updated with v1.9 instructions. New features: Uses [32]. No upgrade.cgi because I didn't have the time to convert it [ 01-05-2002 02:25 PM: Message edited by: LK ]
Yep It's working on S:C which is great. I liked the new features for the 6.1 version.
great .. 1 hour after i get it working there is another version of it
Maybe LK can make a Upgrade doc for you.
ok ... i'm gona change this again ... i hope there isn't another version on the rocks ?
Don't worry, you'll be stuck with this version until I'll find another bug
emmm ... if i get an error Hack attempt logged or corrupt/altered member file found with extra fields on the CP ... where would it be most likely that i messed up ... PS. HIPPY BARFDAY !
Thanks
All existing users should still use 55 in ubb_lib.cgi. Only new ones (if it's the first time) should use 32.
So rehack ubb_lib.cgi, but use 55 instead of 32.
[ 01-22-2002 12:20 PM: Message edited by: LK ]
its all screwie
Can you send me your cp_wordlets.cgi? (pm, email, etc)
LK , you seem to have an extra { in [code][/code]
Oh, it should have been without }... Thanks! [ 01-23-2002 09:44 AM: Message edited by: LK ]
I have a UBB 6.04 running in my system, and i install your very nice hack "Calendar v1.9 for UBB 6.0x" it's work ok. But i have a problem. The system, add a event in vars_calendar_events.cgi with random line breaks, and it make a mounster file of 1MB only with 2 birthday's events. This file make all my forum system slow. I delete the file and it's ok. What is the problem? I'm running on Windows2000 Advanced Server.
Any can help me?
LK : when an admin edits the profile on the CP , it removes the Bday info.
also , i am having a similar problem about the size of the vars_calendar_events.cgi and the speed.
[ 01-24-2002 11:36 AM: Message edited by: pablo ]
I have no idea what's the problem with vars_calendar_events.cgi.. About the other thing, I used some 6.1 code in that version
I think that you have a some bug's in the add_event to calendar subroutine.
I disable this funtion and it work ok, but my users can't add events or you Birthday day. =(
H'lo.
I tried skimming through most of the posts here, but... 41 pages... ouch. Not really sure if it's come up already, but if it has, my apologies.
I'm running 6.04c, and I've got qasic's Who's On hack installed. This works fine... as does the Calendar, but not together. I've fiddled around with the codes to try and see if I can make it compatible, but to no avail.
Is this simply something that can't be done, or is there a trick that I haven't picked up yet?
Thanks in advance.
1) It probably has nothing to do with your problem, but I found a samll bug in sub add_event_general. Please upload the new ubb_lib_calendar.cgi...
2) Calendar hack is supposed to also work with WOL, I think most sites that have calendar hack have it.
Hi LK please check my vars_calendar_events.cgi
------------------------------ start Y2KTEST||2452302||TEST||TEST!!!
Y2KTEST||2452636||TEST||TEST Y2KTEST||2452319||GDFGFDG||DFGDFGDFG ------------------------------- end
I now upload a new ubb_lib_calendar, but i have the same problem. It make a blank lines at the time to append a new information.
[ 01-27-2002 03:41 PM: Message edited by: Y2k2-TEST ]
Hrm... well, I tried again, following all the instructions, but once more... when I installed the Calendar, it simply replaced the Who's On.
Just guessing here, but it might have something to do with the SSI involved... I've checked the code, though, and I can't figure it out myself. *grimace* Asking on the Who's On thread as well, maybe they'll turn up with something?
I have again the same problem.
if i delete blank lines of my file, at the moment to add new event, it make again the more blank lines.
I think that it have a problem with the Arraid variable.
Please i have a calendar off to write to file, because it make a mounster file that make my system very slowly.
I have 6.04c with 2000, Who is online, and another add-ons.
I have no idea what's the cause of this problem and I can't download 6.05... Can anyone find the problem?
I've been lurking here for a while. I did this to the do_add_event_general subroutine. It seems to work. code:
sub do_add_event_general { ## $_[0] => Title of the event ## $_[1] => Julian date of the event ## $_[2] => whether or not to check for duplicate event names (1 for yes, 0 for no) ## $_[3] => event description ## $_[4] => Login name of poster. this is not required require "$vars_config{VariablesPath}/vars_calendar.cgi";
## The subject/description can't be empty! if ($_[0] eq '') { &StandardHTML("$vars_wordlets_calendar{input_error}"); } if ($_[3] eq '') { &StandardHTML("$vars_wordlets_calendar{input_error}"); } #@file = &OpenFileAsArray("$vars_config{VariablesPath}/vars_calendar_events.cgi"); $file[$#file + 1] = "$_[4]
More code code:
open(FILE, ">>$vars_config{VariablesPath}/vars_calendar_events.cgi"); &lock; print FILE "$_[4]
sorry to keep posting, but the prior fix seems to work okay, but the blanks spaces in the vars_caledar_events still happens when you delete events. But when you add events the file gets appended nicely.
-rob
ZIP file updated. I'm using Rob's code for new events, trying something else for review and fixed a bug in ubb_new_topic.cgi.
Upload: ubb_new_topic.cgi, ubb_lib_calendar.cgi.
I found another error. On the review todays events page, there is a checkbox to delete an event. If i check the box and hit submit i get this error: Undefined subroutine &main::LoadStyleTemplate called at /var/www/cgi-bin/ubb_lib_calendar.cgi line 678.
Frizti
Oops, fixed
I'm going crazy trying to figure out why after I added the avatar hack from qasic, my calendar stopped working. The link shows on the main forum page, the status shows that there are no new events, but if you click on the caldnar link it just brings you to an absolutely BLANK screen. Any ideas? See what I mean.... http://www.e-clipse.com/UBBCGI/ultimatebb.cgi Thanks!
Thanks to some quick responses from LK i got my calendar to work. The only small problem i now still have is getting the little calendar to show using ssi. I made a small test.html, and when i use it reports the events in plain text as it should do. When i try to use however, it reports [an error occurred while processing this directive]. my webserver's error log shows "invalid CGI ref" Am i doing something wrong, or is there an error in the ubb_calendar_ssi.cgi file itself ?? tia, Frizti my test.html
Hi LK thanks for the update it's now work ok! but you forgett "n" in ubb_lib_calendar.cgi
$stuff = "$_[4]||$_[1]||$_[0]||$_[3]";
I re-write your line: $stuff = "$_[4]||$_[1]||$_[0]||$_[3]n";
I will test..
Tiffany A: Are you sure 'public_calendar_display.pl' file is uploaded to the NonCGI folder? frizti: [code][/code]What's the difference? If you mean that it worked before but now it stopped working, try to add a space before -->. Y2k2-TEST: Thanks, ZIP file updated
This hack is exactly what I'm looking for. Thanks!! I have UBB 6.01 (I can't upgrade), and everything installed ok, except when i click to add an event (after I filled out the info for the event), I receive a page with this error:
Software error: Undefined subroutine &main: :FixSubjectEncoding called at /var/www/cgi-bin/ubb_lib_calendar.cgi line 370
Also, if i update a profile with the birthday info, the calendar doesn't display it.
Whatever help you could offer i would greatly appreciate it. This is something I would love to have on my site.
Mark
So remove 'FixSubjectEncoding(' and ')' right afterwards from ubb_lib_calendar.cgi... BTW, 6.01 is very buggy, every child can hack it! I suggest you to upgrade.
I just added this hack to my board, and it isn't showing up anywhere. I followed all of the steps and cleared my cache, etc. Can anyone help me?! Board is here: http://drac.sexybee.net
New 6.04d installation? Upgrade to 6.2.1.
Anyone knows what's wrong? Content-type: text/html Software error: Undefined subroutine &main::FixSubjectEncoding called at /www/e46toronto/cgi-bin/ubb_lib_calendar.cgi line 370. For help, please send mail to the webmaster ( [email protected]), giving this error message and the time and date of the error.
Remove FixSubjectEncoding anywhere in ubb_lib_calendar
WOW!
Thank you very much LK! You rule!
Awesome hack!! I found a bug in ubb_lib_calendar.cgi, however.
ubb=calendar&date=$j">$preday";
should read
ubb=calendar_event_review&date=$j">$preday";
in order to display the details for each calendar entry. Thanks to everyone who has contributed to this hack. It is a welcome addition.
pseudo, only admins/mods/special users can access it I suggest you to leave it as ?ubb=calendar&date=...
quote: Originally posted by LK: pseudo, only admins/mods/special users can access it I suggest you to leave it as ?ubb=calendar&date=...
Thanks. My problem is that I without changing that line, even admins can't view the event details. I think I have issues in cp_user. I'll rehack it and see.
quote: Originally posted by pseudocode: quote: Originally posted by LK: pseudo, only admins/mods/special users can access it I suggest you to leave it as ?ubb=calendar&date=...
Thanks. My problem is that I without changing that line, even admins can't view the event details. I think I have issues in cp_user. I'll rehack it and see.
:( No luck. When I access my users' profiles via CP, I don't see where to give them permission. I obviously missed something - but what?
AIM: highside362 ICQ: 156186193
Thanks!
It does not work in UBB v6.05, can I have the older version!?
quote: Originally posted by frizti: Thanks to some quick responses from LK i got my calendar to work. The only small problem i now still have is getting the little calendar to show using ssi. I made a small test.html, and when i use it reports the events in plain text as it should do.
When i try to use however, it reports [an error occurred while processing this directive]. my webserver's error log shows "invalid CGI ref"
Am i doing something wrong, or is there an error in the ubb_calendar_ssi.cgi file itself ??
tia, Frizti
my test.html
I am having the same problem, The plain-text message appears just fine, but the little calendar, spawned with will give me the error that fritzi experienced.
Thanks for any help!
Update -- I figured this out!!
You have to change the code in ultimatebb.cgi from this:
if ($ubb eq 'calendar_ssi') { do "$vars_config{CGIPath}/ubb_calendar_ssi.cgi"; exit; }
to this:
if ($ubb eq 'calendar_ssi') { require "$vars_config{CGIPath}/ubb_calendar_ssi.cgi"; &calendar_ssi; exit; }
Also, to call the calendar, you must use this:
Please somebody take over calendar 1.9, I don't have 6.05 and I don't plan on having it
Hey I have the 16 custom field hack installed.
Today i just installed the calendar hack and ran into a small problem.... when someone changes their profile some of the other Custom Fields change and become overrided.... like will say some like 23423/no or 23423/yes.. or somthing like that and they get all mixed up... I found by uploading my backupfiles of ubb_profile.cgi that goes away what is in this file i need to fix for this not to happen any more plz help.
Maybe your using a profile field already in use.
I have tryed changing fields. Could you tell me what the default field that this calendar hack use's ?
55 I think. Can't rememeber.
was looking for the hack, but found it
|