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

Reply
 
Thread Tools
vB Event Forums Details »»
vB Event Forums
Version: 3.3, by Evercraft Evercraft is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Category: Calendar Enhancements - Version: 3.6.1 Rating:
Released: 08-07-2006 Last Update: 09-22-2006 Installs: 752
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Introduction
This is a continuation of my Event Forums plugin/addon from 3.5. You can find the old version here. The original plugin was developed by Endquote, and I have since taken it over to bring it to what it is today. I hope you can find it useful!
What is this addon?
This is a plugin which allows you to create relationships between calendars and events, giving each event a thread of its own for users to discuss. I have tested this alot, and I am running it myself on a live board.
Sure, so whats it do?
Some examples of the features this plugin offers
  • When a new event is created in a calendar, an associated thread is created in the linked forum.
  • Links to events in the calendar are forwarded to the associated thread, or optionally a seperate New Event button can be added with a minor template edit.
  • New thread links in the event forum are redirected to a new event form.
  • A summary can be shown at the top of the event forum which shows the up and coming events over the next 'x' days.
  • The date and time shown in the thread and post title, is calculated on the current viewing users timezone. In other words, times always show in the users timezone, not forced to GMT.
  • Full moderation support.
  • Editing a thread or event, will update its associated event/thread.
Screenshots
Some screenshots of this plugin
How do I install it?
For upgrading, please see the section below.
Summary
  • 1 xml import.
  • 1 (optional) template change.
  • 1 (optional) gif file upload.
Step 1
Install the product
Download the product XML file.

Goto your Admin CP at your forums, then goto Plugin System -> Manage Products. Click [Add/Import Product] at the bottom of the page. Browse to the location where you downloaded the xml file and then click the Import button.
Step 2
Calendar ID:
Goto your Admin CP at your forums, then goto Calendar Manager. Find the calendar you want to link to a forum, then click Edit.
Right at the top of the page you should see:
Quote:
Calendar: NAME (id: ID)
Make a note of the ID, you will need this soon.
Forum ID:
Goto your Admin CP at your forums, then goto Forum Manager. Find the forum you want to activate as your event forum, then click Edit Forum.
Right at the top of the page you should see:
Quote:
Forum: NAME (id: ID)
Make a note of the ID, you will need this soon.
Link a Calendar to a Forum:
Goto your Admin CP at your forums, then goto vBulletin Options and find Event Forums.
The first option you should see is Calendar/Forum Map.
Enter in your IDs into the box, as CALENDARID:FORUMID.
Example, my Calendar is 5 and my Forum is 14:
Quote:
5:14
Click Save.
Step 3
Base permissions check:
You will need to check that users using the Event Forums, have basic permissions to both the Linked Forum AND Calendar.
Basic Permissions include: Can View Forum and Can Post Threads and possibly some others.
Step 4 (Optional template edit)
Add the New Event button:
You only need todo this if you want to show a seperate New Event button next to the New Thread button.

First of all, upload newevent.gif to your images/buttons folder. NOTE you will need to upload this to any custom image folders too for different styles you might have.

Second, open up FORUMDISPLAY template for each of your styles you want to show the button, find and add the highlighted code below:
Code:
<td class="smallfont"><if condition="$show['newthreadlink']">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['neweventlink']">&nbsp;<a href="newthread.php?$session[sessionurl]do=newevent&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newevent.gif" alt="$vbphrase[lv_vb_eventforums_phrase_post_new_event]" border="0" /></a></if>
<else />&nbsp;</if></td>
Lastly, go into the Event Forums options, and change the option Show the New Event button on the thread list to yes.
Step 5
Install on VB.org:
Browse back to this thread, and click the INSTALL button so you can recieve updates whenever I update this plugin.
How do I upgrade it from an old version?
Step 1
Import xml
Download the product XML file.

Goto your Admin CP at your forums, then goto Plugin System -> Manage Products. Click [Add/Import Product] at the bottom of the page. Browse to the location where you downloaded the xml file. Make sure the overwrite option is set to ON and then click the Import button.
Can I give you money to make this?
This isn't a commercial plugin, and can be used by anyone for free. However, a few people have said to me that they would like to donate some money for my time working on the plugin and for picking it up and continuing the development of new features etc. If you do want to donate some money my way, then you can do so through paypal by clicking this link. Thanks!
Bugs / Support
If you find a bug, then please post in this thread and let me know. There are a few bugs that haven't been fixed since the old version, so i'm hoping that we can fix these soon. I will do my best to support the plugin as much as possible, however I also have a busy job which takes up alot of my time.
Known Bugs
Here is a list of known bugs to date
  • Soft delete actually hard deletes the thread.
  • Search doesn't search the first post of an event thread.
  • Inline ajax edit bugs thread title. Need to remove date and time from it before edit.
Feature request list
Here is a list of the requested features. Please note that because it makes this list, doesn't mean it will be added.
  • Intergration with the event attendance plugin.
  • Customisation of the order of the custom fields in the thread title.
  • An option to "import" all the previous events from a Calendar into threads.
  • Extra post options support (Attachments, Post Icons, Sticky etc).
  • Custom ordering of the %datetime variable.
  • Custom ordering of %custom variable.
  • Better handling of recurring events.
Credits
Thanks to endquote for originally creating the plugin.
Thanks to the Ninja :ninja: for helping me infiltrate the vb code and finding those hidden hooks!
Thanks to anybody that helps test this plugin.
Changelog
Version: 3.3
  • Added Farcasters Event Attendance patch to the mod. I've added a self check so it will only run when the Event attendance mod is installed and active.
Version: 3.2
  • Fixed a bug which was prevent the thread from being deleted when you try to delete an event.
Version: 3.1
  • Fixed a bug which would cause an error with undefined function on the forum display page when summary is turned on.
Version: 3.0
  • Version now compatible with 3.6. Please note this plugin will no longer install on a board older than 3.6. I would recommend you upgrade your board as soon as you can!
  • Added an optional template edit to show a New Event button next to the New Thread button.
  • Plugin no longer in BETA. I feel this has been running enough stablely to take this out of BETA. There are still some bugs which need fixing, but as a whole it works and is used by quite a few people.
Version: 2.7 and below
  • See the old thread here

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Toorak Times

Comments
  #52  
Old 08-24-2006, 04:19 PM
MagikMuzik's Avatar
MagikMuzik MagikMuzik is offline
 
Join Date: Aug 2003
Location: Rotterdam, the Netherland
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

absolutely same here, would chip in as well, event attendance is a must for my community
Reply With Quote
  #53  
Old 08-24-2006, 11:48 PM
WolfsongNevan WolfsongNevan is offline
 
Join Date: Jan 2006
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a few quick questions ....

We'd like to use this hack on our parenting board for kids' birthdays. Is it possible to have the new threads post in an already established forum (which is a general forum and contains many other threads)? And is it possible to have the new threads post around midnight on the day of the event, and not several days in advance? And, most importantly, we already have *many* events (birthdays) already added to our calendar ... is there a way to edit these to include this hack, or would we have to re-add all the events?

Thanks in advance.
Reply With Quote
  #54  
Old 08-26-2006, 10:43 AM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem
I want to reply automatic when a event is postet
i have this code:
PHP Code:
if ($foruminfo['forumid'] == 34)
{
    
$postdm =& datamanager_init('Post'$vbulletinERRTYPE_ARRAY'threadpost');

    
$postdm->set_info('forum'$foruminfo);
    
$postdm->set_info('thread'$threadinfo);  

    
$postdm->set('threadid'$threadinfo['threadid']);
    
$postdm->set('userid'150);
    
$postdm->set('pagetext''[SHOWTOGROUPS="10"]Folge dem wei?en Wolf!
[/SHOWTOGROUPS]'
);
    
$postdm->set('allowsmilie'1);
    
$postdm->set('visible'1);
    
$postdm->set('dateline'TIMENOW);
    
$postdm->save();

hook: newthread_post_complete
it works great in all forums but not in the event forum!
what must i change?
Reply With Quote
  #55  
Old 08-26-2006, 05:04 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by butty
what about if all the people who wanted it chipped in and paid you for your time mate could ya make time to sort it then u rek?

id be willing to donate a bit for your time. integration with event attendance would be magnificent for my site
I would donate too. I've been following this hack since... well, I cant remember, its perfect for my clubbing website with club info, etc. But cant use it because it lacks some options listed in the TODO list.

Its a pitty. Ill help with 50USD if necessary.
Reply With Quote
  #56  
Old 08-26-2006, 09:56 PM
popowich popowich is offline
 
Join Date: Jun 2004
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a small problem with this plugin. It works OK generally speaking and I have no web site errors, but it displays the events on the wrong day on my calendar. For example, I have an event from 7:00pm - 11:30pm tonight, but it displays on the calendar both today and tomorrow Sunday. My forums/users are EST if that matters. Any thoughts on this issue? You can view example events with this issue at WNYPoker.com under the Upcoming Events forum. You're looking for Ray's House.

-Raymond
Reply With Quote
  #57  
Old 08-26-2006, 09:57 PM
popowich popowich is offline
 
Join Date: Jun 2004
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MagikMuzik
absolutely same here, would chip in as well, event attendance is a must for my community
I add a poll to my threads when I want an RSVP.

Will you be there? Yes/No.

-Raymond
Reply With Quote
  #58  
Old 08-26-2006, 11:27 PM
butty butty is offline
 
Join Date: Nov 2001
Location: manchester, uk
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COBRAws
I would donate too. I've been following this hack since... well, I cant remember, its perfect for my clubbing website with club info, etc. But cant use it because it lacks some options listed in the TODO list.

Its a pitty. Ill help with 50USD if necessary.
il stick 50 USD in too. come on people if you want it put yer money where ya mouth is and lets give evercraft an incentive he cant refuse

please dont say youl chip in if you wont come up with the goods, this hack wont get made unless an extra mile is gone.
Reply With Quote
  #59  
Old 08-27-2006, 04:30 AM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Evercraft
Add it to them all, though I think the first instance is all thats needed.

I will update the install instructions shortly.
Alright after I'd done a few more edits with some other mods, I became brave enough to try this.

I found the code you refer to, twice in my FORUMDISPLAY header. (Btw, I'm using vbstyles ARIA skins.)

So I added it at both locations as you suggested, and saved the template.

Next, in admincp I set 'Show the New Event button on the thread list' to YES and saved the update.

Then I go into my event forum, but all I still see is the New Thread button.:surprised:

Finally, I went back and removed the code in the 2nd spot, but still no go.

Any ideas? Here's what my code is a present in the FORUMDISPLAY...
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
</head>
<body>
$header
$navbar

<if condition="$show['forumslist']">
<!-- sub-forum list  -->

<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="21" height="31" align="center" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><img border="0" src="$stylevar[imgdir_misc]/top_left.gif" width="21" height="31" alt="" /></td>
<td  height="31" width="60%" align="left" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><div class="category_title">$vbphrase[subforums]: $foruminfo[title]</a></div></td>
<td width="19" align="left" valign="middle"><img src="$stylevar[imgdir_misc]/top_end.gif" alt="" width="19" height="31" border="0" /></td>

   
     	<if condition="$show['forumsearch']">
<td align="right" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_center.gif)" nowrap="nowrap">
	<span class="category_title" id="forumsearch.subforums"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></span></td>
	</if>	 
	<td width="14" height="31" align="right" valign="top"><img src="$stylevar[imgdir_misc]/top_right.gif" alt="" width="14" height="31" border="0" /></td>
  </tr>
</table>




<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
	  <td class="thead">&nbsp;&nbsp;&nbsp;$vbphrase[threads]&nbsp;&nbsp;&nbsp;</td>
      <td class="thead">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$vbphrase[posts]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
	</tr>
</thead>
$forumbits
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/blc.gif" width="12" height="13" alt="" border="0" /></td>
        <td  width="100%" style="background-image:url($stylevar[imgdir_misc]/bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="13" alt="" border="0" /></td>
        <td width="12" align="right" valign="top"><img src="$stylevar[imgdir_misc]/brc.gif" width="12" height="13" alt="" border="0" /></td>
      </tr>
</table>
<br />
<!-- / sub-forum list  -->
</if>

<if condition="$show['threadslist']">
<!-- threads list  -->

<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="forumid" value="$forumid" />

<!-- controls above thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['neweventlink']">&nbsp;<a href="newthread.php?$session[sessionurl]do=newevent&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newevent.gif" alt="$vbphrase[lv_vb_eventforums_phrase_post_new_event]" border="0" /></a></if>
<else />&nbsp;</if></td>
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above thread list -->
<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="21" height="31" align="left" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><img border="0" src="$stylevar[imgdir_misc]/top_left.gif" width="21" height="31" alt="" /></td>
<td  height="31" width="60%" align="left" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><div class="category_title">$vbphrase[threads_in_forum]: $foruminfo[title]</a></div></td>
<td width="19" align="left" valign="middle"><img src="$stylevar[imgdir_misc]/top_end.gif" alt="" width="19" height="31" border="0" /></td>


<td align="right" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_center.gif)" nowrap="nowrap">
	<span class="category_title" id="forumtools"><a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></span><if condition="$show['forumsearch']">
<span class="category_title"  id="forumsearch">&nbsp;&nbsp;<a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script></span>
	</if>	 </td>
   
     	
	<td width="14" height="31" align="right" valign="top"><img src="$stylevar[imgdir_misc]/top_right.gif" alt="" width="14" height="31" border="0" /></td>
  </tr>
</table>




<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tbody>
$announcebits
<if condition="$show['search_engine']">
	<if condition="$show['threadicons']">
		<td class="thead" colspan="2">&nbsp;</td>
	<else />
		<td class="thead">&nbsp;</td>
	</if>	
	<td class="thead" width="100%">
		<if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
		$vbphrase[thread] / $vbphrase[thread_starter]
	</td>
	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />
<tr>
	<if condition="$show['threadicons']">
		<td class="thead" colspan="2">&nbsp;</td>
	<else />
		<td class="thead">&nbsp;</td>
	</if>	
	<td class="thead" width="100%">
		<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
		<a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] /
		<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
	</td>
	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">&nbsp;&nbsp;&nbsp;$vbphrase[replies]&nbsp;&nbsp;&nbsp;</a> $sortarrow[replycount]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views" rel="nofollow">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$vbphrase[views]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> $sortarrow[views]</span></td>
	
	<if condition="$show['inlinemod']">
		<if condition="$show['popups']">
			<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
		<else />
			<td class="thead" align="center">
				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
			</td>
		</if>
	</if>
</tr>
</tbody>
</if>
<if condition="$show['threads']">
	<!-- show threads -->
	<tbody id="threadbits_forum_$foruminfo[forumid]">
	<if condition="$show['stickies']">
	$threadbits_sticky
	</if>
	$threadbits
	</tbody>
	<!-- end show threads -->
<else />
	<!-- show no threads message -->
	<tbody>
	<tr>
		<td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
			<div style="padding: 16px">
				<if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br />
				<span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if>
			</div>
		</td>
	</tr>
	</tbody>
	<!-- end show no threads message -->
</if>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/blc.gif" width="12" height="13" alt="" border="0" /></td>
        <td  width="100%" style="background-image:url($stylevar[imgdir_misc]/bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="13" alt="" border="0" /></td>
        <td width="12" align="right" valign="top"><img src="$stylevar[imgdir_misc]/brc.gif" width="12" height="13" alt="" border="0" /></td>
      </tr>
</table>
<!-- controls below thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
	<if condition="$show['pagenav'] OR $show['inlinemod']">
		<td align="$stylevar[right]">$pagenav
		<if condition="$show['inlinemod']">
			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
			<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
			<select name="do">
				<optgroup label="$vbphrase[option]">
					<if condition="$show['deletethread']">
					<option value="deletethread">$vbphrase[delete_threads]</option>
					<option value="undeletethread">$vbphrase[undelete_threads]</option>
					</if>
					<if condition="$show['openthread']">
					<option value="open">$vbphrase[open_threads]</option>
					<option value="close">$vbphrase[close_threads]</option>
					</if>
					<if condition="$show['approvethread']">
					<option value="approvethread">$vbphrase[approve_threads]</option>
					<option value="unapprovethread">$vbphrase[unapprove_threads]</option>
					</if>
					<if condition="$show['movethread']">
					<option value="stick">$vbphrase[stick_threads]</option>
					<option value="unstick">$vbphrase[unstick_threads]</option>
					<option value="movethread">$vbphrase[move_threads]</option>
					<option value="mergethread">$vbphrase[merge_threads]</option>
					</if>
				</optgroup>
				<optgroup label="____________________">
					<option value="viewthread">$vbphrase[view_selected_threads]</option>
					<option value="clearthread">$vbphrase[clear_thread_list]</option>
				</optgroup>
			</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
			</div>
			<script type="text/javascript">
			<!--
			inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
			//-->
			</script>
		</if>
		</td>
	</if>
</tr>
</table>
<!-- / controls below thread list -->

</form>
<br />




<!-- Active Users in this Forum (and sub-forums) and Moderators -->

<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="hidden" name="pp" value="$perpage" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[display_options]</td>
	<if condition="$show['activeusers']">
	<td class="tcat">$vbphrase[currently_active_users]</td>
	</if>
	<if condition="$show['moderators']">
	<td class="tcat">$vbphrase[moderators]</td>
	</if>
</tr>
<tr>
	<td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
	<if condition="$show['activeusers']">
	<td class="thead">$totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_y_guests]</phrase>)</td>
	</if>
	<if condition="$show['moderators']">
	<td class="thead">$vbphrase[moderators] : $totalmods</td>
	</if>
</tr>
<tr valign="top">
	<td class="alt1">
	
		<table cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="smallfont" style="padding-right:6px">$vbphrase[sorted_by]</td>
			<td><select name="sort">
				<option value="title" $sort[title]>$vbphrase[thread_title]</option>
				<option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
				<option value="dateline" $sort[dateline]>$vbphrase[thread_start_time]</option>
				<option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option>
				<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
				<option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option>
				<if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if>
			</select></td>
			<td class="smallfont" style="padding-right:6px; padding-left:12px">$vbphrase[sort_order]</td>
			<td><select name="order">
				<option value="asc" $order[asc]>$vbphrase[ascending]</option>
				<option value="desc" $order[desc]>$vbphrase[descending]</option>
			</select></td>
		</tr>
		<tr>
			<td class="smallfont" style="padding-right:6px">$vbphrase[from_the]</td>
			<td><select name="daysprune">
				<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
				<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
				<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
				<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
				<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
				<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
				<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
				<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
				<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
				<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
				<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
				<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
			</select></td>
			<td colspan="2" align="$stylevar[right]"><input type="submit" class="button" value="$vbphrase[show_threads]" /></td>
		</tr>
		</table>
	
	</td>
	<if condition="$show['activeusers']">
	<td class="alt1"><div class="smallfont">$activeusers</div></td>
	</if>
	<if condition="$show['moderators']">
	<td class="alt1"><div class="smallfont">$moderatorslist&nbsp;</div></td>
	</if>
</tr>
</table>

</form>
<!-- End Active Users in this Forum (and sub-forums) and Moderators -->

<if condition="$show['popups']">
<br />
<!-- popup menu contents -->


<!-- forum tools menu -->
<div class="vbmenu_popup" id="forumtools_menu" style="display:none">
<form action="moderator.php?f=$forumid" method="post" name="forumadminform">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr><td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td></tr>
	<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[post_a_new_thread]</a></td></tr></if>
	<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]" rel="nofollow" onclick="return mark_forum_read($foruminfo[forumid]);">$vbphrase[mark_this_forum_read]</a></td></tr>
	<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a></td></tr>
	<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></td></tr>
	<if condition="$show['adminoptions']">
	<tr>
		<td class="thead">$vbphrase[admin_tools]<a name="goto_forumadmin"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">		
		<div><label for="fa_mpo"><input type="radio" name="do" id="fa_mpo" value="modposts" checked="checked" />$vbphrase[view_posts_queue]</label></div>
		<div><label for="fa_mat"><input type="radio" name="do" id="fa_mat" value="modattach" />$vbphrase[view_attachment_queue]</label></div>
		<div><label for="fa_mov"><input type="radio" name="do" id="fa_mov" value="move" />$vbphrase[massmove_threads]</label></div>
		<div><label for="fa_prn"><input type="radio" name="do" id="fa_prn" value="prune" />$vbphrase[massprune_threads]</label></div>
		<if condition="$show['addmoderator']">
		<div><label for="fa_amd"><input type="radio" name="do" id="fa_amd" value="addmoderator" />$vbphrase[add_moderator]</label></div>
		</if>		
		<if condition="$show['post_new_announcement']">
		<div><label for="fa_pan"><input type="radio" name="do" id="fa_pan" value="postannouncement" />$vbphrase[post_new_announcement]</label></div>
		</if>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite" align="center">		
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="f" value="$forumid" />
			<input type="submit" class="button" value="$vbphrase[perform_action]" />
		</td>
	</tr>
	</if>
	</table>
</form>
</div>
<!-- / forum tools menu -->

<!-- inline mod menu -->
<if condition="$show['inlinemod']">
	<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
		$threadadmin_imod_menu_thread
	</div>
</if>
<!-- / inline mod menu -->

<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">
<tr>
	<td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td>
	<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
</tr>
<tr valign="top">
	<!-- forum tools -->
	<td class="alt1">
		<div class="smallfont">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[mark_this_forum_read]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[mark_this_forum_read]</a></div>
			<if condition="$show['member']"><div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" /> <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a></div></if>
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[view_parent_forum]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></div>
		</div>
	</td>
	<!-- / forum tools -->
	
	<!-- search this forum -->
	<td class="alt1">
	<form action="search.php?do=process" method="post">
	<div class="smallfont">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="do" value="process" />
		<input type="hidden" name="forumchoice[]" value="$forumid" />
		<input type="hidden" name="childforums" value="1" />
		<strong>$vbphrase[search_this_forum]</strong> :<br />
		<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
		<a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a>
	</div>
	</form>
	</td>
	<!-- / search this forum -->	
</tr>
</table>
<br />


<!-- / controls for non-popup browsers -->
</if>

<if condition="$show['ajax_js']">
	<script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vB_AJAX_Threadlist_Init('threadslist');
	//-->
	</script>
</if>

<!-- ############## END THREADS LIST ##############  -->
</if>

$forumhome_markread_script

<if condition="$show['popups'] AND $show['forumsearch']">
<!-- forum search menu -->
<div class="vbmenu_popup" id="forumsearch_menu" style="display:none">
<form action="search.php?do=process" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="do" value="process" />
			<input type="hidden" name="forumchoice[]" value="$forumid" />
			<input type="hidden" name="childforums" value="1" />
			<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" accesskey="s" tabindex="1004" /></div>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<label for="rb_fd_sp0"><input type="radio" name="showposts" value="0" id="rb_fd_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
			&nbsp;
			<label for="rb_fd_sp1"><input type="radio" name="showposts" value="1" id="rb_fd_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option"><a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a></td>
	</tr>
	</table>
</form>
</div>
<!-- / forum search menu -->
</if>

<!-- icon key -->
<if condition="$show['threadslist']">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
	<td><img src="$stylevar[imgdir_statusicon]/thread_new.gif" alt="$vbphrase[new_posts]" border="0" /></td>
	<td class="smallfont">$vbphrase[new_posts]</td>
	<if condition="$vboptions['usehotthreads']">
		<td><img src="$stylevar[imgdir_statusicon]/thread_hot_new.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
		<td class="smallfont">$vbphrase[hot_thread_with_new_posts]</td>
	<else />
		<td colspan="2">&nbsp;</td>
	</if>
</tr>
<tr>
	<td><img src="$stylevar[imgdir_statusicon]/thread.gif" alt="$vbphrase[no_new_posts]" border="0" /></td>
	<td class="smallfont">$vbphrase[no_new_posts]</td>
	<if condition="$vboptions['usehotthreads']">
		<td><img src="$stylevar[imgdir_statusicon]/thread_hot.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
		<td class="smallfont">$vbphrase[hot_thread_with_no_new_posts]</td>
	<else />
		<td colspan="2">&nbsp;</td>
	</if>
</tr>
<tr>
	<td><img src="$stylevar[imgdir_statusicon]/thread_lock.gif" alt="$vbphrase[closed_thread]" border="0" /></td>
	<td class="smallfont">$vbphrase[thread_is_closed]</td>
	<if condition="$show['dotthreads']">
		<td><img src="$stylevar[imgdir_statusicon]/thread_dot.gif" alt="$vbphrase[thread_contains_a_message_written_by_you]" border="0" /></td>
		<td class="smallfont">$vbphrase[you_have_posted_in_this_thread]</td>
	<else />
		<td colspan="2">&nbsp;</td>
	</if>
</tr>
</table>
<else />
<!-- icons -->

<table class="icon_legend" align="center" border="0" cellpadding="6" cellspacing="0" width="100%">


<tbody>
<tr align="center">
	<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="" border="0" /></td>
	<td align="left" class="alt1">
		<div class="smallfont">$vbphrase[forum_contains_new_posts]</div>
		
		
	</td>
	<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="" border="0" /></td>
	<td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_contains_no_new_posts]</div></td>
	<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_new_lock.gif" alt="" border="0" /><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="" border="0" /></td>
	<td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_is_closed_for_posting]</div></td>
</tr>


</tbody>

</table>
<!-- /icons-->
</if>
<!-- / icon key -->
<div class="spacer"></div>
<!-- forum rules & forum jump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
	<td width="100%">
		<div class="smallfont">&nbsp;</div>
		<if condition="$show['threadslist']">$forumrules</if>
	</td>
	<td>
		$forumjump
		<if condition="!$show['popups'] AND $show['adminoptions']">
			<br />
			<form action="moderator.php" method="get">			
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="f" value="$forumid" />
			<div class="smallfont"><strong>$vbphrase[admin_tools]</strong> :</div>
			<select name="do" onchange="this.form.submit();">
				<optgroup label="$vbphrase[admin_tools]">
					<option value="modposts" selected="selected">$vbphrase[view_posts_queue]</option>
					<option value="modattach">$vbphrase[view_attachment_queue]</option>
					<option value="move">$vbphrase[mass_move]</option>
					<option value="prune">$vbphrase[mass_prune]</option>
					<if condition="$show['addmoderator']">
						<option value="addmoderator">$vbphrase[add_moderator]</option>
					</if>
					<if condition="$show['post_new_announcement']">
						<option value="postannouncement">$vbphrase[post_new_announcement]</option>
					</if>
				</optgroup>
			</select>$gobutton			
			</form>
		</if>
	</td>
</tr>
</table>
<!-- / forum rules & forum jump -->

$footer
</body>
</html>
Reply With Quote
  #60  
Old 08-27-2006, 07:20 PM
popowich popowich is offline
 
Join Date: Jun 2004
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I have a second issue. If you create a new event the associated thread gets created OK. But if the thread is moved from an "upcoming" to "recent" events forum, and the original event is edited in the calendar, a new thread gets created in the forum associated with the calendar. Shouldn't it only create a new thread when a event is created and not on edits too?

-Raymond
Reply With Quote
  #61  
Old 08-27-2006, 07:21 PM
popowich popowich is offline
 
Join Date: Jun 2004
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not exactly sure what work you all are asking to have done,
but I have no problem chipping in a $20 donation for this project.

-Raymond
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 05:33 AM.


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.08138 seconds
  • Memory Usage 2,467KB
  • 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_code
  • (1)bbcode_php
  • (7)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
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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