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.
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.
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.
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.
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?
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.
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
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