vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Calendar Enhancements - Farcaster's Event Attendance (https://vborg.vbsupport.ru/showthread.php?t=129088)

Farcaster 01-31-2007 05:03 AM

Quote:

Originally Posted by nymyth (Post 1169888)
How do i make it so there is no "NO" or "MAYBE" option.....i only need YES??

anyway only ADMINS or MODS can see the full list of attendees.......members can only see themselves?

Peace

- You could edit the calendar_rsvp_form template and remove the Maybe and No options. Of course, that would prevent the user from removing their RSVP after they selected Yes the first time.

- You could probably accomplish that with conditionals in the template calendar_rsvp_bit

Farcaster 01-31-2007 05:12 AM

Hey, all. I wanted to let you know that I am working on the 1.2.0 revision now. There are going to be several new features, including an email add-on that will notify users at configurable intervals of upcoming events for which they RSVP'd, and prompt members who RSVP'd maybe to update their status when the event date is coming up. So, be on the lookout for an update email from me in the next week or so.

nymyth 01-31-2007 01:26 PM

^^any chance this update will have ONLY ADMINS or MODS and the user who rsvpd be able to see the RSVP list......and any bigger chance that we can run a script to pull out the names and emails of those that have rsvpd?? LOL...:fingersx"

Peace

evotion 02-02-2007 05:30 PM

Quote:

including an email add-on that will notify users at configurable intervals of upcoming events for which they RSVP'd, and prompt members who RSVP'd maybe to update their status when the event date is coming up.
Brilliant!!

This is a superb MOD anyway, thanks again...

I do have one question:

I have an extra created field, a 'word; which Users enter upon registration and this 'word' shows on their postbit under their avater....

Now, what I need is for that 'extra field' to show next to their username on the RSVP list of attendees. :up:

Elsewhere on the forum I have to place $post[field5] to show this 'word' where I wish.
However, I tried placing it in the calendarrsvpbit where it should go but it doesnt pick up the field. Obviously something to do with not being able to show that variable in that format.

Can you think of a way that I can show this information??

I had a thought that I need to create and extra field in the db and say that:

$post[field5] = $rsvp[field5]

But it seems a little drastic and probably completely wrong! :confused:

If you have any ideas I would appreciate hearing them !!

Thanks vm.

Kahuna900 02-02-2007 06:52 PM

Imported XML and added $rsvp_form to the template, but still see no changes.

Using vBulletin 3.6.4

:confused:

Farcaster 02-02-2007 08:01 PM

Quote:

Originally Posted by Kahuna900 (Post 1173182)
Imported XML and added $rsvp_form to the template, but still see no changes.

Are you using Event Forums? If so, there is an additional add-on required. Also, try setting up a new event on one of your calendars to see if the RSVP option shows up...

Juum 02-03-2007 03:33 AM

Hi,

Thanks for the mod, it is awsome! It does absolutley exactly what I need it for apart from one thing.

When you go into a specific event (and see the list of everyone who has RSVP'd), eg:

Yes -
Jim
Bob

Maybe -
John
Keith

etc.

Instead of it displaying the Vb username (in my example; Jim, Bob, John, Keith), is it possible to display whatever is in a custom field on the user profile? On my forum it is a requirement to fill in this custom field and want it to display here instead of their forum username.

Any help is much appreciated! Thanks again for an awsome mod :)

TorGa3iGhT 02-04-2007 08:24 AM

so I ran into the following problem:

http://img255.imageshack.us/img255/9...nceproboc7.jpg

i dont really know too much about php, so i'm having a problem trying to narrow down the cause of this.

I am running 3.5.4 with the event attendance 2.0 and also the farcaster event attendance plugin, and also installed the integration as well...thanks in advance!

TheMilkCarton 02-06-2007 06:18 PM

So, what if 100 people RSVP for the event... is it going to show 100 Usernames/Avatars all in the first post??

Are there any plans of "paginating" the RSVP list, or is this already a feature? I can't really test it out since I don't have 50 different usernames on my website. (It's not live yet)

Farcaster 02-06-2007 06:20 PM

Quote:

Originally Posted by TheMilkCarton (Post 1176186)
So, what if 100 people RSVP for the event... is it going to show 100 Usernames/Avatars all in the first post??

Yes.

Quote:

Are there any plans of "paginating" the RSVP list, or is this already a feature?

Not at this time, no.

TheMilkCarton 02-06-2007 06:26 PM

Thanks for the quick reply.

I've noticed one thing, and I'm wondering if you think it can be fixed. In IE7, the bullet does not appear to the left of the Avatar in the RSVP list, but to the right of it, in between the Username and Avatar, but it appears just fine in Firefox.

Are you aware of this inconsistency? I can probably browse through the code and fix it myself but I was hoping you know off-hand what to change.

Thank you, this is an amazing hack!!

TheMilkCarton 02-06-2007 06:43 PM

Quote:

Originally Posted by Farcaster (Post 1176188)
Yes.
Not at this time, no.

About the RSVP list.. this is a suggestion/thought/question about something you might be able to do.. I'm hoping it's possible, because it would be really great for when an RSVP list gets to be too large.

I was thinking about how to be able to cap the number of RSVP's to say, 25 per page inside of the first post, and I realized there is something very similar already in the User CP. I'm talking about the "Pre-defined Avatars" fieldset.

http://i59.photobucket.com/albums/g3...suggestion.jpg

I just thought it would be a really cool idea if you could limit the amount of RSVP's per page, and somehow utilize this code in your hack. I have no idea if this is even possible though, it probably requires AJAX stuff, and I certainly know that I'm not experienced enough to do something like that. :)

Of course the layout would be a bit different, there would be no radio buttons or dropdown menu, and then you'd have to include the RSVP comments and such, but do you think something like this would ever be possible?

I just thought it was a cool idea for the RSVP list and thought I'd share. Bye!

Farcaster 02-08-2007 05:49 AM

A new add-on is available for "Farcaster's Event Attendance" that adds an email notification system. To read more about it, visit: https://vborg.vbsupport.ru/showthread.php?t=138788

Enjoy!

JohnK 02-08-2007 10:23 AM

Quote:

Originally Posted by JohnK (Post 1139326)
Hi

I've just installed it and it looks great, but I have a couple of issues/requests.

It looks like you are using the global phrase "x_members_and_y_guests" on the calendar page, which gives a screwy result if you've edited that phrase (see attachment!)

I'd like to be able to have unlimited guests, and remove the various references to a limit. Is that something that could be done without too much trouble?

Finally, one for the wish list: it would be great if I could include some of the user's profile fields (memberinfo_customfields) in the list of attendees. Any chance of adding that sometime?

Thanks! :)

Just wanted to bump this please!

I see that several people have asked for profile fields to be included, and elricstorm has actually done it on his installation.

I really want to install this, but can't unless I get these issues sorted. Any hints would be appreciated! :)

Farcaster, what's in the pipeline for 1.2.0?

Thanks!

PennylessZ28 02-08-2007 04:28 PM

Keep up the great work, this kinda thing makes get togethers on my forum easier to plan.

Kahuna900 02-08-2007 06:01 PM

Quote:

Originally Posted by Farcaster (Post 1173232)
Are you using Event Forums? If so, there is an additional add-on required. Also, try setting up a new event on one of your calendars to see if the RSVP option shows up...

I'm not using Event Forums, and I did try setting up a new event but still no RSVP option. :(

Kahuna900 02-08-2007 06:37 PM

Okay, I got it to work on calendar #2, but it's not working in calendar #1.

Farcaster 02-08-2007 07:02 PM

Quote:

Originally Posted by Kahuna900 (Post 1177782)
Okay, I got it to work on calendar #2, but it's not working in calendar #1.

Have you checked the include and exclude calendar settings under the options? If it is not working on a pariticular calendar, it might be eliminated by one of those settings.

Kahuna900 02-08-2007 08:00 PM

Quote:

Originally Posted by Farcaster (Post 1177805)
Have you checked the include and exclude calendar settings under the options? If it is not working on a pariticular calendar, it might be eliminated by one of those settings.

Yes, both values are empty.

Juum 02-17-2007 11:11 PM

Quote:

Originally Posted by Juum (Post 1173443)
Hi,

Thanks for the mod, it is awsome! It does absolutley exactly what I need it for apart from one thing.

When you go into a specific event (and see the list of everyone who has RSVP'd), eg:

Yes -
Jim
Bob

Maybe -
John
Keith

etc.

Instead of it displaying the Vb username (in my example; Jim, Bob, John, Keith), is it possible to display whatever is in a custom field on the user profile? On my forum it is a requirement to fill in this custom field and want it to display here instead of their forum username.

Any help is much appreciated! Thanks again for an awsome mod :)


bump. any idea's on this anyone? :/

Thanks!

GrandAmGuru 02-19-2007 12:01 PM

Possible suggestion for a future release:
* set it so admins can go in and edit other members RSVP or comments

Right now I can do it with another hack that lets me login as a member, but it would be nice to be able to edit the RSVP's from the event listing page.

Caster 02-20-2007 12:57 AM

I tried search the thread, but I wasn't able to find anything. I'm trying to let my members RSVP to an event from outside the calendar. I figrued I would just insert the fields into the database myself, but I'm having a little trouble figuring out what "ocdate" is exactly. I was able to find this part in the XML script and I found that that the ocdate field is inserted into the db by the $rsvpdate variable.

PHP Code:

// If the parameter wasn't passed, and this is recurring, get next event from today.
    
