Re: Calendar 2.0
thx a lot; i got it
thanks again...need ZZzzZZ now hehe
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Calendar 2.0
thx a lot; i got it
thanks again...need ZZzzZZ now hehe
not a bother, we are working on similar things today... in fact, I am working with Quaker right now in implementing into frontPage... it looks good ;^)
I do not use IE 6, only 5.5, so probably explains why mine looks sh-tty.
that's a nice drop shadow effect.
that's a nice drop shadow effect.
thanks; i told u i like colourfull
hi;
im trying to put this one
echo "\t\t\t\t\t\t<td ".$class." style=\"border: 1px solid #E9F0E8;background-color:#FFFFFF;\" align=\"center\" valign=\"middle\">".$date_no."</td>\n";
instead of
echo "\t\t\t\t\t\t<td ".$class.">".$date_no."</td>\n";
everything work fine just except it doesnt show the current day; i tried to put it back again and put
.calendar_day {border: 1px solid #E9F0E8;background-color:#E8E8E8; align="center" valign="middle" text-align: center;}
into my CSS then it does show the current day but the layout not working. can anyone please teach me whats wrong with this?
PS: with others like birthday;event it works great...
I know this is out of topic, so just please ignore me if you want
thanks
Hi Mystic,
Did you ever work that out?
My thought was align="center" valign="middle" are not valid css tags.
I think the css equivalent is:
vertical-align: middle
...and don't forget the ; dividers
;^)
TwoHawks
thanks for your reply;
i still cant work it out; if i put it back to your code and put the CSS into CSS file then it doesnt display the way i want...and i tried to use yours but still can not...
Did you check my email replys to you?
Not that I think this is best, but to test the inline styling I did the following and it appears to work in both IE and Firefox...
echo "\t\t\t\t\t\t<td".$class." style='text-align: right;'>".$date_no."</td>\n";
Of course, change 'right' to 'center' ...but I made it that way to be sure what I was observing was working or not.
If this doesn't work, you may have a conflict elsewhere, as discussed in my emails.
BTW, Quaker and I worked out another bug, and I have a revision to the 2.0.7b-beta now. If ned be I can send it to you. I am not yet posting as we are still working the last things out.
sorry im at work so didnt notice have mail; im working on it i will tell u later..
thanks again
Got a problem with my calender. If i go directly to forum.xxxxx.com/calender it works fine, but I dont have any link to the Calender in my meny. Help.
Problem solved.
From Punres.org:
there are 2 ways in wich to add a link to the navigation menu......you can either simply access your PunBB administration panel and go to "Options" and scroll down until you find the additional items menu box and simply add the link in there.
Example:
5 = <a href="calendar.php">Calendar</a>
or you may add it through include/functions.phpMy recommendation is to add it through additional menu items because im sure that you will sooner or later play around with the positioning of the link ect.
New problem.
Witch lines can i delete if i don´t want to have "birthday" in my calander?
Think i got it right, works fine for me. Please someone check so it´s ok.
#
#---------[ 1. OPEN ]
#
profile.php
#
#---------[ 2. Find ]
#
require PUN_ROOT.'include/common.php';
#
#---------[ 3. ADD AFTER ]
#
require PUN_ROOT.'lang/'.$pun_user['language'].'/calendar.php';
#
#---------[ 4. OPEN ("***" means effected files)]
#
styles/imports/***_cs.css
#
#---------[ 5. Add (change the colors to what you need)]
#
.calendar_no {background-color: #E6E3E4}
.calendar_day{background-color: #E1EFFF}
.calendar_event{background-color: #F6DCA1}
.calendar_bday {background-color: #F6DCA1} // currently not visible in mini-calendars
#
#---------[ 6. SAVE AND UPLOAD]
#
#
#---------[ 7. UPLOAD TO / ]
#
calendar/
lang/ (note: if your language is not include you have to create it yourself )
plugins/
calendar.php
#
#---------[ 8. CHMOD TO 766]
#
calendar/config.php
#
#---------[ 9. RUN ]
#
install_mod.php
Hmm, how do I fix so just members can read in the calender?
Put this code in whatever file the calendar uses:
if($pun_user['is_guest'])
message($lang_common['No view']);
(if I remembered the code right, that is)
That worked fine. Thanks. But if i want Calender in meny to disappear totally when you not a member like Messeges if the forum got PM?
Question about the colors. What should i do if i want .calendar_day to be over .calendar_event.
If one event is at this particularly day the color of the day will be .calendar_event but i want i to be .calendar_day. Any solution to that?
.calendar_no {background-color: #E6E3E4}
.calendar_day{background-color: #E1EFFF}
.calendar_event{background-color: #F6DCA1}
Hope you understand.
Hi,
I asked a couple days ago, how Events could be coloured in the calendar, I have been have way through that but unfortunately just the half way.
To explain I have made screen shoots to explain what I tried and I somebody could help me to get the other half to say that works.
Just to explain why it is important to have coloured Events at the calender, For each country I will choice a colour.
So a Added
<font color=#669900><span style=font-size:2.1em>Wh
to colour and size the Title of a new Event.
The display results for the same Events typing are totally different:
On Portal Index Page The box for events contains the information and the Event will show up as follow ( not what I want)
at the calender overview
the result is as wished
when you double click to open The Event the result is:
( not what I want)
but finally when you open to edit the Event the system shows you it like this:
the result is as wished
So 4 displays of one Event and 2 correct and 2 incorrect
At the first image the Title is wrong displayed
At the second image the Title is correct displayed
At the third image the body is wrong displayed
last but not least at image no. 4 both Title and body are displayed correct.
Does anybody have a idea why the display do what the shall and twice they don't?
Would there a way to have totally control about the display regarding colour and size ?
body is
I have found a bug...or maybe im the only one. When you watch a event and you press on a nickname to somebody's profile you get a error (IF something) in this line (php tell this):
if ($lang_calendar['Date_format'] == 'US') {
I get the same error as thesaint. What needs to be done to fix this?
Post the previous line.
#
#---------[ 10. FIND ]
#
$posts_field = '';
#
#---------[ 11. ADD BEFORE ]
#
list($year, $month, $day) = explode('-',$user['birthday']);
if($month!=0 && $day!=0){
$Nyear = (strlen($year)!=4)? NULL: $year;
$datestamp = mktime(0,0,0,$month,$day,0)
if ($lang_calendar['Date_format'] == 'US') {
$birthday = date("F jS ", $datestamp).$Nyear;
} else {
$birthday = date("j ", $datestamp).$lang_calendar[(date("F", $datestamp))].$Nyear;
}
}else
$birthday = $lang_profile['Unknown'];
i removed the modification instructions... works 4 me, temporary i hope 4 a solution because only admins can add events and birthday don't work.
$datestamp = mktime(0,0,0,$month,$day,0)
should be
$datestamp = mktime(0,0,0,$month,$day,0);
Works now...thanks...again
I'm getting just 1 issue with this mod now:
1 - After adding, editing, or deleting an event, I get a blank page. The event is inserted, updated or deleted, but no confirmation page or re-direct.
Any ideas...?
Thanks in advance.
Gizzmo I want to seek in calendar using forum search or another search
Does anybody has an answer to my questions about fonts and size?
Can someone help me with this?
1. Do I need to change anything in Profile.php if I dont want to use the birthday thing!?? I havent done that now and it seems to work fine.
2. Where do I change the color at the top where the week day stands?! Monday, Tuesday ...
3. How do I remove some years?! I dont need 2002-2012 just 2007-2007
help pls!
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Calendar 2.0
Powered by PunBB, supported by Informer Technologies, Inc.