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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 510
  • Total: 510

Calendar

Started by stang7043, August 11, 2010, 07:07:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stang7043

I hope this is in the right section if not admins please move it to the correct forum. Ok so on to my question......

I would like to have the calendar at my site to be displayed similar to the way the calendar is displayed here on the frontpage. For the life of me I cant figure out how to accomplish this.

Im running SMF 1.1.11 & TinyPortal v1.0 beta 3 (on a side note would it be worth it to upgrade to 5.2 ?)

Thanks in advance.




Lesmond

I you search for Calendar, There are a few floating around, also try your search in... Resources Ã,» Block code support

stang7043

Thanks. Was wondering if it was just a simple coding issue or if I was missing something in the calendar bloc/panel.

Appreciate the quick response.

stang7043

ok I found this http://www.tinyportal.net/index.php?topic=32717.msg262975#msg262975 but Im not sure what is meant by "Here's the code and it goes in a php block ..." Do I add that script to the current calendar.php ?

Sorry im a complete noob....  :-\

Lesmond

You add it to a PHP block, in your tinyportal admin, block manager

stang7043

#5
ok Im an idiot.  :uglystupid2:

When I activate the block I get
Fatal error: Call to undefined function getBirthdayRange() in /home/content/site/html/Sources/Load.php(1742) : eval()'d code(48) : eval()'d code on line 236

The load php is in the correct location.


stang7043

Got it working with this code. Well at least it is displaying need to test it. Thanks for the help and patience.

Quote from: Herr Inoddorell on January 08, 2009, 11:49:02 PM
Hi to all, I'm using this Code:


Lesmond

Glad you got it sorted, their is a few variation to the calendar code going around. 

ZarPrime

stang7043,

The code that I posted at the link you posted in the 4th post in this topic is specifically for SMF 2.0 RC3 and the latest TinyPortal.  It won't work correctly with SMF 1.1.11 and TP 1.0 beta 3.  In any case, I'm glad you solved the issue on your own and I will now mark this topic solved. O0

ZarPrime 

stang7043

Quote from: ZarPrime on August 13, 2010, 02:00:00 AM
stang7043,

The code that I posted at the link you posted in the 4th post in this topic is specifically for SMF 2.0 RC3 and the latest TinyPortal.  It won't work correctly with SMF 1.1.11 and TP 1.0 beta 3.  In any case, I'm glad you solved the issue on your own and I will now mark this topic solved. O0

ZarPrime

yeah I just noticed the script requirements. Absolutely mark the solved. Appreciate all the help.

This website is proudly hosted on Crocweb Cloud Website Hosting.