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.


All times are GMT. The time now is 03:42 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.01630 seconds
  • Memory Usage 1,805KB
  • 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
  • (3)bbcode_php_printable
  • (3)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