vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Event attendance (https://vborg.vbsupport.ru/showthread.php?t=63460)

SamirDarji 10-29-2004 05:24 PM

Since not everyone that says they're coming attends, I was thinking to keep it at "I will be attending", just not editable after the day of the event passes. This way, some people could edit it if they changed their mind before the event and even a little while after, but otherwise it you could see who planned on coming and then who actually did.

bendigo-tech 11-01-2004 04:58 AM

Is there a simple of doing the following:

When someone clicks on "I will be attending", a small window pops up with a box to type in a name and a Submit button. Once you click the submit button, your Username, First Name, Surname and the entry in the box is posted to a webpage accessible only by the administrator of the forums. Each entry must be able to be deleted.

If it isn't too hard to set something like this up, would someone be able to help me out with it please?

Thanks.

Steve123 11-03-2004 07:30 AM

Hi,

I made a hack like this a while ago for vb2 then made one for vb3..

Never got the time to release it tho :(..

example of what i done is in the attachments...

It also moves the forums to past parties forum after 3 days of the date of the party..

also can do timetables etc..

msg me if u want the code..

Benj 11-03-2004 07:36 AM

thats cool

Symbian.info 11-03-2004 09:29 AM

He Steve I like to have the code, And more people I think. So please send it to me or make a new thread

nexialys 11-03-2004 01:48 PM

Steve.. just post the files as an attachement here, Kentaurus or me will take care to add if possible... with the proper credits!

attroll 11-03-2004 03:58 PM

If you do start a new thread please post the thread here.

I am very interested in this code, Since no one will release the code for this one with all the changes and hackes that have been done to it to get it working from the original post.

SamirDarji 11-03-2004 05:13 PM

I too am interested in this code. Has anyone received the code from a PM yet?

MonkeyBoy 11-03-2004 10:10 PM

I'm after a hack like this where to verify you are going you have to make a payment and then admin/moderator changes the persons status.
I'm after it for a LAN Party.
Any chance of this happening?

theArchitect 11-03-2004 11:30 PM

Hmmm. I must have got something wrong during the install as it is not working on my forum. When I add an event and click on the "User Roll Call" option the info in your attached screen shot 1 does not appear. So I can't click on the "I will be attending this event".

For some reason the calendar is not calling the new template calendar_roll. I have checked in my Style Manager and the template is there.

Any thoughts?

Edit:

On further testing the problem seems to be with the DB remembering that Use Roll Call has been selected. I went into an event that I added and click on the option. Then edited the event and Use Roll Call was not selected. I ran both of the Queries:

Code:

alter table event add useroll tinyint not null;
 
 alter table event add roll text not null;

Separately in the AdminCP and it altered 26 rows for each query. But the function is still not being remembered.

Steve123 11-05-2004 07:04 AM

Hey people..

sorry i will release the code ASAP.. works VERY busy atm..

should get time this weekend..

i must warm you.. i made this when i was still new to php(still am) some of it might be a bit dodgy :P will reply soon

SamirDarji 11-05-2004 06:04 PM

Look forward to hearing from you!

Benj 11-06-2004 08:13 AM

im thinking of using the built in reminder tool on my forum? easier i think just a case of changing some phrases, (add to myevents) then all add a page like myevents.php which i can link to from a users profile to show all the events there attending / got on reminder

joeychgo 11-12-2004 09:08 PM

Could we get this hack Updated please !!!

Its a great hack - jsut too hard with all the changes to not be bug laden.

attroll 11-13-2004 01:51 AM

I agree. I have been waiting patiently.

joeychgo 11-13-2004 04:37 PM

Any idea how we could make it so users who are bringing someone can add a +1 or +2 so we get an accurate count?

I have users who might bring a girlfriend or wife (or both :D) to an event - but there isnt a way to indicate that they are bringing extras.

RMS-Chef 01-03-2005 09:28 PM

Quote:

2 - allow admin/mods/or another user group (b/c we a have a planning commitee) to
Quote:

mass email or pm attendies


This is a must for this nice hack. Anyone had any luck with an implementation on this feature?

MikaK 01-05-2005 04:20 PM

*installed* looking forward for mods:)

ozmazdaclub 01-09-2005 01:56 AM

Does this work in VB3.0.5

SamirDarji 01-11-2005 06:18 AM

Anyone know? I'm curious about this too.

Benj 01-11-2005 12:54 PM

i might try later : bored ill let you know

Oblivion Knight 01-15-2005 02:17 PM

Quote:

Originally Posted by Pseudomizer
I found out how they bypass our check for userid. They open 2 windows as a user who is not attending the event and sees the link "i want to attend to this event". Then he goes to the second window and logs out of the forum. The cookie is cleared. Then he goes back and clicks the link in the first window which is still there and oleeeeeeeee oleeeeeeeeee you have the user "unregistered user" attend the event. :-(

I also experienced this issue recently, I did the following..

In calendar.php, find:
Code:

        if ($_REQUEST['do'] == "attend")
        {
                $roll[$bbuserinfo['userid']] = $bbuserinfo['username'];       
        }
        else
        {
                unset($roll[$bbuserinfo['userid']]);       
        }

Replace it with:
Code:

        if ($_REQUEST['do'] == "attend")
        {
                if ($bbuserinfo[userid])
                {
                        $roll[$bbuserinfo['userid']] = $bbuserinfo['username'];
                } else {
                        print_no_permission();
                }       
        }
        else
        {
                if ($bbuserinfo[userid])
                {
                        unset($roll[$bbuserinfo['userid']]);
                } else {
                        print_no_permission();
                }       
        }

It seems to have worked, as I can no longer replicate the bug.. :)


P.S This mod works flawlessly in 3.0.5.

ricker 01-16-2005 09:34 PM

it seems to be working fine on 3.0.5
:D awesome hack, everyone loves it.

ryancooper 01-16-2005 11:00 PM

Everything seems to work except when i try to add myself to a event i get :"

Invalid Event specified. If you followed a valid link, please notify the webmaster

Now hte strange part . . . IT WORKS It adds my name to the list and removs it when i click remove.

Any Help. . . I would love to get this up and running.

SamirDarji 01-20-2005 03:50 AM

Quote:

Originally Posted by ryancooper
Everything seems to work except when i try to add myself to a event i get :"

Invalid Event specified. If you followed a valid link, please notify the webmaster

Now hte strange part . . . IT WORKS It adds my name to the list and removs it when i click remove.


Any Help. . . I would love to get this up and running.

Check your code changes. Something doesn't sound like it got changed correctly.

SamirDarji 01-20-2005 03:55 AM

Quote:

Originally Posted by Oblivion Knight
I also experienced this issue recently, I did the following..

In calendar.php, find:
Code:

        if ($_REQUEST['do'] == "attend")
        {
                $roll[$bbuserinfo['userid']] = $bbuserinfo['username'];       
        }
        else
        {
                unset($roll[$bbuserinfo['userid']]);       
        }

Replace it with:
Code:

        if ($_REQUEST['do'] == "attend")
        {
                if ($bbuserinfo[userid])
                {
                        $roll[$bbuserinfo['userid']] = $bbuserinfo['username'];
                } else {
                        print_no_permission();
                }       
        }
        else
        {
                if ($bbuserinfo[userid])
                {
                        unset($roll[$bbuserinfo['userid']]);
                } else {
                        print_no_permission();
                }       
        }

It seems to have worked, as I can no longer replicate the bug.. :)


P.S This mod works flawlessly in 3.0.5.

Here's a simpler solution: https://vborg.vbsupport.ru/showthrea...1&postcount=73

Oblivion Knight 01-20-2005 06:34 AM

Quote:

Originally Posted by SamirDarji

As mentioned earlier in this thread, it is possible to bypass your fix.. ;)

"I found out how they bypass our check for userid. They open 2 windows as a user who is not attending the event and sees the link "i want to attend to this event". Then he goes to the second window and logs out of the forum. The cookie is cleared. Then he goes back and clicks the link in the first window which is still there and oleeeeeeeee oleeeeeeeeee you have the user "unregistered user" attend the event. :-("

SamirDarji 01-20-2005 08:27 AM

Quote:

Originally Posted by Oblivion Knight
As mentioned earlier in this thread, it is possible to bypass your fix.. ;)

"I found out how they bypass our check for userid. They open 2 windows as a user who is not attending the event and sees the link "i want to attend to this event". Then he goes to the second window and logs out of the forum. The cookie is cleared. Then he goes back and clicks the link in the first window which is still there and oleeeeeeeee oleeeeeeeeee you have the user "unregistered user" attend the event. :-("

Oh yeah, I forgot about that method. I've only seen it happen once, so I didn't pay much mind to it. I'll be adding your revised code to my setup. Thank you!

alkatraz 01-26-2005 10:28 PM

Great hack, installed on 3.03
thank you!!!

TBSVTOA 01-29-2005 01:37 PM

My admin CP tell me You are not authorized to execute SQL queries.

Anyone have any idea's

Oblivion Knight 01-29-2005 02:01 PM

Quote:

Originally Posted by TBSVTOA
My admin CP tell me You are not authorized to execute SQL queries.


Anyone have any idea's

Edit your includes/config.php file, and add your userid to the array of users that have permission to run queries.. :)

TBSVTOA 01-30-2005 12:21 PM

Quote:

Originally Posted by Oblivion Knight
Edit your includes/config.php file, and add your userid to the array of users that have permission to run queries.. :)

]


Thank you..! Duh...! Some times you just need a push.

TBSVTOA 01-30-2005 12:28 PM

Ok Any Idea . Calendar show up as a blank page now after putting in hack .

any suggestions.

SamirDarji 01-31-2005 07:39 AM

Something's definitely not right. Double check the php file edits.

DarrinM 02-03-2005 07:47 AM

Did anyone get the attendance of events count to work ?

Would like it to display within profile page for individuals for the amount of events previously attended within calendar year and also count number of attendees for each event next to each new and old event listing

Darrin

SamirDarji 02-08-2005 07:13 PM

That's some additional code that would be required to write into the calendar event listing and the memberinfo parts of vb. Doesn't really seem too hard since at the heart of each is just a query. But I'm no programmer, so I know I can't do it.

animate 02-21-2005 08:48 PM

does this hack work with 3.0.7?

mkdevo 02-25-2005 12:40 PM

Quote:

Originally Posted by animate
does this hack work with 3.0.7?

sure does. just installed it. great hack!

Freezerator 02-26-2005 10:15 AM

Installed to.

To bad this hack doesn't get updated.

banuchi2 02-26-2005 11:14 AM

I just read about this hack...and some problems it has..... Unfortunately, it was made and then abandoned....no updating. Does anyone have an "updated" version with any fixes available or does one have to sift through the posts. Thanks.

P.S.
When installing, there are two instances of:

eval('print_output("' . fetch_template('calendar_edit') . '");');

Which ones gets replaced, 1st? 2nd? or both?


All times are GMT. The time now is 12:20 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.03853 seconds
  • Memory Usage 1,829KB
  • 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
  • (5)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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