vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   New Module Locations (https://vborg.vbsupport.ru/showthread.php?t=267802)

microbob 08-02-2011 12:08 AM

New Module Locations
 
Question regarding additional locations for display modules. I'm currently utilizing only the left, center, and right setting locations. I went into my vBAdvanced CMPS Options>SETTINGS>OPTIONS and added the following VARNAMES to the location list:

NEWBLOCKNAME=
1) top
2) topright
3) bottomright
4) centerleft
5) centerright
6) bottom

I gave each of them a TITLE designation, then saved the changes. I then went to the ADV_PORTAL template to update it.

THIS IS WHERE I NEED ASSISTANCE, as I'm confused :confused: as to where to edit or place new code to reflect the changes. I have consulted both online and in the vBAdvanced Manual and found nothing to help me.

The instructions say to "edit the 'ADV_PORTAL' template to ADD THE VARIABLE '$home[Varnameblocks]' within the code WHERE YOU WOULD LIKE THAT LOCATION TO BE DISPLAYED." Here is the code:

<if condition="$show['left_column']">
<td width="$vba_style[portal_leftcolwidth]"<if condition="$show['center_column'] OR $show['right_column']"> style="padding-$stylevar[right]: $vba_style[portal_colspacing]px"</if>>
$home[leftblocks]
</td>
</if>

<---------------------------------------------------------ADD HERE???

<if condition="$show['center_column']">
<td valign="top">
$home[centerblocks]
</td>
</if>

<------------------------------------------------------ OR ADD HERE???

<if condition="$show['right_column']">
<td valign="top" width="$vba_style[portal_rightcolwidth]"<if condition="$show['center_column'] OR $show['left_column']"> style="padding-$stylevar[left]: $vba_style[portal_colspacing]px"</if>>
$home[rightblocks]
</td>
</if>

Below is the code that I am going to add. Please save me {ahead of time} from screwing this up. Is this correct? What position does it get added? Am I adding (6) sets of code?


<if condition="$show['center_column']">
<td valign="top">
$home[NEWBLOCKNAMEblocks]
</td>
</if>

Please help, as this is the last major change which I have wanted to put into place before finalizing my banner ad locations.

Thanks.
Bob


All times are GMT. The time now is 10:15 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.01000 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete