I will try to help you with this 'V' as soon as I catch a break, but it may not be till tomorrow night... I am under some deadline pressures at the moment.
Cheers,

Funny, I just finished writing to you.  Hit the submit button just before you did I think.
Thankyou, gizzmo... and don't worry, I will take the blame for everything 8^P   ..but you still 'the man' ;^)

He posted it here: http://www.punres.org/files.php?pid=24
Cheers,

Triathlon wrote:

Hi,

I install the calendar a  long time ago en it works perfect!
But.....now I set up a new group of users. The problem is that the users who are in that group do not have permission to put up an event in the calendar. Can somebody help me with this problem?

Did you check permissions under Administration:User Groups ?  Be sure the new group has the correct permission for posting (etc) set.

Cheers,

pogenwurst wrote:
Vanslyde wrote:

Well I meant the next Calendar release... since we're in thread Calendar 2.0 I figured out the next release would be 3.0... aaaanyway...

Ah, I see. My bad wink

FYI, gizzmo said he was no longer working on this mod, however, he may pick it up again after pbb 1.3 comes out.  In the meantime its up to interested folks here to do something with it (actually 'here' meaning at the Calendar 2 Forum at PunRes mainly).  During Oct/Nov a few of us made some good strides  with it, and the results are in 2.0.7b.  I am sure that as I find time I will do more with it myself, and I will share whatever I got, but I do not see how a version 3 will be coming anytime soon.

Cheers,

Vanslyde wrote:

<snip>
Even though he/she didn't post any event, a new member would click edit event and get to a page where it would read;
Infos
Go Back

How can I change this text in order for the user to know that he/she can't edit any event because he/she didn't posted any in the first place?<snip>

One thing you may wish to check out is
http://www.punres.org/viewtopic.php?pid=5521#p5521
...where they are discussing placing permissions code into the calendar.php file.

If you decide to pick it up again, I hope this helps.

----------------------
Oh, and as far as changing the link text, those are written in the files so simply search the Cal2x files for the text strings you wish to change.

Cheers,

Hi folks,
I have been heavily tied up for the turn of the season so I have not posted for sometime, although I do watch from time to time.  I have received very little (if any) feedback on the 2.0.7b proposal other than posts I see here regarding wanting features or misc difficulties...

Last I communicated with gizzmo he said he is willing/interested in posting an update(s) to Calendar mod in the same project zone (for the sake of consistency of where to find 'it').

...so considering the time gone by, and what I can spend on the project, I decided to simply finished testing 2.0.7b (beta) for now (its completed) and have issued it to gizzmo (last night) for posting. 

Its a zip, and it ihas instructions for 1) installing fresh, or 2) updating existing, and 3) adding features.

I hope you find this modded mod's instructions straightforward enough to implement without too much trouble... it seems like a lot of steps, but it really isn't all that bad.  Be sure to follow the instructions carefully!

Post any feedback at the Punres Calendar 2 forum here:
http://www.punres.org/viewtopic.php?id=208

I will respond to the things I can, and of course fix anything that I may have blatantly overlooked  or broke.

Cheers,
TwoHawks

107

(38 replies, posted in PunBB 1.2 discussion)

@pogenwurst 'shuddering' ...LOL...
I think I might understand that ;^)

Thanks for getting back, pog..
...and I look forward to any additional comments that you may wish to add at a later date, should you find the time or interest.
Or anyone elses' for that matter.

And @liquidat0r... yeah, a wee bit long, I know.  Considering your 'pre-quil' I am uncertain if 'good job' is meant faceciously or for really!  So, thank you, I think.
:^P

108

(38 replies, posted in PunBB 1.2 discussion)

@Connorhd
Ty, Cool... I thought you were making a plugin for 1.3 ;^)

Just following up... Someone else posted a problem after installing the the Calendar mod... I must have overlooked something there.  I will be looking into that.
Cheers,

110

(38 replies, posted in PunBB 1.2 discussion)

Thank you for the clarifications, Connorhd ...and Jansson.

   I agree, and feel strongly, that it is most productive to always be posting issues and their solutions in forums one may be participating in.  It is important so that everyone may benefit from the record of the information of troubleshooting procedures and solutions, whether or not work continued [for whatever reason] somewhere else outside the forum.

Last comment on this:   There are times when a topic can become bogged down... and people may feel it better to move outside for some one on one work, and then come back later to post what happened [in a more condensed or precisce communication].  I find it a huge bonus when my bbs is providing that/those feature(s) 'built-in' so others and myself do not have to deal with having to figure out who may have what pm or irc clients installed and setup, or focus on installing/settingup new services for ourselves, or working out email problems, in order to do that.

I have to say I have found it quite compelling that others have worked on providing such cool mods as pm/irc stuff for punbb.  Seems to me a most natural combination, and I do no t think I am alone in that thinking - it seems very popular here, indeed. 

Cheers,
TwoHawks

111

(38 replies, posted in PunBB 1.2 discussion)

@Connorhd...
lol...  of course... don't you mean "I" am confused, I mean since you clearly indicate my misunderstanding?!

My bad (or rather, 'my stupid', but you decide)... I was meaning private, or personal, messaging (pm) system actually... which I incorrectly assumed as irc, but I see my folly in that irc only means chat, ...sorry. 
- But what the hey, either would do. - 

...I never saw any indication before on this website that irc for punbb existed.  I see your reference, but since I am totally unfamiliar with what you posted I will have to google it and figure it out (np).  Thank you for mentioning it.

  What I find strange is why I never had anyone here ask me to collaborate with them utilizing this, yet I have been asked to sign up for pm (like yahoo and aol) occasionally?  Also, its not listed on the home page, so I do not know how it is intended I would 'naturally'  find out about the availability of that here ...did I overlook something blatantly obvious?

Cheers,
TwoHawks

EDIT - PostScript: I go to the site quakenet and search for #punbb (and did many other searches), but I turn up bupkiss. It is not clear to me at all how to use this service.  How is one supposed to access this chat zone you mention, Connorhd?  thanks.

112

(38 replies, posted in PunBB 1.2 discussion)

Oh goody! <2hawks likes a good argument! ;^P>

   Thank you for your responses and insights pogenwurst.  I think you make some very solid, good, and quite compelling, points.  I still would consider that "thinking differently" is acceptable and may be better, rather than actually creating problems or false impressions, etc.  Of course, it seems readily apparent that it really is a matter of opinion, so considering your (friendly) retort I would certainly not presume to 'argue' an absolute right vs. wrong... just possibilities...

   Generally speaking I feel that showing people the possibilities, albeit in some otherwise creative fashion, while accommodating their 'natural' needs, can be quite effective, and is not creating false impressions if proper attention is given to responsible presentation of the barebones core (and people aren't later being hit with a hidden cost for the "extra stuff", of course)...

Point by point...
1) I do (and did) understand it was only your own personal opinion, but it seemed it might be fairly accurately representing the heart of the developers' concerns and the centerpiece of the problem... and so I figured it was safe to take that up directly - seems a/the strong issue, this one of 'what is proper representation". 

   In fact, I think the concern over presenting falsity or insufficiency in the product is probably more born of pier pressure (what other limited thinkers [long-standing piers in the business] consider "proper representation should be" for this kind of thing) rather than honest and practical (fresh) consideration for what is natural and best for everyone. 
   My opinion is "I don't care what the other car manufacturer thinks is best or right marketing for cars, I want to think about the people I am selling to, and help them holistically understand the benefits in the best way possible."
   So okay, I got your "basic Honda" here, that can do x,y, and z, but I want to show you what its like when I include the radio, heater, air-conditioning and cushy seats.  Is that cool, or what?! Do those come stock? - Well no, they aren't needed, but you can have those and many more choices ...and at no additional cost and with no modifications to the core of the vehicle! (i.e: the place for all that stuff is already built in - you simply build it up to suit your own needs)... Yeah, its built to take on all that and more... pretty cool, huh?
   More than sufficient, very powerful, and fun to boot!
   And no lies.

2)

pogenwurst wrote:

Why not? Because it gives new users a false impression of what PunBB is, and how it works. What is seen on these forums should be what one sees when he or she downloads and installs PunBB. Otherwise, there is great potential for confusion and frustration.

Well, yes and no. I think this is arguable.  I think 'false impression' is a bit harsh, if not even inaccurate.  As an unwitting investigator coming here I would not personally feel that way, especially given that a demo of the barebones setup is right there. 
   On the one hand folks prone to installing something like a Bulletin Board are largely (admittedly not all) into some tech, meaning someone like myself may not only have some capacity to understand, but also to appreciate, that the developers tweaked their own "barebones" project with "readily available plugins" to suit the practicality for this place, ...and that demonstrates what this project can and does support... So That to me 'is' what it is and is also how it works.   
   That's all good, as well as true and honest, stuff in my book. I am some dude looking for a BBSto build and this has got me excited - I am not getting the "false" light here.
  On the other hand, if I have a preconceived notion that the base forum ought to be only the barebones, then, indeed, I will be challenged in my thinking when I come to this place.  But that doesn't mean I am being presented false impressions.  If it pisses me off I might leave.  If it catches my attention, I might choose to stay a bit and check it out anyway.  I might even learn something.  Well I came here to investigate and learn, so there shouldn't be a problem anyway.

   Seems to me the only real question there is how many inquirers do I expect I might lose compared to those that might stay and check it out and get excited?  Are the ones who might check out ones I really care all that much about anyway? (Let 'em go back to phpbb [or whatever] for all I care... if that's what they want, prefab stuff is out there for them!  And this is here for us 'other people', and this is how we are approaching it - in a way different than "the other guys".)

pogenwurst wrote:

...gives the impression that PunBB - or any other lightweight forum package - is insufficient...

I have read this in these forums before and I totally disagree with this.  Again, a la what I stated above, given a demo of the barebones, and then seeing what the pro's are doing with it 'at home', only tells me there's that much more possible with this package - thus it is not only sufficient, it is way more than simply sufficient... it is also powerful because it can do the core thing on its own AND you can build on that... I mean, you do not have to buy something else to 'make it so', you only need to investigate and create, or utilize what has been created for it.  I just find the 'falseness' attitude unnecessarily conservative and, well, limiting and untrue. 
    ....I mean, conservatively I see your position as mostly 'logically correct'... but I don't see how that kind of thinking (probably 'status quo') really takes into consideration the understandable needs of the people who will be coming here and investigating this.  I do not see an argument in conservative logic that necessarily invalidates utilizing a creative approach.  If someone sees something false in this, then they simply aren't bothering enough to really check it out - then its probably not for them anyway.
   I mean who cares about the way the 'other guys" are doing it?... Who made them the 'gods' of 'the right and true way"... obviously nobody did because people are coming to Rickard?s house now to check out the party happening over here, and these Honda's are freaking cool, man. I'm gonna get one and play with it!

3)

pogenwurst wrote:

An official forum and a separate vanilla installation are counterintuitive to some, including myself. I suppose I may be wrong, but it seems to me that many will go straight to the official forums, quite logically assuming them to exist in stock form

Again, you make a 'conservatively' logical point, but I don't think it is necessary or required to support peoples expectations with only straight conservative logic.  A creative approach could be quite insightful and compelling if handled well, and could open people up to alternative thinking/logic that is equally valid (maybe even healthy)... which I see as in keeping with the spirit of the project. 
   I do not think it would be harmful if you arrived at the forum with some preconceived expectation, only to have your assumptions challenged... in fact, isn't that part of the idea?  As long as I am not lying to you and I am leading you in a manner where you can readily and easily gather all the pertinent info and make an informed choice, it doesn't matter whatever your preconceived notions were.  No harm, no foul.

4)

pogenwurst wrote:

Email?

I have done a lot of collaborating, with all kinds of support resources, including email, so yes, I know about it.  If you have ever collaborated over the phone you know its way more immediately productive than relying on (and waiting on) email.  IRC is a close second, maybe the closest, so I find it worthy of mention for this type of "co-productive" environment.  You can get a lot more done with less waiting - and I bet if you asked anyone who has used irc for collaborating they would agree with that statement.  Anyway, I think its very close to necessary in such an actively productive environment where phones aren't happening, so it should be mentioned... just my humble opinion.

5)

pogenwurst wrote:

Why keep supporting 1.2.x?

Because of the pre-existing install base that will not immediately migrate to the new environment.  Just because one comes out with a new version doesn't justify yanking support for the old and existing install base.  Who's going to invest their energy in the new thing if they were slighted with the current investment?  Their going to think, well I'm not doing that again, I cannot trust the developer to support me, and go somewhere else.
  You can soundly bet that many people with complex installs will not migrate right away and that Rickard will keep 1.x.x info and support forum running for the people until such time as that has practically expired.

6)

pogenwurst wrote:

Finally, one fundamental problem with this concept of a solitary forum is this -

I am sorry, I did not understand your last point, would you please clarify?


Please don't read any disrespect into any of my remarks, pogenwurst. .  I do have an opinion about the angle of what you present, and I disagree with it, and my opinions may even have some of my ego behind them in some areas; however, let me be clear, I really do appreciate what you (and us all) bring to these forums, and the opportunity afforded to express these ideas together.

I wonder if Rickard is piqued by any of this?

Sincerely,
TwoHawks

113

(38 replies, posted in PunBB 1.2 discussion)

twohawks wrote:

Re-do it right, as one place, as it should be imnsho.

CLARIFICATION
The only thing I read here perporting there even needs to be two different forums was...

pogenwurst wrote:

The problem I have with a single, unified forum is that the official forum (this one) needs to be as close to a stock install as possible, for demonstration purposes. A separate site for mods and styles, like Punres, alllows for special additions, like the project and style system, the board stats, and the wiki.

With all due respect I disagree so magnanamously....
Why not show off PBB for all it can be?  YES
Does that limit the ability for stock demonstration?   NO
Can all of the issues being brought up above be better addressed and served in a single BB?  YES
Is it the simplest solution compared to all of the reasoning being given above for keeping two BB's, and thus having to deal continually with more needless issues?  YES
Is it more dapper and smart and useful to have onen forum?  YES
So why argue or think twice?  Why not do the simple, and beautiful, thing?  YES YES!

BEST IDEA / SIMPLISTIC SOLUTION
One PunBB, built the way Richard and best supporters (admins or whoever you work with Rich) envision it.
Added sectioning (Forums/Categories ..you decide how that looks/works), including:
- A demo of virgin PunBB at Steve's place, Pundemo.  The raw deal - how simple! (how cool!).
- A separate section for mods and plugins
- A separate section for styles
- Private messaging capability (if appropriate to the server load capacity here) for those times we need to be collaborating (without having to subscribe to other ircs)
- All the usual 'sectional-suspects' [wiki and all that]

And Then, when 1.3 comes out:
- 1.x.x Section
   - with demo section as above
   - with mod+ plugins section as above
   - with styles section as above (or see below)
- 1.3.x section
   - with demo section as above
   - with function-thingy (plugins + ??) section
   - with styles section as above (or see below)
- Styles section for both - if both versions use related styling
- Other 'both' sections for shared (but I don't know what that might be, if at all)

KIND OF THING.

I think if you keep it together, Richard, as creatively as you like, it is your best bet for inviting the new folks in and giving them a consistent feel for the slick and the easy and the dapper etc appeals of the spirit of the project, and getting them, and keeping them, excited in a solidly wholistic sense.

Hey, I don't need convincing.  I got nothing but respect for you and all your 'associates' here.  In fact, I am grateful for this project and hope to learn more about it, and by it.  I offer my twisted opinions and criticism here not to gripe, but only with the hope of helping punbb forum(s) become better for everyone - if that's even possible ;^)

Cheers,
TwoHawks

114

(38 replies, posted in PunBB 1.2 discussion)

Hi all,
  I have another suggestion...

THE ISSUE, REALLitY
  I think productivity, continuity, and time are the relevant issues here.  It is counter-productive, not to mention counter-intuitive, and overly time consuming to have to deal with similar issues cropping up and being discussed in two different places that are so intimately connected. And that this persists raises valid questions about the proprietors' thoughtfulness to things being claimed as important to them (with regard to the product).  So how does this 'add' to how punbb appeals to newcomers (considering 'the whole')?

   A glaring example of needless aforementioned waste is the (wonderful) calendar mod, which is actually posted in both forums (who knew that - I thought mods were supposed to be posted over at punres?!) - and keeping up a contiguous sensible bead on that is therefore twice as challenging and more time consuming, not to mention ridiculous - oh there I go, I mentioned it 8^P
   I don't understand why that wasn't merged over to the punres zone where it seemingly belongs as 'one thing' (unless I misunderstand the alleged protocol).  People are confused about what/which to download, and where to be discussing which/what current one... etc!

This is just silly.  And it's unprofessional.  And I think this reflects poorly on punbb.

OH WHAT TO DO?
   So Then, if
- we cannot sensibly merge the forums due to their distinct functions,
- and we cannot rely on administration hassling to be moving topics all the time,
- but we thereby have a counter-supportive factor effectively built in to this environment...

... would it possibly be an appropriate thing (coding-wise and utilitarian-wise), to at the very least create the ability in the search features at both forums to be able to search both forums from one location?
   I know this moves slightly away from 'the stock installation on the Punbb.org forum' concept, but if it was just that one little extra thing, might it overcome the 'dredge' and save us a lot of the hassle of having to keep up in two different places for certain things that really should only (need to) be in one place but it doesn't work that way? 

<BABBLE/RANT>
   I do not mind logging into two places, and enjoying the benefits of the two forums' unique offerings, but having to conduct separate searches and browsing gets to be needlessly combersome and time consuming - which also kind of rides counter to what punbb promotes about itself - slick and non-bloated and easy and smart, etc. 
   And no sooner do I obtain a bead on where I think all the relevant topics are for 'a thing' than there goes someone openning up yet another new one 'outside the designated zone' ...and because it is not moved to its 'home' I find that that kind of new thing usually gets overlooked by me for up to at least a week before I catch on... and then I find we now have two places where the same or similar issue is being discussed.   
   And its the same thing with mods and styles.  If you want to be browsing through the 'functional' aspects [mods + plugins], you necessarily have to equally wade through the 'form' aspects (styles) while you are doing it, and visa verse.    It takes up a heckova lot more of a person's time ...and its just not smart or necessary.  All that would have to be done is to better categorize and separate these things, and then better moderate where postings are going.  But I digress... this is certainly more about punres than here... however, the same sort of needless waste is going on, and its, well, needless.
</BABBLE/RANT>

  Anyway, if punbb wishes to be growing up all smart and dapper, as it really seems to be as an open source php BB (I think its killer), I think the forums here do well to be reflecting that same dapper and polish.  I offer the search mod idea as a minimalist  fix approach in the face of the proprietor(s) not wishing to merge the forums; however, if it were me I think I would change that alltogether.  Re-do it right, as one place, as it should be imnsho.

And that's my 2hawks-cents.
Cheers,
TwoHawks

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.

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

How to Pull out "1 of" from a Seeming Array in a For Each Statement

Hi Folks,
We are working on Gizzmo's Calendar Mod 2.0.x (will be posting an update with his blessing soon) , and beeing as how my php skills are a work in progress (or so we hope), I am hoping to get some pointers in a viable direction here...

The below function code uses a for/each loop to create a configurable display of 3 months, i.e. last month, this month, and next month.  There are a couple things I wish to do... I think I will simply ask one thing at a time...

So First thing then, is how to 'call out' from the function  -the current month, or 2nd item (during the loop)?
I thought maybe 'mini_cal' function would result in some sort of array I could fetch the desired result out of after completion, or that I could catch the item while 'for/each' is looping ...but I still cannot figure it out (after a couple days at it - whew-).  I am missing some pivitol understanding so I can work the problem.  Maybe some of you can help point me?

Here is the mini_cal function code.  I think its pretty staightforward, with a lot of conditions and such in the middle which we are mostly unconcerned with:

