[8WR] XenAtendo (Events)

[8WR] XenAtendo (Events) 1.5.0b

No permission to download
I've an error which results in a conflict between XenAtendo and Advanced Forum Rules by ******* ... I've got following error:

Code:
ErrorException: Undefined property: XenForo_ControllerResponse_Redirect::$params - library/EWRatendo/ControllerPublic/Forum.php:8
Generiert durch: xxx, Vor 42 Minuten

----------------------------
#0 /.../.../xenforo/public_html/library/EWRatendo/ControllerPublic/Forum.php(8): XenForo_Application::handlePhpError(8, 'Undefined prope...', '/.../...', 8, Array)
#1 /.../.../xenforo/public_html/library/XenForo/FrontController.php(347): EWRatendo_ControllerPublic_Forum->actionCreateThread()
#2 /.../.../xenforo/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /.../.../xenforo/public_html/index.php(13): XenForo_FrontController->run()
#4 {main}

array(3) {
["url"] => string(82) "http://www.xxx.org/xxx/gesundheit-in-xxx.38/create-thread"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

If the user has to accept the rules before viewing a thread, it's no problem. But if the user first try to make a post he get the error and not the advanced rules. Any idea?
Kai
 
but there is no answer

@MsJacquiiC
can you say me how you have manage this?
Wow. I'm not sure how - but this post sorta slipped my mind. @Tealk - I'm not sure if you still need the info - but here's what I did:

HTML:
<xen:if is="!{$visitor.user_id}">
<form action="{xen:link 'login/login'}" method="post" class="xenForm" id="pageLogin">

        <div class="errorPanel"><span class="errors">
            You must be logged-in to do that.
        </span></div>
    <h2 class="textHeading">{xen:phrase log_in_or_sign_up}</h2>

    <dl class="ctrlUnit">
        <dt><label for="ctrl_pageLogin_login">{xen:phrase your_name_or_email_address}:</label></dt>
        <dd><input type="text" name="login" value="{$defaultLogin}" id="ctrl_pageLogin_login" class="textCtrl" tabindex="1" /></dd>
    </dl>

<xen:if is="{$xenOptions.registrationSetup.enabled}">
    <dl class="ctrlUnit">
        <dt><label for="ctrl_pageLogin_password">{xen:phrase do_you_already_have_account}</label></dt>
        <dd>
            <ul>
                <li><label for="ctrl_pageLogin_not_registered"><input type="radio" name="register" value="1" id="ctrl_pageLogin_not_registered" tabindex="5" />
                    {xen:phrase no_create_account_now}</label></li>
                <li><label for="ctrl_pageLogin_registered"><input type="radio" name="register" value="0" id="ctrl_pageLogin_registered" checked="checked" class="Disabler" tabindex="5" />
                    {xen:phrase yes_my_password_is}:</label></li>
                <li id="ctrl_pageLogin_registered_Disabler">
                    <input type="password" name="password" class="textCtrl" id="ctrl_pageLogin_password" tabindex="2" />                
                    <div><a href="{xen:link lost-password}" class="OverlayTrigger OverlayCloser" tabindex="6">{xen:phrase forgot_your_password}</a></div>
                </li>
            </ul>
        </dd>
    </dl>
<xen:else />
    <dl class="ctrlUnit">
        <dt><label for="ctrl_pageLogin_password">{xen:phrase password}:</label></dt>
        <dd>
            <input type="password" name="password" class="textCtrl" id="ctrl_pageLogin_password" />                
            <div><a href="{xen:link lost-password}" class="OverlayTrigger OverlayCloser" tabindex="6">{xen:phrase forgot_your_password}</a></div>
        </dd>
    </dl>
</xen:if>

    <xen:if is="{$captcha}">
        <dl class="ctrlUnit">
            <dt>{xen:phrase verification}:</dt>
            <dd>{xen:raw $captcha}</dd>
        </dl>
    </xen:if>

    <dl class="ctrlUnit submitUnit">
        <dt></dt>
        <dd>
            <input type="submit" class="button primary" value="{xen:phrase log_in}" data-loginPhrase="{xen:phrase log_in}" data-signupPhrase="{xen:phrase sign_up}" tabindex="4" />
            <label class="rememberPassword"><input type="checkbox" name="remember" value="1" id="ctrl_pageLogin_remember" tabindex="3" /> {xen:phrase stay_logged_in}</label>
        </dd>
    </dl>

    <xen:if is="{$xenOptions.facebookAppId}">
        <xen:require css="facebook.css" />
        <dl class="ctrlUnit">
            <dt></dt>
            <dd><a href="{xen:link register/facebook, '', 'reg=1'}" class="fbLogin" tabindex="10"><span>{xen:phrase login_with_facebook}</span></a></dd>
        </dl>
    </xen:if>

    <xen:if is="{$xenOptions.twitterAppKey}">
        <xen:require css="twitter.css" />
        <dl class="ctrlUnit">
            <dt></dt>
            <dd><a href="{xen:link register/twitter, '', 'reg=1'}" class="twitterLogin" tabindex="10"><span>{xen:phrase login_with_twitter}</span></a></dd>
        </dl>
    </xen:if>

    <xen:if is="{$xenOptions.googleClientId}">
        <xen:require css="google.css" />
        <dl class="ctrlUnit">
            <dt></dt>
            <dd><span class="googleLogin GoogleLogin JsOnly" tabindex="10" data-client-id="{$xenOptions.googleClientId}" data-redirect-url="{xen:link register/google, '', 'code=__CODE__', 'csrf={$session.sessionCsrf}'}"><span>{xen:phrase login_with_google}</span></span></dd>
        </dl>
    </xen:if>

    <input type="hidden" name="cookie_check" value="1" />
    <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
    <input type="hidden" name="redirect" value="{xen:if $redirect, $redirect, $requestPaths.requestUri}" />
    <xen:if is="{$postData}">
        <input type="hidden" name="postData" value="{xen:escape {xen:helper json, $postData}}" />
    </xen:if>

</form>

<script>
    $(function()
    {
        var $button = $('#pageLogin input.button.primary');
        $('#pageLogin input[name="register"]').click(function()
        {
            $button.val(
                $('#pageLogin input[name="register"]:checked').val() == '1'
                ? $button.data('signupphrase')
                : $button.data('loginphrase')
            );
        });
    });
</script>
<xen:else />

<xen:title>{$mCurr.title}</xen:title>
<xen:h1>{$mCurr.title}</xen:h1>

<xen:if is="{$canPost}">
    <xen:topctrl><a href="{xen:link 'events/create'}" class="callToAction"><span>{xen:phrase post_new_event}</span></a></xen:topctrl>
</xen:if>

<xen:require css="EWRatendo.css" />

<div class="blockCtrl">
    <form action="{xen:link 'events/monthly'}" method="post">
        <select name="month" class="textCtrl autoSize">
            <xen:foreach loop="$months" value="$m">
                <option value="{$m.number}" <xen:if is="{$m.select}">selected</xen:if>>{$m.phrase}</option>
            </xen:foreach>
        </select>
        <select name="year" class="textCtrl autoSize">
            <xen:foreach loop="$years" value="$y">
                <option value="{$y.number}" <xen:if is="{$y.select}">selected</xen:if>>{$y.number}</option>
            </xen:foreach>
        </select>
        <input type="submit" value="{xen:phrase go}" name="submit" class="button primary" />
        <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />

        &nbsp; &nbsp;
        <a href="{xen:link 'events/monthly'}" class="button primary">{xen:phrase today}</a>

        &nbsp; &nbsp;
        <a href="{xen:link 'events/monthly', $prev}" class="button primary">&lt;</a>
        <a href="{xen:link 'events/monthly', $next}" class="button primary">&gt;</a>
    </form>
</div>

<div class="sectionMain">
    <table width="100%" class="monthBlock">
        <tr>
            <td class="subHeading weekday">{xen:phrase day_monday}</td>
            <td class="subHeading weekday">{xen:phrase day_tuesday}</td>
            <td class="subHeading weekday">{xen:phrase day_wednesday}</td>
            <td class="subHeading weekday">{xen:phrase day_thursday}</td>
            <td class="subHeading weekday">{xen:phrase day_friday}</td>
            <td class="subHeading weekday">{xen:phrase day_saturday}</td>
            <td class="subHeading weekday">{xen:phrase day_sunday}</td>
        </tr>
        <tr>
            <xen:foreach loop="$mCurr.dates" value="$date">
                <xen:if is="{$date.spacer}">
                    </tr><tr>
                <xen:else />
                    <xen:include template="EWRatendo_Monthly_Bit" />
                </xen:if>
            </xen:foreach>
        </tr>
    </table>
</div>
<xen:include template="EWRatendo_Sidebar" />
<xen:include template="EWRatendo_Footer" />
</xen:if>

HTML:
<xen:if is="{$visitor.user_id}">
<ul class="secondaryContent blockLinksList">
    <li><a href="{xen:link 'events/monthly'}">{xen:phrase monthly_view}</a></li>
    <li><a href="{xen:link 'events/weekly'}">{xen:phrase weekly_view}</a></li>
    <li><a href="{xen:link 'events/upcoming'}">{xen:phrase upcoming_events}</a></li>
    <li><a href="{xen:link 'events/history'}">{xen:phrase events_archive}</a></li>
</ul>
<xen:else />
</xen:if>

HTH ;)

J.
 
The googlemap don't show up to an event because I using https on my forum now (Message: There is only safe content)
Where can I change http in https for the googlemap ?

Thank you for your help :)
 
I found a little bug: If some events start at the same time, just one will be displayed in "upcoming events", the others disappear. In the weekly or monthly display - no problem.

Were you able to find a solution for this bug?

Wasn't sure has this been answered before, but here's how to do it
Oopen file /library/EWRatendo/Model/Upcoming.php
and change
Code:
", 'event_strtime', XenForo_Application::$time);
to
Code:
", '', XenForo_Application::$time);
Save file and that's it.
 
if this addon is unmaintained from now on.....what is the alternative because im quite happy with this
 
I purchased the Events extension on my site and I have one MAJOR request please make it an option to have Sunday be the start of the week and not the end. My users all play strategy games and the crowd is a lot older than the average gamer and this just throws them off horribly.
 
How can I set a default timezone value? By default it shows me always GMT timezone when I want to create an event. I want that it is by default +6 for example.

And how can I remove this google map thing from the eventspage, when I want to create an event?
 
Only 2 alternatives but not at this level right now @Lindal_Oronar .
AndyB's and Waindigo's calendars.
Andy's has now a sidebar widget for upcoming events, too. So if you just need basics, like a calendar, adding events through thread and showing events in sidebar, you can go with Andy's. Jon's (formerly Waindigo) has google calendar and ressources implementation but no sidebar widget yet and you can add events through thread, too.
 
Back
Top Bottom