Thanx for replying Chuck. This is a hack I got here.
http://www.vbulletin.org/forum/showthread.php?t=62348
What it does is add columns to your left or right side of your forum, whichever you choose. It requires you to make a global.php, and a couple of template changes.
Quote:
2. Perform the following FILE edit:
2a. In GLOBAL.PHP:
Find:
#######################
eval('$header = "' . fetch_template('header') . '";');
#######################
Add ABOVE:
#######################
eval('$adcolumn_left = "' . fetch_template('adcolumn_left') . '";');
eval('$adcolumn_right = "' . fetch_template('adcolumn_right') . '";');
#######################
3. Perform the following TEMPLATE edits:
3a. In HEADER:
At the very END, add:
#######################
<!-- BEGIN AdColumns -->
<if condition="$vboptions[adenable]==1">
<table width="$stylevar[tablewidth]" cellpadding="0" cellspacing="7" border="0">
<tr>
<if condition="$vboptions[adleft]==1">
<td style="width:150px" valign="top">$adcolumn_left</td>
</if>
<td valign="top">
<table width="$stylevar[tablewidth]" cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="width:100%">
</if>
<!-- END AdColumns -->
#######################
|
All went well with the install and it works great. But now when I go into my Gallery the columns show up there, and it looks horrible. The same thing happened with my portal page, but Brian was able to come up with a conditional that took care of the problem. Thats why I originally posted my footer template in my 1st post, to show the conditional. I was wondering if you or someone here could help me to prevent the adcolumns from showing up in the Gallery. Basically I just need to know what to put in the conditional.
<if condition="THIS_SCRIPT != '???????'">
Again, Thanx.