Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 7 1 2 3 4 5 6 7
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Modification Name: Calendar

Author(s): LK, originally by jordo

Description: This modification will add a calendar to your UBB. UBB's birthday will show up in the calendar and add an avatar near the user's name in his/her birthday. You will also be able to post an announcement and set a calendar date and it will show it in the calendar. It's 100% Templetized and Wordletized and includes a CP interface. smile

Demo: https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=calendar

Requirements: UBB.classic™ 6.6.0+

Download Link: ZIP File or MultiHack File (created by Allen).

Other Info: New in 6.6 version: when you rebuild member metadata, the birthday file is automatically updated to be kept up-to-date with the latest records.

Number of Downloads: [img]https://www.ubbdev.com/lk/num.php?s=calendar66.zip[/img]

Sponsored Links
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
Demo:

FYI
You are attempting to reach a page that does not exist.

ยป Please use your browser's back button to return.


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 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thanks LK thumbsup


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
yeah, I didn't install it on ubbdev yet tipsy

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
any new changes?


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
Sponsored Links
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
awwe no link to calendar re-location?


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: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
the code is different, so you'll need a 6.6 version anyway smile

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oops, ZIP file updated, please rehack ubb_forum_summary.cgi and update vars_wordlets_calendar with the 2 "forum_summary_X" values..

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
Quote
quote:
Originally posted by Gizzy:
any new changes?


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: 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 Gizzy:
quote:
[qb]Originally posted by Gizzy:
any new changes?[/qb]

If you mean from 2.0 to 2.1, a bunch

- You can now rebuild the birthdays, which was a big problem back when banned members were still on the calendar
- Smilies can now be in the titles
- Only one template file, where as there was like 3 before
- You can edit one event at a time, instead of having to open up all the events that day
- Events and birthdays are now listed separately, and there is no more "No events schedules for today". If there is no event, it won't be there at all

A demo until he gets the one up at UBBDEV can be seen here

Sponsored Links
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
mmmm, sounds super... lemme grab the 6.5 one :x...


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: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
LK, is there anything "buggy" about this?

ie. why still in beta?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Weird Al's feature listing is correct.. there are also more features, such as a rebuilt event review smile

It's still in beta because in my opinion any "complicated" hack should be in beta stage for some time before being considered final... and the 6.5 one isn't considered final because if it were final, there wouldn't have been a calendar v2.1.

btw, nice signature smile

Joined: Nov 2001
Posts: 96
Member
Member
Offline
Joined: Nov 2001
Posts: 96
BTW, thanks for grouping the changes in calendar.txt to put .pl files seperate from .cgi files. Makes editing much less acrobatic.

That and upgrade.cgi seems pretty simple now.

You didn't forget a single one of my suggestions yet! smile


"For who would lie idle when the king has returned?"
www.MinasTirith.com
Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
Installation was easy! It was nice to not have to bounce back and forth between CGI and non-CGI folders.

Is there anyway to make the calendar events span more than one day, or do I have to create an event for each day?

Here is my site, you can register to check it out, or I'll provide you with a log0-in at your request. Thanks!

--Phillip

http://4.3.203.28/tin_benders/cgi-bin/ultimatebb.cgi

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Hey LK, the weekly events only repeat for that month, and not the following ones. ie if I set tomorrow to start a weekly event, it'll be every wednesday in november, but not in december

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
that's currently the designed behavior... I believe you can change that in ubb_lib_calendar.cgi, where it searches for /w/ and replaces the month-day with the day on the current week, also make it replace the month with the current month

Joined: Nov 2001
Posts: 96
Member
Member
Offline
Joined: Nov 2001
Posts: 96
Wah! Still beta! frown


"For who would lie idle when the king has returned?"
www.MinasTirith.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
it works fine, the beta is just so he can add to it without making it 3.0

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
yeah, beta is only because the feature list isn't final. smile

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi,

i can nothing see at my forums-home page....

What can I do...

http://www.ubb-test.board-world.net/cgi-bin/ultimatebb.cgi


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
nothing shows unless there is an event today, so just add an even today and it will show smile

*hopes this time the post stays*

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Weird Al,

ist there no possibility, like in 6.4 or 6.5 to show the calendar "column" everytime...like here:

http://www.d-talk.tv/cgi-bin/ultimatebb.cgi


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
it's actually quite easy
FIND IN UBB_FORUM_SUMMARY.CGI
Code
</tr>
$TBB
~ : '' ;
REPLACE WITH:
Code
</tr>
$TBB
~ : qq~

$TBT
<tr><td background="$vars_style{AltColumnColor1}"><font color="$vars_style{TextColor}" face="$vars_style{FontFace}" size="$vars_style{FDTextSize}">
$vars_wordlets_calendar{NoStinkinEvent}</font></td></tr>
$TBB~;
And in vars_wordlets_calendar.cgi, add the line
Code
    q!NoStinkinEvent! => q!No Events Scheduled For Today!,
somewhere in the middle. just go into the cp and change that wordlet to whatever you want

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Weird Al,

thank you very much!!!!

Can you help me again?

Look at http://www.ubb-test.board-world.net/cgi-bin/ultimatebb.cgi

Something is wrong their with the calendar link...

What can I do...

Thanks again :-)
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
did you mod the public_common.pl file? Make sure those steps were done correctly (I think it was only one step)

EDIT: heading to class, will help tonight

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
No, not the link there, the Link above recent Visitors, ":Kalendertest".....


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
It works thank you!!!


Webmaster of d-talk & Kabel-Forum.com
Joined: Feb 2003
Posts: 179
Member
Member
Offline
Joined: Feb 2003
Posts: 179
quick question - can you restrict access to this calender so that its only available to registered users? (i dont restrict access to members only, just require login on on posting).

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
I don't know if this was answered or not, but how would one go about putting the calendar on the home page such as is done here at UBBDEV? Would that simply be by including an SSI tag where we want the calendar to show up?

- MT

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Code
## This file can be called with <!--#exec cgi="ubb_calendar_ssi.cgi" --> for today's event
## and <!--#exec cgi="ubb_calendar_ssi.cgi?s=yes" --> for monthly events
(or <!--#exec cgi=ubb_calendar_ssi.cgi?s=yes&css=yes" --> if you'll use CSS).
use those codes accordingly and put it whereever you want in your page

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi,

i build it into 6.7 and get that error:

Global symbol "%vars_calendar" requires explicit package name at CGIPath/ubb_profile.cgi line 964.
Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 965.
Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 967.
Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_profile.cgi line 970.
Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 973.
Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_profile.cgi line 973.
BEGIN not safe after errors--compilation aborted at CGIPath/ubb_profile.cgi line 1051.

what can I do?


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
right before that code, add

Code
my($poster_name, $julian_bday);
use vars qw(%vars_calendar);

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Now I get this error when I klick at Agreement view on profile page

Global symbol "%vars_calendar" requires explicit package name at CGIPath/ubb_registration.cgi line 703.
Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_registration.cgi line 704.
Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_registration.cgi line 706.
Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_registration.cgi line 716.
Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_registration.cgi line 718.
Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_registration.cgi line 718.
BEGIN not safe after errors--compilation aborted at CGIPath/ubb_registration.cgi line 775.


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
I added the to lines before the new code in ubb_registration.cgi and now it works....


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
As an asside, what script was used to get this to show up as a little calendar on the main page?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
look at the top of ubb_lib_calendar_ssi.cgi to see the examples

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
On my site I use:
[code][/code]


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: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi,

can you tell me what I have to do, that calendar looks like at Al's page?

[Linked Image]


Webmaster of d-talk & Kabel-Forum.com
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
That's default for the presant version out when there is no event I believe...


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
Page 1 of 7 1 2 3 4 5 6 7

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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 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)