Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Upcoming Events Details »»
Upcoming Events
Mod Version: 1.00, by ngcoders (Coder) ngcoders is offline
Developer Last Online: Sep 2012 I like it Show Printable Version Email this Page

vB Version: 4.0.0 Rating: (52 votes - 4.17 average) Installs: 334
Released: 28 Dec 2009 Last Update: Never Downloads: 4
Not Supported Auto-Template  

Upcoming Events

Released 28/12/2009
By Vikas - http://www.ngcoders.com

Installation
  • Goto Admincp->vBullietin CMS->Widgets->Create New Widget
  • Choose PHP Direct Execution as Widget's Type
  • Place a Title. eg Upcoming Events. Keep it short as this is what will appear as title on your pages.
  • Click Save
  • Click Configure on the right of the new created widget.
  • Remove the default code that appears. Be sure to not leave behind even a single letter.
  • Copy and Paste the code that you can find below.
  • Leave the template name as is (vbcms_widget_execphp_page)
  • Click Save
  • Goto Admincp->vBullietin CMS->Layout Manager
  • Click Go on the Default Layout
  • Add the Widget to your Layout
  • Click Save
  • That's all !!

PHP 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:	4431
Size:	14.8 KB
ID:	108359

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.
  #286  
Old 27 Apr 2012, 07:31
level8 level8 is offline
 
Join Date: Sep 2008
BIG THANKS TO Eq4bits amazing work

Tr@de.. I know you can add custom fields to the event and Ive seen people import this on the events list (i.e. webpage link) for external events.. however finding anyone to help with the code has been difficult
Reply With Quote
  #287  
Old 28 Apr 2012, 14:09
Eq4bits Eq4bits is offline
 
Join Date: May 2006
This is if you want an external link added (as well as a new calendar icon that is not a link itself... perhaps a bit more 'pleasing to the eye' to some (I also edited out the 'On' preceeding the date because it bugged me )




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

Also attaching new calendar image and a 'shorter' hz-line image as the previous one was too wide to display correctly in the widget when on certain size sidebars/columns
Attached Images
File Type: png cal.png (1.4 KB, 104 views)
File Type: png hz-line.png (159 Bytes, 12 views)
__________________
Webmaster
Dawnsisters Weyr & Pendleton Harbor
Reply With Quote
  #288  
Old 28 Apr 2012, 14:28
mrt12345's Avatar
mrt12345 mrt12345 is offline
 
Join Date: Feb 2009
Thumbs up

Thanks , but can you tell me the image path where to upload the new icons. Thanks
Reply With Quote
  #289  
Old 28 Apr 2012, 14:37
mrt12345's Avatar
mrt12345 mrt12345 is offline
 
Join Date: Feb 2009
ok thanks i figured it out, nice job, just fill in all the ********
Reply With Quote
  #290  
Old 29 Apr 2012, 08:26
level8 level8 is offline
 
Join Date: Sep 2008
if anyone can help all we are working on now is getting the "external link" to be a custom field path... so you will keep the word "External link" however this will link to whatever the web path has been listed in the custom field.... any help appreciated
Reply With Quote
  #291  
Old 29 Apr 2012, 11:14
Tri@de's Avatar
Tri@de Tri@de is offline
 
Join Date: Sep 2003
Real name: David
I modified the code to take the link on the event description (in this way you have only to write the link in the description), and also modified the code to select a different calendar. if you want it, just let me know.
Reply With Quote
  #292  
Old 29 Apr 2012, 11:38
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is online now
 
Join Date: Aug 2009
Real name: Rob
Originally Posted by Tri@de View Post
I modified the code to take the link on the event description (in this way you have only to write the link in the description), and also modified the code to select a different calendar. if you want it, just let me know.

Be great if we can have it please Tri@de thank you
__________________
http://www.ProFifaLeagues.com

The community is our passion.
Home of the best community for Xbox 360 gamer's.
Reply With Quote
  #293  
Old 29 Apr 2012, 12:24
Tri@de's Avatar
Tri@de Tri@de is offline
 
Join Date: Sep 2003
Real name: David
Here you are!


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

The red number id the calendar id you have to modify as you wish.
As i said before, in the description put only the link (including http:// ) or the link doesen't work properly.
Reply With Quote
  #294  
Old 30 Apr 2012, 12:18
level8 level8 is offline
 
Join Date: Sep 2008
what if in the description there is 2 links?? how does it know which to pick up?
Reply With Quote
  #295  
Old 30 Apr 2012, 13:10
Tri@de's Avatar
Tri@de Tri@de is offline
 
Join Date: Sep 2003
Real name: David
in the link, you find http://firstlink-secondlink i suppose.
i made it to get only a link.
The best for this widget is to make a customfield and using it for urls.

Last edited by Tri@de : 30 Apr 2012 at 13:16.
Reply With Quote
  #296  
Old 03 May 2012, 17:56
level8 level8 is offline
 
Join Date: Sep 2008
yeah thats what I have done.. just importing the info from the custom field (the website address) and replacing it in the href="%s" target="_blank is proving tricky!!
Reply With Quote
  #297  
Old 03 May 2012, 19:08
Tri@de's Avatar
Tri@de Tri@de is offline
 
Join Date: Sep 2003
Real name: David
Originally Posted by level8 View Post
yeah thats what I have done.. just importing the info from the custom field (the website address) and replacing it in the href="%s" target="_blank is proving tricky!!
you made with custom field?
can you give me the code?
Reply With Quote
  #298  
Old 03 May 2012, 19:18
level8 level8 is offline
 
Join Date: Sep 2008
I just went into the calender and added a custom field.. it was part of the default options!
Reply With Quote
  #299  
Old 03 May 2012, 19:49
Tri@de's Avatar
Tri@de Tri@de is offline
 
Join Date: Sep 2003
Real name: David
Originally Posted by level8 View Post
I just went into the calender and added a custom field.. it was part of the default options!
Yes, but how you put in the code. i tried, but i've done somthing wrong...
Reply With Quote
  #300  
Old 03 May 2012, 19:57
level8 level8 is offline
 
Join Date: Sep 2008
thats what I cant do either find a way of feeding that into the widget
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 11:00.

Layout Options | Width: Wide Color: