PDA

View Full Version : Installation instructions for v3.0.3 - A NO-SHOW


memobug
10-05-2004, 06:06 PM
The vbAdvanced CMPS install instructions don't look quite right for 3.0.3

In Step 3 file modifications it says to find

In your /forum/includes/functions_calendar.php file:
function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '')
{
global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $show;

(FYI $show appears in there twice; once at the end)

Whereas the actual file for 3.0.3 contains (at line 230-232)

function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '')
{
global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months;

With no "$show" at the end

QUESTION:

Is the replacement

function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '')
{
global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $vba_options, $vboptions;

Still correct for this version?

Regards,

Matt

Zachery
10-05-2004, 06:22 PM
Just make sure $vba_options and $vboptions get added on at the end

Our Sponsors
 

Brian
10-06-2004, 12:29 PM
Yes, that is the correct place. vBulletin changed that in 3.0.3 (I think) to remove the redundant $show variable.