Register Members List Search Today's Posts Mark Forums Read

Mod Options
[WIDGET] Upcoming Events Details »
[WIDGET] Upcoming Events
Mod Version: 1.00, by cory_booth (Coder) cory_booth is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

vB Version: 4.0.2 Rating: (6 votes - 4.17 average) Installs: 101
Released: 20 Feb 2010 Last Update: Never Downloads: 0
Not Supported Re-usable Code Is in Beta Stage  

Another upcoming events widget...
I am really waiting for someone to kickout an integrated calendar/events widget...
But until then, I am using this PHP widget for my events. I saw a few others on here, but they were not quite what I was looking for...

Feel free to use/hack/slash this code for your own use...

Navigate to AdminCP -> CMS -> Widgets.
Create a PHP Type Widget and paste the below code.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.


Click image for larger version

Name:	events.jpg
Views:	2556
Size:	20.3 KB
ID:	112672  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Old 21 Jan 2013, 21:42
4thstar 4thstar is offline
Join Date: Sep 2004
I was looking for a way to craete an rss feed using this code.

Hello all.
I hope you dont mind me asking here, i wanted to create an rss feed for my events, i dont know php so its all trial and error for me..

I have edited the code as below which creates afilename.rss, when this file is called it shows an rss feed..

i had issues with some strange characters breaking the page but things seem ok..

I currently have this on my index page as a widget, it cant stay there as it will create to much server work.


can this be turned into a php file to run as a sheduled task? If so how?

many thanks in advance.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

yes i know i probably look very tatty in the way i did things, but i am a novice with php
Reply With Quote
Old 01 Feb 2013, 16:21
89Brian 89Brian is offline
Join Date: Sep 2009
Did anyone ever figure out how to add a cut off date for events to be displayed?

I'd like to have a 20 or 30 day cut off on displayed events.
Reply With Quote
Old 06 May 2013, 04:22
fxdigi-cash fxdigi-cash is offline
Join Date: Jul 2012
Thanks for the mod!

I believe it would be more interesting if you added jquery count down till event time... what do you think?
Reply With Quote
Old 05 Jan 2014, 04:42
Join Date: Apr 2012
support for 4.2.2? As no longer works for me
Reply With Quote
Old 12 Oct 2014, 09:18
Daniel's Avatar
Daniel Daniel is offline
Join Date: Jul 2005
Real name: Daniel
Doesn't seem to work for 4.2.2
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 06:44.

Layout Options | Width: Wide Color: