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 > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 6th, 2009, 08:08 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 316
Which template is the </body> tag in?

I'm trying to implement some inline ad code, and I need to place the code before the </body> tag in reviewpost.

I want these ads only in reviewpost, not vB, so could you tell me which template or file this code would go in?

Thanks.
jdougher is offline   Reply With Quote
Old February 6th, 2009, 10:33 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,661
Have you tried the footer file thats the last thing printed.
__________________
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 February 6th, 2009, 12:29 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 316
Quote:
Originally Posted by Chuck S View Post
Have you tried the footer file thats the last thing printed.

There's no </body> tag in that file that I can see.
jdougher is offline   Reply With Quote
Old February 6th, 2009, 12:44 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,661
No there is not. Thats in our global file

what i am saying is the footer is the last thing printed before the closing body tag so you might want to add whatever code in your footer and if your using vbulletin you need to put such code in your footer as those are the files we call.
__________________
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 February 6th, 2009, 12:49 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 316
Quote:
Originally Posted by Chuck S View Post
No there is not. Thats in our global file

what i am saying is the footer is the last thing printed before the closing body tag so you might want to add whatever code in your footer and if your using vbulletin you need to put such code in your footer as those are the files we call.
Here are the instructions:

Please copy and paste the script code below into your website HTML pages right before the closing </BODY> HTML tag. If you currently use Google Analytics or other similar JavaScript based tools, the Infolinks JavaScript can be placed right before their code:

Here's the footer.htm file:

<table width="90%" border="0" cellspacing="3" cellpadding="3" align="center">
<tr>
<td align="center">
<font face="Trebuchet, Trebuchet MS, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">
No portion of this page, text, images or code, may be copied, reproduced,
published or distributed in any medium without the expressed written permission
of the copyright holder.</font>
</td>
</tr>
</table>


Are you saying the code should go at the end? After </table>?

And also somewhere in the vB code? I'm confused. I don't want the inline ads showing up in the forums. Just the reviews.
jdougher is offline   Reply With Quote
Old February 6th, 2009, 12:52 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,661
We load the vb footer file if your using the vb integration so it would have to go there unless you alter code in some way.

Yes whatever code your using would go in the footer.
__________________
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 February 6th, 2009, 12:54 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 316
Quote:
Originally Posted by Chuck S View Post
We load the vb footer file if your using the vb integration so it would have to go there unless you alter code in some way.

Yes whatever code your using would go in the footer.
So the code needs to go in footer.htm (your code) AND the vb footer?

Why two places?
jdougher is offline   Reply With Quote
Old February 6th, 2009, 12:56 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 316
Also, if I'm to use the code in the vB footer, I need an <if condition = statement that forces the code to show only when the reviews are shown. Do you know what I'd use?

Thanks.
jdougher is offline   Reply With Quote
Old February 6th, 2009, 01:41 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,661
Code:
Content visible to verified customers only.
That needs to be added in bold in pp-inc.php

you need to put the code in vb footer template

You can use an if clause like if PP_SCRIPT == "PhotoPost"
__________________
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 February 6th, 2009, 03:26 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 316
Quote:
Originally Posted by Chuck S View Post
Code:
Content visible to verified customers only.
That needs to be added in bold in pp-inc.php

you need to put the code in vb footer template

You can use an if clause like if PP_SCRIPT == "PhotoPost"
Please be detailed enough so that I can do this without errors.

Where in pp-inc.php? At the end?

Can you give me an example "if" statement? Thanks.
jdougher is offline   Reply With Quote
Old February 6th, 2009, 03:29 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,661
I posted where in pp-inc.php thats why I gave the line in the top of the file and stated add the bold line

As far as a vb conditional not too sure there as I dont code vb mods normally. I am too busy providing support for our products and our code.

Maybe this?

Code:
Content visible to verified customers only.
__________________
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; February 6th, 2009 at 03:42 PM.
Chuck S is online now   Reply With Quote
Old February 6th, 2009, 03:52 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 316
Quote:
Originally Posted by Chuck S View Post
I posted where in pp-inc.php thats why I gave the line in the top of the file and stated add the bold line

As far as a vb conditional not too sure there as I dont code vb mods normally. I am too busy providing support for our products and our code.

Maybe this?

Code:
Content visible to verified customers only.

We're talking aboiut reviewpost here, right? Why "PhotoPost"?
jdougher is offline   Reply With Quote
Old February 6th, 2009, 04:14 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,661
Change it to ReviewPost then You can define it any name you wish really just as long as whatever conditional your using has the proper name.
__________________
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
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
<body> tag leonK Classifieds How do I...? 4 March 24th, 2007 04:42 PM
Right Before the Closing </BODY> Tag. nuguru Photopost Pro How Do I...? 4 December 15th, 2006 11:42 PM
Modify body tag for showproduct.php pages only ywickham ReviewPost Installation & Upgrades 3 September 13th, 2005 03:40 PM


All times are GMT -5. The time now is 01:34 PM.

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