|
Joined: Feb 2002
Posts: 2
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 2 |
Thanks to some quick responses from LK i got my calendar to work. The only small problem i now still have is getting the little calendar to show using ssi. I made a small test.html, and when i use it reports the events in plain text as it should do. When i try to use however, it reports [an error occurred while processing this directive]. my webserver's error log shows "invalid CGI ref" Am i doing something wrong, or is there an error in the ubb_calendar_ssi.cgi file itself ?? tia, Frizti my test.html
|
|
|
|
Joined: Jan 2002
Posts: 5
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 5 |
Hi LK thanks for the update it's now work ok! but you forgett "n" in ubb_lib_calendar.cgi
$stuff = "$_[4]||$_[1]||$_[0]||$_[3]";
I re-write your line: $stuff = "$_[4]||$_[1]||$_[0]||$_[3]n";
I will test..
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Tiffany A: Are you sure 'public_calendar_display.pl' file is uploaded to the NonCGI folder? frizti: [code][/code]What's the difference?  If you mean that it worked before but now it stopped working, try to add a space before -->. Y2k2-TEST: Thanks, ZIP file updated 
|
|
|
|
Joined: Feb 2002
Posts: 1
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 1 |
This hack is exactly what I'm looking for. Thanks!! I have UBB 6.01 (I can't upgrade), and everything installed ok, except when i click to add an event (after I filled out the info for the event), I receive a page with this error:
Software error: Undefined subroutine &main: :FixSubjectEncoding called at /var/www/cgi-bin/ubb_lib_calendar.cgi line 370
Also, if i update a profile with the birthday info, the calendar doesn't display it.
Whatever help you could offer i would greatly appreciate it. This is something I would love to have on my site.
Mark
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
So remove 'FixSubjectEncoding(' and ')' right afterwards from ubb_lib_calendar.cgi... BTW, 6.01 is very buggy, every child can hack it! I suggest you to upgrade.
|
|
|
|
Joined: Mar 2002
Posts: 2
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 2 |
I just added this hack to my board, and it isn't showing up anywhere. I followed all of the steps and cleared my cache, etc. Can anyone help me?! Board is here: http://drac.sexybee.net
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
New 6.04d installation? Upgrade to 6.2.1.
|
|
|
|
Joined: Feb 2002
Posts: 22
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 22 |
Anyone knows what's wrong? Content-type: text/html Software error: Undefined subroutine &main::FixSubjectEncoding called at /www/e46toronto/cgi-bin/ubb_lib_calendar.cgi line 370. For help, please send mail to the webmaster ( [email protected]), giving this error message and the time and date of the error.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Remove FixSubjectEncoding anywhere in ubb_lib_calendar
|
|
|
|
Joined: Feb 2002
Posts: 22
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 22 |
WOW!
Thank you very much LK! You rule!
|
|
|
|
Joined: Apr 2001
Posts: 7
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 7 |
Awesome hack!! I found a bug in ubb_lib_calendar.cgi, however.
ubb=calendar&date=$j">$preday";
should read
ubb=calendar_event_review&date=$j">$preday";
in order to display the details for each calendar entry. Thanks to everyone who has contributed to this hack. It is a welcome addition.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
pseudo, only admins/mods/special users can access it  I suggest you to leave it as ?ubb=calendar&date=... 
|
|
|
|
Joined: Apr 2001
Posts: 7
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 7 |
quote: Originally posted by LK: pseudo, only admins/mods/special users can access it I suggest you to leave it as ?ubb=calendar&date=...
Thanks. My problem is that I without changing that line, even admins can't view the event details. I think I have issues in cp_user. I'll rehack it and see.
|
|
|
|
Joined: Apr 2001
Posts: 7
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 7 |
quote: Originally posted by pseudocode: quote: Originally posted by LK: pseudo, only admins/mods/special users can access it I suggest you to leave it as ?ubb=calendar&date=...
Thanks. My problem is that I without changing that line, even admins can't view the event details. I think I have issues in cp_user. I'll rehack it and see.
:( No luck. When I access my users' profiles via CP, I don't see where to give them permission. I obviously missed something - but what?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Apr 2001
Posts: 7
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 7 |
AIM: highside362 ICQ: 156186193
Thanks!
|
|
|
|
Joined: Jan 2002
Posts: 2
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 2 |
It does not work in UBB v6.05, can I have the older version!?
|
|
|
|
Joined: May 2002
Posts: 1
Junior Member
|
Junior Member
Joined: May 2002
Posts: 1 |
quote: Originally posted by frizti: Thanks to some quick responses from LK i got my calendar to work. The only small problem i now still have is getting the little calendar to show using ssi. I made a small test.html, and when i use it reports the events in plain text as it should do.
When i try to use however, it reports [an error occurred while processing this directive]. my webserver's error log shows "invalid CGI ref"
Am i doing something wrong, or is there an error in the ubb_calendar_ssi.cgi file itself ??
tia, Frizti
my test.html
I am having the same problem, The plain-text message appears just fine, but the little calendar, spawned with will give me the error that fritzi experienced.
Thanks for any help!
Update -- I figured this out!!
You have to change the code in ultimatebb.cgi from this:
if ($ubb eq 'calendar_ssi') { do "$vars_config{CGIPath}/ubb_calendar_ssi.cgi"; exit; }
to this:
if ($ubb eq 'calendar_ssi') { require "$vars_config{CGIPath}/ubb_calendar_ssi.cgi"; &calendar_ssi; exit; }
Also, to call the calendar, you must use this:
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Please somebody take over calendar 1.9, I don't have 6.05 and I don't plan on having it 
|
|
|
|
Joined: Apr 2001
Posts: 171
Member
|
Member
Joined: Apr 2001
Posts: 171 |
Hey I have the 16 custom field hack installed.
Today i just installed the calendar hack and ran into a small problem.... when someone changes their profile some of the other Custom Fields change and become overrided.... like will say some like 23423/no or 23423/yes.. or somthing like that and they get all mixed up... I found by uploading my backupfiles of ubb_profile.cgi that goes away what is in this file i need to fix for this not to happen any more plz help.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Maybe your using a profile field already in use.
|
|
|
|
Joined: Apr 2001
Posts: 171
Member
|
Member
Joined: Apr 2001
Posts: 171 |
I have tryed changing fields. Could you tell me what the default field that this calendar hack use's ?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
55 I think. Can't rememeber.
|
|
|
|
Joined: Dec 2001
Posts: 6
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 6 |
was looking for the hack, but found it
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|