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)

DemoniK_AK 01-20-2011 02:47 PM

1 Attachment(s)
I've been struggling for a while with this MOD but wanted it so much.
Finally got some time.


I took OlijO xml file and fixed the following and confirmed it working on 4.1.0pl2

Line 105: rsvp:var rsvp.comment problem
- changed to vb:var rsvp.comment
Previous
Code:

        <vb:if condition="$rsvp[comment] AND $maxlength"> - <i>{rsvp:var rsvp.comment}</i></vb:if></li>
New
Code:

        <vb:if condition="$rsvp[comment] AND $maxlength"> - <i>{vb:var rsvp.comment}</i></vb:if></li>
Line 359: array_lower() problem
- modified the check to ensure array_lower gets created
Previous
Code:

        // define functions for array_walk, if not already defined.
        if (!function_exists('array_trim') and !function_exists('array_trim')) {

                function array_trim(&$item, $key)
                {
                    $item = trim($item);
                }

                function array_lower(&$item, $key)
                {
                    $item = strtolower($item);
                }
                       
        }

New
Code:

        // define functions for array_walk, if not already defined.
        if (!function_exists('array_trim') and !function_exists('array_trim')) {

                function array_trim(&$item, $key)
                {
                    $item = trim($item);
                }
        }
        if (!function_exists('array_lower') and !function_exists('array_lower')) {
                function array_lower(&$item, $key)
                {
                    $item = strtolower($item);
                }
                       
        }

Modified File is attached.
Hope it helps some of you out.

jgt58 01-20-2011 10:28 PM

works perfect now!

sweetpotato 01-21-2011 08:48 AM

Not work for me, so sorry because I like this Mod so much,

DemoniK_AK 01-21-2011 04:28 PM

Quote:

Originally Posted by sweetpotato (Post 2152311)
Not work for me, so sorry because I like this Mod so much,

What issue are you seeing?
I have a little spare time at the moment - if you want to PM me an account on your site I could check it out and see if there's anything I can do..
Can't promise anything - but if it's a quick fix we might get it sorted.

EDIT: Just to be clear - a user account with event creation, subscription and response permissions is what I need - not admin. I'll get you to screenshot anything I need from admin.

sweetpotato 01-22-2011 08:44 AM

Quote:

Originally Posted by DemoniK_AK (Post 2152479)
What issue are you seeing?
I have a little spare time at the moment - if you want to PM me an account on your site I could check it out and see if there's anything I can do..
Can't promise anything - but if it's a quick fix we might get it sorted.

EDIT: Just to be clear - a user account with event creation, subscription and response permissions is what I need - not admin. I'll get you to screenshot anything I need from admin.

Thank you for your help. It seems to work on my site now. At first when add RSVP and submit it turned blank page and now when I create a test account it works.

I love this Mod so much because events are so important for my site.

Thank you for what you and other friends have provided for my site.

Notice: The super admin can not respond to RSVP, it turn blank page. Other members can respond successfully

stud 01-22-2011 03:57 PM

Quote:

Originally Posted by DemoniK_AK (Post 2151971)
Modified File is attached.
Hope it helps some of you out.

Thanks DemoniK! That fixed my {rsvp:var rsvp.comment} error.
I was also having the "Invalid" issue - which removing SMnet's vB Event Forums improvements fixed

swat73david 02-02-2011 05:39 AM

Quote:

Originally Posted by DemoniK_AK (Post 2151971)
I've been struggling for a while with this MOD but wanted it so much.
Finally got some time.


I took OlijO xml file and fixed the following and confirmed it working on 4.1.0pl2

Line 105: rsvp:var rsvp.comment problem
- changed to vb:var rsvp.comment
Previous
Code:

        <vb:if condition="$rsvp[comment] AND $maxlength"> - <i>{rsvp:var rsvp.comment}</i></vb:if></li>
New
Code:

        <vb:if condition="$rsvp[comment] AND $maxlength"> - <i>{vb:var rsvp.comment}</i></vb:if></li>
Line 359: array_lower() problem
- modified the check to ensure array_lower gets created
Previous
Code:

        // define functions for array_walk, if not already defined.
        if (!function_exists('array_trim') and !function_exists('array_trim')) {

                function array_trim(&$item, $key)
                {
                    $item = trim($item);
                }

                function array_lower(&$item, $key)
                {
                    $item = strtolower($item);
                }
                       
        }

New
Code:

        // define functions for array_walk, if not already defined.
        if (!function_exists('array_trim') and !function_exists('array_trim')) {

                function array_trim(&$item, $key)
                {
                    $item = trim($item);
                }
        }
        if (!function_exists('array_lower') and !function_exists('array_lower')) {
                function array_lower(&$item, $key)
                {
                    $item = strtolower($item);
                }
                       
        }

Modified File is attached.
Hope it helps some of you out.

This has fixed my comment issue. Thank You

Wood 20th* 02-02-2011 02:21 PM

Thanks for this..

But does anyone know how I would add an attachment feature to the add event editor when creating an event.
The only features it currently has for the calender are

Allow HTML
Allow BB Code
Allow [IMG] Code
Allow Smilies

I would like to add an attachment say maybe zip file so people who RSVP to the event can download the attachment prior to the event.

hiker 02-07-2011 02:43 PM

Quote:

Originally Posted by DemoniK_AK (Post 2151971)
Modified File is attached.
Hope it helps some of you out.

This works for me. Thanks.

Wood 20th* 02-07-2011 11:22 PM

Quote:

Originally Posted by Wood 20th* (Post 2157794)
Thanks for this..

But does anyone know how I would add an attachment feature to the add event editor when creating an event.
The only features it currently has for the calender are

Allow HTML
Allow BB Code
Allow [IMG] Code
Allow Smilies

I would like to add an attachment say maybe zip file so people who RSVP to the event can download the attachment prior to the event.


I guess not. :(


All times are GMT. The time now is 05:08 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.01906 seconds
  • Memory Usage 1,757KB
  • 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
  • (8)bbcode_code_printable
  • (6)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