Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Calendar / Thread Integration Hack Details »»
Calendar / Thread Integration Hack
Version: 1.00, by Session Session is offline
Developer Last Online: Apr 2006 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 05-14-2003 Last Update: Never Installs: 11
Is in Beta Stage  
No support by the author.

Ok, this is my first VBulletin hack so please be calm on me As this is a beta BACKUP the files to be edited (as always)

I always wanted to link the calendar events to a thread aswell. So that if you make a public event, it also generates a thread from the same info. Now i always thought this was going to be hard, but actually it is really simple.

There are 5 steps to do in total in just 2 files. It concerns the calendar.php and the newthread.php

I tested this on vb 2.30 & works smoothly now at my site www.livesets.com

what does it do exactly:
  • When people push the New Thread button in a particular forum (can be specified as you like) you will be redirected to the Add Public Event screen
  • After filling in the required info it generates a public event just like it would do normally
  • next to that it will generate a thread in the forum where you pushed the New Thread button with topic title [date] title ( f.e. "[2003-05-14] Awakenings, Amsterdam NL" ) adn the same content as the Public Event
  • after that it updates all counters (forum,thread,user)
  • redirects to the new thread

NOTICE: on several places you will have to manually insert the forumid you want to use for this, in the example attached here the forumid used was 2

Please give some feedback I'm really happy i got this to work Some members already requested something like this, this is to make them happy :classic:

Greets,
Session.

Show Your Support

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

Comments
  #32  
Old 11-13-2003, 11:13 AM
DaveLogic DaveLogic is offline
 
Join Date: Jun 2003
Location: London
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anybody tested this with 2.3.2 - When I edit the Newthread.php everything is fine (redirects to caldendar.php etc) but as a soon as I make edits in Calendar.php using the default ForumIDs of 2 the whole thing white screens...
Reply With Quote
  #33  
Old 11-13-2003, 12:39 PM
DaveLogic DaveLogic is offline
 
Join Date: Jun 2003
Location: London
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All OK...Sorted it now....just a typo
Reply With Quote
  #34  
Old 11-18-2003, 01:31 PM
DaveLogic DaveLogic is offline
 
Join Date: Jun 2003
Location: London
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Session
I will post an update soon, i'm close to having it 100% perfect with country / city / eventname selection.. see www.livesets.com

only thing i need to do is make it editable in the same way ( i need to extract the different fields again when i want to edit )

Give it a week or 2
Tried to incorporate with the Add attachment on Edit Post hack by Tommy Boy but everytime I resave the thread it looses the timestamp in the thread subject........Any news on the Reply button BTW...
Reply With Quote
  #35  
Old 12-02-2003, 12:55 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working a treat on my 2.3.0. Cheers.
Reply With Quote
  #36  
Old 01-07-2004, 02:06 PM
gbarton gbarton is offline
 
Join Date: Jul 2003
Location: Columbus, OH
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack.

Couple things.

1) How can I get a link in the Calendar Event back to the thread that originated the event?

2) Where in the php code do I change the date format that appears in the title of the thread created? Currently, my format does not match what you have listed. I have 2004-1-7 and yours shows 2004-01-07 with the extra formatted zeros.

Thanks!
Reply With Quote
  #37  
Old 04-26-2004, 05:16 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have any idea how to port this to vB3?
Reply With Quote
  #38  
Old 04-28-2004, 01:07 PM
gbarton gbarton is offline
 
Join Date: Jul 2003
Location: Columbus, OH
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx
This is an awesome hack, truly loving it

I don't know much about date, still fighting with trying to create an additional calendar field for location hehehe.

Only thing I can think of to improve it a bit more is maybe a link in the newly created event post to the thread?

Thanks so much for releasing this
I agree, this new post link would really enhance this hack.
Anyone?

Again, Great Work!
Reply With Quote
  #39  
Old 03-09-2005, 03:53 PM
scratche scratche is offline
 
Join Date: Feb 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi there im lookin for this same mod... i want my users 2 b able to .. post in a selected forum then it post the in my case event on the calendar>>>>>?>?>? will this work for me
Reply With Quote
  #40  
Old 03-23-2005, 03:55 AM
scratche scratche is offline
 
Join Date: Feb 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ne one........
Reply With Quote
  #41  
Old 05-02-2005, 09:51 PM
TotlKaos TotlKaos is offline
 
Join Date: May 2002
Location: Vineland, NJ
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry to Ask but has anyone ported this hack to 3.0?

Thanks!
Russ
Reply With Quote
Reply


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 06:17 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.05028 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
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
  • (2)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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