Register Members List Search Today's Posts Mark Forums Read

Reply
 
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.

Screenshots

Click image for larger version

Name:	events.jpg
Views:	2552
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.
  #16  
Old 23 Jul 2010, 17:24
rabidkevin rabidkevin is offline
 
Join Date: Aug 2005
Originally Posted by NashChristian View Post
Alright, at least I'm not going crazy. I did some research at our neighboring events widget mod, and found that they have encounterd the exact same problem, with a solution outlined here.

My GMT is -6, so whenever an event is scheduled to begin at 6pm or later, it displays the date for the following day.

Now, I just need to figure out how to apply this same solution to this mod.

At least there is hope.
Jeff
Did you ever figure it out? I'm stuck at the same place as you. And everyone else please post on vbulletin.com and request this as a default widget of vbulletin... http://www.vbulletin.com/forum/showt...nts-CMS-Widget
Reply With Quote
  #17  
Old 23 Jul 2010, 20:44
NashChristian's Avatar
NashChristian NashChristian is offline
 
Join Date: Jul 2007
Real name: Jeff
Originally Posted by rabidkevin View Post
Did you ever figure it out? I'm stuck at the same place as you. And everyone else please post on vbulletin.com and request this as a default widget of vbulletin... http://www.vbulletin.com/forum/showt...nts-CMS-Widget
I went with the other widget, and modified their code a bit to display as I wanted. I couldn't make this code work for me.
Reply With Quote
  #18  
Old 01 Aug 2010, 13:51
Zweeper Zweeper is offline
 
Join Date: Jan 2005
Would be nice if it would look like the one in the attachment.





1. a small calender on the top to see the actual month.

2. then, a row with today's birthdays, if there are birthdays.

3. last but not least, a new row with upcoming events of the next xx days.



Maybe I am not alone with this Idea. Unfortunately I cant code this on my own.
Just to give some useful critic.
Attached Images
File Type: jpg Capture.JPG (29.3 KB, 131 views)
Reply With Quote
  #19  
Old 01 Aug 2010, 18:11
imported_pmay68 imported_pmay68 is offline
 
Join Date: Sep 2002
Originally Posted by Zweeper View Post
Would be nice if it would look like the one in the attachment.





1. a small calender on the top to see the actual month.

2. then, a row with today's birthdays, if there are birthdays.

3. last but not least, a new row with upcoming events of the next xx days.



Maybe I am not alone with this Idea. Unfortunately I cant code this on my own.
Just to give some useful critic.
Yeah I really like that one as well..
Reply With Quote
  #20  
Old 05 Oct 2010, 05:33
NashChristian's Avatar
NashChristian NashChristian is offline
 
Join Date: Jul 2007
Real name: Jeff
Arrow VOTE in Jira for vB Calendar Widget - Corporate Solution!


vB has been taking their sweet time developing a corporate solution for this Calendar Widget. It has been logged in Jira, but there have only been TWO votes so far and it appears to have been deprioritized.

Please log into Jira and VOTE FOR THIS! It will only take you a minute: http://tracker.vbulletin.com/browse/VBIV-7656

A number of customer have asked for a calendar widget that will access the current site calendar. That is distinct from the current cms calendar widget that displays dates on which articles have been published. Wayne also feels this should get a high priority.
Reply With Quote
  #21  
Old 16 Oct 2010, 18:39
Lexor Lexor is offline
 
Join Date: Oct 2010
I installed the widget on 4.0.7
But when i adde an area in my cms and want to choose it i became an error message like this:

Call to undefined function vbgmdate() in /www/htdocs/XXX/XXXX/packages/vbcms/widget/execphp.php(194) : eval()'d code on line 43

Can you help ?
Reply With Quote
  #22  
Old 16 Feb 2011, 13:55
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Looks and works great. Thanks
Reply With Quote
  #23  
Old 26 Mar 2011, 07:03
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Originally Posted by NashChristian View Post
Alright, at least I'm not going crazy. I did some research at our neighboring events widget mod, and found that they have encounterd the exact same problem, with a solution outlined here.

My GMT is -6, so whenever an event is scheduled to begin at 6pm or later, it displays the date for the following day.

Now, I just need to figure out how to apply this same solution to this mod.

At least there is hope.
Jeff
I went with the other code as well, set the GMT offset to match my site's 'time'.
Had to laugh tho when I went to check to see if it was displaying right.
Display for 'today' was perfect... but April 1st events showed as being
On 32th Mar 2011
Not sure if that's an intentional 'funny' or something weird because March has 31 days... and I don't have have any events for the 29th, 30th or 31st. the wording is a bit 'fonky' for 2nd displaying as '2th' and 3rd displaying as '3th'. Also only 1 event per date is showing when I know at least one has 2 events scheduled
Reply With Quote
  #24  
Old 24 Jun 2011, 16:58
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Originally Posted by SuperGLS View Post
Also, I wish the colon had a space on the RIGHT instead of the LEFT. Any ideas?
I was able to add a space *after* the colon (but unable to remove the space to the left by changing
THIS
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Reply With Quote
  #25  
Old 25 Jun 2011, 01:54
Eq4bits Eq4bits is offline
 
Join Date: May 2006
I finally got mine to pull the 'current' date & it's events

FIND:

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

CHANGE TO:

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

FIND:

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

CHANGE TO:

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

Reply With Quote
  #26  
Old 01 Jun 2012, 18:28
Onkeltyson's Avatar
Onkeltyson Onkeltyson is offline
 
Join Date: Dec 2009
Real name: Robert
Thanks for that
Reply With Quote
  #27  
Old 04 Aug 2012, 12:04
ReBe ReBe is offline
 
Join Date: Jul 2007
I have some recurring entrys, but in the widget only the first from the recurring entrys are shown. Is there a solution for it?
Reply With Quote
  #28  
Old 08 Aug 2012, 14:00
barnsi barnsi is offline
 
Join Date: Dec 2011
Datumanzeige in deutschem Format

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

vor dem "j." muss das Hochkomma stehen, wird hier leider nicht richtig dargestellt.
Das ergibt dann die Anzeige: "9. August 2012" statt "08.09.12"
Reply With Quote
  #29  
Old 09 Aug 2012, 09:01
Arrogant-One's Avatar
Arrogant-One Arrogant-One is offline
 
Join Date: Jul 2007
Real name: Alex
Originally Posted by cory_booth View Post
Create a PHP Type Widget and paste the below code.
Hi Cory.

How do I do this exactly? I am a bit of a novice at vB but have learned some stuff. Editting templates is a breeze. Is this like that?

What do you mean by 'Create a PHP Type Widget'
__________________
OzChess - Australia's Chess Forum- http://www.ozchess.com
Reply With Quote
  #30  
Old 17 Aug 2012, 21:11
otterag otterag is offline
 
Join Date: Feb 2011
The calendar im trying to show events for is almost all recurring events and this mod does not show any of them.

Is there a way to pull those for the dates that they actually occur on with out having to redo the entire calendar day by day?

here is a screen shot of the mod on the left and the calendar on the right.

http://armadagames.com/forums/images...s_calendar.jpg
Reply With Quote
Reply


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 05:26.

Layout Options | Width: Wide Color: