vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Calendar Enhancements - BBR - vB Event Forums (https://vborg.vbsupport.ru/showthread.php?t=234794)

Mutt 03-30-2010 11:54 PM

thanks for working on this. always love this mod.

i edited template FORUMDISPLAY to change the text "Post new Thread" to "Add new Event"

in 2 places i changed
Code:

{vb:rawphrase post_new_thread}
to
Code:

<vb:if condition="$foruminfo[forumid] == 13">{vb:rawphrase add_new_event}<vb:else />{vb:rawphrase post_new_thread}</vb:if>
13 is my calendar forum id. if you have more than 1 calendar forum you could change it to
Code:

<vb:if condition="in_array($foruminfo['forumid'], array(13,14,15))">
problem is it's not recognizing "rawphrase add_new_event". i'm brand new to vb4 so i don't know how to load the var. little help?

Verionia 04-05-2010 09:30 PM

Quote:

Originally Posted by BBR-APBT (Post 1994051)
Ok so it seems it happens when there is more then one calendar id. Will look into it more.

Others that had the hanging issue do you have a single calendar or multiple calendars?

I have 3 calendars

claystation 04-06-2010 01:09 AM

You have three and they all work?

Verionia 04-06-2010 02:28 PM

I have three but this mod doesn't work with one of them

MrBlaQ 04-08-2010 10:12 PM

Both my Calendar permissions and forum permissions allow original posters to edit their event-forum posts. Yet, no edit button is displayed. Only Admins can edit events at this point.

burney 04-12-2010 09:40 AM

Quote:

Originally Posted by BBR-APBT (Post 2010696)
It is supported why should I remove it. If I remove the supported tag it will never be upgraded. I am willing to upgrade it as soon as I find the problem. How ever I can not find the issue. My site only runs on one calendar so it runs perfect for me. How ever I am willing to fix the issue with multiple calendars. I just need to find and fix the error. Which I can not find at this current point. I know what the error is and what is causing it just can't find a proper fix which does not cause more errors.

It also says beta which means it may not work fully to your expectations and it may have bugs. Let alone its hard to work on things for vb4 since they keep making changes. I expect more issues with further upgrades of vb4. That is another reason I am not rushing to fix all my mods all these patches and vb4 versions it always breaks things.

The problem is at line #256:

change
PHP Code:

for($lv_vb_eventforums_i 0$lv_vb_eventforums_i<count($lv_vb_eventforums_map); $lv_vb_eventforums_i+2

with

PHP Code:

for($lv_vb_eventforums_i 0$lv_vb_eventforums_i<count($lv_vb_eventforums_map); $lv_vb_eventforums_i+=2

This fixes the issue when inserting a new event in case of more than one calendar. There might be other issues as I haven't run a deep test yet.

CThiessen 04-12-2010 01:24 PM

Hi,
thanks for that.
works fin on my test Forum with vB 4.0.3

Christian

Videx 04-12-2010 10:06 PM

Yes, after adding that = sign I can now use my second calendar (402pl4). Thanks! Instead of editing the .xml I just edited the plugin "when saving an event, create or update the associated thread" - add the = sign as shown right near the beginning.

pete_brady 04-12-2010 10:20 PM

thanks for that fix!

claystation 04-12-2010 11:17 PM

Works great, 11 Calendars!


All times are GMT. The time now is 10:49 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.01262 seconds
  • Memory Usage 1,745KB
  • 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_php_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