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 > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
Thread Tools Rate Thread Display Modes
Old September 8th, 2004, 05:49 PM   #1
b6gm6n
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
Talking anyone tried todo a photopostpal with ipb?

Hi..

I'm trying, so far so good...not really

ipb...hmmm doesn't use $ in any templates right? thus if i insert a $photopostfeature or anything like that i'm stuffed... also i'm trying to find the string that holds the ipb.member['id'] - but i cannot use $ in ipb (i'm on v2.0 using 4.8.2) ahh...any help would be greatly recieved

edit, my databases are one, i'm trying to use the membergrouping to view thumbs or if not logged in show another thumb of my choosing, worked on VB... maybe i'll use the photopost group table instead

cheers

-T

Last edited by b6gm6n; September 8th, 2004 at 05:51 PM.
b6gm6n is offline   Reply With Quote
Old September 9th, 2004, 10:07 AM   #2
dkmulford
Registered User
 
Join Date: May 2003
Posts: 138
What are you trying to do? ...bring IPB into PP as a PAL? If so, I'd be interested in this also.

DM
dkmulford is offline   Reply With Quote
Old September 9th, 2004, 12:36 PM   #3
b6gm6n
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
no just the recent photos in the ipb index

-T
b6gm6n is offline   Reply With Quote
Old September 9th, 2004, 01:32 PM   #4
b6gm6n
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
where's omegatron...?

i'm stuck, i get and invalid "mysql_fetch_array(): supplied argument is not a valid MySQL result resource"

gotta be right right?

I'm trying to make a photopost pal to show the recent images on my ipb index page, the query is good to my knowledge, i'm not sure if my 'mgroups' line is halting things, actually i removed it and still the same...please advise, i'll keep working

Code:
Content visible to verified customers only.
b6gm6n is offline   Reply With Quote
Old October 8th, 2004, 04:42 PM   #5
Tattooz
Member
Verified Customer
 
Join Date: Oct 2003
Location: NJ
Posts: 31
Send a message via AIM to Tattooz
Did anyone get this to work? I would really like to get some random photopost photos on my IPB 2.0 index page.
Tattooz is offline   Reply With Quote
Old October 8th, 2004, 06:42 PM   #6
b6gm6n
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
yeah i got it to work, check photopostdev.com

http://www.photopostdev.com/showthread.php?t=922
b6gm6n is offline   Reply With Quote
Old October 9th, 2004, 04:42 AM   #7
Tattooz
Member
Verified Customer
 
Join Date: Oct 2003
Location: NJ
Posts: 31
Send a message via AIM to Tattooz
I see that Toney, but I have mine setup in 2 seperate databases also.

Is there a fix for that?
Tattooz is offline   Reply With Quote
Old October 9th, 2004, 07:18 AM   #8
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 75,342
Yep Toney's problem was he was trying to define variables from ourside of photopost in IBP from looking at the code

If you need to use different databases just use the mysql select database

If they have the same user and password you can use this

mysql_select_db("db1");

If they have different user/password you need to setup a link statement and this


$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Not connected : ' . mysql_error());
}

// make foo the current db
$db_selected = mysql_select_db('foo', $link);
if (!$db_selected) {
die ('Can\'t use foo : ' . mysql_error());
}
__________________
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 9th, 2004, 08:34 AM   #9
Michael P
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,833
http://www.photopostdev.com is the site we discuss subjects like this that involve coding issues.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old October 9th, 2004, 12:11 PM   #10
Tattooz
Member
Verified Customer
 
Join Date: Oct 2003
Location: NJ
Posts: 31
Send a message via AIM to Tattooz
omegatron, after trying what you said (mysql_select_db("db1"), I now get this error "Could not select photopost database"

Got any other ideas? Besides moving the database?

Thanks
Tattooz is offline   Reply With Quote
Old October 9th, 2004, 12:43 PM   #11
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 75,342
As Michael stated this kind of question is not answered on a support forum where we do not discuss hacking but help customers with the normal program

You need to ask your hacking questions at the hack site as I was just being nice and pointing you in the right direction
__________________
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 9th, 2004, 12:50 PM   #12
Tattooz
Member
Verified Customer
 
Join Date: Oct 2003
Location: NJ
Posts: 31
Send a message via AIM to Tattooz
Ok, will do, thanks
Tattooz 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ReviewPost and IPB 1.2 willmullis Before You Buy 3 June 8th, 2005 11:59 AM
Switch from IPB to vB and IPB Gallery Pre-Sales Q azPNG Before You Buy 2 May 19th, 2005 09:54 AM


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

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.