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 > PhotoPost Product FAQs

PhotoPost Product FAQs Answers to your most frequently asked questions about all our products.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old June 17th, 2008, 11:49 AM   #1
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 74,489
Cookies and Login Problems!!

The following is a tutorial on how to set cookies when installing Photopost with an external forum so that cookies can be read over all subdomains.

Number one mistake made is people have their forums or galleries installed on subdomains etc and the cookie login will be dropped when going back and forth.

To ensure cookies are set the same in both Photopost and your forum you can do this before installing Photopost.

Go to your forum admin and set your cookies like so.

cookie path = /

This ensures the cookie is read across the whole domain.

cookie prefix = ??

This is only needed if your forum has a cookie prefix like in invisionboard vbulletin etc. Example in vbulletin this is found in your vbulletin config.php file in the includes subdirectory of your vb install. Usually it is bb.

cookie domain = .yoursite.com

This will ensure that the cookie is read over any subdomain on the master domain yourdomain.com

Now that is it on forum cookie settings. There is one additional note though. In phpbb3, wowBB and SMF they use a cookie name which is an additional setting. They do not have a cookie prefix. You will want to write down the cookie name before installing Photopost Products.

Next after you have set your forum cookies correct you can logout and login again to generate the proper new cookies.

You would then go about installing Photopost Products per our installation instructions here.

PhotoPost PHP Photo Sharing Photo Gallery Installation Guide

Now on install at step 4 you can make sure to either enter the correct cookie prefix or cookie name depending on the forum installation and once you run through install you should be cookied in and set the Photopost cookie domain as noted to .yoursite.com in Admin => Cookie Settings.

Once you do this you should have no issues with cookies or dropped logins.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline  
Old December 22nd, 2013, 02:09 PM   #2
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 74,489
if you are running vbulletin or xenforo forums which utilize a global cookie salt you would have to set this cookie salt in our config file setting for this to be able to login.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline  
Closed Thread


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

Forum Jump


All times are GMT -5. The time now is 05:15 PM.

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