TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 728
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 400
  • Total: 400

SMF Calendar Block

Started by Lesmond, September 03, 2005, 11:30:42 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

onicat

Question.
Is there a way to show the date of the event, instead of the date of the post below the calendar on the block?

Very nice script though. I do like.

Xarcell

I thought it showed the first day of the event? Not the date of the post.


Crip

This was the 1st ever block code snippet for TP..
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



onicat

What about repeating events. Is there a way to write it so that it shows the current date of the event?

Oh I am not saying its a bad code. Hell I do love it very much. I am just wondering if there were any other ways it could be moded...as I am not a coder myself. I figure the least I could do is through out idea's. LOL.

Xarcell

I think someone wrote one that has repeated events. You will need to browse his whole thread to find it.

FragaCampos

I confess i didn't read all the 56 posts...
i installed the Xarcell's code and i liked it a lot. I just took out the "Post Event" link, since it suits me that way.
Still, i would like to know how to edit the code so that when someone clicks one of the days, can be redirected to the SMF calendar instead of going to the add event post.

Thanks a lot.

ksimpson

Is there a way to make this grab more than 7 days worth of events? looking at either 2 weeks or a month right now...

Thanks

Ken.

Quote from: Kris Simpson on July 02, 2008, 02:30:50 PM
Is there a way to make this grab more than 7 days worth of events? looking at either 2 weeks or a month right now...

Thanks

Without knowing what version you are using its not possible to say for sure, however AFAIK most (or all) of the versions posted can be edited for the number of days that will be called into your display.
Take a look close to the top in your code and you should see a place to set the number of days.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

ksimpson

Thanks for your help Ken, but I cannot find it in the version i am using... it could well be by inexperience, or tiredness though!

The version featured at the top of this page (56) is the one i have used.

Thanks again...

Ken.

Actually the info I posted was wrong, sorry.


Try this:
Admin>Forum>Calendar>Max days in advance on board index:>... set the number of days you need.


See if that works a little better.  :)
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

This website is proudly hosted on Crocweb Cloud Website Hosting.