Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 8 1 2 3 4 5 6 7 8
#150020 11/23/2001 7:35 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Terminator, btw, "Powered by DDC Scripts, Version 6.1.0.3"?! :rolleyes:

Sponsored Links
#150021 11/24/2001 12:09 PM
Joined: Sep 2001
Posts: 46
Member
Member
Offline
Joined: Sep 2001
Posts: 46
Help,
Added this hack today and everything works great apart from the events aren't being displayed on the main page even though I have selected it in the control panel.
Please help.

Update : Also just realised that birthdays are not being displayed and evertime I go back to my profile it has reset the birday feild back to the default.

[ 11-24-2001: Message edited by: Nokia666 ]

#150022 11/24/2001 11:51 PM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Lk,

I asked this a while back and you provided a possible fix that never worked. My unix server has perl 5. With your calendar hack when you select dates for birthdates it has one digit for the months and days before the teens. If these do not have a 0 before then it does not display it right. Here is what is written to a member file upon registration

197568|yes

it should be

19750608|yes

#150023 11/25/2001 6:55 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Nokia666: try to rehack ubb_forum_summary.cgi/public_forum_summary.pl and ubb_profile.cgi/public_edit_profile.pl...

omegatron: do you have ICQ/AIM/MSNIM/whatever?

#150024 11/25/2001 11:04 AM
Joined: May 2001
Posts: 229
Member
Member
Offline
Joined: May 2001
Posts: 229
LK, today is one of the moderatorĀ“s birthday and the cake gif appears beside the name of all the moderators inside one of the private forums.

[ 11-25-2001 10:12 AM: Message edited by: manuelbp ]

Sponsored Links
#150025 11/25/2001 2:33 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I think I fixed that a while ago... Download the ZIP again and rehack ubb_forum_summary

#150026 11/25/2001 5:01 PM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
aim yes and icq

aim= charles328

[ 11-25-2001 04:14 PM: Message edited by: omegatron ]

#150027 11/25/2001 5:34 PM
Joined: Sep 2001
Posts: 46
Member
Member
Offline
Joined: Sep 2001
Posts: 46
Hi,
Thanks very much...it works perfect now. Only problem is that I don't like it being at the bottom of the page.
If there anyway I can move it to the top just above who's online and below where is says your user name? Then it would fit in really nicely with my PM notification hack.
I'm running who's online version 4.1 PB2
Board is Version 6.1.3

Thanks again

[ 11-25-2001 06:09 PM: Message edited by: Nokia666 ]

#150028 11/25/2001 6:53 PM
Joined: Sep 2001
Posts: 170
Member
Member
Offline
Joined: Sep 2001
Posts: 170
Instructions say:
#####################in public_forum_summary.pl:

######find: (twice)

$TBB





######replace it with:

$TBB
$calendar





################################################

I don't find this. $TBB appears four times but none of them have

after them. I have the new beta XHTML templates, where does $calendar go? After all four instances?

This code below appears three times, I put it after all three, let hope it works ok.

$TBB





[ 11-25-2001 06:03 PM: Message edited by: MrStormyNights ]

#150029 11/26/2001 11:24 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Just put it after the ones in sub page_bottom (or something very similar to that).


- Allen wavey
- What Drives You?
Sponsored Links
#150030 11/26/2001 3:48 PM
Joined: May 2001
Posts: 29
Spotlight Runner-Up
Spotlight Runner-Up
Offline
Joined: May 2001
Posts: 29
thanks again! Hack works and looks great. I had no problems installing this.

#150031 11/27/2001 6:18 PM
Joined: Nov 2001
Posts: 96
Member
Member
Offline
Joined: Nov 2001
Posts: 96
Another problem with the Time Zone.

I made the previous changes to ubb_forum_summary.cgi, and now the correct day's events display on the main page.

However, the birthday cakes in the threads are displaying for people who have their birthday tomorrow. Should a fix similar to the Forum Summary be made to ubb_lib_posting.cgi?


"For who would lie idle when the king has returned?"
www.MinasTirith.com
#150032 11/28/2001 7:09 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Try again, I thought sub today also includes the timezone offset.

#150033 11/28/2001 10:24 AM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I tried reaching you via AIM and it says your active but you never respond. HMM You seem to overlook my problem here too?

#150034 11/28/2001 10:41 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I'm back now

#150035 11/28/2001 11:04 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
OK, omegatron found a bug... ZIP file updated with updated instructions for ubb_registration.cgi, the $thismemarray part...

#150036 11/28/2001 1:11 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Hey LK, tried to use the calendar ssi and had a problem, no output or something

https://www.ubbdev.com/ubbcgi/ubb_calendar_ssi.cgi

any idea what might be wrong?


- Allen wavey
- What Drives You?
#150037 11/28/2001 1:21 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Allen, so try: https://www.ubbdev.com/ubbcgi/ubb_calendar_ssi.cgi?unix=yeah

In my board, if I use it, it adds 'content-type: text/htmlnn' to the SSI page...

#150038 11/28/2001 1:49 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
ok... it doesn't do the little calendar anymore?


- Allen wavey
- What Drives You?
#150039 11/28/2001 2:03 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394

#150040 11/28/2001 2:09 PM
Joined: Nov 2001
Posts: 96
Member
Member
Offline
Joined: Nov 2001
Posts: 96
Sorry, but the birthday cake display is off by my timezone difference.

The cakes showed up yesterday afternoon when the birthday was today, and after clearing my cache just now, they're gone - in the middle of the birthday date.

On a side note, what if a thread hasn't been posted to for a while? Do the last birthday cakes stay there until either a reply is posted or someone else in that thread has a birthday and the page is viewed? Why didn't the fact that the calendar thought the birthday was over trigger a cache overwrite for that page?


"For who would lie idle when the king has returned?"
www.MinasTirith.com
#150041 11/28/2001 2:15 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
#150042 11/28/2001 2:19 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
White Gold Wielder: works fine in my board, I set the birthday for 20011129 and the timezone to +24 and it showed up but when I changed the timezone to 0 it didn't show up...

Allen:

#150043 11/28/2001 2:40 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I don't really like that it uses the color set in the calendar... What's better in your opinion: use the colors from calendar, use only the notinmonth color from calendar and the link color will be the default one (of the page), or make it use styles, like
and in the SHTML page, you'll have to use ?

#150044 11/28/2001 3:02 PM
Joined: Nov 2001
Posts: 96
Member
Member
Offline
Joined: Nov 2001
Posts: 96
OK, here's what happened:

Quote
quote:
This is what you said when you initially fixed the Time Zone issue.

I must have missed it a page or two later when you said to rehack ubb_lib_postings.cgi. Changed it and it seems to work fine, although I had to clear my cache to see the results.

What about the other issue? If I go to the same old thread tommorow and no one has posted to it, will the cakes still be there? Do the cakes count on a cache change in order to be added or removed, or do they initiate a cache change themselves?

(I suppose I could wait until tomorrow to find out...)

[ 11-28-2001 02:03 PM: Message edited by: White Gold Wielder ]


"For who would lie idle when the king has returned?"
www.MinasTirith.com
#150045 11/28/2001 3:14 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
No, it won't be modified until cache is cleared/someone will edit his post/reply/remove his post/close topic/open topic/move... I just don't think it will be so common, so IMO there is no need to mess with the cache for that...

Edit: ZIP file updated for only a cosmetic update, now you CAN (don't have to though) use ultimatebb.cgi?ubb=calendar_ssi&css=on, and then instead of using the calendar's colors it will use class nomonth and link.

Use:
Code
code:
If you want to use it. If you won't add &css=yes, it will use the old style.

[ 11-28-2001 02:17 PM: Message edited by: LK ]

[Edit 2: Allen, btw, the edit message is stayed after I click on Reply, it's probably the XHTML modification to that hack.

[ 11-28-2001 02:19 PM: Message edited by: LK ]

#150046 11/29/2001 11:45 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
ZIP file updated once again, and once again it's an improvement (in my opinion) and not a bug fix cool Also vars_wordlets_calendar.cgi has better Wordletsā„¢ IMO, but you should decide for your own.

[edit: forgot a file]

[ 11-29-2001 10:46 AM: Message edited by: LK ]

#150047 11/29/2001 1:02 PM
Joined: Jul 2001
Posts: 272
Member
Member
Offline
Joined: Jul 2001
Posts: 272
LK did you do two versions of the Calendar hack for 6.1? Just trying to find out what version I have.. and to see if I need to upgrade.

#150048 11/29/2001 1:08 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Hmm.. I made 1.5, 1.6, 1.7, 1.8 and 1.9, if that's what you mean... If you mean two versions that do something else, then no.

#150049 11/29/2001 2:07 PM
Joined: Jul 2001
Posts: 272
Member
Member
Offline
Joined: Jul 2001
Posts: 272
What file from the calender hack can I look at to tell what version I have? I think I have 1.7

#150050 11/29/2001 8:01 PM
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
http://banco.jogosonline.com.br/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=calendar

can you guys please put an option for 1 birthdays field on the thing?

lk :**

#150051 11/30/2001 9:17 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
CopyCat: what do you mean?

Splitfyre: if you don't know what to choose in upgrade.cgi BUT you're sure you didn't have 1.9, choose the 1.0 - 1.7 one, I don't think it can harm... If you just want to know for no reason, in /vars_calendar_events.cgi, if the beginning of every line is something like '00000001', it's 1.6/1.7. If not, if in the Member files line 33 ([32]) is always empty, and line 56 ([55]) sometimes has something, it's 1.8. If not, it's 1.9.

#150052 11/30/2001 10:30 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
CC meant he has 8-10 birthdays in each date, he is wondering if you can add something so that when it gets over 2 or so it will say "birthdays (8)" or whatever


- Allen wavey
- What Drives You?
#150053 11/30/2001 11:15 AM
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
yes Allen thank you

something like this one maybe

#150054 11/30/2001 11:16 AM
Joined: Nov 2000
Posts: 2,759
Pooh-Bah
Pooh-Bah
Offline
Joined: Nov 2000
Posts: 2,759
ew, a vB...how horrific wink

-Tacks

#150055 11/30/2001 12:13 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I finished + uploaded it a while ago, just forgot to post

Rehack cp_lib.cgi, upload cp_vars_calendar.pl, ubb_lib_calendar.cgi and 'birthdays' Wordletā„¢.

[edit: forgot the Wordlet]

[ 11-30-2001 11:21 AM: Message edited by: LK ]

#150056 11/30/2001 12:13 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
We (LK and Jordo) have already done better wink

Still looking for the "send email on birthday" addition


- Allen wavey
- What Drives You?
#150057 11/30/2001 4:43 PM
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
thanks guys smile


this would be cool picking members to be notified.. would need cron though, i think

private calendars for user groups would be nice

if i was using this version already i could help u guys.. ;/

opening a pop-up window with the birthdays when u click on it could be nice too; i believe you are opening the day page, am i correct; it is nice too, maybe moving the events to the top could help the visibility of things; just some loose suggestions

#150058 11/30/2001 5:34 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Allen, I think I know how to do it:
||123456789y-2000||I's Birthday||I was born on this day <--1900--> years ago||2000

Then (I'm making it up now, that's why it's not so 'intelligent', and I didn't test it)
foreach(@file) {
@desc = split(/||/, $_);
if ($desc[1] =~ m/(y-)(d+)/) {
if ($2 ne $GotTime{JSYear}) {
&ubb_mail(blablabla);
$desc[1] =~ s/y-$2/y-$GotTime{JSYear}/;
$_ = join("||", @desc);
}
}

&WriteFileAsArray("$vars_config{VariablesPath}/vars_calendar_events.cgi");

It can be used in ubb_lib_posting.cgi, bb_forum_summary.cgi and ofcourse ubb_lib_calendar.cgi.

(Also I won't forget to remove these digits when it will remove 'y')

Now all I need is a greeting card HTML...

#150059 11/30/2001 7:12 PM
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'll see if Deb has done it already...


- Allen wavey
- What Drives You?
Page 5 of 8 1 2 3 4 5 6 7 8

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
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 20221218)