vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Event Attendance 2.0 (https://vborg.vbsupport.ru/showthread.php?t=93782)

mhuckaby 01-24-2006 09:23 PM

Ok, I just figured it out. You cannot create an event that occurs on the day you create it. This plug-in I guess assumes that it's too late for people to sign-up. I created a new event at a future date and it works!

Thanks

:Judge: 01-26-2006 01:47 AM

Quote:

Originally Posted by magnus
Simple. I've done this on my forum.

AdminCP -> Plugin System -> Plugin Manager

Find "Event Attendance - add enroll to create form" and click [Edit]

Replace with:
Code:

if (($type!='recur') OR (($type=='recur') AND ($vbulletin->options['enroll_reoccur']))) {

$disablesmiliesoption.='<div><label for="cb_rollcall"><input type="checkbox" name="useroll" value="1" id="cb_roll" tabindex="3" '.$useroll.'  checked />'.$vbphrase['roll_allowenroll'].'</label></div>';

}

This will default to checked.

Thank You much :)

benzz0 01-27-2006 01:51 PM

very nice...Thanks!

Vtec44 01-28-2006 04:36 AM

Is it possible to allow Mod/Admins to remove people out from the list? :)

Gizmo999 02-01-2006 02:56 PM

I've applied James hack below but I can't now edit an event, clicking the edit button submits me as attending member :(

I'm working round it by running a testing template without the calendar roll template submit form hack, is there any other way of doing it??


Quote:

Originally Posted by James Goddard
I had PM'd arpy asking him to include this with the module but he seems to be AWOL.

Here is how you can add guests to this hack after it is installed:

calendar_roll template:

Find
PHP Code:

<else />
[<
a href="calendar.php?$session[sessionurl]do=getinfo&amp;ea=attend&amp;e=$eventinfo[eventid]">$vbphrase[roll_enroll]</a>]
</if> 

Replace with
PHP Code:

<else /> 
<
form action="calendar.php" method="post"
<
input type="hidden" name="do" value="getinfo" /> 
<
input type="hidden" name="ea" value="attend" /> 
<
input type="hidden" name="e" value="$eventinfo[eventid]/> 
[
I will be attending this event with <input type="text" name="guests" value="0" size=/> guests. <input type="submit" value="Submit" />] 
</
form
</if> 

Event Attendance - show/enroll plugin:

Find
PHP Code:

$roll[$vbulletin->userinfo['userid']] = $vbulletin->userinfo['username']; 

Replace with
PHP Code:

$info $vbulletin->userinfo['username']; 
$guests intval$_REQUEST['guests']); 
if (
== $guests
$info .= ' (' $guests ' guest)'
else if (
$guests 0
$info .= ' (' $guests ' guests)'
$roll[$vbulletin->userinfo['userid']] = $info



:Judge: 02-03-2006 07:34 AM

Quote:

Originally Posted by Gizmo999
I've applied James hack below but I can't now edit an event, clicking the edit button submits me as attending member :(

I'm working round it by running a testing template without the calendar roll template submit form hack, is there any other way of doing it??

I am also in the same boat as you, I cannot delete, move or edit. When I click "Go" nothing happens.

finn snor 02-15-2006 08:05 PM

I love this,

Is there a way to show a list of events a user has enrolled on the users profile ?

MythoLogy 02-15-2006 08:54 PM

*click installs - perfect for creating activity and building reputation for guild prizes, etc.

htscpl 02-18-2006 10:34 AM

Maybe I missed a fix but I keep getting an error message when I try to upload the xml file
Quote:

XML Error: xml processing instruction not at start of external entity at Line 1
Any idea on what I need to do to fix this?

Thanks for you help.

Henry :D

bada_bing 02-23-2006 04:18 PM

Will there be an update for vb 3.5.3 for this great hack?


All times are GMT. The time now is 04:27 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.01263 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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