Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 5 1 2 3 4 5
#151856 05/09/2002 3:47 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Original Author: 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.

Requirements: Valid license, UBB™ 6.3.0.

Download: ZIP File or MultiHack File

Demo: http://www.lkworld.com

Number of Downloads: [img]https://ubbdev.com/lk/num.php?s=calendar.zip,calendar.mhp[/img]

Good luck! smile

Sponsored Links
Joined: May 2001
Posts: 41
Member
Member
Offline
Joined: May 2001
Posts: 41
I know, I probably missed it some where like i did on the member list. But there seems to be a prob, with ubb_lib_posting. Seems it can not find the string to replace the old data. I will double check again, but i thought i would bring this to your attention LK. smile

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oops, try again now smile (download the zip/mhk again tipsy )

Joined: May 2001
Posts: 41
Member
Member
Offline
Joined: May 2001
Posts: 41
Thank you kind sir. Works great now laugh laugh smile

Joined: Apr 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 24
Hey LK, this is my first time trying to install hacks to my UBB. I'm running 6.3.0 now and I got the spell check hack installed on it just fine. But when I try to install the calendar hack I have problems.

I use the Multihack file and I run the Anlayze on it first and the line after it begins Analysis says this
quote:

cp.cgi Append Applying Mod ERROR: Requires vars_wordlets_calendar.cgi in cp.cgi

I don't quite understand what it's wanting since I assumed the vars_wordlets_calendar.cgi file would be installed with this hack.

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It's cause you have already installed the spellchecker tipsy

In the MultiHack, find the cp.cgi step that says:
Code
[/code]Replace it with:[code]

Joined: Apr 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 24
I didn't think of that. Thanks LK, that did it.

Joined: May 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 6
How does one delete an entry to the calendar?

Great hack by the way!

Thanks...

Joined: May 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 6
quote:
Originally posted by snkbitn:
How does one delete an entry to the calendar?

Great hack by the way!

Thanks...

vars_calendar_events.cgi duh ! :rolleyes:

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Or go to the day in the calendar and click on 'Review Events' (at the bottom of the page)

Sponsored Links
Joined: May 2002
Posts: 16
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 16
hey man, great hack!

i'm installing it right now on my board!

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Silly question tipsy , but how can I get the Birthdays to show up on the Calendar? Everything appears to work great, apart from a lack of birthdays frown

Cleared the cache to no avail...

Ian


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
AFTER installing the hacks, enter my profile -> Edit My Profile, make sure you chose to SHOW your birthday and click on update. If you did it before installing, it won't show up. If it still doesn't work, rehack ubb_profile

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Okay - so until people edit their profile and click on save they will not show up - even if the box is ticked previously.

Thanks.

Ian.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: May 2002
Posts: 28
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 28
Mod works great but is there anyway to put a small calendar on a main page (non-ubb) like on this site that is also updated like the large one?

Thanks! laugh

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
or

Joined: Sep 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 30
humm, I'm getting this error when I try and access the calendar settings from the cp. Any ideas?

quote:

You do not have permission to access this area.

» Use your browser's back button to return.

One other item, what file do I rehack if I've applied JC's templates?

Thanks again, great hack btw.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
1. Rehack cp.cgi

2. all public_* files

Joined: Oct 2001
Posts: 114
Content Kidman
Content Kidman
Offline
Joined: Oct 2001
Posts: 114
Using the MultiHack file it fails to edit cp.cgi correctly.

It's looking for...

[code][/code]...but after installing the Mods Wordlets hack you're instructed to insert "wordlets_mods" before "display misc" so it misses it.

Joined: Sep 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 30
Ok, Rehacking the cp.cgi worked, I looked at the public_* files that are hacked for calendar and compaired them to the files that are on the server after applying the JC template. They are the same.. any ideas?

never mind, found the templates I need to rehack..

Joined: Sep 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 30
All the files that are left to hack are the JC template public_common.pl and the like. All the .cgi files are good to go.

The standard hack for public_common.pl here is the code in its entirity

*************
*************
######################in public_common.pl

######after:

# Forum Home
push(@items, qq($vars_wordlets{forum_home_link}));

######add:

# Calendar
push(@items, qq(>$vars_wordlets_calendar{calendar_link}));

***********
***********

and here is the code from JC's template public_common.pl that the above code would follow:

**********
**********
# Forum Home
push(@items, qq($vars_wordlets{forum_home_link}));

***********
***********

What I'm looking for is how to rewrite the hack code in bold to work with his templates. If anyone could help it would be appriciated

Thanks again.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Instead of the bolden part, use:
$vars_wordlets_calendar{calendar_link}));

Then upload calendar.gif to your noncgi dir with "calendar" wording on it

Joined: Sep 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 30
Thanks, that worked great.

Joined: Feb 2002
Posts: 30
Junior Member
Junior Member
Offline
Joined: Feb 2002
Posts: 30
The way the script is set up now if you have a "weekly" event and input it, it only lists it for that current month. Is there any way to make it so that a weekly event goes throughout the year, so that you don't have to enter it again each month?

This would be mucho helpful smile

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
quote:
Originally posted by JustAskJulie:
The way the script is set up now if you have a "weekly" event and input it, it only lists it for that current month. Is there any way to make it so that a weekly event goes throughout the year, so that you don't have to enter it again each month?

This would be mucho helpful smile

I'd love to see this option, too, or even one where I could post one for several days.


Sue
adwoff.com
Joined: Feb 2002
Posts: 30
Junior Member
Junior Member
Offline
Joined: Feb 2002
Posts: 30
quote:
Originally posted by ADWOFF:
I'd love to see this option, too, or even one where I could post one for several days.

I agree there too. I would love to be able to post events that span multiple days.

Joined: Jul 2001
Posts: 158
Spotlight Poobah Winner
Spotlight Poobah Winner
Offline
Joined: Jul 2001
Posts: 158
Lk,

the poster name is not showing up on my calendar just 's Birthday also, the 's Birthday seem to be disapearing, next day they were all gone.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Glass, rehack ubb_profile.cgi AND re-upload vars_wordlets_calendar.cgi - I added something for our frenchman (chuck) a while back, and it changed the way that birthday thing works.

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

after I have installed the "Calendar-Hack" I can't open my ultimatebb.cgi....

After a time there is a blank site.... What can I do???

Link: http://www.ubb-classic.de/cgi-bin/ultimatebb.cgi

My cp.cgi is normal

http://www.ubb-classic.de/cgi-bin/cp.cgi

Please help me...

Thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Anything in the error log? If not, unhack calendar hack, make sure it works without it and rehack it.

Joined: Jul 2001
Posts: 158
Spotlight Poobah Winner
Spotlight Poobah Winner
Offline
Joined: Jul 2001
Posts: 158
Thanks LK

Joined: Sep 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 30
Ok, how do you remove entries from the calendar? I posted a test message and had it put an entry into the calendar then I deleted the message but the entry stayed in the calendar.

Is there a way to edit entries in the calendar that I'm missing or is that a feature that could be added?

Nice work btw.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Just enter that day and click on "Review today's events"

Joined: Sep 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 30
If you are using JC's templates and you can't find where to put the $calendar after the second $TBB it goes here

$TBB
$calendar



~;

return ($Bottom);

Thanks LK for reminding me to look more closely at my pages. smile

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
Check out these forums. You see how they got the Calendar to show up as a Forum Category? How'd they do that? Is there a hack that can do it? Or do you suppose they just figured it out on their own?

I'd -love- to have that since most people seem to miss the calendar link completely because of its location andd size. Hell, after I installed it, I missed it completely because of my browser size! (Yeah - I'm a dumbass...). So if one of you could point me in the right direction, that'd be just dandy!

Joined: Jun 2002
Posts: 1
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 1
Looks good this script...going to install it now...i`ll give you a link when i have installed it...aight smile

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Shadow, https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=17;t=000386

It should work with 6.3 as well smile

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
Thanks LK. I'll be trying it tonight and will post my results.

Update: Worked just fine! Thanks again!

Joined: Mar 2002
Posts: 99
Member
Member
Offline
Joined: Mar 2002
Posts: 99
i was curious how to make the tiny calendar that goes on the left or right of the board...not sure if it has anything to do with this hack or not.

Joined: Jul 2000
Posts: 837
Member
Member
Offline
Joined: Jul 2000
Posts: 837
yeah it is part of this hack just place

[code][/code]it in your .shtml wher you would like to have the calender to show up.

(edit)humm you are talking about this one right if so this is the one.
https://ubbdev.com/

Joined: Mar 2002
Posts: 99
Member
Member
Offline
Joined: Mar 2002
Posts: 99
yes..thank you man. that's a lot of help.

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
Hey LK -

Two quick questions for you.

First, check out my calendar for the month of July. Look at Wednesdays. You see how it has duplicated Saturday's listings under Wednesdays?

I've tried deleting both and recreating them. Initially, I thought it was because my headings were very similar. So I changed them to what you see now, but the same thing happens. Whichever weekly event I add second shows up as a duplicate under the other day. However, if you go to edit that day's event, the duplicate entry doesn't show up. Very odd. Thought you may have a solution for me.

The next question is pure laziness on my part and you do not have to answer it if you don't wish, because I'll just look later for myself if you don't (how's that for blatant honesty? laugh ).

This refers to when you put the small calendar on another page. Which file do I have to edit to change the link colors, etc., so that they don't clash with my background color?

Thanks for your help, LK!

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
1. I'll test it in a bit
2. RTM - use ?ubb=calendar_ssi&css=yes. Then use classes notmonth and link. Use classes:
[code][/code]

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
1) here it's in sat + sun... weird

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Thanks, re-download calendar zip/mhk and re-upload ubb_lib_calendar.cgi, tell me if it fixes it smile

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
That seemed to do the trick! Thanks for the outrageously quick response and fix!

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
quote:
Originally posted by LK:

2. RTM - use ?ubb=calendar_ssi&css=yes. Then use classes notmonth and link. Use classes:

Out of curiosity, where is this documented? I looked in the *.txt file included with the release and didn't see any mention of this.

I'd just like to see if there are any other commands I can play with.

Joined: Mar 2002
Posts: 99
Member
Member
Offline
Joined: Mar 2002
Posts: 99
ok...i'm sure this is an easy question. on my main page i don't have the forums sepearted by lines but i would like the days on the calendar to be sepearted by boxes. the problem is that the calendar works off the main page template.

how would i go about making the calendar go by the template of the "search" pages, or the "transitions pages" or whatever i would like?

Joined: Mar 2002
Posts: 99
Member
Member
Offline
Joined: Mar 2002
Posts: 99
i don't usually bump **** but i have a feeling my problem is real simple to fix so... smile

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Take statistic hack's instructions for the style template thing and convert it to calendar.

Shadow - dunno tipsy

Joined: Mar 2001
Posts: 83
Member
Member
Offline
Joined: Mar 2001
Posts: 83
Hey LK,

I'm using this mod a long time, but now with 6.3.0.1 I get this error if I add a event:

[code][/code]And a similar message if I delete a event. Although the action is taken, but always with this error. Any idea?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Ever thought of upgrading to the latest version of Calendar? :rolleyes: wink

Joined: Mar 2001
Posts: 83
Member
Member
Offline
Joined: Mar 2001
Posts: 83
Uhm, yes, you're right. Sorry. I've hacked with the latest version, but forgot to upload the new ubb_lib_calendar.cgi

Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Hey kids smile

I made compact header versions of the calendar templates. not really rocket science but I though I'd give a little something back.

http://www.freakscene.net/hacks/calendar-compactheaders.zip

just cause i love you guys thumbsup

demo :: http://www.freakscene.net/cgi-bin/ubb/ultimatebb.cgi?ubb=calendar


jeremiah
Joined: May 2002
Posts: 362
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 362
Pardon me if this has been asked before, but what file would I alter if I wanted to add a disclaimer at the top of the calendar page? Sort of like an announcement/forum introduction at the top of a forum....

Thanks:)

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
public_calendar_display.pl

Joined: May 2002
Posts: 362
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 362
Got it! Thank you very much!

Joined: Mar 2002
Posts: 99
Member
Member
Offline
Joined: Mar 2002
Posts: 99
yo LK...i tried going through the statistics hack to figure out how to associate the calendar with another template besides the main page but had no luck. any more help you could give me?? smile

Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
EDIT: Never mind, Allen's helped me fix my problem - Trying to move the position of the calendar box around but got stuck... Meh, well, that's what happens when you're stupid tipsy

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
not stupid, just trial and error smile
quote:
Originally posted by freak.scene:
Hey kids smile

I made compact header versions of the calendar templates. not really rocket science but I though I'd give a little something back.

http://www.freakscene.net/hacks/calendar-compactheaders.zip

just cause i love you guys thumbsup

demo :: http://www.freakscene.net/cgi-bin/ubb/ultimatebb.cgi?ubb=calendar

thanks jeremiah smile


- Allen wavey
- What Drives You?
Joined: May 2002
Posts: 77
Member
Member
Offline
Joined: May 2002
Posts: 77
Here's a little idea for an addition:

Allow all registered users to post calendar entries that admins or mods would have to approve before they appear. Maybe even have an email sent to the admin everytime a new post is added and waiting to be approved. I don't want to let everyone just openly post entries because a lot of crap would get added, but I'd rather not have to enter every event myself either. If I could just go through and approve events as they are submitted it would be very handy.

Joined: Jul 2002
Posts: 49
Member
Member
Offline
Joined: Jul 2002
Posts: 49
what about a board that has 2000+ members with people posting events non stop *flooded email in-box* <--- moral

Joined: May 2002
Posts: 77
Member
Member
Offline
Joined: May 2002
Posts: 77
Obviously there would be the option of turning the email notification on and off, just like there is now for new registrations.

What kind of board are you running with people posting events non-stop? Allowing everyone to post events without approval would mean a HUGE calendar and if you had to post each event yourself you'd be making entries to the calendar all day.

Approval would keep out the garbage posts and save a lot of time. You wouldn't have to individually give authorization to post, you'd keep garbage entries off the calendar, and you wouldn't have to make the entries yourself (just approve the ones coming in).

Joined: Mar 2001
Posts: 65
Member
Member
Offline
Joined: Mar 2001
Posts: 65
It could be helpfull if poeple must have a specified rank before they can suggest a posting for the calendar. I dont think there will be a flooding-problem. You can see who did it and suspend this user.

Joined: Jul 2002
Posts: 49
Member
Member
Offline
Joined: Jul 2002
Posts: 49
and your bandwidth usage would jump through the roof correct?

Joined: Mar 2001
Posts: 65
Member
Member
Offline
Joined: Mar 2001
Posts: 65
This also can happen with topic-poster-spammer-flooding-whatever. There is no difference in using the calendar or just postings.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
You can just choose that only admins, mods and special users can post events instead. (special users - choose in edit profile from cp)

Joined: May 2001
Posts: 22
med Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 22
Hi. I dunno if this was already requested but what do you think about this little addon to the calendar.

- A birthday list in my profile. The member puts other member in this list and chooses to be notified by e-mail X days before the day.

What do you think ?

Thanks and great job!

Med.

Joined: Jul 2002
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 11
Hi, calendar does not display in forum summary and when I try to edit wordlets in CP i have this error :

Action not permitted.

» Use your browser's back button to return.

I read i should rehack it, but what does it mean ?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Adri, please make the "Powered by Infopop Corporation" part of your copyright wording visible. About your problem, rehack ultimatebb.cgi and cp_wordlets.cgi, then re-upload vars_wordlets_calendar to cgi-bin (or variables) folder.

BTW, I'm in the AOM alpha list laugh

Joined: Jul 2002
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 11
Hum hum well I put it again, anyway you can remove it without violating license, just add style="display:none;visibility:hidden" you don't remove the copyright, it appears in source code wink

I'm also in the AOM alpha and beta list, and ES allowed me to give out 20 alpha version to our forummers wink

So what do you mean with rehack ultimatebb.cgi and cp_wordlets ??

PS: I knew admin read user emails, I should have entered my hotmail one tipsy

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Hack (modify) them again from backups.

BTW, it IS a violation - they have to be visible for a naked eye tipsy

Joined: Jul 2002
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 11
>>Hack (modify) them again from backups.

I did this twice, using the multi hack file, and it's not working.

>>BTW, it IS a violation - they have to be visible for a naked eye

Then you can use background color + 1lightness tipsy

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
1) and did you re-upload vars_worlelts_calendar to cgi-bin dir?

2) nope, then it can't be seen easily. tipsy
quote:
All such notices or legends remain readily perceptible to the human eye.
http://www.infopop.com/products/ubbclassic/license.html

Joined: Jul 2002
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 11
1. My vars files are not in cgi-bin but I reuploaded all files to their respective folders. Maybe does it interfer with CP addon ?

2. it can be readily perceptible but so hard and annoying using close colors that nobody would read tipsy

Joined: Jul 2002
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 11
So ? Maybe they re is a bug, you may have used CGI_DIR instead of VARS_DIR so it doesnt work for me...

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
And I think you're wrong, as it's recognized with the foreach that requires almost every other variable file. tipsy

Rehack EVERYTHING, re-upload EVERYTHING, re-chmod EVERYTHING. okay? wink

Joined: Jul 2002
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 11
Arg I'm not a noob tipsy My chmod are allright, anyway I'm going to look myself for it, because I'm too lazy to rehack everything since I improved many parts of the code myself (yes, some mod makers and even infopop program like perl newbies = bad security, very long code and bad perfs).

It seems the problem comes from these variables files anyway, but I'm going to make this $^@ calendar work wink

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
The calendar works if you install as written in the install notes. I have installed it many times on quite a few different sites/servers.


- Allen wavey
- What Drives You?
Joined: Jul 2002
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 11
Well I used the multi hack file so it's a bite harder to see what modifications the script applied, but I'm going to check the manual way, thx for the tip (I didn't notice there was also a text installation).

# Modifies: #
# ultimatebb.cgi, ubb_lib.cgi, #
[...]

well first ubb_lib.cgi hasn't been modified using multihack... so the problem should be here.
And no... it's written modifies ubb_lib.cgi but there is nothing to do there smash

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I used the mhp yesterday, it installs easily smile

You mentioned changing the files, that's probably where the error is.


- Allen wavey
- What Drives You?
Joined: Jul 2002
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 11
Yes certainly, so I have to do it by hand. However multihack didnt report any errors.

If I have time I think I'll publish a hack, let's see wink

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
quote:
Originally posted by Adri2:
some mod makers and even infopop program like perl newbies = bad security, very long code and bad perfs

So why do you use these hacks and "fix" the problems instead of starting from the scratch? :rolleyes:

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Check your PM's adri.

Joined: Jul 2002
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 11
quote:
Originally posted by LK:
quote:
Originally posted by Adri2:
some mod makers and even infopop program like perl newbies = bad security, very long code and bad perfs

So why do you use these hacks and "fix" the problems instead of starting from the scratch? :rolleyes:
Because me very busy and it'd require some hours to understand how ubb works so it's faster to make mods of mods already done wink

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Updated to 6.3.1 smile

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
LK I wanted to ask you the following: How hard would it be to make the calendar a standalone script ? (I mean not to need to edit any ubb files) can this be done and where do I need to start ?


Do you believe in love at first sight,
or should I walk by again?
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It's not so hard but too hard for me to post it all on the fly tipsy

Basically, you have to use open(), etc instead of OpenFileAsX, etc. Also add #!/usr/bin/perl, use CGI........ You'll also have to change the design, otherwise $Header, $TBT, $TBB, $Footer and others don't exist.

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
yes but it will stll run in the same dir as UBB so I can still reuse some variables. The thing is I am thinking of using beta UBB on my website but since I cannot modify it I have to find an other way of keeping the calendar smile


Do you believe in love at first sight,
or should I walk by again?
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oh, if you can use UBB's library it's much easier... Copy the beginning of ubb_calendar_ssi.cgi (from the beginning until "use strict;", EXCEPT for the UNLESS line) to ubb_lib_calendar.cgi, then add:
Code
%in = map{
my @z = param($_);
( scalar(@z) > 1 ?
( $_ => join(",", @z) ) :
( $_ => $z[0] )
)
} param();
if ($in{command} eq 'add') { &sub_that_adds; } elsif ($in{command} eq 'review') { &sub_that_reviews; } elsif ($in{command} eq 'submitadd') { &sub_that_submits_add_details; } elsif ($in{command} eq 'submitreview') { &sub_that_submits_review_details; } else { &sub_that_views; }
Then change the &sub_that_etc_etc to their real names, and use ubb_lib_calendar.cgi (but you'll have to edit every public_calendar_X and public_new_calendar_event to use ubb_lib_calendar, and if needed also use COMMAND instead of UBB in
lines.

Joined: May 2001
Posts: 58
Member
Member
Offline
Joined: May 2001
Posts: 58
Quote
quote:
Originally posted by LK:
Updated to 6.3.1 smile
Ok, I am using your MHK from your site:

Hmm, $show_public_name does not appear in public_topic_page.pl is that now called $linkname?

ubb_lib_posting, I have the following:
$pm_link, %rate_list, $Avatar, with two more vars on the next line followed by ) Your step should not have the )

Just some FYI.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Yes, I had to update my mhk as well smile


- 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
Sorry shocked

Edit: fixed (both MHK and TXT)

Joined: Jan 2002
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 13
is there another download location because the current one doesn't want to work

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
This was the first big hack I ahve done that went with no user errors smile

Woot

thanks everyone loves it

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Olliey2k, use www.ubbdev.com/lk/calendar.zip

Chimera, laugh

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
Quote
quote:
Originally posted by LK:
or
Help the ID10T

Where does this go? :rolleyes:

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Where you want the calendar in .shtml files. (if you don't know what's SHTML, disregard it tipsy )

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
Hmmm cool smile

I was thinking I could place it along side the forums, like I see banner adds and paypal banners. frown Ok Ill find a forum to ask that question cause I cant get the syntax right for a search.

thing about searching. . . you need to know what you're looking for laugh

Joined: Dec 2000
Posts: 12

Member

Member
Offline
Joined: Dec 2000
Posts: 12
Hrmmm .. Have events posted but my main page always says No events scheduled for today...

http://www.nakkc.org/cgi-bin/ultimatebb.cgi

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394

Joined: Dec 2000
Posts: 12

Member

Member
Offline
Joined: Dec 2000
Posts: 12
yeah i just deleted it lol... had event down as weekly

Not to mention Im vacationing in Malaysia right now, so im a day ahead of server.... My time is screwed lol.. Check ur PM also... PLZ

UPDATE: I refreshed it like 5x and it finally showed ... sorry for bugging ya hehhehe... I need to close the laptop... IM ON VACATION!!!

Joined: Jul 2002
Posts: 20
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 20
Is there a way to control who can view the calander?

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
Yes In control panel 'Calendar' section is a radio button "make private" or some such.

then you go ONE-BY-ONE and add who you want.

What would be cool is if there was a hack that listed members and put the checkboxes after each name, all on one page>

Hmmm think I have a mod suggestion wink

Joined: Jul 2002
Posts: 20
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 20
Excellent. smile More incentive to upgrade to 6.3.1 now. (It would appear this mod doesn't work in 6.3.0 anymore.)

Eric

Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Hi LK,
Excellent Hack - Is there any way to anchor the event date in the calendar to the event disciption so that the discription comes to the top of the page?
I hope I am making this clear.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Chimera, that checkbox is to control who can WRITE the calendar, not read tipsy

Ed, ubb_lib_calendar.cgi. find: (twice)
Quote
code:
Code
$todaysevents{$j} .= qq~$desc[2]
~;

Replace with:
code:
[qb]
Code
$todaysevents{$j} .= qq~$desc[2]: $desc[3]
~;
[/qb]

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
OK how do I set rights to see the calendar? Or more to the point not see it smile

Joined: Sep 2002
Posts: 26
Junior Member
Junior Member
Offline
Joined: Sep 2002
Posts: 26
Hi All,

Was just introduced to this forum afew days ago. Since then I've installed Quick Reply and the Calendar and some other mods but not sure what they do. lol

I just installed Chat but when I go to the CP, I don't see any setting parameters. It is in the drop down menu but when the page refreshes there are no options.

any ideas? I know it is probably something very simple I left out.

Thanks,

Jon Engalla
http://www.filambasketball.com/messageboard.html

Joined: Apr 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 24
LK, found a bug in the calendar functionality. If you create a new event, suppose on Sept. 3, 2002. Set it as weekly and first it only populates each week for the month of Sept. Next, if you go and look at events for another date, say, Sept. 17, 2002, it doesn't show the event that was repeated from the 3rd. It shows on the calendar grid, but not below in the list of events, and it also doesn't show at the bottom of the forum summery.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Chrimera, it's impossible.

Deven, I hate these problems frown I'm testing in a bit

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Fixed, re-download calendar.zip and re-upload ubb_lib_calendar.cgi smile

Joined: Apr 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 24
Thanks a ton, LK! laugh thumbsup

P.S. - One more slight bug, on weekly events, it still won't show them if you have Calendar events showing at the bottom of the forum summary. It only shows them on the first date posted, not the repeats.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Fixed, re-download and re-hack ubb_forum_summary.cgi smile

Joined: Apr 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 24
Dang, that was fast LK, thanks again! laugh

Ack, one mistyped key in your signature can really screw it up, fixed it now. eek

Joined: Oct 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 28
Sorry I got a problem
[Linked Image]

Joined: Mar 2002
Posts: 7
GMe Offline
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 7
Hi LK,
in Germany the week starts with Monday, not with Sunday, what can i do, to change this?

thx und sorry about my english wink

GMe

Joined: Sep 2002
Posts: 26
Junior Member
Junior Member
Offline
Joined: Sep 2002
Posts: 26
Would like to integrate SSI into the sidebar.
Tried to use the following SSI:

## This file can be called with for today's event

This one is working but how do I list the events if there are more than one with say bullets?

## and for monthly events

Not working at all. But it does work if I just plug in the url in the browser...

Joined: Jun 2002
Posts: 136
Member
Member
Offline
Joined: Jun 2002
Posts: 136
I installed this hack and got this error when trying to set the calendar settings in the cp

Code
 
You do not have permission to access this area.

» Use your browser's back button to return.

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
Did you reset permissions?

Joined: Jun 2002
Posts: 136
Member
Member
Offline
Joined: Jun 2002
Posts: 136
Quote
quote:
Originally posted by ShadowChaser:
Did you reset permissions?
Yes I did I will even try that again maybe somehow I missed a file

Peter

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Rehack ultimatebb.cgi.

Joined: Jun 2002
Posts: 136
Member
Member
Offline
Joined: Jun 2002
Posts: 136
Quote
quote:
Originally posted by LK:
Rehack ultimatebb.cgi.
I did that LK and it still is giving me the error that i do not have perrmission to enter the area

Peter

Joined: Jun 2002
Posts: 136
Member
Member
Offline
Joined: Jun 2002
Posts: 136
Well can anyone help me here??

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oops, I meant cp.cgi... so "Rehack cp.cgi." wink

Joined: Jun 2002
Posts: 136
Member
Member
Offline
Joined: Jun 2002
Posts: 136
Quote
quote:
Originally posted by LK:
Oops, I meant cp.cgi... so "Rehack cp.cgi." wink
ok let me try that

Joined: Jun 2002
Posts: 136
Member
Member
Offline
Joined: Jun 2002
Posts: 136
ok for some reason when I split my board into Catagories its now showing the calendar above each catagorie, Can anyone help please??

Peter http://www.cycleshopfx.com/cgi-bin/ultimatebb.cgi

Joined: Jun 2002
Posts: 136
Member
Member
Offline
Joined: Jun 2002
Posts: 136
Quote
quote:
Originally posted by PKassab:
ok for some reason when I split my board into Catagories its now showing the calendar above each catagorie, Can anyone help please??

Peter http://www.cycleshopfx.com/cgi-bin/ultimatebb.cgi
Got it, after messing with some files I found hw to remove the extra ones

Peter

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
Ive been playing with .shtml and the ssi functionality. Now Im a noob to shtml, but when I try to use the ssi command, above the mini calendar I get my cookie info.

thoughts?

BTW Win2K server and IIS5

Edited *** Also posted in SSI forum

Joined: Mar 2001
Posts: 65
Member
Member
Offline
Joined: Mar 2001
Posts: 65
How about a little modification? When you click on an event in the forum summary, a (little) window pops up showing the details only of this event? Not interesting for bithdays, but on self inserted events...

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

i hacked the file public_new_topic_form.pl but nothing is shown at the forums i have choosen in the cp when i want to ad a new posting what can I do?

Thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
You know it only shows it when you create a new TOPIC tipsy

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
But it doesn't show when I create a new topic....

thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Nov 2002
Posts: 1
Junior Member
Junior Member
Offline
Joined: Nov 2002
Posts: 1
why does this happen?
I get this error when I have the page in index.shtml
[an error occurred while processing this directive] [an error occurred while processing this directive]

HELP! I put Absolute Path in and the URl path but nothing works.

Joined: May 2001
Posts: 50
Member
Member
Offline
Joined: May 2001
Posts: 50
Anyway of getting the Calendar forum summary to display the number of events (today) rather than the names of the events (today). I tried using the following code but if there was more than one event it still only displayed one event...

Code
In ubb_forum_summary.cgi Replace:

$calendar .= ", " if $calendar;
$calendar .= $desc[2];

With:

$calendar_events .= ", " if $calendar_events;
$calendar_events .= "$desc[2]";

@cal_evt_array = ($calendar_events);
$calendar = scalar(@cal_evt_array);

Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
how do u get rid of the hyperlinking outta the calendar when u call it via SSI?

Cuz when i call mine via SSI and lets say I have a birthday on a certain day. On my index.html page, it'll show that birthday date in a different color and u can click on it, and it'll goto that date on the calendar on the board.

How do u get rid of this?

Joined: Nov 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Nov 2002
Posts: 5
Are there any plans to make it easy for an admin or moderator to edit the calendar posts without having to edit the calendar cgi file?

Joined: Nov 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Nov 2002
Posts: 5
Also how do I add the Event Calendar like to a page like on the UBBDEV main page?

Opps maybe if I read more....sorry...

Any word on how to easiliy edit events?

Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
Two things I would love to see as additions or modifications to this mod.

1) Ability to associate separate calendars with specific forums? So forum #1's group of people can have an event calendar listing different events than forum #2's users. (On an Everquest Board for example the Warriors and the Necromancers can have thier own lists of things going on specific to them) with the event announcer in the forum header itself. MAYBE a Board Master Calendar listing ALL events but certainly that is to much to ask for smile

2) A way to list upcoming events (SSI perhaps?) maybe optionally set to be listed 3,5,7,14 days out?

Thanks for these great mods btw smile Finally got Multihack working (had to start with a fresh XP install smile ) so am having even more fun than before ... although I miss actually looking at the code and fiddling with it smile

Joined: Apr 2002
Posts: 57
Member
Member
Offline
Joined: Apr 2002
Posts: 57
I LOVE THIS HACK!

Question...is there a way to move the calendar to the top of the Forum Summary or...

Have it show where the the main buttons are for My Profile / Private Messages | register | search | faq | memberlist | forum home | calendar

(The actual calendar of today's events)

Thanks again for great hacks!

You guys are geniuses!

Joined: Aug 2002
Posts: 41
Member
Member
Offline
Joined: Aug 2002
Posts: 41
Is there a way to edit the calendar info easily?? the girl who I have doing the calendar updates asked for editing facilities for entries, but short of her getting a quick lesson in cgi I can't seem to find a way.

djmaine, if you do a search on this topic you will find somewhere the instructions Charles left for me, this allowed me to move the calendar bar to the top of the index page. I'll check tomorrow evening and post his answer if I can dig it out from my info files.

Joined: Apr 2002
Posts: 57
Member
Member
Offline
Joined: Apr 2002
Posts: 57
Click Calendar...
Click Review Today's Events...

Edit the event and click submit

I will search the topic! Thanks!

Joined: Aug 2002
Posts: 41
Member
Member
Offline
Joined: Aug 2002
Posts: 41
Thanks for the info DJ but that only lets you edit the days events, not any that you may have inserted for the future.


Doh! open my mind, click the event for the day you want and try edit that!

Joined: Aug 2002
Posts: 41
Member
Member
Offline
Joined: Aug 2002
Posts: 41
#####################in public_forum_summary.pl:

######find: (twice)

$TBB





######replace it with:

$TBB
$calendar




Move the ..

$calendar

from under the $TBB and place it near the top of the page just above the first occurence of $TBT

At least that worked for me!!

Joined: Nov 2002
Posts: 188
Member
Member
Offline
Joined: Nov 2002
Posts: 188
I too have moved the "Today's Events" section to the top of my board, but would like to change all of the event colors to red, as opposed to the regular text colors.

I have added the font color tag to the calendar events, so it shows them all in red, but I was hoping there is a way to have this done automatically, rather than manually.

Does anyone have any idea how to change this..?

Joined: Aug 2002
Posts: 41
Member
Member
Offline
Joined: Aug 2002
Posts: 41
Colors are changed under the calendar tag in the control panel.

Joined: Nov 2002
Posts: 188
Member
Member
Offline
Joined: Nov 2002
Posts: 188
I was referring to the EVENT TEXT, not the calendar squares.

Joined: Apr 2002
Posts: 57
Member
Member
Offline
Joined: Apr 2002
Posts: 57
Code moving the calendar to the top worked great!

Thanks!

Joined: Apr 2002
Posts: 57
Member
Member
Offline
Joined: Apr 2002
Posts: 57
Is there a way that when you enter a weekly event it goes into all months of the year?

Now it goes one month at a time...

Joined: Jun 2001
Posts: 43
Member
Member
Offline
Joined: Jun 2001
Posts: 43
LK - I hope you get this... Not sure if this has been posted. If it has, I'm very sorry.

I was wondering how you change the color of the text, links, and [] of the small calendar. Saw something about css but am not too sure about how to do css. Could you please help me? I just want to change the black default text to white.

Thanks

you can reach my board by going to http://server945.gisol.com/~nurv
As you can see, It doesn't look too good and if I could change all the text and hyperlinks to white, I could then get rid of the grey background and leave it with my image bg.

Joined: Jan 2002
Posts: 48
Member
Member
Offline
Joined: Jan 2002
Posts: 48
Suggestion for future versions:

I have events that run for multiple days. It would be fantastic if you could create an event and select a date range instead of a single date.

Example, define the event, choose a start and end date, and the script automatically pupulates the days in between.

Joined: Mar 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 8
i installed calendar hack for my 6.3.1.2 board and it works flawlessly. a few thing though.

on my forum summary page the calendar table is all the way at the bottom. is there any way to move it right underneath the recent visitors.

also on the calendar month view. there are two links at the bottom, the 'Add a new event' and 'Review today's events' is there any way to add spaces after and before them? they are squeezed between other text that is is somewhat hard to see.

any help would be appreciated

Joined: Nov 2002
Posts: 188
Member
Member
Offline
Joined: Nov 2002
Posts: 188
I have an odd situation that needs to be corrected ASAP, if anyone knows what to do...

Since I have recently installed the Mega-Mod hack, the 8 folks named as Mega-Mods are not able to upload any calendar data, since I have it restricted. Because of this, I have had to open it up, but don't like doing so.

Any suggestions..?

Joined: Nov 2002
Posts: 188
Member
Member
Offline
Joined: Nov 2002
Posts: 188
Anyone..?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Code
in ubb_lib_calendar.cgi
find: (3 times)
if ($user_profile[8] eq 'Moderator' &#0124;&#0124; $user_profile[8] eq 'Administrator') {
$is_one = "true";
}

replace with:
if (($user_profile[8] eq 'Moderator') &#0124;&#0124; ($user_profile[8] eq 'Administrator') &#0124;&#0124; ($user_profile[8] eq 'MegaModerator')) {
$is_one = "true";
}
that's untested, but should work

Joined: Nov 2002
Posts: 188
Member
Member
Offline
Joined: Nov 2002
Posts: 188
Worked like a champ... THANKS!

Joined: May 2003
Posts: 19
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 19
When I have uploaded all my files...
checked and double checked them all...
I updated my BBS... and I get this?
Permissions on C:/Inetpub/wwwroot/mycgi/vars_calendar_events.cgi prevent it from being updated via the control panel. Please reset permissions on this file.

Can anyone help me? help
thank=You
In advance
BUZN_WILDLY

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
CHMOD it to 777, a way to remember when to do that, and var_......cgi gets CHMODDED to 777, cp... and ubb... get CHMODDED to755

Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
Hello,
your hacks are really great, however I have one question.
I installed your callendar hack, but now the calendar is in the last position( on the top right of the screen) after Forum home.
Is there any way I can make Forum home to get the last(the most to the right) position?
Thank you

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Code
######################in public_common.pl

######after:

# Forum Home
push(@items, qq(<a href="$ULTIMATEBB" title="$vars_wordlets{forum_acronym}">$vars_wordlets{forum_home_link}</a>));

######add:

# Calendar
push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=calendar" title="$vars_wordlets_calendar{calendar}">$vars_wordlets_calendar{calendar_link}</a>));
In that step, add it before instead of after smile

Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
Thank you!

Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Hi Guys
Is there a way to have event details display at the top of the calendar page rather than the bottom?

Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Look for Bookie and LK's Calendar Style Mod.
Then there is another small modification to integrate it in your Templates.

Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Thanks Felix,
I found the posting you referenced but the site containig file is gone.
Do you have a copy of it.
Ed

Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Here, this is the whole thing for 6.3...
http://romanianational.com/Calendar.zip


Calendar, style and the modification for the style templates, read my README.txt for the sequence of installing them.

Good luck. smile

Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Thank You Very Much

Do you know how to make the page displaying the calendar itself t display the events at the top?

Like This:
http://snowclubs.com/cgi-bin/ubb/ultimatebb.cgi?ubb=calendar&date=2452987

Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Why would you put the table it on the Calendar page? You can already see the events bellow! You want it add that on the forum summary.
The files I gave you is what I use to do my calendar and all the moving around. Check mine.

http://romanianational.com/cgi-bin/ultimatebb.cgi

Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Hi Felix,
I have put the calendar at the top of the summary page.

http://www.nyssnowassoc.org/cgis/ubb/ultimatebb.cgi

I just think, when you click on the link and it takes you to the date, it would be better to display the event details without needing to scroll to the bottom.
Just a preference.

Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
I know! I was looking at that. Ideally would be to take you to a new page or Java pop up and show you only the day's events. Unfortunatelly is not easy to do, at least for me.
Maybe the creators will do something, although I very much doubt it, nobody does anything for 6.3... anymore frown

Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
If I come up with a way I will let you know.
Thanks for all your help.
Ed

Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
No problem, let me know if you find that fix.

smile

Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Hi Felix,
I have this on one of my sites now.

See it - HERE

This is how I did it - HERE

Page 1 of 5 1 2 3 4 5

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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
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 20240506)