Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 7 1 2 3 4 5 6 7
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
LK, a nice feature for the next version would be support for European week formats.

http://www.alforadmin.com/cgi-bin/ultimatebb.cgi?ubb=calendar;europe=1

http://www.alforadmin.com/cgi-bin/ultimatebb.cgi?ubb=calendar

smile notice the difference

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Why would anyone begin their week on Monday? confused
Though I'll probably add a CP control next release, thanks for the idea smile .

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi LK,

in Europe everyone begin his week on Monday! laugh


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Yeh, they feel better about themselves with it looking like the end of the week they have two days off instead of one at the end and one at the beginning wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
Originally posted by Gizzy:

Yeh, they feel better about themselves with it looking like the end of the week they have two days off instead of one at the end and one at the beginning wink

time for a little history lesson.

America = 1776
Europe = A LOT FURTHER BACK

It's more like we changed the first day so the week would be more symmetrical, cause symmertrical is always better wink

Don't even get me started about the metric system

Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Technically we're just as old as we where their colonists wink ... We just declaired ourselves from them wink ...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
Originally posted by Gizzy:

Technically we're just as old as we where their colonists wink ... We just declaired ourselves from them wink ...

Actually, European countries date back further than 1492, some even to the 1450s tipsy

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Well yeah, but Sunday was the first day 5800 years ago tipsy

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Quote
Originally posted by Ian Spence:
Actually, European countries date back further than 1492, some even to the 1450s tipsy
See, we where a PART of them; therefore our "part" is just as old as them, I'm not saying our country is as it wasn't established as one then...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Sep 2001
Posts: 61
Member
Member
Offline
Joined: Sep 2001
Posts: 61
here's another question tipsy I installed the Calendar mod, and it's working nicely, except: on the control panel, when I try to get into "Calendar" under "modifications" I get this error message:

Quote
quote:
The page and/or tab you requested is unavailable. The required code could not be properly loaded. Please ensure that all scripts, libraries, and templates have been properly uploaded.
Any ideas what I should be looking at to fix this?

thanks smile

Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
make sure you uploaded cp2_calendar.pl

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
and make sure you uploaded it to the noncgi/Templates folder.

Joined: Sep 2001
Posts: 61
Member
Member
Offline
Joined: Sep 2001
Posts: 61
I fixed it. Thanks! And my users love it! smile

Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
Is there a way to make is so you can span events across several days, rather than say having to click on each day and enter an event for a week long event?

Also, when I try to add an event without a description it gives me an error with rolleyes (it does have colons around it), but doesn't show the smiley. Do I need to move that gif into the cgi directory?

Thanks in advance...


-GATOR

"Pain is temporary, Pride is forever"
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
no, you can just remove :rolleyes: from the message

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
About the first problem: no, unfortunately there is no way yet.

About the second problem: that's just a Wordlet I made, can't remember why I used rolleyes tipsy
Code
    q!input_error! => q!Your event title/description mustn't be empty :rolleyes:!,
it doesn't mean anything and shouldn't parse, just a wording.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Maybe I'm missing something, but can you edit/delete events from the calendar now? I don't see a link...


- Allen wavey
- What Drives You?
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Go to the day of the event. In the lower table, there will be an "[EDIT]" link floating to the right of the description

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
k, thanks smile

I'm guessing that doesn't include birthdays too then smile


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I don't think so, as birthdays are set via user profiles...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
That's correct smile

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
Ok, after a couple successful, trouble free installs of other mods, I managed to break my UBB with this one.

Error message:
Premature end of script headers: ultimatebb.cgi


I checked the file and it looks good. I didn't D/L or U/L it, I just edited it in place using PLESK FILE MANAGER, like I have for the past couple Mods. I did this because I was having file corruption issues when transfering files (I was using WSFTP LE).

Any ideas as to where to start looking?

It's Midnight, I'm off to bed but will be back @ 7am wink

Thanks guys!

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
Here is another hint before I go. I tried to run links.cgi (cp.cgi still works) and I get this...

Software error:
(RequireCodeNoINC) /home/httpd/vhosts/tinbenders.org/httpdocs/Forums/ubb//Templates/public_common.pl: syntax error at /home/httpd/vhosts/tinbenders.org/httpdocs/Forums/ubb//Templates/public_common.pl line 1255, near ""0" alt" syntax error at /home/httpd/vhosts/tinbenders.org/httpdocs/Forums/ubb//Templates/public_common.pl line 1255, near "/>
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Please copy & paste here public_common's lines 1250-1255, 1340-1350. (or just send me a URL to a downloadable version of your public_common.pl, that's allowed to let people download .pl files)

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
Starting at line 1250 (Plus a few)

Code
 
} // end if
return null;
}


var u_cookie = getCookie('ubber$vars_config{Cookie_Number}');
if(u_cookie) {
u_array = u_cookie.split("&");
} else {
u_array = new Array("", "", "", "", "", "", "", null, null, null);
} // end if

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
And starting at 1340

Code
  
<style type="text/css">
body {
margin: 0;
font-family: $vars_style{FontFace};
font-size: $aprox_size;
background-color: $vars_style{BGColor};
}
td {
font-family: $vars_style{FontFace};
font-size: $aprox_size;
}
span.datestamp-1 {
font-weight: bold;
}
span.timestamp-1 {
color: $vars_style{TimeColor};
}
</style>
<!-- %%BEFORE_HEADER_INSERT%% -->
$vars_style{HeaderInsert}
<!-- %%AFTER_HEADER_INSERT%% -->
</head>

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
That's really strange, your line 1250 is my 388, and your 1340 is my 457 confused .

Are you sure you're checking /home/httpd/vhosts/tinbenders.org/httpdocs/Forums/ubb//Templates/public_common.pl ?
If so, can you send me (by PM if you wish) a URL to a downloadable version of your public_common.pl?

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
Uh, I'm not sure how you'd download it, but I'll PM you FTP information if you wish ;-)

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
the problem is most likely in the cosmetic links mod combined with this, so it'd be in the main buttons line

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I can't seem to find the Error Log in the FTP directories... I've got links.cgi to work and I don't have any debugging tool anymore frown

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
The Cosmetic Links mod, I thought, had provisions built in for the calendar mod.

At the end of the instructions for the Cosmetic Links mod, there is a sections, something along the line of "#Calendar Check".

confused

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
Ok, so I know that the Cosmetic Links Mod should have interfered in that the lings.cgi not only works, but it also shows the button for the calendar, ofcourse it doesn't work.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It seems like when you uploaded the public_common.pl file, something went wrong: there are many unnecessary line breaks, one of them caused the previous error. Can you rehack from a backup of that file, or preferrable all the files, when your ultimatebb.cgi worked?
Or just give me the error log smile

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
I've never actually seen the error log. Where do I find it?

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
Hey, I found this error in the CP.cgi, under Primary Settings!!!

Unterminated <> operator at /home/httpd/vhosts/tinbenders.org/cgi-bin/ubb_lib_posting.cgi line 1245.

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
So I added a ">" to the end of 1245, and now I get this...


Can't modify constant item in scalar assignment at /home/httpd/vhosts/tinbenders.org/cgi-bin/ubb_lib_posting.cgi line 1241, near ""$vars_wordlets{ip_logged}: $ip_number"> ";"
BEGIN not safe after errors--compilation aborted at /home/httpd/vhosts/tinbenders.org/cgi-bin/ubb_lib_posting.cgi line 1245.

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
Ok, so I went in and removed that ">" (Bad that I put it there) and deleted some white space between 1245 and 1246 and now I get this...

Unterminated <> operator at /home/httpd/vhosts/tinbenders.org/cgi-bin/ubb_lib_posting.cgi line 1245.


I also compared this current copy of ubb_lib_posting with the older working one (just these lines) and they now match.

confused

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Fixed Primary Settings smirk

The error log is usually on your web server control panel, can you link me there? (and give me the username/password if it's different than what I already have)

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
THe web server control panel? Hmm, I'll PM you the information.

Joined: Nov 2003
Posts: 156
Member
Member
Offline
Joined: Nov 2003
Posts: 156
How did you fix the primary settings? Was is another whitespace issues? I tend to use gobs of it to help me keep track of what I've changed.

Page 5 of 7 1 2 3 4 5 6 7

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)