PDA

View Full Version : Add-On Releases - Farcaster's RSVP Events on Profile


Farcaster
07-20-2007, 10:00 PM
This is an add-on enhancement to Farcaster's Event Attendance that will add a list of events a member is attending to his profile page.

Features:
Adds a list of events the member is attending to his profile.
The RSVP's shown can be limited by the response (Yes, No, Maybe) in the option group "Farcaster's Event Attendance"
Events can also be limited by a range of days before or after the current day, or you can list all events regardless of when they occurred with a setting in the option group "Farcaster's Event Attendance"
Uses the viewer's permissions and only displays the event if the viewer has access to that calendar.
Any of the following can be used in the event list: RSVP date, Response, # of Guests, Event Title, Event Description. Prerequisites:
Farcaster's Event Attendance (https://vborg.vbsupport.ru/showthread.php?t=129088) 1.1.0 (or newer)

Updating
1. Use the Product Manager to import the product file product-rah_rsvp_profile_1_0_3.xml and allow overwrites.


Installation
- 1 XML upload
- 1 Template Edit

1. Use the Product Manager to import the product file product-rah_rsvp_profile_1_0_3.xml
2. Modify the RSVP Member Profile options as needed under "Farcaster's Event Attendance" in the options menu.
3. In the MEMBERINFO template, find:
$footerAbove that, add:

$rsvpsRevision Log:
1.0.0 - 07/21/07 - Initial Release
1.0.1 - 07/21/07 - Bug Fix - Corrected foreach loop bug.
1.0.2 - 07/23/07 - Minor Revision - Changed sort order for events to be listed in the order they are occurring.
1.0.3 - 08/21/07 - Bug Fix - Corrected uninitialized array bug.

Known Bugs:
None.

Phrases:
rah_rsvp_on = on
rah_rsvp_between_x_y = Between {1} and {2}
rah_rsvp_since_x = Since {1}
rah_rsvp_until_x = Up to {1}
rah_rsvp_with_x_guests = with {1} guest(s).
rsvp_attending = Events Member is Attending
rsvp_noevents = No events found.

Templates:
memberinfo_rsvps - The panel surrounding the events.
memberinfo_rsvp_bit - The individual events line. This is the template you would modify if you want to change the fields or order of the fields.

mhc1576
07-21-2007, 10:57 AM
I got:
Warning: Invalid argument supplied for foreach() in /home/site/www/forums/member.php(825) : eval()'d code on line 109

vB 3.6.5 PHP 4.4.4 Mysql 5.0.18

Farcaster
07-21-2007, 11:06 AM
Hmm.. Odd, I wasn't getting any kind of message like that. Nonetheless, I think I fixed it for you. Download the updated version and try it again. Of course, I'm working with PHP 5, so it may not throw warnings for that particular issue...

mhc1576
07-21-2007, 11:22 AM
Thanks, works perfect!!

Your event mods are really appreciated by my users.

TheMilkCarton
07-21-2007, 11:29 AM
Amazing work. *Installed*

Hopefully I'll be able to play with the plugin/templates so that it displays RSVP's from one calendar in one table and RSVP's from another in a separate table. I use one calendar for Attending Yes/No and another calendar for Buying Yes/No, so it would be odd to have all those in one table. :)

Or maybe that could be a potential upgrade to this hack? (Separating calendar IDs) :) :)

2impulsiv
07-21-2007, 02:27 PM
Thanks this is a good add on for sure.

Another quality hack from you Farcaster..


Works great on my 3.6.7 board.


:)

FleaBag
07-21-2007, 03:35 PM
Thank you Farcaster.

ThorstenA
07-21-2007, 05:47 PM
Very great idea! My suggestion: Show also event title.

Farcaster
07-21-2007, 06:46 PM
Very great idea! My suggestion: Show also event title.

It does show the title.

htscpl
07-21-2007, 08:40 PM
Great add on! Thanks for all the work you put into these hacks. ** clicks installed **

jgommel
07-22-2007, 12:52 AM
Works perfectly. Is there a way to change the sort order so that it displays the events in the order they will occur instead of putting the oldest at the top of the list? I have mine set to show me 90 days worth of events (Events Member is Attending Between July 14th, 2007 and October 19th, 2007), but the first event displayed is: Maybe - Port Moresby - Kokoda Track on October 12th, 2007 and the last event: No - Xander's Gambit- Practice July 21st: 10 AM till 4PM on July 20th, 2007

SLY LS1
07-22-2007, 03:45 AM
Great mod, to easy, ** clicks installed **

Cheers
SLY

kai3k
07-22-2007, 07:33 AM
Thank you Farcaster! :up:

Farcaster
07-22-2007, 05:05 PM
Works perfectly. Is there a way to change the sort order so that it displays the events in the order they will occur instead of putting the oldest at the top of the list?

It should already be ordering them by the date, from newest to oldest. Are these ranged or recurring events? PM me with the URL so I can check it out.

SirFlash
07-23-2007, 04:21 AM
Installed as directed on 3.6.4, works perfectly, thank you so much! Excellent hack! I'm nominating this for MOTM! *Clicks installed*

TheMilkCarton
07-23-2007, 01:08 PM
Hopefully I'll be able to play with the plugin/templates so that it displays RSVP's from one calendar in one table and RSVP's from another in a separate table. I use one calendar for Attending Yes/No and another calendar for Buying Yes/No, so it would be odd to have all those in one table. :)

Or maybe that could be a potential upgrade to this hack? (Separating calendar IDs) :) :)

I was able to separate two different Calendar IDs into two different $rsvp blocks in my profiles fairly easily if anyone would like instructions.

Also, Farcaster.. any reason ORDER BY ea.ocdate DESC"; is set this way? It puts the events in reverse order of when they will be occurring.

Farcaster
07-23-2007, 04:59 PM
Good point. I've removed the DESC so that events will now be sorted by the date the are occurring in ascending order. Version 1.0.2 has this correction.

popowich
07-24-2007, 12:04 AM
Hello,

When I have the product enabled my member profiles become a blank page regardless of whether or not I add the $rsvps line to the memberinfo template. I will PM you my existing memberinfo template that works OK in case you are interested. I do have the GARS show last X threads module in that template too.

-Raymond

jgommel
07-24-2007, 01:11 AM
Good point. I've removed the DESC so that events will now be sorted by the date the are occurring in ascending order. Version 1.0.2 has this correction.

Thank you! This was what I was talking about in my PM a few days ago.

Farcaster
07-24-2007, 03:15 AM
I do have the GARS show last X threads module in that template too.

Raymond, have you tried disabling the other product to see if it starts working after that?

2impulsiv
07-24-2007, 07:06 AM
Thanks for the update..

:)

concepts
07-24-2007, 07:43 PM
Installed, Im preparing to move my boards from one site to another... and trust when I say its going to be HOT! thankyou for this mod! its perfect for what I am working on.

Installed and Nominated

GrandAmGuru
07-25-2007, 12:05 PM
Any possiblity of getting a 3.5.x version of this? I tried this version on my 3.5.5 board and when you viewed a profile I got a db error.

Farcaster
07-25-2007, 09:23 PM
Any possiblity of getting a 3.5.x version of this? I tried this version on my 3.5.5 board and when you viewed a profile I got a db error.

I don't have a 3.5.x test board any more, so I do not test my mods with that version. What was the DB error though, maybe I can tell you how to fix it.

glennno
08-06-2007, 04:40 PM
Is there a way to see the events YOU'VE RSVP'd for on your UserCP?

rainyleaves
08-15-2007, 10:05 AM
Thanks for this mod & all about your mods.

I got this error.
Fatal error: [] operator not supported for strings in /home/****/public_html/forums/member.php(838) : eval()'d code on line 635

How can I fix?

Thanks :)
* VB3.6.8

Farcaster
08-20-2007, 09:41 PM
Rainyleaves,

It sounds like there is another hack running before this one on the member_complete hook. Try changing the order for the "Add Member's RSVPs to Profile" plugin from 5 to 1. If you are still getting the error, let me know what the new line number is where it currently says "eval()'d code on line 635"

rainyleaves
08-21-2007, 02:14 AM
Thanks for your time.
I try changing the order for the "Add Member's RSVPs to Profile" plugin from 5 to 1.
I got this error.
Fatal error: [] operator not supported for strings in /home/quadnine/public_html/forums/member.php(838) : eval()'d code on line 9

Thanks.

Farcaster
08-21-2007, 08:20 PM
Rainyleaves,

I uploaded a new version that should fix this problem. Download version 1.0.3 and let me know if that takes care of it for you.

rainyleaves
08-22-2007, 06:26 AM
Very Thanks!!!!
Works great. Just click installed.
And click MOTM.

Thanks for your time. :)

Canis Firebrand
08-24-2007, 04:22 PM
That fixed my issue as well. I never got around to posting, but I had the same problem where when I installed the plugin, I would get a blank member info page with the error in post #26. Now, it works perfectly and I can see the RSVP's in members profiles.

Thanks again.

glennno
10-11-2007, 01:53 PM
The Farcaster's RSVP mods are my favorite mods. One issue I'm having:

In member's profiles, under "Events Member is Attending," the event dates are wrong -- they are a day early.

The time of the events is early evening, so it's not near the midnight mark. And the dates are correct on the actual RSVP pages and on the calendar.

Any idea how I can get in there and fix this, without making everyone re-RSVP?

Thank you!

powerful_rogue
11-06-2007, 10:22 PM
Does anyone know of a mod thats been created so this can also be added to your zoints profile on the forum?

Farcaster
11-14-2007, 09:21 PM
In member's profiles, under "Events Member is Attending," the event dates are wrong -- they are a day early.

The rsvps are stored in GMT, so I don't think you need to get anyone to re-rsvp. It sounds like something is wrong with the way the hack is converting the date to the user's local time. I'll look into it.

dismas
11-28-2007, 06:08 PM
*Installed*

All your events mods are great additions to my club's site. They should really make the communication issues that we've had in the past be forgotten.

I do have one minor request though, is there a way for this to also be shown in the same table as, or in a table just below, the upcoming events table? Basically, so that the user can see the events that are coming up and also see the events that they've RSVP'd to all in one place. Perhaps on the forumhome.

Thanks again for these mods!

dismas
12-03-2007, 07:56 AM
The rsvps are stored in GMT, so I don't think you need to get anyone to re-rsvp. It sounds like something is wrong with the way the hack is converting the date to the user's local time. I'll look into it.

Oh, and I look forward to a fix for this as well.

IvyKeepMommy
12-30-2007, 02:06 PM
I loved this mod, but have recently upgraded to the 3.7 beta and it no longer displays because of all of the changes to the user profile... I'd be interested in a 3.7 version (whenever you have a chance) :)

Caerydd
01-23-2008, 10:59 AM
Just wanted to say thank you for this ^^ I will be waiting to upgrade to 3.7.x when Event Forums & Event Attendance are revised for 3.7 :) Excellent work.

powerful_rogue
03-18-2008, 09:35 AM
Hi Farcaster,

Will you be making an update for 3.7.0 at all? :D

fulviods
04-01-2008, 11:23 PM
In fact... do you think there will be an update of this mod?

abrecher
04-17-2008, 09:27 AM
Hi Farcaster,

Will you be making an update for 3.7.0 at all? :D

I take it that it's no longer supported

Caerydd
04-17-2008, 12:09 PM
He has indicated elsewhere that he will update them when 3.7 goes gold.

insidedesign
05-02-2008, 01:17 PM
Looking forward to a 3.7 update :)
Will make donation once I have some money :)

IvyKeepMommy
05-04-2008, 11:53 AM
Looking forward to the 3.7 gold version :D Fantastic hack and my members have asked me if I could put it back... they miss it since we lost it with 3.7

Tom_S
05-06-2008, 04:11 AM
Works just fine with Gold as is ;)

pcoskat
06-17-2008, 01:01 PM
Works just fine with Gold as is ;)

Good to know - thanks!

Elenna
06-24-2008, 11:02 PM
The rsvps are stored in GMT, so I don't think you need to get anyone to re-rsvp. It sounds like something is wrong with the way the hack is converting the date to the user's local time. I'll look into it.

I am having the same issue with the dates in the profile showing a day early. Was there ever a fix for this? Looking at the code, it looks like it should take their time zone offset into account. Perhaps a fix is as easy as adding 86400 (1 day in seconds) to the code?

kai3k
08-28-2008, 09:47 PM
Yes, it works on 3.7.x

BUT: How can this mod be modded so that the profile design also changes the color/style of the "attend"-area?

Maddogz420
09-07-2008, 11:06 PM
Is there any way to make this show the events that you've created in the same list as well?

SamirDarji
06-14-2009, 01:36 PM
It won't allow me to run this and Farcaster's Event Attendance & vb Event Forums Integration. :( What am I doing wrong?