vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Calendar Enhancements - vB Event Forums (https://vborg.vbsupport.ru/showthread.php?t=123416)

popowich 09-06-2006 04:03 PM

The 3.1 version reads at 3.0 in the admin control panel.

FYI,

-Raymond

Gerakus 09-11-2006 08:46 PM

I have the problem with Step 4 (Optional template edit), it just doesnt works for me, I am using blaze template layout. I found two occurances one for the <!-- controls above thread list --> and the other one for <!-- controls below thread list --> I make the proper changes still doesnt show up the new event button, I have already upload in both parts the button gif, one for the images/buttons and the other for blaze/buttons... I have set up on the admin panel to show up the new event button under the thread as was state on one of the steps, if you wonder.

Also when I try to delete a thread on the events it doesnt allow me to do it, I have to move the thread and then delete it.

adwade 09-12-2006 01:10 AM

Quote:

Originally Posted by Gerakus
I have the problem with Step 4 (Optional template edit), it just doesnt works for me, I am using blaze template layout. I found two occurances one for the <!-- controls above thread list --> and the other one for <!-- controls below thread list --> I make the proper changes still doesnt show up the new event button, I have already upload in both parts the button gif, one for the images/buttons and the other for blaze/buttons... I have set up on the admin panel to show up the new event button under the thread as was state on one of the steps, if you wonder.

I had the SAME problem. No matter what I tried, putting the code in the 1st spot, 2nd spot, or both spots I never could get it to show up. Evercraft & I never could figure out the problem.:confused:

Quote:

Also when I try to delete a thread on the events it doesnt allow me to do it, I have to move the thread and then delete it.
However, I don't have this problem. When I go to delete an event of course, I use the drop down box (edit;delete;move-event) and another screen loads up asking for me to validate the deletion. Once I do that, it drops me over into the Calendar and the event (I just deleted) is gone.

JenniferK 09-12-2006 04:30 AM

Any way to have the Events summary show up in a vBa CMPS module? I tried creating a template module using the code from the lv_vb_eventforums_eventsSummary template, but that didn't work. I don't know enough about it to really figure out what might work - thought I'd give that a shot. Any one have any ideas?

kj_ugs 09-13-2006 03:08 PM

Will this be ok with the new 3.6.1 release of vbulletin?

adwade 09-13-2006 04:25 PM

Is there anyway, similar to Yahoo, that one could have a reminder msg posted into the forums of an upcoming event? Yahoo allows one to select up to 2 notices, like 7 & 14 days beforehand, etc.

I understand the email option is there for individual users to sign up on, but am looking for a general msg to post into the forum reminding users about such.

WATRD 09-15-2006 05:06 PM

I still have cash in hand for the tie in with the RSVP system...

Farcaster 09-16-2006 07:37 AM

I've modified this hack on my forums to integrate with the Event Attendance 2.0 script. This will only work if you have Event Attendance 2.0 installed as well (which does work with vb 3.6.0 if you uninstall it and reinstall it).

Below are the steps you need to merge these two products:

Find the following line of code in the "Display Event Details on Thread Page" plugin (under Product : Lv vB Event Forums):
PHP Code:

$eventinfo['event'] = $bbcode_parser->parse($eventinfo['event'], $foruminfo['forumid'], true); 

Under that add this block:
PHP Code:

// EVENT SIGNUP HACK //////////////////////////////////////////////////////////////////////////////

$vbphrase['roll_nobody'] = fetch_phrase("roll_nobody"'calendar');
$vbphrase['roll_cancel'] = fetch_phrase("roll_cancel"'calendar');
$vbphrase['roll_enroll'] = fetch_phrase("roll_enroll"'calendar');
$vbphrase['roll_text'] = fetch_phrase("roll_text"'calendar');

//Check time till event
$time_until_event=$eventinfo['dateline_from']-(TIMENOW+$vbulletion->userinfo['timezoneoffset']*3600);
if (
$vbulletin->userinfo['dstonoff'])
{
    
$time_until_event=$time_until_event-3600;
}
//echo $time_until_event."   ";
$show['enroll']=(($time_until_event>0) || ($vbulletin->options['lateenroll'])) ? true false;

//show enrolled people
        
$rollcount=0;
                if (
$eventinfo['useroll'])
                {
                    
// Roll for this event
            
unset($rollbits);
                    
$show['userattending'] = false;
                    if ((
$roll = @unserialize($eventinfo['roll'])) && is_array($roll))
                    {
                if (
$vbulletin->options['roll_sort']) 
                {
                    
uasort($roll"strnatcasecmp"); 
                }

                            if (
array_key_exists($vbulletin->userinfo['userid'], $roll))
                            {
                    
$show['userattending']=true;
                            }
                    
                    while (
$rollusername current($roll)) 
                { 
                
$rolluserid key($roll); 
                eval(
'$rollbits .= "' fetch_template('calendar_rollbit') . '";'); 
                
$rollcount++;
                
next($roll); 
                } 
                    }
                        else
                        {
                            
$eventinfo['roll'] = "";
                        }
                                    
                        
                eval (
'$eventinfo[roll] = "' fetch_template('calendar_roll') . '";');
                
$eventinfo['event'].=$eventinfo['roll'];

                    
// End Roll
                
}
                else
                {
                    
$eventinfo['roll'] = "";
                    
                }

/////////////////////////////////////////////////////////////////////////////////////////////////// 

Next, open the plugin "redirect links to individual events to their threads instead".
Add the following code to the top:
PHP Code:

// EVENT SIGNUP HACK //////////////////////////////////////////////////////////////////////////////

//Check time till event
$time_until_event=$eventinfo['dateline_from']-(TIMENOW+$vbulletion->userinfo['timezoneoffset']*3600);
if (
$vbulletin->userinfo['dstonoff'])
{
    
$time_until_event=$time_until_event-3600;
}
//echo $time_until_event."   ";
$show['enroll']=(($time_until_event>0) || ($vbulletin->options['lateenroll'])) ? true false;


if (
$_REQUEST['ea'] == "attend" || $_REQUEST['ea'] == "unattend" AND ($time_until_event>OR $vbulletin->options['lateenroll']) )
        {
            if (!
$eventinfo['roll'])
                {
                    
$roll = array();
                }
                else
                {
                    
$roll = @unserialize($eventinfo['roll']);
                }

        if (
$_REQUEST['ea'] == "attend")
            {
            if (
$vbulletin->userinfo[userid])
            {
                
$roll[$vbulletin->userinfo['userid']] = $vbulletin->userinfo['username'];        
            }
            else
            {
            
print_no_permission();
            }
            }
            else
            {
            if (
$vbulletin->userinfo[userid])
            {
                unset(
$roll[$vbulletin->userinfo['userid']]);        
            }
            else
            {
            
print_no_permission();
            }
            }
    
            
$eventinfo['roll'] = serialize($roll);
        
$db->query_write("UPDATE ".TABLE_PREFIX."event SET roll='".addslashes($eventinfo['roll'])."' WHERE eventid='".$eventinfo['eventid']."'");
        
$_REQUEST['do'] = "getinfo"
}
/////////////////////////////////////////////////////////////////////////////////////////////////// 

That's it. Enjoy!

Now, did someone say something about some cash?? :cool: *chuckle*

ragtek 09-16-2006 01:51 PM

in 3.6.1 i have a error while i want to delete a event

Schwerer Fehler: Existing data passed is not an array
Called set_existing in /home/www/doc/11759/ragtek.org/www/forum/includes/class_dm_threadpost.php(1289) : eval()'d code on line 32
Called eval in /home/www/doc/11759/ragtek.org/www/forum/includes/class_dm_threadpost.php on line 1289
Called delete in /home/www/doc/11759/ragtek.org/www/forum/inlinemod.php on line 662

WATRD 09-17-2006 02:20 PM

Quote:

Originally Posted by Farcaster
That's it. Enjoy!

Now, did someone say something about some cash?? :cool: *chuckle*

I am good for sending some cash your way, if you can be a bit more specific about where to find the code you modified. It is in a file or do I get at it via the template editor?

I am comfortable subbing in the code, I just don't understand where to go about doing so.

WATRD 09-17-2006 02:35 PM

Quote:

Originally Posted by Farcaster
I've modified this hack on my forums to integrate with the Event Attendance 2.0 script. This will only work if you have Event Attendance 2.0 installed as well (which does work with vb 3.6.0 if you uninstall it and reinstall it).

Below are the steps you need to merge these two products:

<SNIP>

That's it. Enjoy!

Now, did someone say something about some cash?? :cool: *chuckle*

Okay, I found where to put the code, but users are not being shown a link to RSVP :(

Farcaster 09-17-2006 06:26 PM

Quote:

Originally Posted by WATRD
I am good for sending some cash your way, if you can be a bit more specific about where to find the code you modified. It is in a file or do I get at it via the template editor?

I am comfortable subbing in the code, I just don't understand where to go about doing so.

I was just kidding about that. No worries. I wanted to make this modification for my boards anyway, so I am happy to share it.

To find the plugins I mentioned above, you'd need to go into "Plugins & Products" section of the Admin Panel. Then go into the Plugin Manager and look for the plugins mentioned above under the product group "Product : Lv vB Event Forums". You then edit each plugin as indicated above.

But, if you'd like an easier route, I hope the original author won't mind if I post a modified XML file. You can import the product xml file I am attaching and OVERWRITE the existing product (be sure to use overwrite, do not uninstall or you may loose settings and thread to event relationships).

butty 09-17-2006 10:50 PM

im getting this error when i try and delete a event in 3.6.1, any ideas?

Fatal error: Call to undefined function: delete_thread() in /home/pianohea/public_html/forum/includes/class_dm_event.php(626) : eval()'d code on line 15

tis01 09-18-2006 10:37 AM

Quote:

Originally Posted by Farcaster
I was just kidding about that. No worries. I wanted to make this modification for my boards anyway, so I am happy to share it.

To find the plugins I mentioned above, you'd need to go into "Plugins & Products" section of the Admin Panel. Then go into the Plugin Manager and look for the plugins mentioned above under the product group "Product : Lv vB Event Forums". You then edit each plugin as indicated above.

But, if you'd like an easier route, I hope the original author won't mind if I post a modified XML file. You can import the product xml file I am attaching and OVERWRITE the existing product (be sure to use overwrite, do not uninstall or you may loose settings and thread to event relationships).


Thanks for your hard work...I just have a problem with extended events : I can't enroll these but work fine on simple events

Farcaster 09-18-2006 02:28 PM

If think that is standard behavior of the Event Attednance 2.0 product. It should work on single day or ranged events, but will not work on recurring events. Is yours working on ranged events at least?

butty 09-18-2006 05:17 PM

farcaster mate what ver of vbulletin u running and can you delete events ok or does it error?

ps i will gladly have ur children for sorting this event attendance tie in. you are a star my friend! :)

Farcaster 09-18-2006 05:29 PM

Quote:

Originally Posted by butty
farcaster mate what ver of vbulletin u running and can you delete events ok or does it error?

ps i will gladly have ur children for sorting this event attendance tie in. you are a star my friend! :)

I am on version 3.6.0 at the moment, and I am able to delete events without any errors. I will be upgrading to 3.6.1 in the next week or so, so I will see if I can figure out what the delete problem is if someone else hasn't already got it fixed by then.

And, you are most welcome. :cool:

WATRD 09-18-2006 05:35 PM

Wahhhhooooooo! I now have an integrated calendar/thread system with RSVP funtionality that works flawlessly!

On top of that, Farcaster won't take my money :(

This IS the coolest thing since sliced bread and I vote we name a day after Farcaster or something similar. I am serious. This is THAT cool for my club.

Farcaster, should you ever be in the Seattle, Washington, USA area, I will have some frosty beverages of your choice waiting for you.

soulface 09-19-2006 03:51 PM

Code:

Fatal error: Existing data passed is not an array
Called set_existing in /usr/home/******/public_html/includes/class_dm_threadpost.php(910) : eval()'d code on line 3
Called eval in /usr/home/******/public_html/includes/class_dm_threadpost.php on line 910
Called post_save_each in /usr/home/******/public_html/includes/class_dm.php on line 823
Called save in /usr/home/******/public_html/report.php on line 217
Called require in /usr/home/******/public_html/vbseo.php on line 846
in /includes/class_dm.php on line 235

I m getting this Fatal error when reporting a post! I've vBSEO installed. So i asked them. they said the error happens in "postdata_postsave" plugin of this mod. I disabled this mod for temp & that fatal error is gone..

drex 09-20-2006 07:56 AM

PHP Code:

Fatal errorCall to undefined function: delete_thread() in /home/tbyr/public_html/includes/class_dm_event.php(626) : eval()'d code on line 15 

Same error. New install. Version 3.61. Only when deleting thread.

Delete works in the calendar, but NOT for the thread. the threads are still there, and cannot be manually deleted. (no replies are posted, just the initial thread)--> when I try to delete, it says "Invalid Event specified. If you followed a valid link, please notify the administrator"

Thread is no longer in the calendar, but thread is in forum and not deletable. (even with the delete post tools).

Please look into this. Thanks.

:Judge: 09-20-2006 08:20 AM

Quote:

Originally Posted by drex
PHP Code:

Fatal errorCall to undefined function: delete_thread() in /home/tbyr/public_html/includes/class_dm_event.php(626) : eval()'d code on line 15 

Same error. New install. Version 3.61. Only when deleting thread.

Delete works in the calendar, but NOT for the thread. the threads are still there, and cannot be manually deleted. (no replies are posted, just the initial thread)--> when I try to delete, it says "Invalid Event specified. If you followed a valid link, please notify the administrator"

Thread is no longer in the calendar, but thread is in forum and not deletable. (even with the delete post tools).

Please look into this. Thanks.

