The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Event Forums Details »» | ||||||||||||||||||||||||||||
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
Some screenshots of this pluginHow do I install it? For upgrading, please see the section below. Summary Step 1Install the product Step 2How do I upgrade it from an old version?Calendar ID: Step 1Can I give you money to make this?Import xml 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 BugsCreditsHere is a list of known bugs to date Thanks to endquote for originally creating the plugin.Changelog Version: 3.3
Version: 3.2
Version: 3.1
Version: 3.0
Version: 2.7 and below
Show Your Support
|
Благодарность от: | ||
Toorak Times |
Comments |
#262
|
|||
|
|||
In order to add attachments to your forum events (once the event is posted):
Create new plugin. Product: Lv vB Event Forums Title: Attachment Permissions Hookname: showthread_post_start Phpcode: PHP Code:
FILE EDIT: calendar.php Find: PHP Code:
PHP Code:
TEMPLATE EDITS: editpost Find: Code:
<if condition="$show['deletepostoption']"> Code:
<if condition="$attachments_only"><div style="visibility: hidden; position: absolute"></if> Find: Code:
$postpreview Code:
<if condition="$attachments_only"></div></if> Find: Code:
<form name="vbform" action="editpost.php?do=updatepost&p=$postid" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>> Code:
<if condition="$attachments_only"><div style="visibility: hidden; position: absolute"></if> Find: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a> Code:
<if condition="$attachments_only"></div></if> Find: Code:
<div class="panel"> <div style="width:$stylevar[formwidth]" align="$stylevar[left]"> Code:
<if condition="$attachments_only"><div style="visibility: hidden; position: absolute"></if> Find: Code:
$attachmentoption Code:
<if condition="$attachments_only"></div></if> $attachmentoption <if condition="$attachments_only"><div style="visibility: hidden; position: absolute"></if> Find: Code:
</div> </div> <div style="margin-top:$stylevar[cellpadding]px"> <input type="submit" class="button" name="sbutton" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" /> <input type="submit" class="button" name="preview" value="$vbphrase[preview_changes]" accesskey="r" tabindex="1" /> <if condition="$attachments_only"> Code:
<if condition="$attachments_only"></div></if> </div> </div> <div style="margin-top:$stylevar[cellpadding]px"> <input type="submit" class="button" name="sbutton" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" /> <if condition="$attachments_only"><div style="visibility: hidden; position: absolute"></if> <input type="submit" class="button" name="preview" value="$vbphrase[preview_changes]" accesskey="r" tabindex="1" /> <if condition="$attachments_only"></div></if> TEMPLATE EDITS: calendar_showeventsbit Find: Code:
<div>$eventinfo[event]</div> Code:
<if condition="$show['attachments']"> <br /> <!-- attachments --> <div style="padding:$stylevar[cellpadding]px"> <if condition="$show['thumbnailattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_thumbnails]</legend> <div style="padding:$stylevar[formspacer]px"> $eventinfo[thumbnailattachments] </div> </fieldset> </if> <if condition="$show['imageattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <div style="padding:$stylevar[formspacer]px"> $eventinfo[imageattachments] </div> </fieldset> </if> <if condition="$show['imageattachmentlink']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $eventinfo[imageattachmentlinks] </table> </fieldset> </if> <if condition="$show['otherattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_files]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $eventinfo[otherattachments] </table> </fieldset> </if> <if condition="$show['moderatedattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attachments_pending_approval]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $eventinfo[moderatedattachments] </table> </fieldset> </if> </div> <!-- / attachments --> </if> Find: Code:
<if condition="$show['caneditevent']"> <option value="edit">:: $vbphrase[edit_event]</option> </if> Code:
<if condition="$show['caneditattach']"> <option value="attach">:: Edit Attachments</option> </if> I think that's everything I did. In order to add attachments at the same time you create the event a LOT more edits were necessary and I didn't have the patience for it. Adding them after creation was good enough for me. |
#263
|
|||
|
|||
I second that!!! That would be a nice feature add.
|
#264
|
|||
|
|||
Quote:
the New Events wont show up after following the instructions |
#265
|
|||
|
|||
There's a setting for this:
Show the New Event button on the thread list. Setting this to no will change the New Thread button to forward the user to the add event form. Setting this to yes will add a New Event button, ONLY if you have also added the necessary template modification in FORUMDISPLAY. See the installation instructions for more information. Is it set to yes? |
#266
|
|||
|
|||
I can only get it to show in mine if I have the Summary of events set to yes. I have updated the template to allow it to show but it does not....even when the setting is set to Yes, while the Summary option is set to no.
|
#267
|
|||
|
|||
Quote:
PHP Code:
|
#268
|
|||
|
|||
I was trying to change the display of the thread title in the forum display and accomplished that. I updated it by updating the product-lv_vb_eventforums_v3_3.xml file and installing it with "Allow Overwrite" set to Yes.
After my update, the thread title is showing up twice in the thread view (if that's the right term). I've attached an image of what is going on. If anyone can tell me what went wrong and how to fix it, I would certainly appreciate it. I tested this change on my test forum, but didn't notice the duplication until I had applied it to my live forum. |
#269
|
|||
|
|||
Check your postbit_display_start hook for Hide the first post on Event Threads. It seems like the first post is not being hidden, and since it's still the firstpostid, would be still be using the showeventsbit template over the regular postbit.
|
#270
|
|||
|
|||
Quote:
Okay, I found the hook and it's active. I tried rolling back the software in my test forum and it still shows double. Looking at the content now. Update: it's definitely getting in that inner condition that does: $this->templatename = ''; Update 2: somehow, Display Event Details on Thread Page/showthread_complete got turned on, while the event attendance/event forum integration actually turns it off. So I'm not sure how I messed it up, but it seems fine now. thincom2000, thanks for getting me started on this. |
#271
|
|||
|
|||
You had two copies of the showthread_complete plugin? I thought the integration removes the original too, but I'm glad you solved it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|