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)

mmackinnon 03-21-2011 02:42 PM

Hey

When i put an event in i get this:

Will you be able to attend on %1$s?

Any ideas?

TigerC10 03-29-2011 09:21 PM

Quote:

Originally Posted by Boristheblade (Post 2172426)
Just installed this mod on a 4.1.2 VB forum and everything works great except one thing.
When a member makes a comment with their rsvp this takes the place of their comment.

{rsvp:var rsvp.comment}

Anyway to fix this?

Open your style, open up your templates, and find your Calendar Templates. Find the "calendar_rsvp_bit" template and edit it.

At the bottom, replace:
Code:

{rsvp:var rsvp.comment}
With:
Code:

{vb:var rsvp.comment}



Quote:

Originally Posted by mmackinnon (Post 2175810)
Hey

When i put an event in i get this:

Will you be able to attend on %1$s?

Any ideas?

Open your style, open up your templates, and find your Calendar Templates. Find the "calendar_rsvp_form" template and edit it.

Find:
Code:

<b>{vb:phrase calendar_rsvp_attendquestion {vb:var rsvp_day_formatted}}</b><br />
Replace with:
Code:

<b>{vb:phrase calendar_rsvp_attendquestion, {vb:var rsvp_day_formatted}}</b><br />
^For those of you that don't see it, there's a missing comma.


Now find:
Code:

<b><phrase 1="$rsvp_day_formatted">{vb:phrase calendar_rsvp_attendquestion}</b><br />
Replace with:
Code:

<b>{vb:phrase calendar_rsvp_attendquestion, {vb:var rsvp_day_formatted}}</b><br />

Last but not least, find:
Code:

<font class="smallfont"><i>${vb:phrase calendar_rsvp_maychange}</i>
Replace with:
Code:

<font class="smallfont"><i>{vb:phrase calendar_rsvp_maychange}</i>
^Gets rid of the $ symbol that shows up in front of the "You may change your RSVP status at any time." whenever someone RSVPs to an event.

guest9 03-30-2011 11:42 PM

can a member create public/private events? and invite those members whom they wish to call for?

public display but invites only
Private event not displayed to public unless invited by member who created the event.

TigerC10 04-01-2011 02:48 PM

This mod doesn't do that. All this mod does is add an RSVP to an event.

mmackinnon 04-01-2011 03:46 PM

THANKS!

Totally fixed it!

Quote:

Originally Posted by TigerC10 (Post 2178868)
Open your style, open up your templates, and find your Calendar Templates. Find the "calendar_rsvp_bit" template and edit it.

At the bottom, replace:
Code:

{rsvp:var rsvp.comment}
With:
Code:

{vb:var rsvp.comment}





Open your style, open up your templates, and find your Calendar Templates. Find the "calendar_rsvp_form" template and edit it.

Find:
Code:

<b>{vb:phrase calendar_rsvp_attendquestion {vb:var rsvp_day_formatted}}</b><br />
Replace with:
Code:

<b>{vb:phrase calendar_rsvp_attendquestion, {vb:var rsvp_day_formatted}}</b><br />
^For those of you that don't see it, there's a missing comma.


Now find:
Code:

<b><phrase 1="$rsvp_day_formatted">{vb:phrase calendar_rsvp_attendquestion}</b><br />
Replace with:
Code:

<b>{vb:phrase calendar_rsvp_attendquestion, {vb:var rsvp_day_formatted}}</b><br />

Last but not least, find:
Code:

<font class="smallfont"><i>${vb:phrase calendar_rsvp_maychange}</i>
Replace with:
Code:

<font class="smallfont"><i>{vb:phrase calendar_rsvp_maychange}</i>
^Gets rid of the $ symbol that shows up in front of the "You may change your RSVP status at any time." whenever someone RSVPs to an event.


starman? 04-01-2011 04:21 PM

Thanks for the fix Tiger - works like a charm on 4.1.2.

starman? 04-01-2011 04:26 PM

Is there a way to make the rsvp'd avatars smaller - eg 25 x 25 instead of full size?

TigerC10 04-02-2011 12:21 AM

Quote:

Originally Posted by starman™ (Post 2179829)
Is there a way to make the rsvp'd avatars smaller - eg 25 x 25 instead of full size?

Yeah, actually the avatar stuff in Farcaster's mod is more complicated than it needs to be.

Open your AdminCP, go to the Plugins Manager, and open up the GETDAY_EVENT: Add RSVPs and Form to Event plugin for Farcaster's Event Attendance v3

Find:
Code:

                /*********************************************************************
                * Get Users Avatar (If Used)
                *********************************************************************/
                if ($vbulletin->options['rah_rsvp_showavatar']) {

                  $avatarurl = "";
               
                  if (!empty($rsvp['avatarpath']))
                  {
                      $avatarurla = array($rsvp['avatarpath']);
                  }
                  else if ($rsvp['hascustom'])
                  {
                      $avatarurla = array('hascustom' => 1);
               
                      if ($vbulletin->options['usefileavatar'])
                      {
                          $avatarurla[] = $vbulletin->options['avatarurl'] . "/avatar{$rsvp['userid']}_{$rsvp['avatarrevision']}.gif";
                      }
                      else
                      {
                          $avatarurla[] = "image.php?u=".$rsvp['userid']."&amp;dateline=".$rsvp['dateline'];
                      }
               
                  }
               
                  if ($avatarurla) {
                      $avatarurl = $vbulletin->options['bburl'] . '/' . $avatarurla[0];
                      $showavatar=true;
                  } else {
                      $showavatar=false;
                  }
                 
                  unset($avatarurla);

                } // END AVATAR

Replace with:
Code:

                /*********************************************************************
                * Get Users Avatar (If Used)
                *********************************************************************/
                if ($vbulletin->options['rah_rsvp_showavatar']) {
                   
                    if (!empty($rsvp['avatarpath']) || $rsvp['hascustom'])
                    {
                        $avatarurla = fetch_avatar_url($rsvp['userid'], true); //Change the true to false to get regular sized avatars
                        $avatarurl = $avatarurla[0];
                        unset($avatarurla);
                        $showavatar=true;
                    }

                } // END AVATAR


ivang 04-02-2011 06:34 AM

Does it continues on beta stage or it is production stable but not updated?

guest9 04-03-2011 09:56 AM

Quote:

Originally Posted by TigerC10 (Post 2179784)
This mod doesn't do that. All this mod does is add an RSVP to an event.

sorry for another question
do you know any mod that has the features i am looking for?


thanks for ur time


All times are GMT. The time now is 08:19 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.01548 seconds
  • Memory Usage 1,763KB
  • 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
  • (18)bbcode_code_printable
  • (5)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