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 January 28th, 2005, 05:37 AM   #1 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
inc_features.php to show photos on a vbP3 portal front page

I'm running PhotoPost PHP 4.86 vB3 Enhanced and want to display a selection of photos on my vbP3 portal front page using inc_features.php from PhotoPost.

Reading the 4.8.5 Enhanced vB3 Index Integration thread it tells you how to put photos on your forum index page which isn't what I want.

I've edited the inc_features.php as directed and created a PHP block on my portal and included the code to call the photos. The block is appearing on the front portal pages but no photos are being shown.
criscokid is offline   Reply With Quote
Old January 28th, 2005, 10:39 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,946
Code modification discussions are discussed at Photopostdev.com

I can tell you quick off that you would need to make sure you try and see what happens when you blank out this line

if ( $ViewPerm[$pcat] == 1 ) continue;
__________________
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 February 21st, 2005, 12:32 PM   #3 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
I've posted over at Photopostdev.com three weeks ago and nobody's offered any assistance. There's not much 'support' for problems over on Photopostdev.com and I'm not the only one to comment on this over this last few weeks.
criscokid is offline   Reply With Quote
Old February 21st, 2005, 01:27 PM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
As you know, PPDev is a community website not supported by PhotoPost Staff.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old February 21st, 2005, 01:40 PM   #5 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
This is so frustrating!!! In one post you've told me to use inc_features.php which I have and can't get it to work (detailed in this thread) where you tell me you can't offer me help - go somewhere else.
criscokid is offline   Reply With Quote
Old February 21st, 2005, 02:07 PM   #6 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
I'm trying to reply in two threads; so better kept to one. What I am trying to suggest is that you use inc_features.php as the template for a vBPortal integration. We don't support a vBPortal integration simply because we've never written one and as a policy we can't support code we didn't write. PPDev is a way to try and get other people involved to help build a mod common to other users.

As I explained in my other post, inc_features.php is a template - the template we support is for vB3. It's a self contained script which can be used for any integration (I wrote and documented one for .threads and posted it) simply by changing the HTML code contained within.

Since I am not familiar with vBP integrations at that level, I don't have a way to support your request. However, I suggested PPDev which may (or may not) have people who are more familiar who can help.

If you use inc_features.php as a baseline, then you should be able to modify the HTML to suit your integration.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old February 21st, 2005, 02:40 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,946
In VBportal simple make a PHP code block with the code from inc_features.php without the <? and ?> php identifiers.

Alter the line to include the full path to the file so it can be found

require "config-int.php";

That should be all you need to do as your replicating the code as Michael stated in inc_features.php
__________________
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 February 22nd, 2005, 03:58 AM   #8 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
I'm not an expert on HTML and PHP but always try to use a bit of logice in trying to get things to work.

I've got my PHP block created in vbPortal - the block with the title I've given it is displayed when the page is generated but still no photos or error messages are displayed.
criscokid is offline   Reply With Quote
Old February 22nd, 2005, 04:04 AM   #9 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Here#s the code I'm using in the PHP block:

Code:
Content visible to verified customers only.
criscokid is offline   Reply With Quote
Old February 22nd, 2005, 11:15 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,946
Make sure the require is the right path to it and remove this line and test

if ( $ViewPerm[$pcat] == 1 ) continue;
__________________
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 February 22nd, 2005, 01:08 PM   #11 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
The very first line is
require "./gallery/config-int.php";

wghich is correct as my PhotoPost is installed in /gallery and config-int.php is in /gallery

I've removed if ( $ViewPerm[$pcat] == 1 ) continue; and there's no change - still no photos showing up.
criscokid is offline   Reply With Quote
Old February 22nd, 2005, 05:00 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,946
Okay well I suggest you continue this discussion on the mod site http://www.photopostdev.com
__________________
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 February 22nd, 2005, 05:17 PM   #13 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
And what's the likelihood of me getting any support over on photopostdev.com? Been there done that already in terms of posting for help.

I've created a .php with the aforementioned code contained it it, then called it from a browser... nothing but a blank page.

Last edited by criscokid; February 22nd, 2005 at 05:21 PM.
criscokid is offline   Reply With Quote
Old February 22nd, 2005, 05:30 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,946
I beleive as its been pointed out we support our product here on this forum. Since your trying to do something outside of asking for support we have suggested you to go a hack site to discuss your hack.

Photopostdev is not affiliated with our company in any way so I cant tell you if you will get a response.

Also remember with your file you have your not using the html yet as its a variable you have this

Quote:
$photopostfeature = <<<PPPRINT
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%">
<thead>
<tr>
<td class="tcat" colspan="$columns" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('featurepal');"><img id="collapseimg_featurepal" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_featurepal].gif" alt="" border="0" /></a>
Featured Photos
</td>
</tr>
</thead>
<tbody id="collapseobj_featurepal" style="$vbcollapse[collapseobj_featurepal]">
$featured
</tbody>
</table>
</td>
</tr>
</table>
<br />

PPPRINT;
it should be something like this below that code block

Quote:

echo "$photopostfeature";
__________________
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 February 23rd, 2005, 03:18 AM   #15 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Quote:
Originally Posted by omegatron
I beleive as its been pointed out we support our product here on this forum.
It is your product code that I'm trying to get to work - I'm trying to show PhotoPost photos on a non PhotoPost page (plain HTML page).

I'm not an HTML or PHP expert.... what am I meant to do with the code that you detailed in your previous post?
criscokid is offline   Reply With Quote
Old February 23rd, 2005, 11:08 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,946
Criscokid

It has been stated several times product support does not include helping people modify there code to do something our package is not designed to do by default. The code block you are refering to is a block written to show pics on a vb3 index page and the documentation for that is well documented.

I have given you hints many times in this thread as I try and be nice however as noted it is time you take this discussion to the right forum for an answer.

I think my post above stated exactly what you need to do and why the block did not display
__________________
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 February 23rd, 2005, 12:08 PM   #17 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
I do appreciate other people's help and offer help to other where and when I can.

In this case (your post of yesterday) you've given me two lots of code that I don't know what to do with or where to put them and that doesn't help me to help myself. As I've said before I'm not an HTML or PHP expert - somethings that may be obvious to yourselves isn't necessarily obvious to others.
criscokid is offline   Reply With Quote
Old February 23rd, 2005, 12:38 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,946
My hint above was very clear for someone who is not a developer. Your missing the instructions.

Quote:

it should be something like this below that code block
note the word below. Please any other questions or comments on a hack please keep them to the hack site.
__________________
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show new posts on Forum-Portal phpBB Hajö Classifieds Installation & Upgrades 0 November 13th, 2005 05:32 AM
Gallery on cmps portal page laskos How Do I? - vBulletin 3.0.X 0 July 15th, 2005 05:34 PM
Front Page problem Lionel Classifieds Installation & Upgrades 10 April 24th, 2005 02:39 AM
Subcats on front page .. Slave vBGallery Suggestions 1 February 22nd, 2005 02:31 AM
Show new photos in a web page / forum agueviv Photopost Pro Installation & Upgrades 1 July 14th, 2004 01:42 PM


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

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