|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ok, LK, I redid the hack again, and I get a 500 error when I try to go into my cp. I made sure it was in ASCII then reuploaded again, re-CHMODed to 755 (or 777 depending on file) and I still get the error. All public parts are working, but I can't even get into the cp. 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
wow, I fixed it In cp.cgi find: %vars_faq %vars_registration %vars_time %vars_pntf %vars_style_reference %vars_pm
replace with:
%vars_faq %vars_registration %vars_time %vars_pntf %vars_style_reference %vars_pm %vars_wordlets_calendar also in cp.cgi find: display misc mods email time faq search pm
replace with: display misc mods email time faq search pm wordlets_calendar Also, in cp2_lib.cgi, in the install you have: ########################################################### ## Do the following 2 steps only if you CAN NOT find it: ## ###########################################################
Find: ===== [$vars_wordlets_cp2{admin_maint}, qw(rebuilds clearcache fiveximport)],
Add below: ========== [$vars_wordlets_cp2{admin_modification},("calendar")], it should be ########################################################### ## Do the following 2 steps only if you CAN NOT find it: ## ###########################################################
Find: ===== [$vars_wordlets_cp2{admin_maint}, qw(rebuilds clearcache fiveximport)],
Add below: ========== [$vars_wordlets_cp2{admin_modification}, qq(calendar)], Also, in the cp, it says : quote: Forum(s) to allow calendar event posting on: You may select a forum in which posters will be given the choice to add a calendar event when they post a new topic. (not a required field, separate with spaces).
so I figured that I didn't have to put anything in it. It ends up you must put a space in or it'll throw you an error. That's all I found. EDIT: One thing I couldn't figure out. What would I have to modify to get the Month name under the compact headers here .
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
ubb_registration: correct cp.cgi: don't do it... then in cp2_lib.cgi: find: (twice) $vars_wordlets_calendar{calendar} replace with $vars_wordlets_cp2{calendar} small misspelling.. cp2_lib.cgi: you're wrong actually... qw(calendar) is the same as ("calendar")... the reason I used "calendar" is to make the part with "If you can find it" easier on noobs... so instead of saying "add 'calendar ' but don't forget the leading space", I'm telling them to add "calendar",... "forums to select posting on" - that's quite interesting... my site is down so I can't check it out... can you give me the _exact_ error when you don't put anything in this textbox?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
the only reason I said that was cause my error log for my server gave me this. [Sat Aug 16 01:56:43 2003] cp.cgi: Bareword "calendar" not allowed while "strict subs" in use at /home/httpd/vhosts/alforadmin.com/cgi-bin/cp2_lib.cgi line 1011. EDIT: oh and the error was: Error Form validation errors: Forum(s) to allow calendar event posting on: You did not enter a value for this field
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Error: that's very odd, doesn't happen here...
The other thing is fixed... open cp2_vars.cgi. find: default => q!!, add below: req => 0,
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ok, got it. Thank you
Any word on if the final 2.1 will have the Al(19) in the forum summary?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I don't know if this is a bug with Calendar, or a bug with 6.6 so I'll just post it here.
Everytime I update my Calendar settings, all my custom graemlins are reset. I don't know what it could be, or how the calendar could be affecting it, but I narrowed it down to clicking the update button in the calendar settings.
Edit: I'm not sure if I'm not looking hard enough or something, but I can't find where to enable posting to the calendar for specific members
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
graemlins - fixed (in the calendar part of cp2_vars.cgi remove " $problems .= &SetVarsGraemlins;")... Al(19) and letting certain users update - not done yet (I forgot :/)
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
hmm...
i just realized, i don't get the lil birthday avatar to show up by the user's posts on their day o'happiness.
does something in my template file conflict mayhaps?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
public_topic_page.pl
right after $linkname should be something like $birthday[3] or something. Make sure that it's there.
LK, you might want to start a new Calendar thread for 2.1, cause this is getting long
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
yessir, i currently have the following: $linkname$birthdayfields[3]
izzat right? could it be blocked from another section, or something? my boards have been... "robized," for lack of a better term, so its possible i have something screwy going on sonewhere else 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
umm...
http://www.robkamphausen.com/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=9;t=002646;p=1#000016
the cake IS working
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
whoa... very strange... my girlfriend's bday was yesterday (the 17th) and didn't get one up there. oddities abound! oh well, as long as its working now (??) thanks anyway, weird one! 
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
oooohhhh.... ok... i think i get it now
the cake appears on your birthday if you post on your birthday, correct?
i thought it appeared by all of your posts on the day of your birthday (regardless of whether or not you post that day), then disappeared the next day.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it does based on cache. If you see one of his posts, and reply to that topic, his cake will show there
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Poll: calendar 2.1 should have at the bottom of forum summary: 1. birthdays for today 2. events and birthdays for today, like now (just how old is the birthday kid) 3. events for today in one line, birthdays for today in the next (if there is no event, it doesn't show that line; if there is no birthday, it doesn't show the birthday line)
in all cases if there isn't anything, it'd just hide the calendar line instead of saying "no events scheduled for today"
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
my vote is for 2, but how hard would it be to get the line to stay with "no events..." instead of disappearning?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
you like that line? I thought everybody hated it 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
It spoke the truth. There were no events. If it doesn't show up at all, people don't know that I actually do work 
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
hmmm... another issue...
the birthday avatar image seems to conflict with the "my style" hack. its only visible to users that use the "standard" profile, and/or those who are logged out.
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
I think 3, it's kinda lame to have "no events schedualed" but the whole concept of 2 is still good... how about it have 2, then when there is nothing work as 3 lol....
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
what I thought of in the beginning is not to show "No events scheduled for today"...
|
|
|
|
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 like 2 or 3 
|
|
|
|
Joined: Aug 2003
Posts: 5
Junior Member
|
Junior Member
Joined: Aug 2003
Posts: 5 |
After you have the calander up and running is there a way to protect it so that only the members of the board or people you select only have access to it? And I would Like to thank you for the Hack. I followed your instructions and got it running the first time. Thanks! Mirsad Lyfia www.rigidguild.com
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
untested: add this before the first line of ubb_lib_calendar.cgi:
|
|
|
|
Joined: Aug 2003
Posts: 5
Junior Member
|
Junior Member
Joined: Aug 2003
Posts: 5 |
THank you !!! You are the Best! You are making this fun. Mirsad Lyfia www.rigidguild.com
|
|
|
|
Joined: Aug 2003
Posts: 5
Junior Member
|
Junior Member
Joined: Aug 2003
Posts: 5 |
Added it to the very first line and cleared cache. Works like a charm! Thank you Again. Mirsad Lyfia www.rigidguild.com
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Okay... 1 voted for 2, 1 voted for 3 and 1 voted for both... since I like 3 better, I'll add 3 http://www.lkworld.com/ - scroll down to the calendar part, what do you think?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
looks good to me 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
hey LK, are those 2 lines stored separately, like if I want to show one part on the top of the page and one part at the bottom, would that be possible?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
the changes are in ubb_forum_summary: push(@file, qq~||$birthdaysplit[0]yb||<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile;u=$birthdaysplit[2]" target="_blank">$birthdaysplit[1]</a> ($birthdaysplitsplit[2])||||1~); and if ($desc[1] =~ m/b/) { $desc[1] =~ s/b//; $birthday = 1; } and if ($birthday == 0) { $calendar .= ", " if $calendar; $calendar .= $desc[2]; } elsif ($birthday == 1) { $birthdays .= ", " if $birthdays; $birthdays .= $desc[2]; } and $calendar = qq~<b><a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=calendar">Events</a>:</b> $calendar~ if ($calendar); $linebreak = " " if ($calendar && $birthdays); $birthdays = qq~<b><a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=calendar">Birthdays</a>:</b> $birthdays~ if ($birthdays); $calendar = $calendar || $birthdays ? qq~
$TBT <tr> <td bgcolor="$vars_style{AltColumnColor1}" valign="top" align="left"> <font size="1" face="$vars_style{FontFace}">$calendar$linebreak$birthdays </font> </td> </tr> $TBB ~ : '';
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
 ok, I know the changes, but does it matter where they go, and what do I take out?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
hey LK, could you post an updated install zip?
|
|
|
|
Joined: May 2001
Posts: 22
Junior Member
|
Junior Member
Joined: May 2001
Posts: 22 |
any updated install for 2.1 ? (6.6 ver) ?
Thanks.
Med
|
|
|
|
Joined: Nov 2001
Posts: 96
Member
|
Member
Joined: Nov 2001
Posts: 96 |
My people eagerly await the re-appearance of your calendar and I'm waiting for 2.1 before I install it again.
Go LK! It's your birthday!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
this is 2.1, what's wrong with that version? (except that I forgot to allow selected users to update calendar)
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
you were gonna update with the fixes, and the updates for the Al(19) thing
|
|
|
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: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|