|
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 You mentioned changing the files, that's probably where the error is.
|
|
|
|
Joined: Jul 2002
Posts: 11
Junior Member
|
Junior Member
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 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Jul 2002
Posts: 11
Junior Member
|
Junior Member
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 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Updated to 6.3.1 
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
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
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It's not so hard but too hard for me to post it all on the fly 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
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 
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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: %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
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
quote: Originally posted by LK: Updated to 6.3.1 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 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Sorry Edit: fixed (both MHK and TXT)
|
|
|
|
Joined: Jan 2002
Posts: 13
Junior Member
|
Junior Member
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
Joined: Aug 2002
Posts: 97 |
This was the first big hack I ahve done that went with no user errors Woot thanks everyone loves it
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Aug 2002
Posts: 97
Member
|
Member
Joined: Aug 2002
Posts: 97 |
quote: Originally posted by LK: or Help the ID10T Where does this go? :rolleyes:
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Where you want the calendar in .shtml files. (if you don't know what's SHTML, disregard it  )
|
|
|
|
Joined: Aug 2002
Posts: 97
Member
|
Member
Joined: Aug 2002
Posts: 97 |
Hmmm cool I was thinking I could place it along side the forums, like I see banner adds and paypal banners.  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 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Dec 2000
Posts: 12
 Member
|
 Member
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
Joined: Jul 2002
Posts: 20 |
Is there a way to control who can view the calander?
|
|
|
|
Joined: Aug 2002
Posts: 97
Member
|
Member
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 
|
|
|
|
Joined: Jul 2002
Posts: 20
Junior Member
|
Junior Member
Joined: Jul 2002
Posts: 20 |
Excellent.  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
Member
|
Member
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
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Chimera, that checkbox is to control who can WRITE the calendar, not read Ed, ubb_lib_calendar.cgi. find: (twice) code:
$todaysevents{$j} .= qq~$desc[2] ~;
Replace with: code: [qb]$todaysevents{$j} .= qq~$desc[2]: $desc[3] ~; [/qb]
|
|
|
|
Joined: Aug 2002
Posts: 97
Member
|
Member
Joined: Aug 2002
Posts: 97 |
OK how do I set rights to see the calendar? Or more to the point not see it 
|
|
|
|
Joined: Sep 2002
Posts: 26
Junior Member
|
Junior Member
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
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
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Chrimera, it's impossible. Deven, I hate these problems  I'm testing in a bit
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Fixed, re-download calendar.zip and re-upload ubb_lib_calendar.cgi 
|
|
|
|
Joined: Apr 2001
Posts: 24
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 24 |
Thanks a ton, LK! 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
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Fixed, re-download and re-hack ubb_forum_summary.cgi 
|
|
|
|
Joined: Apr 2001
Posts: 24
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 24 |
Dang, that was fast LK, thanks again! Ack, one mistyped key in your signature can really screw it up, fixed it now. 
|
|
|
|
Joined: Oct 2001
Posts: 28
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 28 |
Sorry I got a problem ![[Linked Image]](http://www.2em1files.kit.net/images/CalendarError.JPG)
|
|
|
|
Joined: Mar 2002
Posts: 7
Junior Member
|
Junior Member
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 GMe
|
|
|
|
Joined: Sep 2002
Posts: 26
Junior Member
|
Junior Member
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
Joined: Jun 2002
Posts: 136 |
I installed this hack and got this error when trying to set the calendar settings in the cp You do not have permission to access this area.
» Use your browser's back button to return.
|
|
|
|
Joined: Jun 2002
Posts: 62
Member
|
Member
Joined: Jun 2002
Posts: 62 |
Did you reset permissions?
|
|
|
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: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|