 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
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!
|
| |
August 27th, 2005, 05:24 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
August 28th, 2005, 11:34 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
August 28th, 2005, 01:56 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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
|
| |
September 1st, 2005, 08:58 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
September 2nd, 2005, 10:32 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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?
|
| |
September 9th, 2005, 09:59 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,672
|
That depends on what forum your using pfd
|
| |
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....
|
| |
September 9th, 2005, 10:44 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,672
|
Okay well we dont pull signatures avatars etc from phpbb2
|
| |
September 9th, 2005, 10:48 AM
|
#15 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 50
|
well that sucks.....
|
| | |
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 12:53 PM. | |