vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Calendar Enhancements - Farcaster's Event Attendance (https://vborg.vbsupport.ru/showthread.php?t=129088)

popowich 12-16-2006 03:00 PM

Quote:

Originally Posted by Farcaster (Post 1097352)
You can choose to include or exclude specific calendars AND you can specify whether a particular event should allow RSVPs. Currently, it defaults to be checked, but you can change that by looking for the plugin "Prompt for RSVP on Event Creation" and replacing that plugin's code with:

PHP Code:

$disablesmiliesoption.='<div><label for="cb_rsvp"><input type="checkbox" name="rsvp" value="1" id="cb_rsvp" tabindex="3" '.$rsvp.' />'.$vbphrase['calendar_rsvp_allow'].'</label></div>'


Hello,

I'm a little lost and can't find where to change this do it defaults to unchecked.

Template name and a simple "find this, do this" would be great. Thanks!

-Raymond

JoeWho 12-16-2006 06:02 PM

Hi,

I am having a heck of a time trying to get this to work. As you can see from the photo below I do have it installed, I can select yes, no or maybe and it appears to save the information when I click the submit button, but no information shows, it does not show any of the users that have submitted a RSVP.

Does anyone have an idea of why it's not showing, or where I should start looking for the problem?

Thanks for any and all help.

andreamarucci 12-17-2006 08:20 PM

Absolutely fantastic!!! My compliments :D

fishhub 12-17-2006 11:14 PM

This hack will work with 3.5.x, but you will need to add the standard global phrase "Comment"

Care to enlighten how to we do the above sentence. TIA.

andreamarucci 12-18-2006 08:21 AM

One little modification if you care...

The vb phrase x_members_and_y_guests is good for english but not for italian (my language) since the meaning of "guest" varies from the forum to the people attending events. I mean that in the forum the phrase is something like "1 member and 2 visitors" and in the calendar should be something like "1 member and 2 guests". The spelling of guest varies.

I'm asking myself how can I put another phrase in the code. I've seen that here's the piece of code interested in the modification

Quote:

(<phrase 1="$rsvp_maybe_members" 2="$rsvp_maybe_guests">$vbphrase[x_members_and_y_guests]</phrase>)
but I don't know how to modify this. I suppose that I've to add a new vb phrase but I really don't know how.

Thanks

UPDATE

I've tried to add a new phrase in vb (x_members_and_y_guests_fc) and replacing

Quote:

(<phrase 1="$rsvp_maybe_members" 2="$rsvp_maybe_guests">$vbphrase[x_members_and_y_guests]</phrase>)
with

Quote:

(<phrase 1="$rsvp_maybe_members" 2="$rsvp_maybe_guests">$vbphrase[x_members_and_y_guests_fc]</phrase>)
but seems that nothing changed

andreamarucci 12-18-2006 08:39 AM

I made it!

this is the piece of code

Quote:

<if condition="$rsvp_yes">
<b>$vbphrase[calendar_rsvpd] $vbphrase[yes]: $rsvp_yes_count </b>
<if condition="$eventinfo[rsvp_max_guests]">
(<phrase 1="$rsvp_yes_members" 2="$rsvp_yes_guests">$vbphrase[x_members_and_y_guests_fc]</phrase>)
</if>
<ul><if condition="$vboptions[rah_rsvp_showavatar]"><table>$rsvp_yes</table><else />$rsvp_yes</if></ul>
</if>
<if condition="$rsvp_maybe">
<b>$vbphrase[calendar_rsvpd] $vbphrase[maybe]: $rsvp_maybe_count</b>
<if condition="$eventinfo[rsvp_max_guests]">
(<phrase 1="$rsvp_maybe_members" 2="$rsvp_maybe_guests">$vbphrase[x_members_and_y_guests_fc]</phrase>)
</if>
and you've to change two instances of x_members_and_y_guests to x_members_and_y_guests_fc

fishhub 12-18-2006 03:09 PM

Quote:

Originally Posted by JoeWho (Post 1139861)
Hi,

I am having a heck of a time trying to get this to work. As you can see from the photo below I do have it installed, I can select yes, no or maybe and it appears to save the information when I click the submit button, but no information shows, it does not show any of the users that have submitted a RSVP.

Does anyone have an idea of why it's not showing, or where I should start looking for the problem?

Thanks for any and all help.

I am having the same problem as yours. Any kind soul to assist?

Farcaster 12-19-2006 02:40 PM

Quote:

Originally Posted by Canis Firebrand (Post 1139584)
Is that standard VB behavior when there are no events to not show the events box? I thought it was always there and if there were no events, it would say No Upcoming Events, or something like that.

That is standard behavior for vBulletin.

Farcaster 12-19-2006 02:44 PM

Quote:

Originally Posted by fishhub (Post 1140641)
This hack will work with 3.5.x, but you will need to add the standard global phrase "Comment"

Care to enlighten how to we do the above sentence. TIA.

If you do not add the phrase, all that will happen is that instead of saying "Comment:" above the comment box, it will just have ":". However, it will still work, even if you don't add the phrase.

fishhub 12-19-2006 02:53 PM

Quote:

Originally Posted by Farcaster (Post 1141616)
If you do not add the phrase, all that will happen is that instead of saying "Comment:" above the comment box, it will just have ":". However, it will still work, even if you don't add the phrase.

Thanks for the advice. It works now. But when users click options to attend. It does not show up all the users attendance. Appreciate your assistance. TIA


All times are GMT. The time now is 08:47 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.01605 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_php_printable
  • (9)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