vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [RELEASE v2] Today's Events on Main Forum Page (https://vborg.vbsupport.ru/showthread.php?t=21232)

sysmom 08-04-2001 03:14 PM

Is it just me, or is there only one event allowed per date?

I don't know if it might be related to the Today's Event addition, but I suspect it isn't.

I try to add a second event to the calendar, it takes the place of the first, the previous one does not appear on either the calendar, or the Today's Events listing.

I upgraded to vb2.03 the other day, if that matters. Although I don't recall scheduling more than one thing before anyway.

-deb

mister 08-05-2001 10:34 AM

i just tested it out on my board

2.0.3 w/this todays-events hack.

worked fine.

two events.
both on calendar
both on main page

maybe re-upload calendar.php, make sure you have 2.0.3's version (not to say it isnt there already...but just in case)

Jakeman 08-22-2001 12:19 AM

just installed v4. first time using this hack. works great.

two comments:
1) it would be nice to have a condition where if there are no events for that day it says 'none', or something to that effect.
2) i too would like to have this functionality in my header. i didn't see any 'how to' things in this thread for that.

on the same note. what php file controls functionality in the header?

butty 08-22-2001 01:47 AM

what a great hack, a doddle to install and so effective

good work!!!

sysmom 08-22-2001 03:56 AM

Jakeman:

I did move it to the header, and regretted it.

Although it works FINE in displaying the event for that day, it 'breaks' your calendar, and you can only have one event per day, the last one that was entered.

I suspect a variable is being tromped on, but I haven't looked into it.

So, when I did the 2.03 update, I didn't put it back in the header, and I'm ... gonna get around to it someday, but I don't think I have the luxury of breaking two events on any day just now.

-deb

Jakeman 11-02-2001 07:43 PM

anyone else had any luck moving this functionality into the header?

TheCaver 11-03-2001 08:37 PM

Has anyone gotten this to display the next WEEKS events? or next MONTHS events?

Its a GREAT hack, but to me, telling someone that there is an event today is a bit late :)

JC

Jakeman 11-04-2001 01:21 AM

i agree.

what would be pimp is to have a stand alone hack for a calendar like vbportal's calendar. http://www.phpportals.com/

Jakeman 11-04-2001 02:08 AM

hoorj! https://vborg.vbsupport.ru/showthrea...threadid=32087

TheCaver 11-08-2001 02:50 AM

I modified this to show the next months events but when I click on an event, it does not show the date in the calendar template.

I know, this should be over at vb.com but they said come here! :mad:

Anyone know how to hack the date into the calendar template to show what day you are looking at?

Thanks much,

JC


All times are GMT. The time now is 02:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01245 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete