Customers SupportDocumentation




Reply
 
Thread Tools
  #1  
Old 12-01-2009, 04:02 PM
Member
 
Join Date: Jan 2009
Posts: 2
Lightbulb Red Carbon and VBAdvanced 3.1.0

Hi,

I have just installed Red Carbon on vBulletin 3.8.0 and it works great, thanks!

However I have a problem with vBAdvanced 3.1.0 and the formatting for a one of the modules. I have attached a screenshot of the problem.


1) The calendar module doesn't line up the corners for some reason
Name:  calendar.jpg
Views: 193
Size:  5.7 KB


Any help greatfully received!


regards,

Alex

Last edited by alexm; 12-01-2009 at 04:13 PM. Reason: 1st problem sorted!
Reply With Quote
  #2  
Old 13-01-2009, 12:18 PM
Member
 
Join Date: Jan 2009
Posts: 2
Thumbs up Re: Red Carbon and VBAdvanced 3.1.0

Ok, I found the problem in vbadvanced...

In modules/minicalendar.php (towards the end) there is the following statement:

Code:
        if ($stylevar['cellpadding'] > 4)
        {
                $stylevar['oldcellpadding'] = $stylevar['cellpadding'];
                $stylevar['cellpadding'] = 4;
        }
That limits the cellpadding to 4 for some reason... I can't work out why vbadvanced would do this

Anyway, if you comment this out it works:

Code:
        if ($stylevar['cellpadding'] > 4)
        {
                $stylevar['oldcellpadding'] = $stylevar['cellpadding'];
//              $stylevar['cellpadding'] = 4;
        }
Hope this helps anyone with the same problem.
Reply With Quote
  #3  
Old 19-01-2009, 10:39 AM
Member
 
Join Date: Dec 2008
Posts: 4
Re: Red Carbon and VBAdvanced 3.1.0

Thanks, was just looking for this.

Also it does the same thing if you use the combocalendar also.
Reply With Quote
Reply

Thread Tools



All times are GMT. The time now is 01:42 PM.