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
  #42  
Old 08-08-2005, 04:39 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by endquote
You could change the call to date() in eventdata_postsave. I suppose I should make that a config option.
Yeah I was confused when I saw something posted. What exactly would I have to do to get it month-day-year?

Quote:
Originally Posted by endquote
It should do that automatically, but not if you're a moderator of that forum, or an administrator.
Aw that sucks ... why not?
Reply With Quote
  #43  
Old 08-08-2005, 04:42 PM
endquote endquote is offline
 
Join Date: Jan 2002
Location: Seattle, WA
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FD929
Yeah I was confused when I saw something posted. What exactly would I have to do to get it month-day-year?
Just change "y-m-d" to "m-d-y".

Quote:
Originally Posted by FD929
Aw that sucks ... why not?
The thinking was that admins/mods might want to post announcements and things, but no one else should be able to post anything but events. You could change newthread_start to make it happen for everyone if you wanted.
Reply With Quote
  #44  
Old 08-08-2005, 05:08 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by endquote
The thinking was that admins/mods might want to post announcements and things, but no one else should be able to post anything but events. You could change newthread_start to make it happen for everyone if you wanted.
Ah I see. Well thanks again for this, I've wondered why vBulletin hasn't better implemented the calendar system for some time now.
Reply With Quote
  #45  
Old 08-08-2005, 06:26 PM
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 FD929
Ah I see. Well thanks again for this, I've wondered why vBulletin hasn't better implemented the calendar system for some time now.
any way i can remove this from my forum totally? I try to unistall via plugin manager and get db errors
Reply With Quote
  #46  
Old 08-08-2005, 06:28 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Overwriting the product with the updated xml should take care of any problems you are having Neal. Then once overwritten, you should be able to uninstall if you choose to.
Reply With Quote
  #47  
Old 08-08-2005, 06:42 PM
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 FD929
Overwriting the product with the updated xml should take care of any problems you are having Neal. Then once overwritten, you should be able to uninstall if you choose to.
ok, i tried last time but got db errors. I'll try again.
Reply With Quote
  #48  
Old 08-08-2005, 06:46 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1 more problem. All posted events by normal members are being moderated however all permissions are set to allow posting.
Reply With Quote
  #49  
Old 08-08-2005, 06:53 PM
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 FD929
1 more problem. All posted events by normal members are being moderated however all permissions are set to allow posting.
Still get the error when posting an event in the calendar even thought the event get's posted in the correct forum. Same errors if I trry to delete the post:

Quote:
Database error in vBulletin 3.5.0 Release Candidate 2:

Invalid SQL:

UPDATE FORUMthread
SET nwt_eventid = 4
WHERE threadid = 1672;

MySQL Error : Unknown column 'nwt_eventid' in 'field list'
Error Number : 1054
Date : Monday, August 8th 2005 @ 07:50:53 PM
Script : http://www.burnleyweb.com/forum/calendar.php
Referrer : http://www.burnleyweb.com/forum/cale...ype=single&c=1
IP Address : ***.***.***.***
Username : ****************
Classname : vb_database
Reply With Quote
  #50  
Old 08-08-2005, 06:59 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think maybe the sql queries still aren't running properly. I ran mine manually so that may be why we're having different issues. Are you using a table prefix and do you have access to run sql queries from the admincp or phpmyadmin?
Reply With Quote
  #51  
Old 08-08-2005, 07:05 PM
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 FD929
I think maybe the sql queries still aren't running properly. I ran mine manually so that may be why we're having different issues. Are you using a table prefix and do you have access to run sql queries from the admincp or phpmyadmin?
Yeah I have the prefix FORUMtable_name, but im pretty new (a year or 2) to database stuff so what do I need to type exactly in the run sql queries box?
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 03:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07886 seconds
  • Memory Usage 2,325KB
  • 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
  • (2)bbcode_php
  • (10)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
  • (4)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