vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Calendar Enhancements - Farcaster's Event Attendance v3 (for vb4) (https://vborg.vbsupport.ru/showthread.php?t=234741)

TimberFloorAu 02-04-2010 12:41 AM

Okies I am customizing the events display.

I have edited calendar_rsvp_bit

But need to know what template calls this template, as it sits in a loop.

Cheers Ste

meissenation 02-04-2010 01:37 AM

Quote:

Originally Posted by meissenation (Post 1973902)
I don't know which thread I should post this in. When I RSVP to an event, it says "Array" instead of listing the attendees.

http://www.mifbody.com/vbulletin/sho...464#post537464

Quote:

Originally Posted by meissenation (Post 1973931)
I've also totally uninstalled both add-ons and reinstalled both and it still persists. It just says "Array" as the attendees.

Any ideas? I understand you're busy - even just a response that you saw my post and are investigating will let me rest easy. BBR said that this issue is solely with the RSVP side of the mod.

I'm surprised everyone else isn't having this issue? What could I have possibly different than everyone else?

PS - Just to be certain, I disabled the BBR - Event Forums add-on and it still said array for each of the RSVP attendees when I would go to the event on the calendar instead of trying to go through the thread.


Edit: I see this is where the "Array" is being parsed into the template - located in calendar_rsvp_section:
HTML Code:

<ul><vb:if condition="$vboptions[rah_rsvp_showavatar]"><table>{vb:raw rsvp_section_bit.$key}</table><vb:else />{vb:raw rsvp_section_bit.$key}</vb:if></ul>
Not sure why {vb:raw rsvp_section_bit.$key} is returning "Array" though.

BBR-APBT 02-04-2010 02:02 AM

Quote:

Originally Posted by meissenation (Post 1974347)
Any ideas? I understand you're busy - even just a response that you saw my post and are investigating will let me rest easy. BBR said that this issue is solely with the RSVP side of the mod.

I'm surprised everyone else isn't having this issue? What could I have possibly different than everyone else?

PS - Just to be certain, I disabled the BBR - Event Forums add-on and it still said array for each of the RSVP attendees when I would go to the event on the calendar instead of trying to go through the thread.


Edit: I see this is where the "Array" is being parsed into the template - located in calendar_rsvp_section:
HTML Code:

<ul><vb:if condition="$vboptions[rah_rsvp_showavatar]"><table>{vb:raw rsvp_section_bit.$key}</table><vb:else />{vb:raw rsvp_section_bit.$key}</vb:if></ul>
Not sure why {vb:raw rsvp_section_bit.$key} is returning "Array" though.

Try the following code.
Code:

<ul><vb:if condition="$vboptions[rah_rsvp_showavatar]"><table>{vb:raw rsvp_section_bit.key}</table><vb:else />{vb:raw rsvp_section_bit.key}</vb:if></ul>

Magz 02-04-2010 02:03 AM

Great Mod, thanks for releasing

Just one thing, when I submit a comment, im taking to a "page not found". However, once i go back to the thread, i see the comment added.

Any ideas?

Farcaster 02-04-2010 02:19 AM

Quote:

Originally Posted by meissenation (Post 1974347)
Any ideas? I understand you're busy - even just a response that you saw my post and are investigating will let me rest easy. BBR said that this issue is solely with the RSVP side of the mod.

This is not a bug I can reproduce. In order to troubleshoot, I would need admin access to your board and likely would need to have debug mode turned on as well. If you have an offline copy of your forums that would do nicely.

meissenation 02-04-2010 12:15 PM

Quote:

Originally Posted by BBR-APBT (Post 1974356)
Try the following code.
Code:

<ul><vb:if condition="$vboptions[rah_rsvp_showavatar]"><table>{vb:raw rsvp_section_bit.key}</table><vb:else />{vb:raw rsvp_section_bit.key}</vb:if></ul>

Didn't work, but thanks for trying. :) It did remove the "Array" text, but now each section is just blank.

Quote:

Originally Posted by Farcaster (Post 1974365)
This is not a bug I can reproduce. In order to troubleshoot, I would need admin access to your board and likely would need to have debug mode turned on as well. If you have an offline copy of your forums that would do nicely.

Hrm, unfortunately I don't think I can do any of that. What version of PHP do you use? Maybe it's my server's configuration that is doing it. I'm using WampServer 2.0i which uses Apache 2.2.11, MySQL 5.1.36, PHP 5.3.0.

meissenation 02-04-2010 01:16 PM

I don't know how much this helps but I turned debug mode on for a few minutes and tried different things - refreshing the thread, RSVP'ing to the event, etc.

Whether Building Section - Yes or Building Section - No showed up, it would still just show "Array"

All the database queries were working perfectly fine. I ran them separately using phpMyAdmin and the Execute SQL Query in AdminCP and both returned the data.

I don't see any error messages in my PHP error log or my Apache error log.

I also disabled ALL mods and I still get "Array" so it's not another modification conflicting with it.

I saved the debug output if any of it would prove helpful.

I see the following templates were called:
(1)calendar_rsvp
(1)calendar_rsvp_bit
(1)calendar_rsvp_form
(3)calendar_rsvp_form_responsebit
(1)calendar_rsvp_section

But aside from that, I don't see any other mention of RSVP in the Phrase Groups, Include Files, Hooks, etc. There were no messages.

meissenation 02-04-2010 01:17 PM

Also - for those that have this working 100%, is anyone using PHP 5.3.0? I'm wondering if my PHP version is causing the problem since it seems to be a programming issue?

Farcaster 02-04-2010 03:44 PM

Quote:

Originally Posted by meissenation (Post 1974623)
Hrm, unfortunately I don't think I can do any of that. What version of PHP do you use? Maybe it's my server's configuration that is doing it. I'm using WampServer 2.0i which uses Apache 2.2.11, MySQL 5.1.36, PHP 5.3.0.

Quote:

Originally Posted by meissenation (Post 1974667)
I saved the debug output if any of it would prove helpful.

Yes, please PM me with the debug output. Apart from that, if I cannot reproduce the issue and cannot get access to the system where this problem occurs, I cannot help troubleshoot this problem.

meissenation 02-04-2010 04:13 PM

PM sent.


All times are GMT. The time now is 03:48 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.01431 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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