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 October 3rd, 2008, 08:18 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2008
Location: New Zealand
Posts: 24
Adding Sidecolumn to Reviewpost [Module]

Hi Chuck,

I am trying to make the look & feel of all pages on my site consistent. To do so with ReviewPost I'd like to have a navigation module appear on the left side each page, as appears on my CMPS Home Page here.

How can I add this module to all ReviewPost pages?

Thanks again!
Mondi is offline   Reply With Quote
Old October 4th, 2008, 06:37 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Possibly when using the sidebar in reviewpost sidebar settings elect to show the custom 1 pal box. Under edit templates place the html you wish to show within that template?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 5th, 2008, 11:01 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2008
Location: New Zealand
Posts: 24
Sidebar

Hehehe....

Gonna give that a 'go' Chuck. Let you know how I am faring.

By the way: see my words about your help under 'Before You Buy.' Thought you deserve the compliment.
Mondi is offline   Reply With Quote
Old October 6th, 2008, 05:11 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Thanks I do my best.

The sidebar pal is easy under sidebar options turn on custom pal 1. Then in edit templates in admin if you have on install set the template files to writable per the install instructions you should be able to edit them. If you edit the custom1pal template you will definately see in there its simply html surrounded by a php conditional. Where it says title replace with a title like Google Ads and then it says STUFF you put your html.

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.
Chuck S is offline   Reply With Quote
Old October 23rd, 2008, 05:01 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2008
Location: New Zealand
Posts: 24
Trippin' up

Chuck,

Followed your advice but to no avail.

Here's the code I want to slot into custom pal 1:

Quote:
<tr>
<td class="$bgclass">
<!-- The Community -->
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <b>The Community</b></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <if condition="THIS_SCRIPT == 'adv_index'"><a href="http://gblcg.com/forums.php"/<if condition="$session[sessionurl]">?$session[sessionurl]</if>"> Forum <else /> <a href="$vboptions[homeurl]"> Home </a></if></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
</tr>
<!-- show members only links -->
<!-- <if condition="$show['member']">
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/index.php">linked item for your site</a></td></tr>
</if> -->
<!-- <if condition="$show['member']">
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/index.php">linked item for your site</a></td></tr>
</if> -->
<!-- / show members only links -->
</table>
<!-- / The Community -->
<!-- Site Rules -->
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <b>Site Rules</b></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://gblcg.com/rules">Site Rules</a></td>
</tr>
</table>
<!-- / Site Rules -->
<!-- Our Blogs-->
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <b>Our Blogs</b></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://gblcg.com/blogs">All Blogs</a></td>
</tr>
</table>
<!-- / Site Rules -->
<!-- Articles -->
<!-- Link Direcory-->
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <b>Link Directory</b></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://gblcg.com/links">Link Directory</a></td>
</tr>
</table>
<!-- / Site Rules -->
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <b>Member Articles</b></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://gblcg.com/articles/index.php">Articles</a></td>
</tr>
</table>
<!-- / Articles -->
<!-- Classifieds -->
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <b>Classifieds</b></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://gblcg.com/vbclassified.php">Classifieds</a></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://gblcg.com/vbclassified.php?do=newad">Submit New Ad</a></td>
</tr>
</table>
<!-- / Classifieds -->
<!-- Our Members-->
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <b>Our Members</b></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://gblcg.com/members/list/">Members List</a></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/group.php$session[sessionurl_q]">Social Groups</a></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/album.php?do=addalbum$session[sessionurl_q]">Create an Album</a></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/profile.php?do=editprofilepic$session[sessionurl_q]">Upload an Image</a></td>
</tr>
</table>
<!-- / Media Gallery -->
<!-- Contact Zone -->
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <b>Contact zone</b></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/showgroups.php$session[sessionurl_q]" rel="nofollow">Staff</a></td>
</tr>
<tr>

<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/sendmessage.php" rel="nofollow">$vbphrase[contact_us]</a></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/$vboptions[contactuslink]" rel="nofollow">Sponsors</a></td>
</tr>
</table>
<!-- / Contact Zone -->
<!-- Site Support-->
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <b>Site Support</b></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://gblcg.com/helpcenter.php">Site Support</a></td>
</tr>
</table>
<!-- / Site Support-->
<!-- Archive -->
<if condition="$vboptions['archiveenabled']">
<hr size="1"/>
<table border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%">
<tr>
<td align="center"> <a href="$vboptions[bburl]/archive/index.php">Archive</a></td>
</tr>
</table>
</if>
<!-- / Archive -->
<!-- Search -->
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center"> <form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<div>
<input type="text" class="bginput" name="query" size="18" tabindex="1001" />
<input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" />
</div>
<div class="smallfont" style="padding:0.2cm; margin:0px; margin-top:0px" align="center"><a href="$vboptions[bburl]/search.php?">$vbphrase[advanced_search]</a></div>
</form></td>
</tr>
</table>
<!-- / Search -->
<!-- Administrators -->
<if condition="$show['admincplink']">
<hr size="1"/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center">
<tr class="">
<td align="center" class="tcat"><span id="other"><strong> <a href="$vboptions[bburl]admincp/index.php$session[sessionurl_q]" target="_blank"> $vbphrase[admin]</a></strong></span></td>
</tr>
<!-- / Administrators -->
</td>
</tr>
</table>
</if>
</tr>
I can't figure out why the page returns a parsing error?

Quote:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/gblcg.com/public_html/reviews/templates/vb3enhanced/custom1pal.tmpl on line 22
Your advice?

As always, Thanks!
Mondi is offline   Reply With Quote
Old October 23rd, 2008, 06:38 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
You cant use vbulletin conditionals or variables in your html in the templates elsewhere outside vbulletin.

<if condition="THIS_SCRIPT == 'adv_index'">

You will see in our templates how we have to switch with the echo's PPPRINT etc statements to switch between php and html
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a Module to vbPortals Jig Jack-Flash Photopost Pro Installation & Upgrades 1 April 14th, 2007 08:56 AM
Error when adding to vBadvanced module kaelaria Classifieds How do I...? 13 March 22nd, 2006 08:15 AM
ReviewPost - adding more thumbnail photos fpoole ReviewPost Installation & Upgrades 4 August 7th, 2005 08:29 AM


All times are GMT -5. The time now is 01:08 AM.

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