if ($eventinfo['recurring'] AND !$rsvpdate) {
        
DEVDEBUG('Fetching date from next event date');
    
        
$gettime TIMENOW  $vbulletin->options['hourdiff']; 

        
// find next occurence within one year.
        
while ($iterations 365)
        {
            
$addcache false;
            
$todaydate getdate($gettime);
            
            if (
cache_event_info($eventinfo$todaydate['mon'], $todaydate['mday'], $todaydate['year'], 1false))
            {
                
$rsvpdate gmmktime(000$todaydate['mon'], $todaydate['mday'], $todaydate['year']);
                
$iterations 999999;
                
DEVDEBUG('Fetched - '.$rsvpdate);
            }

            
$iterations++;
            
$gettime += 86400;
        } 
// end while loop
    
    


I figured that the $gettime is the time and the hour difference, the getdate function puts the unix time into an array and is then converted using gmmktime. What I don't understand is the if statement

PHP Code:

if (cache_event_info($eventinfo$todaydate['mon'], $todaydate['mday'], $todaydate['year'], 1false)) 

and how you're able to find out the next event date (if that matters at all or has anything to do with the "ocdate").

Thanks for the great mod! :D

Farcaster 02-20-2007 01:16 AM

Caster,

ocDate means "Occurrence Date". Since events can be ranged or recurring, the ocDate field is used to determine what date the member was looking at when they RSVP'd. That uniquely ties an RSVP to a day of an event. ocDate is always set to midnight GMT of the day the event, or instance of the event, occurs. Normally, the ocDate can be determined by looking at the "day" parameter from the query string, but if the day isn't passed, the code then attempts to get the date by a couple different methods:
  • If the event is recurring, it looks at the present date and then goes out up to 365 days looking for a recurrence of the event. The first future date the event recurs on will be used.
  • If it is a single day event, then it uses the dateline_from, which is already set to midnight GMT.
  • If the event is ranged, then it is set to midnight GMT of the first day of the event.
All of those methods are only used of a specific day is not specified in the query string.

I hope that helps.

Caster 02-20-2007 01:25 AM

The thing is the events that the members will be rsvping to are all recurring events and I didn't figure out how you found out what day the next event is going to be on.

Edit: Well since they're weekly events, could I figure it out by just multiplying 86400 by 7 (days a week) and adding that to the $gettime?

Thanks for the quick reply as well!

Farcaster 02-20-2007 01:49 AM

Quote:

Originally Posted by Caster (Post 1186429)
I figured that the $gettime is the time and the hour difference, the getdate function puts the unix time into an array and is then converted using gmmktime. What I don't understand is the if statement

PHP Code:

if (cache_event_info($eventinfo$todaydate['mon'], $todaydate['mday'], $todaydate['year'], 1false)) 


In this statement, I am piggybacking on the existing vBulletin functionality. cache_event_info returns true if the event the event array that is passed ($eventinfo) is found to occur on the specified month, day and year that are passed from $todaydate. In order to use this function, you will need to include "functions_calendar.php" in your program.

Caster 02-20-2007 02:22 AM

Oooo okay, I'll give it a shot. Thanks for the help and the mod! =]

Farcaster 02-20-2007 04:52 AM

A new version of the RSVP hack is now available for download. I wish I had the time to get to all of your requests, but I did implement a couple of features which have been heavily requested.

NOTE: This hack may or may not work for 3.5.x. I am no longer supporting that version as I do not have a 3.5.x test board to work with. Only 3.6.x is supported.

Feature: RSVP Moderation
This new feature allows selected user groups and event owners to delete RSVPs from an event. There are two new settings in the options menu that support this feature. "Owner Moderation" allows you to configure whether or not the original event poster will be able to remove RSVPs from their own event, and the option "Moderator Groups" allows you to specify user groups that can remove RSVPs from any event. Sorry, this is not specific to the calendar.

Feature: RSVP Expiration System
By setting the option "RSVP Expiration" to yes (default), event posters can setup the RSVP form to close within a certain time frame before the event start time. The poster can specify a number of days, minutes, hours and seconds. If not otherwise specified, the RSVP will close once the event has started. For single day events, the RSVP form defaults to remain available until the end of the day (11:59pm) and the event expire time will work backwards from that time.

If you do not want events to ever expire, you can turn the entire system off in the options window.

Bug Fix: Changing the date or recurring options of an event now removes all RSVPs.
This resolves a problem where the Email Addon might send a user a false notification about an upcoming event after the event date options had been modified.

ADDED GLOBAL PHRASES
- minutes
- seconds

ADDED CALENDAR PHRASES
- calendar_rsvp_changeby
- calendar_rsvp_maychangeby
- calendar_rsvp_closed
- calendar_rsvp_expires

TEMPLATE CHANGES
- calendar_rsvp_form
- calendar_rsvp_bit

Quantnet 02-20-2007 05:26 AM

updated

WATRD 02-20-2007 01:02 PM

Okay, I am not seeing it, where do I go to moderate RSVP's?

Also, when setting the RSVP expiration, it looks like the word "hours" is missing. I see:

"Time Before Event to Close RSVP: Days Minutes Seconds"

There's a box, but no legend for it. It might be confusing to users.

Farcaster 02-20-2007 01:05 PM

Quote:

Originally Posted by WATRD (Post 1186688)
Okay, I am not seeing it, where do I go to moderate RSVP's?

Also, when setting the RSVP expiration, it looks like the word "hours" is missing. I see:

"Time Before Event to Close RSVP: Days Minutes Seconds"

There's a box, but no legend for it. It might be confusing to users.

WATRD, what version of vBulletin do you run? And, you should see the option to remove RSVPs on the event display screen next to each name.

WATRD 02-20-2007 01:11 PM

I am running 3.6.0 at this point.

I don't see anything next to the names. I have admin rights and I set the moderator groups to 5,6,7.

WATRD 02-20-2007 01:22 PM

I just spotted this in the other thread...

"Please note that version 1.0.1 of this hack is NOT compatible with "Farcaster's Event Attendance" version 1.2.0 yet. I am working on updating this hack and I will send out an update when it is ready."

I am running that as well...

Farcaster 02-20-2007 02:02 PM

That's it there. If you are using the Event Forums integration hack, you need to wait to use version 1.2.0 until a new version of the integration hack is released -- which I hope to have done very soon. In your case, you also need to add a global phrase called "hours" with the word "Hours" in it. That will take care of the form display issue. In version 3.6.4, this phrase definitely already exists.

jgommel 02-20-2007 03:52 PM

I'm not entirely sure if this is the right place for this, but I was sitting here thinking of possible future add-ons or enhancements to the Farcaster series...

Possible USERCP add-on?

You know how newly subscribed Threads or Forums display under the USERCP, or if your using an add-on like vS Invites, the "Issue New Invite" displays at the top? Wouldn't it be cool if after a user RSVP's an event or two etc... all the "Yes" and "Maybe" RSVP'd events show under the USERCP? Specific columns I envision (not necessarily in this order) are: The event (linked to calendar/event), Date of event, Days until event, Guests, Status (Yes or Maybe only).

You could also separate the statuses by putting the "Yes" and "Maybe" in their own section, one above the other.

Now this may be pushing it, but?. you could also put a "Change Status" button at the end of each row, or use the check box option and a drop down list at the bottom with "Yes, Maybe and No". If a user changes their status to "No", the event is removed from the USERCP. I can think of multiple options for changing the status, but you get the idea.

Basically the user would be able to manage all their RSPV?d events in one area (or they can go thru each calendar event and manage them individually).

Edited: After re-reading my post, I decided that it actually would make sense to add the RSVP'd events a user might have said "No" to as well. This way if the user does change their mind and decide that they can attend a particular event, they could change their status. So now you would see 3 seperate sections, one on top of another (Yes, Maybe, No).

:confused: You?re thoughts?

Farcaster 02-20-2007 03:55 PM

That's a pretty good idea, jgommel, and not very hard to do with the current architecture. I will see if I can get that in the next revision.

ricker 02-20-2007 03:57 PM

Thanks Farcaster - YOU ROCK!! I sent a donation your way. Everyone else should too!

jgommel 02-20-2007 04:03 PM

Quote:

Originally Posted by Farcaster (Post 1186798)
That's a pretty good idea, jgommel, and not very hard to do with the current architecture. I will see if I can get that in the next revision.



Thanks! My paintball team LOVES the Farcaster and calendar mods in general - we schedule events and practices way into the future, so I started thinking of ways to make event management easier on the team and anyone else that signs up for an event. I have other ideas brewing as well -- I can definitely keep you busy :D .

WATRD 02-20-2007 04:34 PM

Quote:

Originally Posted by Farcaster (Post 1186729)
That's it there. If you are using the Event Forums integration hack, you need to wait to use version 1.2.0 until a new version of the integration hack is released -- which I hope to have done very soon. In your case, you also need to add a global phrase called "hours" with the word "Hours" in it. That will take care of the form display issue. In version 3.6.4, this phrase definitely already exists.

I was afraid you were going to say that... any idea on a time frame? This version contains some features I have been looking for.

"Hours" has been successfully added :)

Farcaster 02-21-2007 04:02 AM

Quote:

Originally Posted by WATRD (Post 1186829)
I was afraid you were going to say that... any idea on a time frame? This version contains some features I have been looking for.

"Hours" has been successfully added :)


Does now work for you? ;)

The Event Forums Add-On has been updated to work with version 1.2.0. Enjoy!

WATRD 02-21-2007 04:07 AM

Quote:

Originally Posted by Farcaster (Post 1187242)
Does now work for you? ;)

The Event Forums Add-On has been updated to work with version 1.2.0. Enjoy!

Working GREAT! As always, you are an asset to the VB world!

Thanks again!


All times are GMT. The time now is 06:50 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.01878 seconds
  • Memory Usage 1,877KB
  • 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
  • (3)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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