Log in

View Full Version : How do I add left column with CMPS installed on index.php page


Clayton
06-07-2005, 05:51 PM
we have the CMPS as our FORUMS index.php

and would like to add a left column to the rest of the site forum pages

is this possible, please?

or will the left column conflict with the CMPS settings?

thank you

G

Colin F
06-07-2005, 07:03 PM
we have the CMPS as our FORUMS index.php

and would like to add a left column to the rest of the site forum pages

is this possible, please?

or will the left column conflict with the CMPS settings?

thank you

G
Have a look at this part of the CMPS Documentation: http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=6

Clayton
06-07-2005, 07:07 PM
thanks my good man

will scour through that link

Thanks

G

edit: sorry .. let me leaborate ... I already use the CMPS on my forum index.php page but would like to have a left column in all of my normal forum pages .. is this possible, please?

LEAD_WEIGHT
08-28-2005, 08:16 PM
thanks my good man

will scour through that link

Thanks

G

edit: sorry .. let me leaborate ... I already use the CMPS on my forum index.php page but would like to have a left column in all of my normal forum pages .. is this possible, please?

Yes, it is possible to do

Clayton
08-29-2005, 04:56 AM
any further ideas on this Mr Canuck

:D

cookiepants
07-25-2006, 07:27 PM
I have been trying to do this as well. I get to the end, and can't figure out where to put the coding correctly. Yes, I know it's an old post but I'm desperate LOL

eta my site:
http://www.sewingmamas.com/b/

imported_infitech
10-22-2006, 04:24 PM
I followed the directions for how to integrate vba into other pages and it seems to work correctly other than the fact that i have edited my template in such a way where i have a right column.... so long story short there seems to be a template conflict.....

Header:<a name="top" id="top"></a>
<!-- logo -->
<a name="top" id="top"></a>
<table align="center" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1" alt="forum_home"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
<div style="font: bold 14pt verdana,arial,helvetica; color: #FFFFFF">
<em>Infitech Design <!-- --></em>
<div class="smallfont"><span style="color:#869BBF">www.infitechdesign.com</span>


</div>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
<!-- Left Column Code -->
<<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->

Footer:<!-- Left Column Code -->
</td></tr>
</table>
</td></tr>
</table>
<!-- End Left Column Code -->
<br />
<div class="smallfont" align="center">

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHVwYJKoZIhvcNAQcEoIIHSDCCB0QCAQExggEwMIIBLAIBAD CBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYD VQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW 5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2 ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQ AwDQYJKoZIhvcNAQEBBQAEgYA3vYG6PI8JnaUYAZAEc6SBLo/Ui8UvXR0V2XVV9+JnkdppPwwXesRrjMnWxe79dWXWsYypkdmG6 Ldl+TeEPA/QmH9y7eU44ja2+pQ5GQx1WjDBt5khoG1Ym1aN/LG1B0N+p4p6W97qiJNzcrrSHzP1Q3nrXL2bRAi/d8+2+0sELTELMAkGBSsOAwIaBQAwgdQGCSqGSIb3DQEHATAUBg gqhkiG9w0DBwQIgVtWU7/U5kiAgbC91m6hNmTw3Sp9WjtlO6ge+0AtJdLZFjlq3Xy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4gVmlldzEUMBIGA1UEChML UGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBg NVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlw YWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQ ADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yR Ir/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2 JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBe lUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCV VMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV 3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2Z V9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0 BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGC SqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8 XDTA2MDMzMTIxMzM1MVowIwYJKoZIhvcNAQkEMRYEFI3oYTVTk Iq62D3dBaMYTd1firBgMA0GCSqGSIb3DQEBAQUABIGAh840ALU 1nBbHGV/lvoqCstcO79kl6lLTXdS5JQ7KhRqtZlWGaOzxsnXtMfDpFYxEI MTFfUsTdvSKFviIqzFgyqlIvm3AuW3vS91Yw9eZT1dHuo/NRwSzGl+tH32oGeWqtIun1g00x4yglmz4tng/1hgC/eDQ86VSB3AbPAdns0k=-----END PKCS7-----
">
</form>
<div align="center"><SCRIPT type="text/javascript" LANGUAGE="javascript" src="http://www.qksz.net/1e-bjap"> </SCRIPT></div>
<br>$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>

<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
</td>


<td class="body" width="180" valign=top>

<div align="center" style="margin-top: 250px">


&nbsp;<img src="/images/adtop.gif"><br>
&nbsp
<SCRIPT type="text/javascript" LANGUAGE="javascript" src="http://www.qksz.net/1e-ck7u"> </SCRIPT>


</div>
</td>

</div>

</td>
</tr>
</table>

Screenshot:[image]http://infitechdesign.com/images/right_column.gif[image]

Note:
The module you see displayed on the right is a center column