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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 23rd, 2004, 12:38 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2002
Posts: 66
Installing a random banner script?

hey all

First, damn fine job on this script man. Its easily worth the money, thats for sure.

However, I have a bit of a problem. I've tried a number of ways to do it, but I don't seem to be able to include a random banner script that i have installed.

The media page is ::

www.dropmachine.com/media

The script is at www.dropmachine.com/media/ads/include.php

Ideally, I would like to include it on the front page, above the welcome but below the menu. I would also like it to appear at the top of each gallery, in abaout the same spot.

I will also be including the scrpt in Review post, so this would help me quite a bit.

Thanks very much!
dropmachine is offline   Reply With Quote
Old July 23rd, 2004, 07:06 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Well you need to add that at the bottom of your header file.

The easiest way to do it would be to make your header a php file from a html file making sure you surround all the html with this at the front This would be your sample new header named header.php

?>

echo <<<PPPRINT

YOUE HEADER STUFF HERE


<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="250" height="75" valign="middle">

PPPRINT;

require "some/path/to/media/ads/include.php";

echo <<<PPPRINT

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

PPPRINT;
?>
__________________
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 July 23rd, 2004, 11:29 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2002
Posts: 66
The rpoblem is though, is that the header that it points to is a universal header, and is all over the site. I can see what you mean though, as i could have a specific PHP header that would call the universal header and have that code underneath. Problem with that though is that it doesn't put the banner quite where i want it, as it then above everything rather then in between the 2 menus.

I was playing with the templates, specifically menubar.tmpl and though perhaps i could get the code to work there. I was wrong, as i have no idea what the hell i am doing. Is there a way to modify that template so that the banner will appear below that menu?

Thanks again for your help.
dropmachine is offline   Reply With Quote
Old July 23rd, 2004, 01:05 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Of course it would be between your header which includes your site menu and the photopost menubar.

The first thing called by photopost is a header and then the menubar.

You want the header which incorporates a site menubar then the banner then the photopost menubar.

What I posted above does it exactly

Take your universal header and replicate it to another file using a php structure and do what I posted. It will work.

The way you have it now the welcome user is above the banner

The way you describe above is how I saw it between your two menu's is what you said

If you want it between the menubar template of photopost and the cathead or indexhead templates then at the bottom of the menubar.tmpl do this

find this at the bottom of menubar.tmpl


$ppclose<br />

replace it with this

$ppclose<br />
$ppopen
<tr>
<td width="100%" colspan="2">
PPPRINT;

include( "path/to/media/ads/include.php" );

echo <<<PPPRINT
</td>
</tr>
$ppclose<br />
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; July 23rd, 2004 at 01:11 PM.
Chuck S is online now   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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get my banner to show. iloco Photopost Pro How Do I...? 2 October 3rd, 2005 07:48 AM
Installing gallery script on separate site HappyPike Installs and Upgrade - vBulletin 3.0.X 10 June 9th, 2005 05:33 PM
Random Images Script memorybugs Photopost Pro Installation & Upgrades 1 August 9th, 2004 11:19 AM


All times are GMT -5. The time now is 03:02 PM.

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