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 August 27th, 2005, 10:03 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 15
login and avatars not sharing correctly--help please

Hi! Thanks for taking the time to look at my question.

I have SMF for my forum and PhotopPost Pro for my gallery on my scrapbooking website--Scrapstreet.com I am still in the building phase--and a newbie--so if you peek over you will need to use the homepage to link in as I have not yet hyperlinked all over.

Here is my problem: my users have shared registration and post count, but not shared login and not a shared avatar. When they login the forum, they also have to login the gallery. Their avatar comes up in the forum, but must be reloaded in the gallery profile. And in order to log out they have to visit both pages and log out again.

During install, I placed both in a shared database, but gave them each their own prefix (the directions seemed to suggest this was better). Is this my prob and what is the best way to fix it.

Thanks so much!
dora is offline   Reply With Quote
Old August 27th, 2005, 05:24 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,672
Dora

Your still having cookie issues here. Are they on the same server or domain names? Maybe posting a url to your install would help.

I beleive in SMF the avatar must be stored as a full url in the user profile as this is how we pull an avatar

$userprofile[6] = "<img src=\"$uavatar\" />"; // Avatar
__________________
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 August 27th, 2005, 08:27 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 15
Darn cookies--give me an oreo anyday.

Ok, so site is: homepage

forum

gallery

both are hosted on powweb and share a database with different prefixes for each--mb_ and pg_

In SMF in avatar file is this:
<?php

// This file is here solely to protect your avatars directory.

// Look for Settings.php....
if (file_exists(dirname(dirname(__FILE__)) . '/Settings.php'))
{
// Found it!
require(dirname(dirname(__FILE__)) . '/Settings.php');
header('Location: ' . $boardurl);
}
// Can't find it... just forget it.
else
exit;

?>

Does any of this help? Thanks so much for helping me! Dora
dora is offline   Reply With Quote
Old August 28th, 2005, 11:34 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,672
I believe I explained above how the avatar is pulled above.

I tried registering my username on your board but your system never sends the confirmation email so I can confirm and test out the avatars
__________________
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 August 28th, 2005, 01:20 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 15
Omegatron

I totally appreciate your help. I do not always understand what you are saying due to lack of knowledge about code. Thank you for your patience.
I activated your name and sent the email--haven't figured out why that isn't working automatically, but will bug the SMF people on that.

Here is what I have for cookie settings--I am sure that I am missing something, but do not know what to put in the empty boxes.
Cookie Settings
PhotoPost Cookie Path
This should be set to match the path/domain for your cookies. Setting to / enables entire site. --this I have just / in box

Forum Cookie Prefix
Some Default values vB3: bb, phpBB2: phpbb2mysql, Threads: w3t_ --this i have nothing in box

PhotoPost Cookie Domain
.yourdomain.com; sets the cookie to be usable across the domain --this I have nothing in box

Your SMF Cookie Name
Only needed for users of SMF forums this I have SMFCookie10

Avatar problem. Thank you for putting the code in the first answer. My problem is not that I ignored it, but that I do not know where to put it. any advice would be greatly appreciated.
Thanks again,
Dora
dora is offline   Reply With Quote
Old August 28th, 2005, 01:56 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,672
I beleive currently avatars must have a full url in the avatar field to display and we look for that in the user table avatar field

$utable.avatar

Now I dont have permission to post so I cant say further but your avatar's are probally not stored full url to them in the avatar fields


Your cookies are simply you have the products installed on two separate domains

www.domain.com

domain.com

they must exist both on one domain if you want cookies recognized. I dont beleive SMF has a cookie domain setting.
__________________
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 September 1st, 2005, 08:32 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 15
omegatron,

I am still stuck on both of these. I just do not get it. I activated your name so that you can hopefully help me. website

Avatar--I can see when I do view source that the avatar line says:
<td class="tddetails" width="175" valign="top" align="left">
<span class="medium"><b>Dora<br /><img src="" width="19" height="14" /></b></span>
<span class="small"><br />Location: Chicagoland<br />Posts: 5</span>
and there is the little x whenever a comment is left.

In the SMF forum admin panel I have:
avatars url: http://www.scrapstreet.com/MessageBoard/avatars
avatars directory: /www/s/scrapstreetc/htdocs/MessageBoard/avatars

I know that you gave me some other codes up above, but I cannot find where they go. I need really specific instructions. So sorry.

Then the double login/logout problem. I do not know where you mean that I have the products on two separate domains. As far as i can tell, they are both listed on the same one. Could you point me in a specific direction on this too?

Thanks. I really appreciate it. Dora
dora is offline   Reply With Quote
Old September 1st, 2005, 08:58 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,672
try uploading this smf file to your forums subdirectory it does both avatar types both local and not local
Attached Files
File Type: zip photopost-forums.zip (15.0 KB, 5 views)
__________________
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 September 2nd, 2005, 09:31 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 15
Ok, uploaded them but still getting x's not avatars. Gave up on this for now as I need to open the site and having no avatar is better than the x. So, I just turned it off. I will come back to it when I can. Appreciate all the help.

If you could just give me some advice on the login/cookie problem I promise to get out of your hair.

Thanks,
Dora
dora is offline   Reply With Quote
Old September 2nd, 2005, 10:32 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,672
SMF has two avatar types non local which means users upload a full url to an image and local meaning the ones in your SMF avatar directory. Whatever the file I posted works with both types. I am assuming your smf url in the photopost config is right here as it would need to be

cookies

You need to have SMF and photopost on the SAME DOMAIN as SMF does not have any true cookie settings and you need to have photopost set to cookie path of / and the smf cookie name has to be entered in Photopost cookie settings

So smf and photopost on www.domain.com works

one on www.domain.com and one on domain.com does not work
__________________
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 September 9th, 2005, 09:35 AM   #11 (permalink)
Registered User
 
Join Date: Jan 2005
Posts: 50
we can have avatars show up in the forums? how do we do that?
pfdwebgal is offline   Reply With Quote
Old September 9th, 2005, 09:59 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,672
That depends on what forum your using pfd
__________________
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 September 9th, 2005, 10:34 AM   #13 (permalink)
Registered User
 
Join Date: Jan 2005
Posts: 50
I'm using phpBB for my fourms....we have avatars there....
pfdwebgal is offline   Reply With Quote
Old September 9th, 2005, 10:44 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,672
Okay well we dont pull signatures avatars etc from phpbb2
__________________
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 September 9th, 2005, 10:48 AM   #15 (permalink)
Registered User
 
Join Date: Jan 2005
Posts: 50
well that sucks.....
pfdwebgal 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
Sharing Gallery stitch How Do I? - vBulletin 3.0.X 1 April 5th, 2005 12:07 AM
Sharing database with existing forum eunzo Photopost Pro Installation & Upgrades 1 March 14th, 2005 02:05 PM
Sharing My Next and Previous images converted to gray lakerszone Photopost Pro Installation & Upgrades 0 January 4th, 2005 09:38 AM
Last reviews not showing correctly lygren ReviewPost Installation & Upgrades 1 July 27th, 2004 09:24 AM


All times are GMT -5. The time now is 12:53 PM.

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