![]() |
can someone update this for 3.6.0? i have it installed the only thing i can see that it is missing are the 2 links to enroll or unenroll....
|
Quote:
|
To allow an attendee to input an attendence count I did the following:
Template Edits In calendar_showeventsbit find (near top): Code:
<form action="calendar.php" method="post" > Code:
<form action="calendar.php" method="post" name="calendar_showeventsbit"> replace entire contents with: Code:
<p><strong><phrase 1="$rollcount">$vbphrase[roll_text]</phrase></strong></p> In Plugin System | Plugin Manager Edit: Event Attendance - show/enroll Find: Code:
($vbulletin->options['lateenroll'])) ? true : false; Code:
$inparty = $_REQUEST['pc']; Code:
$roll[$vbulletin->userinfo['userid']] = $vbulletin->userinfo['username'] Code:
$roll[$vbulletin->userinfo['userid']] = $vbulletin->userinfo['username'] . ", " . $inparty; Code:
$roll[$vbulletin->userinfo['userid']] = $vbulletin->userinfo['username'] . ", " . $inparty; Code:
vbmail("youremailaddress@yourdomainname.com", "Attend " . $eventinfo['title'], "Alias: " Code:
$rollcount++; Code:
list($usrName, $pcount)=split(",",$rollusername); Oh! and if you do use the send email do not forget to set the email address you want the event sent to. |
Quote:
|
Quote:
It puts an input box on the screen that enables the antendee to enter a number in party. |
:confused:
Quote:
|
Thank you!! Thank you!! Thank you!! Thank you!! Thank you!! Thank you!! I've made the modifications and everything work flawlessly :) The only thing I wasn't able to do was to find "$rollcount++;" but I'll search more deeply...
Thanks again |
Found a bug I think. The system work but the total number of people is always 1 for one person also if this person will attend in 2 or 3. For example
Andrea, 2 Tony, 3 John, 2 Will show as "There will be 3 people attending" and not "There will be 7 people attending". What do you think? Maybe is because I've not modified $rollcount++; ? |
Forget about my last post. Was because I have not updated $rollcount++
Wonderful work!!!!!! |
louis_chypher has done a wonderful work and everyhting is working very very well.
I've a suggestion for you... Instead of putting a text field where the user input the number, will be possible to have a popup menu with only the available values? I run a bikers club and when the people subscribe to the event, they could be just one or two people per bike so I would like to have a popup menu with the values of 1 or 2 so nobody can input numbers like 1.5 or -12 or 500... I suppose, but maybe I'm wrong that this is the code that draw the input box Code:
<input type="text" name="partycount" onkeyup="doAttendCount();"> Code:
<select name="partycount" size="1"> |
All times are GMT. The time now is 09:15 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|