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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 9th, 2007, 03:41 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 130
Cookie applied to subdirectory only??

What would my cookie settings be if I wanted to NOT have them applied to entire site, but only a subdirectoy?

Thanks
alma townsend is offline   Reply With Quote
Old September 9th, 2007, 05:30 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
well this answer depends on your setup. If your integrating with a forum they need to be sitewide for proper login to be achieved in both the forum and gallery.
__________________
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, 2007, 06:55 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 130
If I do not want pp integrated with my forum. How would I set cookies to be only within a specific subdirectory?

Thanks
alma townsend is offline   Reply With Quote
Old September 9th, 2007, 08:20 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
If you just use Photopost try making the cookie path /gallery instead if / now this is assuming your photopost is installed with the name gallery change accordingly. That should assist you with what you want.
__________________
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 November 24th, 2007, 06:43 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 111
hmm.. if I am getting error messages when logging out thru my gallery. Is it my photopost cookie path?
Right now it is just ((( / )))
I have it intergrated with my vbulletin board,so what would the path be? Or do i even need to change it? Something is goofy now because we cant logout thru the gallery


thansk
Nephalim is offline   Reply With Quote
Old November 24th, 2007, 07:06 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
If you can not logout in the gallery then your cookies are not set properly

Both vbulletin and Photopost should be set like this

cookie path /

cookie prefix bb

cookie domain .domain.com

then if you logout your cookies will match and you will be logged out

also remember if you change cookies in your setup you want to flush cookies from your browser to do a proper test.
__________________
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 November 24th, 2007, 09:04 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 111
Quote:
Originally Posted by Chuck S View Post
If you can not logout in the gallery then your cookies are not set properly

Both vbulletin and Photopost should be set like this

cookie path /

cookie prefix bb

cookie domain .domain.com

then if you logout your cookies will match and you will be logged out

also remember if you change cookies in your setup you want to flush cookies from your browser to do a proper test.
Oh this is so frustrating.
I set cookie path to / actually it was /
prefix was bb
and cookie domain is mydomains name.com

cleared cookies in two browers to check and it still will not logout in my gallery. Am I just doing something wrong?

thank you
Nephalim is offline   Reply With Quote
Old November 24th, 2007, 09:50 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
your domain name in both should be set to .domain.com for proper operation. If you logout in one app and not logged out in the other then your cookies are not set right in both apps. It would actually help if you listed a url and sign in so we can see how cookies are being set.
__________________
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 November 25th, 2007, 12:00 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 111
Thanks for reply. I dont get it. my skin works with everything in my forum...arcade/ vbmedia/ vbblog but not Photo post logout.
Nephalim is offline   Reply With Quote
Old November 25th, 2007, 12:08 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Feel free to post your sites url and a test login here so we can see how you set cookies so we may actually respond based on the true facts here based on your site 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   Reply With Quote
Old November 25th, 2007, 12:25 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 111
Quote:
Originally Posted by Chuck S View Post
Feel free to post your sites url and a test login here so we can see how you set cookies so we may actually respond based on the true facts here based on your site login.
http://www.blastology.net/gallery/?
user-tester
pw-wordpass

login in the gallery, then TRY to logout.
Nephalim is offline   Reply With Quote
Old November 25th, 2007, 01:46 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 111
Quote:
Originally Posted by Chuck S View Post
Feel free to post your sites url and a test login here so we can see how you set cookies so we may actually respond based on the true facts here based on your site login.
Nephalim is offline   Reply With Quote
Old November 25th, 2007, 02:01 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
We already replied to your support desk email on this issue and explained your issue. You are misreporting this as a cookie issue here but in your support thread you correctly state its your logout link that is bad.

As we explained in our email to you on this matter your using a custom style in vbulletin. You have a relative link to login.php in your footer and you must replace that relative link with a full url so that file in vb can be found.

"login.php

would be

"http://www.blastology.net/login.php

I had your admin login already so I fixed this for you but you should have gotten my email replay about this issue awhile ago.
__________________
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 November 25th, 2007, 02:49 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 111
Hmm... it may have been erased.I cant believe its so difficult with this style and photopost.I spoke with vbulletin and they say its photopost.we still get these erros when trying to logout of gallery

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/metalmus/public_html/blastology/gallery/login.php on line 37

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/metalmus/public_html/blastology/gallery/login.php on line 37

we tried it in opera-firefox-safari- and netscape just now..emptying cookies first..same error message in all browsers.vb says wait till tomorrow and try there gallery.well we like yours but there has got to be a fix
Nephalim is offline   Reply With Quote
Old November 25th, 2007, 04:26 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
It has nothing to do with photopost since we dont have a login.php file in our distribution in any manner you can check that out pretty easy. vb loves to try and blame up for their issues although this has nothning to do with photopost or vbulletin if you want the facts about your issue which by the way is already fixed as I stated above.

You are using some custom vbulletin style and your using a relative link in your footer which is some vb2 throw back since vb3 has all the login stuff in the navbar usually at least in a non modified vb and as previously explained by email and even in this thread you can not use relative links over another application. You must use full urls for program files to be found when your dealing with other directories. Remember we have had this discussion before via support threads. Remember your blog.php link went nowhere before I explained how you where using again relative links in your vb navbar template and I fixed that issue for you.
__________________
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 November 25th, 2007, 04:55 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 111
Thank you Sir.
Nephalim is offline   Reply With Quote
Old November 25th, 2007, 05:54 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Your Quite welcome have a good weekend.
__________________
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
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cookie letmein Photopost Pro How Do I...? 3 July 17th, 2007 02:48 PM
AND storecat = 0 (Chuck, can this be applied to showgallery ?) alma townsend Photopost Pro How Do I...? 1 June 16th, 2006 10:34 AM
Data Directory -- subdirectory for every ad? creativepart Classifieds Installation & Upgrades 2 March 21st, 2006 09:34 AM
Admin styles not being applied? van444 Photopost Pro Installation & Upgrades 2 February 19th, 2005 03:20 PM


All times are GMT -5. The time now is 04:08 PM.

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