Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 12 1 2 3 4 11 12
#136195 06/11/2001 10:48 AM
Joined: Oct 2000
Posts: 109
Member
Member
Offline
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.

Sponsored Links
#136196 06/11/2001 12:12 PM
Joined: Apr 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 5
I reinstalled the hack and again it is working (what a great hack) using ubb6.04e
laugh

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

#136197 06/11/2001 12:25 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Quote
quote:
Good ideas Balbanes smile


- Allen wavey
- What Drives You?
#136198 06/11/2001 1:46 PM
Joined: Oct 2000
Posts: 807
Member
Member
Offline
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!

#136199 06/11/2001 7:06 PM
Joined: Jun 2001
Posts: 70
Member
Member
Offline
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

Sponsored Links
#136200 06/11/2001 8:01 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
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.

#136201 06/12/2001 4:09 PM
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! laugh

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.


- Allen wavey
- What Drives You?
#136202 06/12/2001 8:09 PM
Joined: May 2001
Posts: 39
Member
Member
Offline
Joined: May 2001
Posts: 39
Nice scripts...very nice...:) thank you

#136203 06/13/2001 6:47 AM
Joined: Jan 2001
Posts: 72
Member
Member
Offline
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 smile

#136204 06/13/2001 11:05 AM
Joined: Oct 2000
Posts: 21
Junior Member
Junior Member
Offline
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

Sponsored Links
#136205 06/13/2001 12:59 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
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 ]

#136206 06/13/2001 2:59 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
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. smile

i cant think of what else is new right now.

What's coming/Todo
Admin 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)

#136207 06/13/2001 3:21 PM
Joined: Jun 2001
Posts: 31
Member
Member
Offline
Joined: Jun 2001
Posts: 31
I look forward to adding this to our site tonight.. www.thegng.org excellent work, and thank you!

#136208 06/13/2001 6:08 PM
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


- Allen wavey
- What Drives You?
#136209 06/13/2001 7:26 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
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

#136210 06/13/2001 7:31 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
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.

#136211 06/13/2001 8:02 PM
Joined: Oct 2000
Posts: 807
Member
Member
Offline
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

#136212 06/13/2001 8:09 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
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...

#136213 06/13/2001 11:24 PM
Joined: Mar 2001
Posts: 644
Member
Member
Offline
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. tipsy

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? wink

Thanks for a killer hack. I was using a seperate script before on my site and plan to scrap that entirely for this one. smile

Two thumbs up!

[ June 13, 2001 11:26 PM: Message edited by: Chris ]

#136214 06/14/2001 7:29 AM
Joined: Jun 2001
Posts: 70
Member
Member
Offline
Joined: Jun 2001
Posts: 70
jordo laugh

Excellent work [Linked Image] [Linked Image] [Linked Image] [Linked Image] [Linked Image] laugh

[ June 14, 2001 07:30 AM: Message edited by: gaulalauk ]

#136215 06/14/2001 10:23 AM
Joined: Feb 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2
Tested on 6.04 and no problems. Good Work!

#136216 06/14/2001 12:51 PM
Joined: May 2001
Posts: 180
Member
Member
Offline
Joined: May 2001
Posts: 180
Hi,

there are more things which should not be used in the events except exclamation poings :
Code
code:

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
#136217 06/14/2001 1:14 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
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.

#136218 06/14/2001 1:47 PM
Joined: Mar 2001
Posts: 25
Junior Member
Junior Member
Offline
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.

#136219 06/14/2001 1:50 PM
Joined: Mar 2001
Posts: 644
Member
Member
Offline
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. smile

For example, I'd like to post a re-occurring event for every Friday. Can't do it, because it has the same name. frown

Just a suggestion. smile

Still love the calendar though. smile

#136220 06/14/2001 2:20 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
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 smile

[ June 14, 2001 02:24 PM: Message edited by: jordo ]

#136221 06/15/2001 1:16 AM
Joined: Mar 2001
Posts: 18
Junior Member
Junior Member
Offline
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 smile Thanks.

#136222 06/15/2001 4:20 AM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
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. smirk

#136223 06/16/2001 5:36 PM
Joined: Feb 2001
Posts: 169
Member
Member
Offline
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 ]

#136224 06/17/2001 2:15 AM
Joined: Feb 2001
Posts: 169
Member
Member
Offline
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 ]

#136225 06/17/2001 11:07 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
#136226 06/18/2001 9:32 AM
Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
lol laugh

#136227 06/18/2001 3:50 PM
Joined: Apr 2001
Posts: 1
Junior Member
Junior Member
Offline
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

#136228 06/19/2001 9:42 AM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
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 wink 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
#136229 06/19/2001 10:21 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Quote
quote:
wink


- Allen wavey
- What Drives You?
#136230 06/19/2001 12:36 PM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
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?

#136231 06/19/2001 4:27 PM
Joined: Sep 2000
Posts: 77
Member
Member
Offline
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.

#136232 06/19/2001 6:23 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
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 tipsy 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 smile

there'll be new version today or tomorrow with these bugfixes and some new features.

#136233 06/19/2001 6:55 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
cool


- Allen wavey
- What Drives You?
#136234 06/19/2001 8:09 PM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Quote
quote:

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
Page 2 of 12 1 2 3 4 11 12

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)