 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
January 5th, 2005, 11:04 AM
|
#1 (permalink)
| | Registered User
Join Date: Apr 2002 Location: Colorado
Posts: 52
| How do I do the Featured Photos...
I probably missed this somewhere easy but how do I do the Featured Photos box on the main forum index ( VB) page like you have here at photopost.com?
|
| |
January 5th, 2005, 11:17 AM
|
#2 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
January 5th, 2005, 11:57 AM
|
#3 (permalink)
| | Registered User
Join Date: Apr 2002 Location: Colorado
Posts: 52
| Quote: |
Originally Posted by Michael P | Cool, I must have a path messed up or something, I am getting this at the top of my forums, any ideas?
Warning: main(./photos/inc_features.php): failed to open stream: No such file or directory in /home/1/xxx/coloradok5.com/forums/index.php on line 59
Warning: main(): Failed opening './photos/inc_features.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/1/xxx/coloradok5.com/forums/index.php on line 59
Warning: main(./photos/inc_photopost.php): failed to open stream: No such file or directory in /home/1/xxx/coloradok5.com/forums/index.php on line 60
Warning: main(): Failed opening './photos/inc_photopost.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/1/xxx/coloradok5.com/forums/index.php on line 60
Last edited by coloradok5; January 5th, 2005 at 02:45 PM.
|
| |
January 5th, 2005, 12:08 PM
|
#4 (permalink)
| | Registered User
Join Date: Apr 2002 Location: Colorado
Posts: 52
|
OK, I did notice I needed:
include('./photos/inc_features.php');
// include('./photos/inc_photopost.php');
and not photopost/
But it still displays the same errors
|
| |
January 7th, 2005, 04:27 PM
|
#5 (permalink)
| | Senior Member Verified Customer
Join Date: May 2003 Location: Va
Posts: 528
|
include('./photos/inc_features.php');
include('./photos/inc_photopost.php');
Remove the //
I had to remove a period so mine looks like so but dont understand why.
include('/photos/inc_features.php');
include('/photos/inc_photopost.php');
|
| |
January 7th, 2005, 04:35 PM
|
#6 (permalink)
| | Registered User
Join Date: Apr 2002 Location: Colorado
Posts: 52
|
Sorry I did get this to work, the // was just because I had it commeted out, I had to add an extra . to go back one directory.
include('../photos/inc_features.php');
|
| |
January 12th, 2005, 03:23 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 21
| Error with mysql or ??
Hi did do the modifications :
include('../photo/inc_features.php');
include('../photo/inc_photopost.php');
and in the template
$header
$navbar
$photopostfeature
But i still keeps getting the same error ???
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home2/mydomain/public_html/photo/inc_features.php on line 49
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home2/mydomain/public_html/photo/inc_features.php on line 63
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home2/mydomain/public_html/photo/inc_features.php on line 116
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home2/mydomain/public_html/photo/inc_photopost.php on line 100
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home2/mydomain/public_html/photo/inc_photopost.php on line 111
or if i use :
include('./photo/inc_features.php');
include('./photo/inc_photopost.php');
ill get the error:
Warning: main(./photo/inc_features.php): failed to open stream: No such file or directory in /index.php on line 59
Warning: main(): Failed opening './photo/inc_features.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php on line 59
Warning: main(./photo/inc_photopost.php): failed to open stream: No such file or directory in /index.php on line 60
Warning: main(): Failed opening './photo/inc_photopost.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php on line 60
All help needed !!
|
| |
January 16th, 2005, 03:04 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 21
|
Woops figured it all out!
Its quite simple when you know of it - the errors are simply because i did select the wrong database - eddit the inc_f... and inc_p.. files so the database get selected is the right one! - remember to select the right one at the bottom of the files!
|
| |
January 23rd, 2005, 11:02 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Nov 2003 Location: Somewhere above TX
Posts: 35
|
Here's my error. It's looking for a table that's not there. Any ideas? I know it's something simple but I must be tired.....
Invalid SQL:
SELECT
user.username, (user.options & 512) AS invisible, user.usergroupid,
session.userid, session.inforum, session.lastactivity,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM vb3_session AS session
LEFT JOIN vb3_user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1106541779
ORDER BY username ASC
mysql error: Table 'photopost.vb3_session' doesn't exist
|
| |
January 24th, 2005, 03:37 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 87
|
Was interested in this . Having searched through my index files I cannot for the life of me find the required place to edit the text
i.e
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');
Root/index.php and root/forum/index.php are both only one line ,and this aint in it
|
| |
January 24th, 2005, 05:32 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 87
|
Found it!!! Weird! Transferred the file over via Flash FXP and it was just one line.Transferred it via IE and it was OK !!
Anyway
get this error
Warning: main(./Photopost/inc_features.php): failed to open stream: No such file or directory in /index.php on line 62
Warning: main(): Failed opening './Photopost/inc_features.php' for inclusion (include_path='.:/usr/share/pear') in /index.php on line 62
Warning: main(./Photopost/inc_photopost.php): failed to open stream: No such file or directory in /index.php on line 63
Warning: main(): Failed opening './Photopost/inc_photopost.php' for inclusion (include_path='.:/usr/share/pear') in /index.php on line 63
|
| |
January 24th, 2005, 06:36 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Storm
You have VB and Photopost in separate databases make sure the follow the directions in the file to uncomment the top lines and reselect your database for forums down the bottom
Sal
If Photopost is outside the forum direction you need to place the true path in there or this
../Photopost
Notice ./ is only valid to select a directory in your forums directory whereas ../ goes outside the forum directory usually webroot |
| |
January 24th, 2005, 06:59 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 87
|
Thanks . Unfortunately ,although I get no error message , I get no pictures displayed either.Just looks like it always has.
Update: I have a box there Featured Photos ...But it is empty.
I also have a box underneath my forums Photo Galleries ,which I dont really want there
Last edited by SalTheWop; January 24th, 2005 at 07:13 PM.
|
| |
January 25th, 2005, 06:08 AM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 21
|
Anyone has the featured photo to work on a non vb page - I have tried a little but it just does not seem to work with the same settings like when into the vb index.php - Anyone got some code eksample of the a page that can be copy/pasted ??
Thanks1
|
| |
January 25th, 2005, 06:48 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
It will be empty if there are no photos in categories. It does not pull images that are in the members gallery
Timo code hacking can be asked here http://www.photopostdev.com |
| |
January 25th, 2005, 12:44 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 87
|
OK ,thanks.
With the box underneath the forums ,can I just skip this part
<!-- /main -->
<br />
$photopostcats
<br />
|
| |
January 25th, 2005, 12:47 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
It you do not want to display the photopost cats on the forum sure just skip it
|
| |
January 26th, 2005, 03:00 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 87
|
Got this working.One problem ,or rather,annoyance. My site is black in colour,the gallery background is black.But the photos in the Feature box are surrounded by a white border! Can this be changed?
|
| |
January 26th, 2005, 03:31 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Look at the inc_features and change the bgcolor tag from #FFFFFF to #000000
|
| |
January 26th, 2005, 05:14 PM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 87
|
OK thanks. One more thing..sorry. I have the Members galleries and a couple of other Top Level Categories .If I post in another category (Main for example) ,the pics show up in the Main category ,but also in my personal gallery ,is that right?
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 02:35 AM. | |