Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

Reply
 
Thread Tools
v1.0 Add Meeting Place, Time or Game fields to Calendar Details »»
v1.0 Add Meeting Place, Time or Game fields to Calendar
Version: 1.00, by Cyricx Cyricx is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-03-2003 Last Update: Never Installs: 1
Is in Beta Stage  
No support by the author.

Okay, I'm fairly new to coding period, never done any before this

So the reason I'm putting this in the beta hack is I may have a line or two added in that isn't needed or there just may be a better way to do one of the modifications, as I basically stumbled and bumbled along til I found something that worked

I've wanted to know how to do this for a long time but could never find where anyone had a "how to", so here is my meager attempt at one.

What does this hack do? -
This hack allows you to add a field for Meeting Place or Time or your heart's delight (I used Game) to the calendar. The instructions are written in such a way that you can do just one of the three modifications, or you can do all three. I doubted that very many would do all three so I have listed the modifications seperately in the file. If there are a few that want all three, I'll do up some quick instructions on how to do all 3 modifications at once.

Here is an exerpt from the install file -

Quote:
These are the three modifications I will be detailing. The Instructions are
written in such a way that you can install only one of these, or you may
install all 3.

-1- Adding Time, AMPM, and Timezone fields to your calendar. This is an
integer field, and 2 short text entries.
-2- Adding the "Meeting Place" field to your calendar. This is a long text
(up to 254 characters) entry.
-3- Adding the "Game" field to your calendar. This is a short text entry.
You may use the "Find" feature of your favorite text editor and search for
-1- or -2- or -3- to skip directly to the one you wish to install.
Queries to run: 1 per modification (up to three)
Files to Edit: 1 (/forums/calendar.php)
Templates to Edit: 2 (calendar_enterevent, calendar_daybits)

Each modification has 10 steps to do in the calendar.php. The 9th step is ONLY put in if you have Session's Calendar / Thread Integration Hack located here -

https://vborg.vbsupport.ru/showthrea...threadid=52968


I'm workin to try to figure out how to do the time in such a way that members will see the time of the event according to their timezone. Once I can figure that out (may be a few months ) or if anyone knows how and would like to point the way (which I'd be most grateful for), I'll create a new version of this hack for that. In the meantime, the -3- mod, was my bandaid to tide us over.

If these instructions are easy enough for everyone to follow and I don't have any unnessecary code then I'll get this moved to the full releases, but would prefer to double check with those more experienced first.

Anyway, let me know what you think, if you have any problems I'll try my best to assist.

A live demo can be scene at http://www.guardiansoffire.com

Day Info - http://www.guardiansoffire.com/forum...fo&eventid=498

Thread created by Session's hack - http://www.guardiansoffire.com/forum...&threadid=7897

Thanks to Asterix, there are some screenshots in the replies below.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-04-2003, 02:09 AM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a screenshot of adding a new event.
Reply With Quote
  #3  
Old 10-04-2003, 02:11 AM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And here is a screenshot of the thread created by Session's hack with the added code from this hack.
Reply With Quote
  #4  
Old 10-04-2003, 08:06 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very cool!

I don't need it now but it shall be ported to vB3 !!
Reply With Quote
  #5  
Old 10-07-2003, 09:41 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one is nice.
Only the cp panel design could be lighter ...
Reply With Quote
  #6  
Old 10-31-2003, 09:56 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cyricx, do you have any kind of moderation active on your Calendar for user submitted events? I can't get the hack to work with 3.2.0, just curious as to whether you're using it. I'd add this hack in a flash if I could offer that service again.
Reply With Quote
  #7  
Old 10-31-2003, 04:16 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

-Powerful alarms with custom messages, MP3, WAV, MIDI
-Add event
--Once
--Hourly
--Daily
--Weekly
--Monthly
--Annualy
--Regular
--Special
Reply With Quote
  #8  
Old 11-01-2003, 05:33 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't want much do you?
Reply With Quote
  #9  
Old 11-02-2003, 05:55 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure, only these couple o' things. )
Reply With Quote
  #10  
Old 11-02-2003, 08:01 AM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and maybe an automatic installer file, this hack takes ages to manually do
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 05:11 PM.


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.04773 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete