vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=85175

[release] Today's Calendar Events on forumhome
by filburt1
02 Nov 2002 16:53

2 Attachment(s)
Author: filburt1
Description: Displays the current day's calendar events, both public and private (provided the current user isn't a guest, of course) on forumhome.
Demo: None, unless somebody wants to provide one...?
Screenshot: http://www.vbulletintemplates.com/mo...=&postid=14497

This adds one query to forumhome.

filburt1 02 Nov 2002 16:56

2 Attachment(s)
Screenshot:

Buddha 02 Nov 2002 17:52

gonna try this.
how do i change it to include all events for the week?
oh and if possible, not display the birthdays?

filburt1 02 Nov 2002 17:54

It won't show the birthdays already.

You have to modify the end date variable (i.e., the one constructed with PHP's date() function)...although off-hand I don't know how.

Buddha 02 Nov 2002 18:04

k.
thanks for the info.

imported_TMG1 02 Nov 2002 22:40

just what im looking for!! GOOD JOB

imported_Junior 11 Nov 2002 06:32

nice

imported_DMC 14 Nov 2002 17:54

Filburt1,
Is there anyway to put the calendar events for Tomorrow just below todays and get rid of the private events??

So a user always sees Todays and tomorrows ????

filburt1 14 Nov 2002 19:33

Yes but I can't post how ATM. It should be reasonably simple: modify the query to change the date and remove references to private events.

imported_DMC 14 Nov 2002 21:10

I'll try to figure it... Not sure its possible however... (Me figuring it out) :)

imported_DMC 14 Nov 2002 21:14

Um... I looked at the includephp and I'm lost.. I'll need your advise when you get the chance... Appreciate it.

LightBringer 24 Nov 2002 02:20

Is there anyway to add this to the USERCP above the buddy list as well? :)

filburt1 24 Nov 2002 02:23

Change:

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

to

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

Then just add the block of code to wherever you want it.

LightBringer 24 Nov 2002 02:26

TY Filburt! Worked like a champ :)

stark427 05 Dec 2002 03:44

2 Attachment(s)
Filburt.
nice mod.

at the attached screenshot you can see the online users panel I've got at my forums.

I would like to use the nice mod of yours but in a way that the public event will show up only if one exists on the calendar.
The event will appear on a cell right underneath the Birthday cell, and when there is no event, then the "events" cell will not be shown... in other words the event bit will function exactly as the birthday one...

so, at the screenshot u see there will be the same table but now with 3 cells:

- online users info (as it is now)
- Birthday info (as it is now - and dissapearing when no birthdays are in the calendar)
- Public events (functioning as the birthdays)

could this be done?

I would love it if you could help me on this... :)


All times are GMT. The time now is 19:19.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.