The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Event Attendance 2.0 Details »» | |||||||||||||||||||||||||
This is an update version of the vB 3.0x "Event Attendance" hack found HERE. Thanks to Kentaurus for allowing redistribution.
I have rebuild/rewritten the hack for vB 3.5 - now it is no longer a hack but a plugin. No template modifications and no code modifications required. This plugin allows users to enroll for events. When a new event is created, the user can decide if this feature is available for this event. This plugin includes (from the 3.0x Version and Thread):
It does not include (from the old thread):
Additional Features:
Installation:
Known Problems:
If you upgrade from 3.0x:
I list the feature requests here - this does not mean that I will code it. If you are a coder feel free to code it and release it as addon or allow me to include it here.
Please click INSTALL if you like this plugin. Show Your Support
|
Comments |
#222
|
||||
|
||||
Doesn't work
I've inserted this <select name="partycount" size="1" onkeyup="doAttendCount();"> <option>Number of people</option> <option value="1">1</option> <option value="2">2</option> </select> but it insert just 1 also if I choose 2 Any suggestion? |
#223
|
||||
|
||||
Quote:
Code:
<p><strong><phrase 1="$rollcount">$vbphrase[roll_text]</phrase></strong></p> <if condition="$rollbits"> <ul> $rollbits </ul> <else /> <p><i>$vbphrase[roll_nobody]</i></p> </if> <if condition="$bbuserinfo[userid] > 0 && $show[enroll]"> <if condition="$show[userattending]"> <a href="calendar.php?$session[sessionurl]do=getinfo&ea=unattend&e=$eventinfo[eventid]">$vbphrase[roll_cancel]</a>] <else /> <!-- Number in Party field --> <input type="hidden" name="pc_surl" value="$session[sessionurl]"> <input type="hidden" name="pc_eventid" value="$eventinfo[eventid]"> <input type="hidden" name="pc_pharse" value="$vbphrase[roll_enroll]"> </br> <div id="attendlink"> <a href="calendar.php?$session[sessionurl]do=getinfo&ea=attend&e=$eventinfo[eventid]">$vbphrase[roll_enroll]</a> </div> </br> <div id="option_attendlink"> <select name="option_partycount" size="1" onchange="doAttend(this);"> <option>Number of people</option> <option value="1">1</option> <option value="2">2</option> </select> </div> <script language="javascript"> function doAttend(oSelect) { var i=oSelect.selectedIndex; var sVar; sVar= '<a href="calendar.php?'+document.calendar_showeventsbit.pc_surl.value+ 'do=getinfo&ea=attend&e='+ document.calendar_showeventsbit.pc_eventid.value + '&pc=' + oSelect.value+'">' + document.calendar_showeventsbit.pc_pharse.value+'</a>'; document.getElementById("attendlink").innerHTML = sVar; } </script> <!-- / Number in Party field --> </if> </if> |
#224
|
||||
|
||||
As before Louis I've to tank you very very much. Works like a charm and now is very very useful :banana:
|
#225
|
|||
|
|||
Will this allow people to put ANY note next to their name?
I.e. not just a number... If not, what modification might I make so that members can make a note next to their name? |
#226
|
|||
|
|||
Two other suggestions:
1-Add an option to show what time/date an event was added to the calendar. 2-Add an option to show what time/date a person signed up (despite the fact that it shows in order who signed up first, it would be useful to me for discrepancies) Thanks for your time---hope someone else finds these ideas worthwhile and can develop them.. |
#227
|
|||
|
|||
Do you know if the ability to pay to join an even is an option?
|
#228
|
||||
|
||||
Quote:
No, the way I wrote the modification will not allow individuals to put any note next to their name. Personally, the way the modification is currently written it is not very scalable from a data storage point of view. While it would be highly possible to add in code to allow people to put in ANY note next to their name coding would get fairly messy farily quickly when trying to adapt to the scalibility issue. I wonder what it takes to take someone eleses idea and do an extensive rewrite of it? |
#229
|
||||
|
||||
A very important question. Is this compatible with the upcoming version 3.6?
|
#230
|
||||
|
||||
Quote:
|
#231
|
|||
|
|||
can't work in 3.6........
waitting for |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|