/*=================*/
/*= Mini Calendar =*/
/*=================*/
function mini_cal($month, $year, $place){
global $db, $pun_user, $CFG_start_day, $lang_calendar, $type;

        for($X=($month-1); $X<=($month+1); $X++)
        {
                        $month_start = mktime(0,0,0,$X,1,$year);
                        $day_in_mth = date("t", $month_start);
                        $monthtext  = date("F", $month_start);
                        $day_text   = date("D", $month_start);
                        $month_year = date("Y", $month_start);
                        $month_no   = date("n", $month_start);

                        $day_of_wk  = start_date(date("w", $month_start));
                        $month_end  = mktime(23,59,59,$X,$day_in_mth,$year);

        //Find the birthdays for "said" day
        $result = $db->query('SELECT DAYOFMONTH(birthday) as day FROM '.$db->prefix.'users WHERE MONTH(birthday) = '.$month_no.' LIMIT 1') or error('Unable to fetch birtday list', __FILE__, __LINE__, $db->error());
        $bdays = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','');
        while($bday_list = $db->fetch_assoc($result)){
            $bdays[$bday_list['day']] .="<a href='calendar.php?view=bday&date=".$month_year.".".$month_no.".".$bday_list['day']."'>".$bday_list['day']."</a><br />";
        };

        //Find the events for "said" day
        $result = $db->query('SELECT id, title, DAYOFMONTH(date) as day FROM '.$db->prefix.'calendar WHERE MONTH(date) = '.$month_no.' AND (YEAR(date) = '.$month_year.' OR YEAR(date) = "1900")') or error('Unable to fetch calendar dates', __FILE__, __LINE__, $db->error());
        $dates = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','');
        while($dates_list = $db->fetch_assoc($result)){
            $dates[$dates_list['day']] = "<a href='calendar.php?view=event&date=".$month_year.".".$month_no.".".$dates_list['day']."'>".$dates_list['day']."</a><br />";
        };


?>
            <h2><span><a href="calendar.php?date=<?php echo $month_year.".".$month_no ?>"><?php echo $lang_calendar[$monthtext]?></a></span></h2>
            <div class="box">
                <table cellspacing="0">
                <thead>
                    <tr>
<?php 
                if($place == 'main'){
                    if($CFG_start_day == "S")echo "\t\t\t\t\t\t<th>".$lang_calendar['Sun']."</th>\n";
                    echo "\t\t\t\t\t\t<th>".$lang_calendar['Mon']."</th>\n\t\t\t\t\t\t<th>".$lang_calendar['Tue']."</th>\n\t\t\t\t\t\t<th>".$lang_calendar['Wed']."</th>\n\t\t\t\t\t\t<th>".$lang_calendar['Thu']."</th>\n\t\t\t\t\t\t<th>".$lang_calendar['Fri']."</th>\n\t\t\t\t\t\t<th>".$lang_calendar['Sat']."</th>\n";
                    if($CFG_start_day == "M")echo "\t\t\t\t\t\t<th>".$lang_calendar['Sun']."</th>\n";
                }
                elseif($place == 'week'){
                                        if($CFG_start_day == "S")echo "\t\t\t\t\t\t<th>".$lang_calendar['Su']."</th>\n";
                                        echo "\t\t\t\t\t\t<th>".$lang_calendar['Mo']."</th>\n\t\t\t\t\t\t<th>".$lang_calendar['Tu']."</th>\n\t\t\t\t\t\t<th>".$lang_calendar['We']."</th>\n\t\t\t\t\t\t<th>".$lang_calendar['Th']."</th>\n\t\t\t\t\t\t<th>".$lang_calendar['Fr']."</th>\n\t\t\t\t\t\t<th>".$lang_calendar['Sa']."</th>\n";
                                        if($CFG_start_day == "M")echo "\t\t\t\t\t\t<th>".$lang_calendar['Su']."</th>\n";
                }
?>
                    </tr>
                </thead>
                <tbody>
                    <tr>
<?php 
                if ($day_of_wk <> 0){for ($i=0; $i<$day_of_wk; $i++){ echo "\t\t\t\t\t\t<td class='calendar_no'> </td>\n"; }}

                for ($date_of_mth = 1; $date_of_mth <= $day_in_mth; $date_of_mth++) {

                                        $date_stamp = mktime(0, 0, 0, $X, $date_of_mth, $year);
                                        $date_no = date("j", $date_stamp);
                                        $day_of_wk = start_date(date("w", $date_stamp));

                    $class = ($date_no ==  date("j") &&  $month_no == date("n") && $month_year == date("Y"))? " class='calendar_day'" :'';
                    if (!empty($bdays[$date_no])) {
                           $class =" class='calendar_bday'";
                           echo "\t\t\t\t\t\t<td".$class.">".$bdays[$date_no]."</td>\n";
                    } else
                    if (!empty($dates[$date_no])) {
                           $class =" class='calendar_event'";
                           echo "\t\t\t\t\t\t<td".$class.">".$dates[$date_no]."</td>\n";
                    } else
                        echo "\t\t\t\t\t\t<td".$class.">".$date_no."</td>\n";


                    if ( $day_of_wk == 6 )
                        echo "\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n";

                    if ( $day_of_wk < 6 && $date_of_mth == $day_in_mth )
                        for ( $i = $day_of_wk ; $i < 6; $i++ ) echo "\t\t\t\t\t\t<td class='calendar_no'> </td>\n";

                }
?>
                    </tr>
                </tbody>
                </table>
            </div>
<?php 

                if($place == 'main' && $X==($month-1))
                {
                    echo "\t\t</td><td valign='top' style='border:none;padding:0; margin:0'>\n";
                    $X=($month);
                }
                elseif($place == 'week')
                    echo "\t\t<br />\n";
        }
}

And variations of the following can be used to call the result:

<?php
//get current month and year
$month_no = date("n");
$year = date("Y");
//show mini calendar
?>        <div style='float:right; width:215px'><?php mini_cal1($month_no, $year, "week"); ?></div><?php
?>

My ideas were (1 + 2)...
1) catch it right in here:

                if($place == 'main' && $X==($month-1))
                {
                    echo "\t\t</td><td valign='top' style='border:none;padding:0; margin:0'>\n";
                    $X=($month);
                }
                elseif($place == 'week')
                    echo "\t\t<br />\n";

OR

2) Pull it out of here -afterwards-:
mini_cal($month_no, $year, "week");

But alas, all my methods fall short because I don't quite understand it well enough.
Cannot some array values be fetched/parsed from that somehow?  I tried my hand at a few techniques (without a debugger - so I am kind of working  blind |^| ) but I drew blanks.  Obviously I don't have a firm grasp of some pertinent basics. 


Look forward to your replys / direction.
Cheers,
TwoHawks

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.

Hi Mystic, I look at it in IE and Firefox.  Firefow looks perfect, but IE has display problem.
?
Hmmm... when you say "date always at left", I need you to clarify better.  Meantime, I will see if I can take and post screenshots of it.  Can you screenshot and post from there?

Edited:
Yours looks like this
...in FireFox
http://www.twohawks.com/punbbshots/misc … 1_inFF.jpg
...in IE
http://www.twohawks.com/punbbshots/misc … 1_inIE.jpg

....from a windows pc.


Also, it appears that numbers are Left-Aligned in both browsers, its just not as noticable if the typeface is larger ;^)

You could try adding a text-align: center to the stylesheet (you need to figure out where ;^P

Mystic, you did not ever need to change the code for require the code I posted, only for that on line for defining Pun_Root to your directory.  So I do not know why you needed or were trying to change that line of code, or where you were doing it?

Mystic, do not use the full pathway!! Remember?
'Forum/include/common.php';

YEAH!  Looks really cool.
I am trying to see where you can also highlight for the  "M T W T F S S " header.
(That is, if you want that, of course.)
I think its in a TH class somewhere, but I need to find it.
If/when I do, I will post, or if you do it, let us know.

I enjoyed this little project. Thank you ;^)
TwoHawks

It is this here:
Add for highlighting:
/****************************************************************/
/* 0.0 Calendar Color Additions */
/****************************************************************/
.calendar_no {background-color: gray}
.calendar_day {background-color: #00FFFF; COLOR:BLUE}
.calendar_event {background-color: #F9E9C8}
.calendar_bday {background-color: #FECAFF}
/****************************************************************/

Almost done...  did you include all the code above, or only for coloring the link?
If all the code is in, then you should see the event day highlighted as well.  Di you purposefully leave it out?

Also, I forgot something else, I am going back to look...

Okay, I got it, are you using stylehseets for your website?

Place this into the corretc place in your default style sheet...
.calendar_bday A:link, .calendar_bday A:visited {COLOR: RED}
.calendar_bday A:hover {COLOR: #8080FF}
.calendar_event A:link, .calendar_event A:visited {COLOR: #00AE00}
.calendar_event A:hover {COLOR: #80EE80}


This should work because the classes are already assigned in the code for the minical
;^)

PS: PLease always re-read my last post when coming back, lots of times I forget something and go back in and edit and/or add something.