PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 1st, 2005, 02:42 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Location: Mass.
Posts: 41
adcolumns

I have recently installed Adcolumns on my site. I was having a problem with it showing up on my vBadvanced page and they helped me to correct it with a conditional. Now I am having the same problem with it showing up in my Photopost Gallery, and throwing it out of alignment. Can you help me to correct this? Here is what the footer looks like, and what I used to correct the VBA problem. And thanx!

Code:
Content visible to verified customers only.
cheechfxsti is offline   Reply With Quote
Old October 1st, 2005, 03:04 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
Hello what are you asking specifically?

I have never heard of adcolumns so I don't really know what to assist you with here.

If this is something in your footer of vbulletin that conditional maybe changing the conditional line to include our ppindex THIS SCRIPT defination may work
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 1st, 2005, 03:28 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Location: Mass.
Posts: 41
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.
Attached Images
File Type: jpg adc2.jpg (48.9 KB, 6 views)

Last edited by cheechfxsti; October 1st, 2005 at 04:12 PM.
cheechfxsti is offline   Reply With Quote
Old October 1st, 2005, 04:32 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Location: Mass.
Posts: 41
Actually I solved my own problem Chuck, Thank You!
cheechfxsti is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:55 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0