Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 4 1 2 3 4
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
yes, that's what I mean.. though I will probably make it differently, which I have 2 main ideas:
1.
%vars_calendar_events = (
calendar events
);

%vars_calendar_birthdays = (
calendar birthdays
);

then calendar_birthdays is the one to be maintenanced...

or instead
2. I'll choose that when somebody edits profile or registers, it will automatically add it to a file in members dir, such as "birthdays.cgi"... and when you run ubb_lib_calendar, it will check this file... that'd probably make it simpler to be up-to-date.

Sponsored Links
Joined: Nov 2001
Posts: 96
Member
Member
Offline
Joined: Nov 2001
Posts: 96
Well, I think there still needs to be something that completely cleans and rebuilds the birthdays (not the events).

This would cover all bases so we wouldn't have birthdays showing for deleted or banned members - that is unless you are going to add a "Remove Birthday" routine when banning or deleting.

If you can't make sure that there won't be an orphaned birthday out there with no way of knowing, then you need something that can clean and rebuild based on the "Allow others to see my birth date?" check in their profile.

The lack of tools for the calendar has been especially frustrating. You need to start offering some useful ones.


"For who would lie idle when the king has returned?"
www.MinasTirith.com
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
There will be something that completely cleans and rebuilds the birthdays. in my post above I said how it's gonna recognize what's birthdays and what's regular events (because you said in your post "All you would need would be a single character flag added to the calendar event that tells whether the event came from a user’s profile or was custom added"...

Joined: Nov 2001
Posts: 96
Member
Member
Offline
Joined: Nov 2001
Posts: 96
Excellent! Can't wait.


"For who would lie idle when the king has returned?"
www.MinasTirith.com
Joined: Jun 2003
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 2
any ETA on when this newest version of calendar will be released ?

Sponsored Links
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:
Originally posted by LK:
lol tipsy

it's done when 6.6 beta is out...
When you see a public beta for 6.6, you can expect an update soon after for the calendar smile


- Allen wavey
- What Drives You?
Joined: Jul 2002
Posts: 51
Member
Member
Offline
Joined: Jul 2002
Posts: 51
HTML:
birthday.gif

Instructions to hack: no need to upload:
calendar.txt

Templates:
cp_vars_calendar.pl
public_calendar_display.pl
public_calendar_review.pl
public_new_calendar_event.pl

CGI-BIN: Permissions @ 755
ubb_calendar_ssi.cgi
ubb_lib_calendar.cgi

CGI-BIN: Permissions @777
vars_calendar.cgi
vars_calendar_events.cgi
vars_wordlets_calendar.cgi

In CGI-BIN only if your upgrading from the prior version, Permissions @ 755:
upgrade.cgi

Hope this helps... Good rule of thumb is the .cgi files always go in cgi-bin and the .pl always go in the Templates. Most of the mistakes I make are with the permissions.

Joined: Jul 2002
Posts: 51
Member
Member
Offline
Joined: Jul 2002
Posts: 51
Quote
quote:
Originally posted by LK:
.pl files to noncgi/Templates folder, .cgi to cgi-bin folder, .gif to noncgi folder. calendar.txt you don't upload, you open it and do the steps it tells you to...
Sorry LK, I see now you already answered it smile

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
LK, will there be a ton of new features? cause I just moved the hack to css, and I love it, but I don't wanna lose all my work to upgrade. will the main thing be the rebuild feature?

PS. you should check out the calendar on my boards, I added some cool css tricks to make the current day emboss smile

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
not tons of new features. just the ones I mentioned in the previous page, in todo list.

btw, I love what you did in the calendar (the effect of the current day)... you think I should add something like that to the next version? (so instead of "Today Background Color" it would be "Today CSS Text", with a textarea)

Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
personally, I think everything on the net should be css, it's so easy to use and allows for a lot more flexibility. maybe you should give people a choice, cause a lot more people know hexcodes than know css. ie instead of multihack and text, css and the bad one wink

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
catcherman, would it be alright if I allow smilies and not images? (I guess you'll have to add a smiley for full moon and a smiley for new moon when you update the calendar, it's not that difficult)

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
EDIT: I got the ubbcode buttons to work, but the smilies wouldn't show, so I used the popup feature it had.

Thanks for your help smile

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Done for 2.1:
  • put version number at top of lib_calendar..
  • put add new event at the line of "Events for".
  • ability to add smilies to title
  • totally redesigned Review page (now it looks like New Event page)
  • now there is only one template - public_calendar.pl, and calendar uses only one ?ubb= shortcut (calendar).


www.lkworld.com/?ubb=calendar

Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
LK, that sounds great. Thanks for your hard work.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
sounding good LK thumbsup


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Hey LK, I'm trying to set it up so that I can access the calendar through SSI (well PHP includes but give or take it's the same thing) but when I try to go to http://tavern.undergroundnews.com/cgi-bin/ultimatebb.cgi?ubb=calendar_ssi&css=yes I recieve "You're trying to access a page that does not exist"... Any idea's? BTW, I used the mhk smirk...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
ahhh, the instructions i saw stated that it was ultimatebb.cgi?ubb=calendar_ssi.cgi?css=yes :X... Sorry...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
yeah, you're right, I forgot to update ubb_calendar_ssi.cgi... tipsy it should be:
Quote
quote:
## This file can be called with for today's event
## and for monthly events (or if you'll use CSS).

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
:x, i've just been an error finding midget lately haven't i.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Yesterday I've finished creating Calendar v2.1, and I'm gonna publish it the moment 6.6.0 br1 is out, unless there's gonna be an unexpected problem... you'll rebuild the birthdays in the same place where you rebuild the member stat files, instead of adding a whole new subroutine for that.
also vars_calendar_events.cgi is redesigned, but no fear, I made upgrade.cgi which updates your calendar_events file to v2.1... it removes all the birthdays, because it's a very simple procedure to rebuild member stat files from CP.

new vars_calendar_events.cgi example:
[code][/code]oh, and all the fake smilies you see in @events, they were real smilies but I edited them in this post because I didn't want my post to enlarge this page (you know, long stuff in [code] tag make the topic page look really ugly).

Joined: Nov 2001
Posts: 96
Member
Member
Offline
Joined: Nov 2001
Posts: 96
Woohoo! Keep up the good work!


"For who would lie idle when the king has returned?"
www.MinasTirith.com
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
question: should I add "Birthdays Today" to forum summary, like in vBullrtin? it's possible in 2.1

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
well what would be the big difference between that and the normal summary we get from the calendar on the main page?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
that it'd be like "Today's Birthdays: LK (21), Weird Al (59), Lincoln (195)" (links to profiles when you click on the name), instead of "Today's Events: LK's Birthday, Weird Al's Birthday, Lincoln's Birthday, I got a new computer, UBB 6.6 release"

btw yeah, I know, you haven't really been born in '55 tipsy

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
quote:
Originally posted by LK:
that it'd be like "Today's Birthdays: LK (21), Weird Al (59), Lincoln (195)" (links to profiles when you click on the name), instead of "Today's Events: LK's Birthday, Weird Al's Birthday, Lincoln's Birthday, I got a new computer, UBB 6.6 release"

btw yeah, I know, you haven't really been born in '55 tipsy
Oh, I like that.

BTW: 55+59 would be 2014, not 2003 tipsy I'm a young'un

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Sorry, I meant 49 tipsy

Joined: Sep 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 2
I am new to UBB and I tried to install this calendar hack... why it never show any of my members' birthday? can LK help? smile

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
One thing you should do is update your profile and see if your birthday shows. You need to update your profile to add it to the calendar. If it isn't that, LK probably knows the problem smile

Joined: Sep 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 2
I updated my profile. I mean add-in a date of birth right?
BTW how do you add the profile to the calendar?

My calendar works well in term of posting events and viewing events... but it just doesn't show any birthday.. frown

I am using UBB classic 6.5

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I reccomend you verify all the steps in public_edit_profile.pl and ubb_profile.cgi. those are the files that control that

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
ok. im making the commitment and adding this mod!

will it be an easy apply to 6.5?

i know LK has said that some steps might be different ... anyone know for sure?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
quote:
Originally posted by drkknght:
ok. im making the commitment and adding this mod!

will it be an easy apply to 6.5?

i know LK has said that some steps might be different ... anyone know for sure?
I've got it up and running on my 6.5 without changing a letter in the install txt

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
woo! installed and workin smooth -- nice job! smile

a question: new registered members show up a-ok, but lotsa posters on my board have already registered with their birthdays ... other than manually entering the events, is there anyway to add their b-days to the calendar?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
the only way to do it is to have them to update their profile. that might be different in the next version, but that'll be 6.6 only from what I've heard

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
LK, now hat 6.6 is out, and word on when 2.1 will be out?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
maybe you've heard differently but it's very difficult to post a hack when you're abroad.. wink

anyhow... www.ubbdev.com/lk/calendar66.zip - alpha version... test please

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
quote:
Originally posted by LK:
maybe you've heard differently but it's very difficult to post a hack when you're abroad.. wink

anyhow... www.ubbdev.com/lk/calendar66.zip - alpha version... test please
I just think it's sad the way you think females can't post hacks. That's sexism tipsy

(sorry, but I'm tired and this seems funny)

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Code
	$total_members = (@members + 1);    #the total number of registered users
isn't in ubb_registration.cgi.

Code
	my $total_members = scalar(@members) + 1;    #the total number of registered users
is

I'll get back to you on the rest of the hack once I can get into my cp frown

Page 3 of 4 1 2 3 4

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
hatter
hatter
USA
Posts: 69
Joined: January 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
Morgan 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)