Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Event Forums Details »»
Event Forums
Version: 1.00, by endquote endquote is offline
Developer Last Online: Jan 2009 Show Printable Version Email this Page

Version: 3.5.0 RC1 Rating:
Released: 07-30-2005 Last Update: 08-23-2005 Installs: 69
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

Note: This plugin has been discontinued and taken over here. Installing this plugin is *not* recommended.

The plugin creates a tight integration between a calendar and a forum.
  • When an event is created in a calendar, a corresponding thread is created in its forum.
  • When an event is deleted, its thread is deleted.
  • When a thread is deleted, its event is deleted.
  • When an event is edited, its thread is edited.
  • When a thread is edited via quick edit, its event is edited.
  • Links to event details are redirected to the thread.
  • New post links in event forums are redirected to new event forms, except for moderators.
  • Advanced editing on a thread is redirected to event edit.

To set up your calendar/forum pairs, look under "Event Forums" in "vBulletin Options" in admincp.

There is also one template change. In calendar_showeventsbit, change:

PHP Code:
<td class="tcat">$eventinfo[title]</td
to:

PHP Code:
<td class="tcat"><if condition="$eventinfo[nwt_threadid]"><a href="showthread.php?t=$eventinfo[nwt_threadid]"></if>$eventinfo[title]<if condition="$eventinfo[nwt_threadid]"></a></if></td
I run a forum at http://nwtekno.org/ that is heavily oriented to calendar data, so this is useful to me, though I'm not sure how useful it will be to others. Mostly I'm putting this up for critique by people who know more than me.

One thing I'm wondering is how to get the included template (nwteventforums_calendar_showeventsbit) to replace calendar_showeventsbit when installed. Or should I just tell people to copy/paste from one to another?

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 07-31-2005, 11:27 PM
endquote endquote is offline
 
Join Date: Jan 2002
Location: Seattle, WA
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to support table prefixes on installation.

The product can be configured under "Event Forums" in "vBulletin Options" in the admincp.

Note that I've only tested this on my dev box. It shouldn't cause any damage, but let me know if you notice problems.
Reply With Quote
  #13  
Old 07-31-2005, 11:46 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. You missed one of the " . PREFIX . " comments.
Code:
<uninstallcode><![CDATA[$db->query("ALTER TABLE `event` DROP `nwt_threadid`");
2. The script is not adding Event Forums in the vBulletin Options.
Reply With Quote
  #14  
Old 07-31-2005, 11:50 PM
endquote endquote is offline
 
Join Date: Jan 2002
Location: Seattle, WA
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FD929
1. You missed one of the " . PREFIX . " comments.
Code:
<uninstallcode><![CDATA[$db->query("ALTER TABLE `event` DROP `nwt_threadid`");
Oops. Fixed.

Quote:
Originally Posted by FD929
2. The script is not adding Event Forums in the vBulletin Options.
Hm, it should be... isn't that what the <phrases> bit at the bottom should be doing?
Reply With Quote
  #15  
Old 08-01-2005, 12:14 AM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The options field that should be under:
Code:
			<phrase name="setting_nwteventforums_map_title"><![CDATA[Calendar/Forum Map]]></phrase>
			<phrase name="settinggroup_nwteventforums"><![CDATA[Event Forums]]></phrase>
		</phrasetype>
	</phrases>
is blank.
Code:
	<options>
	</options>
Reply With Quote
  #16  
Old 08-01-2005, 12:24 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a couple of questions. Can it only post to one forum?

I have a lot of events on my board too, but these events have their own forums. So it would be nice to put calendar events in their own forums.

Also, what happens if I move a thread? Sometimes I will move threads to a hidden forum called trash, will this delete the event from the calendar?
Reply With Quote
  #17  
Old 08-01-2005, 12:25 AM
endquote endquote is offline
 
Join Date: Jan 2002
Location: Seattle, WA
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FD929
The options field that should be under:
Code:
			<phrase name="setting_nwteventforums_map_title"><![CDATA[Calendar/Forum Map]]></phrase>
			<phrase name="settinggroup_nwteventforums"><![CDATA[Event Forums]]></phrase>
		</phrasetype>
	</phrases>
is blank.
Code:
	<options>
	</options>
Yeah, I'm not sure what to put there, though. I've asked Kirby in another thread.
Reply With Quote
  #18  
Old 08-01-2005, 12:27 AM
endquote endquote is offline
 
Join Date: Jan 2002
Location: Seattle, WA
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by theArchitect
Just a couple of questions. Can it only post to one forum?
It creates a mapping between calendars and forums. So on my setup I have an "all ages events" calendar, a "club nights" calendar, and corresponding forums. You could have as many of these pairs as you want.

Quote:
Originally Posted by theArchitect
Also, what happens if I move a thread? Sometimes I will move threads to a hidden forum called trash, will this delete the event from the calendar?
The event would still be on the calendar. It would link to its position in the new forum, but since it's hidden the user would likely get a permissions error.
Reply With Quote
  #19  
Old 08-01-2005, 03:26 AM
cmiller1014 cmiller1014 is offline
 
Join Date: May 2004
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This sounds like a neat idea. Our site relies heavily on the calendar, and this will be great!

Thanks
Reply With Quote
  #20  
Old 08-01-2005, 07:40 AM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cmiller1014
This sounds like a neat idea. Our site relies heavily on the calendar, and this will be great!

Thanks
installed okay but i can't seem to find the settings for it
Reply With Quote
  #21  
Old 08-01-2005, 12:42 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is awesome, I can't wait to give this a whirl on my test forums

Great Job!!!!
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 12:20 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.10186 seconds
  • Memory Usage 2,322KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_code
  • (2)bbcode_php
  • (6)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
  • (1)pagenav_pagelinkrel
  • (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