XF 1.2 update your status in recent-activity

Mike Edge

Well-known member
Getting unkown error when you post a update trying to add this into recent-activity

PHP:
    <form action="recent-activity" method="post" class="statusPoster AutoValidator" data-optInOut="OptIn">
               
    <xen:avatar user="$visitor" size="s" />
                <textarea name="message" class="textCtrl StatusEditor Elastic" placeholder="{xen:phrase update_your_status}..." rows="1" cols="40" style="height:14px" data-statusEditorCounter="#visMenuSEdCount" data-nofocus="true"></textarea>
                <div class="submitUnit">
                    <span id="visMenuSEdCount" title="{xen:phrase characters_remaining}"></span>
                    <input type="submit" class="button primary MenuCloser" value="{xen:phrase post_verb}" accesskey="s" />
                    <input type="hidden" name="_xfToken" value="CSRF_TOKEN_PAGE" /><xen:comment>This will be updated in WidgetFramework_WidgetRenderer_RecentStatus::extraPrepare()</xen:comment>
                    <input type="hidden" name="return" value="1" />
                </div>
            </form>
 
Back
Top Bottom