|
Joined: Oct 2000
Posts: 109
Member
|
Member
Joined: Oct 2000
Posts: 109 |
Had to add (birthday) to vars_wordlets_calendar.cgi
Still can't get selection boxes to show up in public_register_page.pl (Template). Everything work fine for edit profile after adding the birthday to vars_wordlets_calendar.cgi but i only see \ in place of birthday selection boxes on registration.
|
|
|
|
Joined: Apr 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 5 |
I reinstalled the hack and again it is working (what a great hack) using ubb6.04e  but i have one suggestion to add Add a notification to the main forum what is going on on that day like : anonymous is turned 99 today or : Today it is christmas and everything else you added in the calendar for that day
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Good ideas Balbanes 
|
|
|
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
ima make a suggestion.......
and ssi part which calls the days events. if there is none it reads No events going on today! or sdomething!
|
|
|
|
Joined: Jun 2001
Posts: 70
Member
|
Member
Joined: Jun 2001
Posts: 70 |
Jordo , very nice hack
I have discovered what may be a couple of bugs.
Using 6.04e, I have found this; In the registerwindow, and in profile window, only the dropdownboxes for month, day and year shows up, no description text in the textfield. I could`nt find an option for that in the wordlet either.
When I post an event in the Calender, my user_name (login name) shows up everywhere instead of my public_name.
Shall it be like that or what? How can i change it?
gualalauk
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
gaulalauk - i forgot to include the latest vars_wordlets_calendar.cgi in the zip, sorry bout that its there now, or just add this line in that file after %vars_wordlets_calendar = (
birthday => "Birthday",
about login vs public names. i intentionally made it do login names, but once i get the Control Panel part of this mod together ill ad in an option for the admin to select which type of name is used.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
lookeeng good jordo!  Might change the ubb_lib.cgi addition to the mainbuttons to a wordlet so it can be changed from the cp, right now the link is capitalized and the rest of them are not.
|
|
|
|
Joined: May 2001
Posts: 39
Member
|
Member
Joined: May 2001
Posts: 39 |
Nice scripts...very nice...:) thank you
|
|
|
|
Joined: Jan 2001
Posts: 72
Member
|
Member
Joined: Jan 2001
Posts: 72 |
A idea- Use CCS text bg highlighting to highlight the number of the day in the calender. (If it was the 23rd, highlight 23) That way you can tell the difference of the number between the events and text. btw thanks allen 
|
|
|
|
Joined: Oct 2000
Posts: 21
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 21 |
I've installed the Calendar hack, and it seems to be running just fine.
However, there does not seem to be a way to access Calendar config options via the Control Panel. I suppose before I go even further, I should ask and confirm whether or not a Calendar config screen is even built-in at this point?
If it is available, then obviously I've mis-hacked a cp file somewhere along the line. Could someone please confirm.
Thanks, Mike
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
Mike - theres no cp part in the latest version. there will however be a new version later today with CP and also a number of other new features and bugfixes/changes.
[ June 13, 2001 03:05 PM: Message edited by: jordo ]
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
OK, the zips are updated with the latest version - 1.1 i would recommend completely reinstalling the hack if you have a previous version, but if you dont want to do all that, you need to re-modify the following files: cp_common.pl cp.cgi ubb_profile.cgi ubb_registration.cgi and modify the following: cp_lib.cgi ubb_new_topic.cgi public_new_topic_form.pl and upload (overwriting any existing ones) the following: cp_vars_calendar.pl (Template) public_new_calendar_event.pl (Template) ubb_lib_calendar.cgi vars_calendar.cgi vars_wordlets_calendar.cgi New Features in this version:CP settings for who can post, special calendar colors, which forum to use as calandar announcements forum, and whether to use public or login names. Integration with posting of new topics in a selected forum. Birthdays now will show up every year, instead of just this year. ubb_lib_calendar.cgi now has a subroutine that can be called from anywhere (after a require of the file of course), that given the event title, description, date, and username (username is optional) will add an event to the calendar. read the code for better description. if you dont know what this means then you shouldnt be trying to do it. i cant think of what else is new right now. What's coming/TodoAdmin editing of events Some more integration (100 or 1000 post events, etc) Fixes for any bugs that pop up. Cacheing. And Maybe private events (but its doubtfull)
|
|
|
|
Joined: Jun 2001
Posts: 31
Member
|
Member
Joined: Jun 2001
Posts: 31 |
I look forward to adding this to our site tonight.. www.thegng.org excellent work, and thank you!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
getting some syntax errors when trying to start a new topic... can you check it out?
Gotta leave for a lil bit, will be back
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
allen - sorry there was a slight typo in the instructions, in ubb_new_topic.cgi it says &do_add_event_general($in{topic_subject}, $julian_day,
that shouldnt be in there it should just be $julian_day,
zip updated
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
i also updated the zip with a new ubb_lib_calendar.cgi, it was being weird with displaying usernames of who posted so i changed it a bit, just upload the new ubb_lib_calendar.cgi.
|
|
|
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
ive noticed an error its showing that i posted all the events and visa versa for you or anyone else........ Events forJune 14, 2001(Tomorrow) Event Description Posted By Testing Testing Jigga-Master Scheduled Chat We will be having our second official scheduled chat from 7:00-9:00 PM Central Time today. If you'd like to join, just click over to https://ubbdev.com/chat/ and login. Jigga-Master
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
ya thats why i updated the ubb_lib_calendar.cgi, i was trying to accomadate for people that choose to view by public names, seeing as the logs hold login names only, it didnt work so for now names are login only till i can figure out a better way to do it...
|
|
|
|
Joined: Mar 2001
Posts: 644
Member
|
Member
Joined: Mar 2001
Posts: 644 |
Just finished adding this hack to my test board, http://test.sofguild.com/cgi-bin/ubbcgi/ultimatebb.cgi , looks awesome! Suggestions for down the road: Make the Birthday field optional, I don't know about anyone else, but my members aren't all big fans about having their birthdays public knowledge. Also make the birth year optional for those who don't want others to know their age. Last item, Admin deletion of events. (I suppose this falls under your todo list for Admin editing) If you let anyone add an event, who knows what might get posted?  Thanks for a killer hack. I was using a seperate script before on my site and plan to scrap that entirely for this one.  Two thumbs up! [ June 13, 2001 11:26 PM: Message edited by: Chris ]
|
|
|
|
Joined: Jun 2001
Posts: 70
Member
|
Member
Joined: Jun 2001
Posts: 70 |
|
|
|
|
Joined: Feb 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Feb 2001
Posts: 2 |
Tested on 6.04 and no problems. Good Work!
|
|
|
|
Joined: May 2001
Posts: 180
Member
|
Member
Joined: May 2001
Posts: 180 |
Hi, there are more things which should not be used in the events except exclamation poings : Well and I tried to change the names of the month because I have a german UBB but I didn´t find it in the templates - where can I change them ?
Regards Dennis Bode ----------------------------- Webmaster of Hardwareluxx.com
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
forgot about those, ill have it check for quotes in the next version.
you can find the months right at the top of ubb_lib_calendar.cgi, ill wordletize those for the next version hopefully.
|
|
|
|
Joined: Mar 2001
Posts: 25
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 25 |
I haven't tried to install this hack yet, but is there a feature to change the font and it's size? The larger fonts wouldn't match my board at all.
|
|
|
|
Joined: Mar 2001
Posts: 644
Member
|
Member
Joined: Mar 2001
Posts: 644 |
Hmm, can't have same item listed twice? One more suggestion to be looked at if it hasn't already been suggested. i.e. Re-occurring events, happening 2 or more days in a row, or weekly events.  For example, I'd like to post a re-occurring event for every Friday. Can't do it, because it has the same name.  Just a suggestion.  Still love the calendar though. 
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
Chris - because of the way data is stored (in a hash with the event name as a key) you cant have 2 events with the same name. i already have recurring events by year in place (birthdays) so it wont be to hard to expand that to weekly events, though i probably wont add daily events in. maybe by the next version. my priorities (aside from bug-fixes) right now are cacheing and event moderation (deletion) so once i get those done ill try to add in all the requested features [ June 14, 2001 02:24 PM: Message edited by: jordo ]
|
|
|
|
Joined: Mar 2001
Posts: 18
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 18 |
Excuse my ignorance on this one but how do you delete an event? Also, do you have to keep hitting next month or previous month to get to a certain month? Besides maybe not knowing how to use it, all is nice  Thanks.
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
notta - right now you have to edit the event out of the public_calendar_events.cgi file, im working on administrator event deleting for next version. maybe ill put a drop down month selection box in too, cause ya right now you have to keep clicking the button. 
|
|
|
|
Joined: Feb 2001
Posts: 169
Member
|
Member
Joined: Feb 2001
Posts: 169 |
Hi, that's a really useful hack. I tried to install it on my board but when I try to go to Calendar from CP nothing happens... and when I click on "Calendar" in the forum a white page with nothing inside load... What could be wrong ? ********************************************* * Forget this problem, I'm a stupid boy and * * I didn't upload the .pl files :(, now it * * is perfect ! * *********************************************
[ June 17, 2001 02:28 AM: Message edited by: Rutto ]
|
|
|
|
Joined: Feb 2001
Posts: 169
Member
|
Member
Joined: Feb 2001
Posts: 169 |
... and also... I think birthday in registration should be an optional field... else everybody will leave it on 1 st January 2001 (Default date) so you'll find thousands of bithdays in that day... and it' also wrong that I can't post 2 events with the same title in 2 different days.
Thanks again
Rutto
[ June 17, 2001 02:43 AM: Message edited by: Rutto ]
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
lol 
|
|
|
|
Joined: Apr 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 1 |
Here is something you might want to trap for. We had a user register with a @ in the middle of his username.
When this happens, the script generates the error: Software error:
In string, @rby::s now must be written as @rby::s at /home/xxxxxx/public_html/cgi-bin/calendar/public_calendar_events.cgi line 120, near "bib@rby's"
Editing out his entry in the public_calendar_events.cgi and public_event_desc.cgi is a work around until he make another entry or updates his profile again.
Thanks Robert
|
|
|
|
Joined: Aug 2000
Posts: 594
Member
|
Member
Joined: Aug 2000
Posts: 594 |
Hey, VERY NICE WORK! I installed this last night and I am having a problem with birthday links. I get a "No member profile found for member number" error when I select one. Since the 1st day of the month is automatically selected, January is dead right now  Other events work fine. Does anyone know what I may have done wrong and/or how to correct it? Jan - http://www.freakscene.net/cgi-bin/ubb/ultimatebb.cgi?ubb=calendar&date=2451911 thanks, jeremiah ps - is there an option to edit an event?
jeremiah
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Very Impressive hack .. When do you think there will be a feature to turn it on and off and just some cp features?
|
|
|
|
Joined: Sep 2000
Posts: 77
Member
|
Member
Joined: Sep 2000
Posts: 77 |
I have noticed that every month that has someone birthday on the first day of that month and it'll have an error like Freakscene had.
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
rbroome - ya i forgot about that, ill fix it for the next version so it works right with members that have @ in their name (and i think $ and % will need to be fixed the same too). freakscene - thats because one of the members with a birthday on that day has since been deleted. try this link: http://www.freakscene.net/cgi-bin/ubb/ultimatebb.cgi?ubb=calendar&date=2451912 see jan works fine just not that day. ill need to add a small portion so the member's birthday event is deleted if they are deleted. im working on the next version right now (i havent had much time lately) so ill be sure to add that, and make it optional so every member doesnt need to have a birthday entry. Tech-Ni-Kal - no i wasnt planning on adding an on/off switch - hehe just install it or dont that can be your on off switch  j/k. i might add it if people really want to be able to turn it off. i dont know what your asking about CP stuff though? yes, there are some CP features already. is that what you were asking about? DzeDom - read what i said to freakscene  there'll be new version today or tomorrow with these bugfixes and some new features.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
Joined: Aug 2000
Posts: 594
Member
|
Member
Joined: Aug 2000
Posts: 594 |
Thanks for the response jordo! The thing is, I get that error when I click on ANY date with a birthday attached to it. Not just that group.
jeremiah
|
|
|
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
|
|
|
|