Yep I have the same problem here I am unable to delete from the forum area.

When I try delete from Thread Options I recieve the following error:
Invalid Event specified. If you followed a valid link, please notify the administrator

When I try to delete from forum display "Moderation" I recieve this following error (Please note with soft or Physically remove)
Code:

Fatal error: Existing data passed is not an array
Called set_existing in /home/cecilcountyx.com/forums/includes/class_dm_threadpost.php(1289) : eval()'d code on line 32
Called eval in /home/cecilcountyx.com/forums/includes/class_dm_threadpost.php on line 1289
Called delete in /home/cecilcountyx.com/forums/inlinemod.php on line 662
in /includes/class_dm.php on line 235


Evercraft 09-20-2006 11:40 AM

Good work with the attendance patch, ill have a look when I get time and put that version in the downloads. I can proberly improve it a bit to detect whether the attendance mod is installed, and intergrate it with the latest version.

There does seem to be a problemo with the latest version of vb with this plugin. I'll try and setup my test area to 3.6.1 and see whats going wrong. Hopefully its a quick fix. I'll also try and get round to looking at the other problems reported tonight too if I can.

ragtek 09-20-2006 05:00 PM

thx
for the support und your work

JenniferK 09-20-2006 05:21 PM

Quote:

Originally Posted by JenniferK
Any way to have the Events summary show up in a vBa CMPS module? I tried creating a template module using the code from the lv_vb_eventforums_eventsSummary template, but that didn't work. I don't know enough about it to really figure out what might work - thought I'd give that a shot. Any one have any ideas?

anything on this?

drex 09-20-2006 07:18 PM

thanks much!

drex 09-21-2006 07:50 PM

any word yet????

kj_ugs 09-22-2006 09:12 PM

this seems to work great as long as you dont try to delete a thread.

drex 09-23-2006 02:59 AM

exactly... I can' t wait to get this thing up and running. Looked at some of the code, but not well-versed w/ 3.6.1 ....

Evercraft 09-23-2006 05:06 PM

Hi all

I've posted an update for vB Event Forums.

2 things you will find:

- Deleteing an event now works properly again.
- Event Attendance now works with this mod! Farcaster kindly posted a patch for it, which I have intergrated into the mod. It will now automatically check if the mod is installed and active, and run the correct code.

You can find the latest version, which is now 3.3, at the thread link below:

https://vborg.vbsupport.ru/showthread.php?p=1047676

Kind Regards

WATRD 09-23-2006 05:27 PM

To install the latest, do I need to uninstall? Or can I simply overwrite? Will it preserve my existing events and relationships with the calendar?

ragtek 09-23-2006 05:57 PM

thx for fast updating

JenniferK 09-23-2006 08:24 PM

Thanks for the update!

I would really like to have a CMPS module to show the Events Summary. I have tried creating a template, but the event area is blank. I realize that is because the plugin that works to put the event summary in the forum will not work in a CMPS module. I have tried looking at it to see if I could figure out myself how to do what I need, but it is beyond my abilites. Is there any chance this is something you plan to do for this hack? If not I will need to figure something else out, but I love this hack and it is perfect for my site (it is a community site), so it would be really great if that could be integrated. :)

rabidkevin 09-23-2006 08:54 PM

I find the event attendance plugin to have poor support, no updates, not working off the bat for 3.6, and has bugs/fixes that are most needed.

Why not just add your own event attendance code ?? I think it would benefit everyone here greatly and be much easier to maintain/handle.

kj_ugs 09-23-2006 08:59 PM

This, is nothing short of fantastic. Thanks very much.

BuRNZau 09-24-2006 02:56 AM

Love your work Evercraft and Farcaster. :up:

Is there a way to make the (Allow users to specify that they will be attending this event) box ticked by default or even better locked so it will always turned on?

Itworx4me 09-24-2006 05:19 AM

When clicking on the forum you selected to have your events posted in. It shows the upcoming events box. Is there a way to have it sort by event and Not by the date???

Farcaster 09-24-2006 07:32 AM

Quote:

Originally Posted by BuRNZau
Love your work Evercraft and Farcaster. :up:

Is there a way to make the (Allow users to specify that they will be attending this event) box ticked by default or even better locked so it will always turned on?

Yes, follow these instructions and it will make the "Allow Users to Enroll" check box checked by default for new events:

1. In the AdminCP, go into Plugins & Products -> Plugin Manager.
2. Find the plugins for the product "Event Attendance".
3. Open the plugin "Event Attendance - add enroll to create form"
4. Blank out the entire code window and replace it with:

PHP Code:

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

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




BuRNZau 09-24-2006 07:46 AM

That does the job. :)

I owe you a beer mate thanks!

:Judge: 09-24-2006 09:20 AM

Great work Evercraft, thank you very much!!

The new updated code for 3.6.1 is working great for me now, but I do have one small issue.

One of the events I tried to delete before updating to 3.3 will not go away. The event is not in the Calendar it is just in the event forum area BUT inside the event/topic there isn't anything there, just a thread title, date, time and thread starter there is no thread info.

When I try to delete I am told "No topic selected, contact admin".

Any ideas how I can remove this? If not it's no big deal I guess sooner or later it will fall behind.

butty 09-24-2006 04:40 PM

Quote:

Originally Posted by :Judge:
Great work Evercraft, thank you very much!!

The new updated code for 3.6.1 is working great for me now, but I do have one small issue.

One of the events I tried to delete before updating to 3.3 will not go away. The event is not in the Calendar it is just in the event forum area BUT inside the event/topic there isn't anything there, just a thread title, date, time and thread starter there is no thread info.

When I try to delete I am told "No topic selected, contact admin".

Any ideas how I can remove this? If not it's no big deal I guess sooner or later it will fall behind.

disable both the event attendance and event forums in your product manager mate then you should be able to delete the event :)


All times are GMT. The time now is 06:19 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
  • Page Generation 0.02011 seconds
  • Memory Usage 1,917KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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