Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
New Thread on Calendar Event Details »
New Thread on Calendar Event
Mod Version: 1.00, by Colin F (Member) Colin F is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 19
Released: 11 Jul 2004 Last Update: Never Downloads: 1
Not Supported Re-usable Code Translations Is in Beta Stage  

New Thread on Calendar Event

What it does:
This rather small hack is easy: it starts a new thread in a specific forum for every Event that is posted in the calendar. On our forum it is used for discussion of partys (as it's a party calendar).

Is it complicated?
There is actually very little to change, but in that small part, there are a lot of variables to be edited which are forum specific. That might make it a bit hard for php newlings

Changes:
New files (0):
none

Changed files(1):
calendar.php

New database fields/tables(0):
none

New templates(0):
none

Changed templates(0):
none

New phrases(0):
none


Screenshots:
No visible changes

Instructions:
  • Backup all your forum files as well as your database
  • Copy the following code into your favorite PHP editing program (Dreamweaver, Wordpad, Notepad...) and edit it to fit your forums.

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    The variables to be edited (marked green) are:
    • forumid is the forumid of the forum in which the Bot will be posting the threads to the calendar events
    • botuserid is the userid of the user that will be shown as the author of the thread. I suggest making a special user and naming him something like EventBot
    • botusername is the username of the user that will be shown as the author of the thread. Should be the username to the userid indicated in botuserid. Make sure the username is enclosed in quotation marks ("").
  • Open your calendar.php and look for
    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  • Above that add the code you just edited.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #76  
Old 24 Sep 2005, 05:30
djsydeburnz djsydeburnz is offline
 
Join Date: May 2005
oh, and also wanted to repost an earlier request about listing the information from the roll call feature. in case the rollcall feature is unknown, it is another hack where users can 'mark their attendance' to the event. in the calendar, it lists the members who have marked their attendance, and it would be cool to post this info at the bottom of the thread, just like in the calendar.

thanks in advance.
Reply With Quote
  #77  
Old 02 Feb 2006, 17:40
tendo's Avatar
tendo tendo is offline
 
Join Date: Jan 2006
Does this work for 3.5 at all? Seattle Dnb really needs this. I think it's stupid that vBulletin doesnt have this built in.

Thanks for your time.
Reply With Quote
  #78  
Old 20 Feb 2006, 18:10
Ashiro Ashiro is offline
 
Join Date: Feb 2006
I'm recieving the error:

Call to a member function on a non-object in /home/ashiro/public_html/degenerates/board2/calendar.php on line 1944
Is there any chance you could help me out? I'd like to get this mod working as it'd be very useful. Thank you.
Reply With Quote
  #79  
Old 12 Dec 2007, 08:18
Alphawolf83's Avatar
Alphawolf83 Alphawolf83 is offline
 
Join Date: Mar 2005
Real name: Oliver
Is there a product for vb3.6.x? I did search, but didnt find anything...
Reply With Quote
  #80  
Old 21 Oct 2008, 02:52
conradk conradk is offline
 
Join Date: Aug 2007
Anybody running this mode with 3.7.3? Checking before I start hacking.
Reply With Quote
  #81  
Old 21 Oct 2008, 03:11
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
No, this has been superseded by http://www.vbulletin.org/forum/showthread.php?t=123416 which is running good in 3.7.3.
Reply With Quote
  #82  
Old 24 Nov 2008, 20:27
XrayHead's Avatar
XrayHead XrayHead is offline
 
Join Date: Oct 2002
Hi All

Anyone know if there is a newer version of this hack or if this works with 3.7?

I'm just upgrading from SMF and this is a standard feature with their software. As itís a club site we use this ALL the time to link events in the Calendar to threads in the forum!!

Lee
Reply With Quote
  #83  
Old 24 Nov 2008, 20:51
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
What's wrong with the one I just linked to?
Reply With Quote
  #84  
Old 24 Nov 2008, 21:06
XrayHead's Avatar
XrayHead XrayHead is offline
 
Join Date: Oct 2002
OPP's Sorry........

Trying to multi task to much I think!!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:09.

Layout Options | Width: Wide Color: