vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vB Event Forums (https://vborg.vbsupport.ru/showthread.php?t=102213)

jerx 04-10-2006 06:49 PM

Quote:

Originally Posted by noonespecial
How do you define what forum this posts into? I can't figure that out for the life of me..

You set the mapping between calendar and forum in vbulletin options. Select the event forums setting group. There you specify the calendarid first and then comes the forum id, eg 1:10 (calendar id 1:forum id 10).

chipsndip 04-21-2006 06:08 PM

This is a great hack, and looks a lot better than the last version. I only wish I could customize the title like was mentioned earlier. I may dig into the code where it builds the title and modify it myself soon... Time to pull out that PHP reference and learn some more.

Evercraft 04-22-2006 01:35 AM

First of all my deepest apologies. I thought I had posted an update of what was happening, but it seems I didn't and i've left you all in the Dark for a long time. I'm really really sorry! Things have been really busy, and I basically just stopped whatever I was doing on this for a while. :confused: However...

:banana:

I think you will all be interested to hear that vB Event Forums is now at Version 2.5. Version 2 was finished mid week, and i've got to Version 2.5 from doing various tweaks and bug fixes after running with it live for a few days. I'm sure there is still some bugs there, but hopefully i'll get time to fix as many as possible.

Here are the changelogs for the versions. I realise they are a bit big, but I urge you to read through them properly, there is some really big changes! Some of the most notable is how the Event is displayed on the Thread Page & Moderation support. I really feel like this plugin is super close to going Gold now. :)
Version: 2.5
  • Single day events: Time has been removed from thread title, so it now only displays the date.
  • Date and Time (if applicable) are added to Posts and Navbits when viewing a thread.
  • Custom Fields are added dynamically along with times and dates. This solves a few bugs, and is in preperation for the AdminCP option for a custom order and look etc.
  • Currently merging is disabled for any Event Threads because it is a bit of a tricky job to handle merging Event Threads, and it could take some time.
  • Admin option to format Event Thread titles. Note this does not yet include ordering custom fields.
  • Inline mod tools should now all work.
  • Added [Finish] and [Start] as phrases into the Calendar phrases for use in the Events Summary.
  • Ranged Events that cover multiple days, are now displayed better in the Summary, Title, Post and Navbits.
Version: 2.0
  • Moderation is now supported! Permissions are taken from the Calendar. Events will show up as Events only (threads are hidden and handled seperatly by the plugin) in the moderation queue.
  • Better error handling when creating an event. This should now correctly handle flooding, min chars and any other errors creating a thread could give. An event is NOT created if there was an error creating the thread. Instead it displays the correct error message.
  • Event View is now displayed above the threads, similar to how VB.org does with the addons.
  • Links added to the event day view, to View Replies and Post a Reply.
  • Added a UserCP option to choose which event it should default to when pressing the "New Thread" button.
  • Summary is now totally seperate from the Home Page up "and coming events". The summary will now function even if the homepage version is disabled.
  • Ranged Events now show the end date if the Event doesn't finish on the same day.
  • Problems with DST and Timezones have been solved. There is an update due in VB v3.6 which corrects confusion with DST. See here for more info. This is more specific to Calendar rather than this plugin though, but its relevant.
  • Moving an event to a Calendar not run by the Plugin will remove the link to the assosiated thread.
  • Moving an event to a Calendar run by the Plugin will attempt to also move the thread linked to it, to the correct forum.
  • Moving a thread to a different event forum, will attempt to move the event to the correct calendar.
  • Moving a thread outside an event forum, removes the link to the assosiated event.
  • Delete thread or first post now forwards to the Delete Event. Allowing soft-delete of events is something to consider, but for now it only supports Perma Deleting. This would be made much easier if soft deleting events was something supported in the native VB code.
  • Fixed Deleting an Event and it now properly updates the forum counters, so the last thread should be correct.
  • Event Summary template addition is no longer necessary. A seperate template is added and handled by the plugin.
  • Event Summary in the forum now only shows the events for that forum/calendar link.

I've updated the Plugin Info page to show better installation instructions, which should hopefully help out those having trouble installing and setting this up. I've also added a few screenshots to those who were asking for them. Bit late I know, but better late than never! ;)

If your upgrading, please follow the instructions here for upgrading to Version 2.5.

Evercraft 04-22-2006 01:35 AM

Upgrading from Version 1.x to Version 2.5
Step 1
Admin CP -> Styles & Templates -> Style Manager -> <style name> -> Edit Template

Double Click Calendar Templates
Double Click calendar_showeventsbit

Find and remove the green:
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>
Step 2
Admin CP -> Styles & Templates -> Style Manager -> <style name> -> Edit Template

Double Click Forum Display Templates
Double Click FORUMDISPLAY

Find:
Code:

$announcebits
And below it remove all of:
Code:

<if condition="$show['upcomingevents']">
        <tr>
                <td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7<else /><if condition="!$show['threadicons'] AND !$show['inlinemod']">5<else />6</if></if>">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
                        <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$lv_vb_eventforums_showDays">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
                </td>
        </tr>
        <tr id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
                <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
                <td class="alt1" width="100%" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">6<else /><if condition="!$show['threadicons'] AND !$show['inlinemod']">4<else />5</if></if>"><div class="smallfont">$upcomingevents</div></td>
        </tr>
</if>

Step 3
Download the latest 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 click the OVERWRITE check box. Then click the Import button.

PennylessZ28 04-22-2006 01:42 AM

Excellent work, very much appericated. Thank you for your hard work and effort.

Hell? 04-22-2006 02:29 AM

This was a very nice surprise in my inbox, thank you very much for the excellent update and all the hard work.

SMO 04-22-2006 02:49 AM

have a little issue. I put the event on the 2nd and in the titleit says the day prior. So, i had to schedule it on the day ahead of time to make it show in the title to say when the event actually happen..did that make sense?

xfaethorx 04-22-2006 07:39 AM

it looks excellent but I need the event attendance hack to be bound in with it.

Evercraft 04-22-2006 08:08 AM

Quote:

Originally Posted by SMO
have a little issue. I put the event on the 2nd and in the titleit says the day prior. So, i had to schedule it on the day ahead of time to make it show in the title to say when the event actually happen..did that make sense?

errm not sure I fully understand. Could you perhaps post a screenshot, or maybe a more detailed example? Also, what type of event is it (i.e Single Day (no times), Ranged (with times), Recuring).

klaush 04-22-2006 08:23 AM

Thanks! But still not working. Permissions are set correctly; even when adding an event and tried to save he wants to have an username and to click the back button.

Any idea?


All times are GMT. The time now is 01:55 PM.

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.01387 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete