Was it silly to spend $200 on a forum script? Let's see.
Using Custom Module Positions with vBAdvanced
Posted 09-10-2007 at 09:12 PM by bdude
Everyone's seen it before, the default layout for vBA - two sidebars and a middle column.
To be different you need to break out and do something different, like on the homepage of my site The Blogging Café using custom module positions.
First off, you need to decide the layout you want, and give each spot a name, like so:

Now you need to go into your admin CP > vBa CMPS > Default Settings> Main Options and add in your custom module positions, remember the varnames!

The next step, is to edit your adv_portal template to include these modules. The standard code for the modules is is $home[varnameblocks], remember to look at the rest of the template for guidance to add the appropriate column padding. Really, you should only need to edit in between $navbar and $footer. Here's what mine looks like:
So, I hope this helps you on the way to a more creative vBAdvanced Page! 
To be different you need to break out and do something different, like on the homepage of my site The Blogging Café using custom module positions.
First off, you need to decide the layout you want, and give each spot a name, like so:

Now you need to go into your admin CP > vBa CMPS > Default Settings> Main Options and add in your custom module positions, remember the varnames!

The next step, is to edit your adv_portal template to include these modules. The standard code for the modules is is $home[varnameblocks], remember to look at the rest of the template for guidance to add the appropriate column padding. Really, you should only need to edit in between $navbar and $footer. Here's what mine looks like:
Code:
<table align="center" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td colspan="2" style="padding-right: $vba_style[portal_colspacing]px" width="70%" height="100%">
$home[topblocks]
</td>
<td rowspan="2" width="">
$home[rightblocks]
</td>
</tr>
<tr valign="top">
<td style="padding-right: $vba_style[portal_colspacing]px" >
$home[mainleftblocks]
</td>
<td style="padding-right: $vba_style[portal_colspacing]px" >
$home[mainrightblocks]
</tr>
</table>

Total Comments 8
Comments
-
Posted 09-10-2007 at 09:49 PM by Brandon Sheley
-
Posted 10-27-2007 at 12:29 AM by Luigi
-
Posted 10-27-2007 at 06:22 PM by bdude
-
Posted 03-12-2008 at 11:00 PM by Brandon Sheley
-
Hey dude it worked great but I have a small problem. Now my notice manger welcome guest message register links is not working. Instead of forum/register.php it linking it to www.chatny.net/register.php. Is their a fix? I copied your text above and did what did.Posted 07-27-2008 at 03:55 PM by Greek76
-
Posted 10-13-2008 at 12:57 PM by 2dub
-
Posted 10-17-2008 at 06:05 AM by Brandon Sheley
-
Hi Brandon, I got vBadvanced CMPS on my site using custom blocks - slightly different layout to what is posted here, but it shows the general idea of using custom blocks.
I'm still updating alot of code, mainly moving the default navbar to the custom bar I've coded into the header template.
Oops.. missed off my website addy lol
Digital Port UK
There now you can check it out... Probably change it more once I get everything working properly,
Posted 11-08-2008 at 03:24 PM by Syrus XL Media
Updated 11-08-2008 at 03:38 PM by Syrus XL Media











