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)

Kiint 06-17-2012 09:57 AM

Yes, works fine on 4.2

Front Range 4x4 06-17-2012 12:53 PM

Thanks Klint, I'll upgrade then.

ProFifaLeagues 06-17-2012 01:36 PM

Confirmed a new Install and works A1 on 4.2

Zervesa 06-21-2012 07:30 PM

Quote:

Originally Posted by Kiint (Post 2332978)
Anyone have any ideas on this. I've been searching the templates and testing things out but don't have the knowledge to fix this.

Add this for your color change:

in additional.css


.eventbody .eventrow {
background-color: #000000;
}


Or in the Template: calendar_rsvp_form
Code:

<style type="text/css">
.eventbody .eventrow {
        background-color: #252525;
}
</style>

<vb:if condition="$bbuserinfo['userid'] AND $expires[0]>=0">
        <div class="eventbody"><div class="eventrow">
        <vb:if condition="$lv_vb_eventforums_threadid AND THIS_SCRIPT=='showthread'">
                <form action="showthread.php?t={vb:var lv_vb_eventforums_threadid}&day={vb:var rsvp_day}" method="post">
        <vb:else />
                <form action="calendar.php?do=getinfo&e={vb:var eventinfo.eventid}&day={vb:var rsvp_day}" method="post">
        </vb:if>


                <input type="hidden" name="do" value="getinfo" />
                <input type="hidden" name="cdo" value="rsvp" />
                <input type="hidden" name="day" value="{vb:var rsvp_day}" />
                <input type="hidden" name="e" value="{vb:var eventinfo.eventid}" />
                <input type="hidden" name="s" value="" />
                <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />



                                <vb:if condition="$expires[unixdate]">       

                                        <vb:if condition="$myrsvp">
                                                <b>{vb:phrase calendar_rsvp_yoursvp, {vb:var rsvp_day_formatted}, {vb:var myrsvp}}</b><br />
                                                <vb:if condition="$eventinfo[rsvp_attendeelimit]">{vb:phrase rsvp_attendeelimit, {vb:var rsvp_attendeelimit}, {vb:var eventinfo.spotsopen}}<br/></vb:if>
                                                <font class="smallfont"><i>{vb:phrase calendar_rsvp_maychangeby, {vb:var expires.date}}</i></font>

                                        <vb:else />

                                                <b>{vb:phrase calendar_rsvp_attendquestion {vb:var rsvp_day_formatted}}</b><br />
                                                <vb:if condition="$eventinfo[rsvp_attendeelimit]">{vb:phrase rsvp_attendeelimit, {vb:var eventinfo.rsvp_attendeelimit},{vb:var eventinfo.spotsopen}}<br/></vb:if>
                                                <font class="smallfont"><i>{vb:phrase calendar_rsvp_changeby, {vb:var expires.date}}</i></font>

                                        </vb:if>

                                        <br/>

                                <vb:else />

                                        <vb:if condition="$myrsvp">
                                                <b>{vb:phrase calendar_rsvp_yoursvp, {vb:var rsvp_day_formatted}, {vb:var myrsvp}}</b><br />
                                                <font class="smallfont"><i>${vb:phrase calendar_rsvp_maychange}</i></font>

                                        <vb:else />
                                                <b><phrase 1="$rsvp_day_formatted">{vb:phrase calendar_rsvp_attendquestion}</b><br />
                                                <font class="smallfont"><i>{vb:phrase calendar_rsvp_changelater}</i></font>

                                        </vb:if>


                                        <br/>

                                </vb:if>

                        {vb:raw rsvp_form_responses}<br \>

                        <vb:if condition="$eventinfo['rsvp_max_guests']">
                                <i>{vb:rawphrase calendar_rsvp_guests_prompt} <input type="text" name="guests" id="guests" size="3" value="{vb:var myguests}">
                                {vb:phrase calendar_rsvp_guests}. ({vb:phrase calendar_rsvp_guest_limit, {vb:var eventinfo.rsvp_max_guests}})</i>
                        </vb:if>


                        <vb:if condition="$maxlength">
                                <table>
                                        <tr>
                                                <td><b>{vb:phrase comment}:</b><br \>
                                                <td align="right"><font class="smallfont"><i>({vb:phrase calendar_rsvp_maxlength} = {vb:var maxlength})</i></font></td>
                                        </tr>
                                        <tr>
                                                <td colspan="2">
                                                <textarea name="comment" rows="2" cols="80">{vb:var mycomment}</textarea>
                                                </td>

                                        </tr>
                                </table><br/>

                        </vb:if>
                        <input type="submit" class="button" value="{vb:phrase submit}" />

                        </form>
        </div></div>
</vb:if>
<vb:if condition="$expires[0]<0">
        <div class="eventbody"><div class="eventrow"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr><td class="alt2" align="center" valign="center" height="50"><font size="2"><b>{vb:phrase calendar_rsvp_closed}</b></font></td></tr>
        </table></div></div>
</vb:if>


alexkohler 06-28-2012 02:57 PM

vBSEO causes Problems and redirects to 404, when calendar rewrite rules are enabeled.

This can be fixed by editing either the product.xml or later the plugin calendar_getday_event an there replace

Code:

                        // Prevents User Response Removal on redirect
                        if (!preg_match('/redirect/',$vbulletin->url)) {
                                $vbulletin->url .= "&redirect=1";
                        }

with

Code:

                        // Prevents User Response Removal on redirect
                        if (!preg_match('/redirect/',$vbulletin->url)) {
                                $vbulletin->url .= "";
                        }



Best regards,
Alex

Kiint 06-30-2012 10:46 AM

Quote:

Originally Posted by Zervesa (Post 2341836)
Add this for your color change:

in additional.css


.eventbody .eventrow {
background-color: #000000;
}


Or in the Template: calendar_rsvp_form
Code:

<style type="text/css">
.eventbody .eventrow {
    background-color: #252525;
}
</style>


Thanks for the info.

Kiint 06-30-2012 10:47 AM

My default responses are not checked, would it be possible on clicking on an event to have the default respone set to "maybe" instead of having all responses unselected?

Berphi 07-21-2012 08:34 AM

The mod works fine on vB 4.2.
One problem: We have users with the character '&' in their name. In a calender entry this character is viewed as "&amp;"

Toorak Times 07-21-2012 11:17 AM

I love this mod, please inform me of any other mods you have for Calendars as a Gig Guide is a major part of my platform idea

Toorak Times 07-21-2012 11:20 AM

Quote:

Originally Posted by Berphi (Post 2350058)
The mod works fine on vB 4.2.
One problem: We have users with the character '&' in their name. In a calender entry this character is viewed as "&amp;"

The & (Ampersand its called) has its issues all over vB for some reason, someone told me it is a coding character and it confuses sumtin', me muppet, Lynne would know why


All times are GMT. The time now is 06: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.01393 seconds
  • Memory Usage 1,767KB
  • 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
  • (4)bbcode_code_printable
  • (3)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