![]() |
Quote:
I'll leave it to the hacker to mod/display. Christian |
Quote:
Done a few modifications locally and if the author wants me to post them, just nod :) I don't like stomping on others hacks beyond giving support... these are features though so let me know if you want them. The changes I've done are: * Case in the event template to prevent guests from adding attendance (Google Spiders). * Sorted the $roll array using natural sorting to make it more readable when it's large * Add links through to the member profile page of the members in the $rollbits * Corrected the HTML label in the edit template so that it functions Erm, think that's all. Nothing too difficult as you've done such a stunning job already :) |
Quote:
|
Quote:
This is what I sent to the first person that asked: In calendar.php the block of code you would have adjusted following: PHP Code:
PHP Code:
Code:
<li><a href="member.php?u=$rolluserid">$rollusername</a></li> Code:
<p><strong>People attending this event</strong>:</p> Code:
<div><label for="cb_roll"><input type="checkbox" name="useroll" value="1" id="cb_roll" tabindex="3" $useroll />Allow users to specify that they will be attending this event.</label></div> |
Thanks! Could you edit your post and take out my email? I edited mine because if not I'll get blasted with spam. :)
|
Awesome! Thank you, thank you, thank you!
|
Quote:
There is a small bug, here is the description and fix for it. If you have multiple events on the same day using the event attendance hack, and then view the day via the calendar... which lists all events on that day. In this scenario the roll from event 1 is added to event 2, and 1 + 2 are added to event 3. This occurs because a loop in calendar.php does not unset the rollbits HTML each time it starts processing a new event. The fix is to find within calendar.php this: PHP Code:
PHP Code:
Cheers David K |
Ihave one problem.
I have completely no idea at all how to create templates that are need. All help I have found so far, don't actually tell u how to do it. IE the ################################################## ########### # New template: calendar_roll ################################################## ########### and ################################################## ########### # New template: calendar_rollbit ################################################## ########### |
Quote:
|
Now the only problem i have is the 2 PHP files won't work
I have had to upload the original version :o DOH!!!! Just ignore me, I'm was having a blonde moment |
All times are GMT. The time now is 09:13 AM. |
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:
|