 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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
|
| |
September 9th, 2007, 05:30 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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
|
| |
September 9th, 2007, 08:20 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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
|
| |
November 24th, 2007, 07:06 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
November 24th, 2007, 09:04 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 111
| Quote:
Originally Posted by Chuck S 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
|
| |
November 24th, 2007, 09:50 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
November 25th, 2007, 12:08 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
November 25th, 2007, 12:25 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 111
| Quote:
Originally Posted by Chuck S 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.
|
| |
November 25th, 2007, 01:46 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 111
| Quote:
Originally Posted by Chuck S 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. |  |
| |
November 25th, 2007, 02:01 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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
|
| |
November 25th, 2007, 04:26 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
November 25th, 2007, 04:55 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 111
|
Thank you Sir.
|
| |
November 25th, 2007, 05:54 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
Your Quite welcome have a good weekend.
|
| | |
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 04:08 PM. | |