Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 5 1 2 3 4 5
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?
Sponsored Links
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

Sponsored Links
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.

Sponsored Links
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?

Page 3 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
isaac
isaac
California
Posts: 1,157
Joined: July 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
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)