PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   custom cookie prefix with UBBT (http://www.photopost.com/forum/photopost-pro-how-do-i/111297-custom-cookie-prefix-ubbt.html)

flint January 3rd, 2005 01:43 PM

custom cookie prefix with UBBT
 
I got a big problem, Iīm using a custom cookie prefix in my UBBT, which can be configured in the admin panel.
(I had to change it, because some users still had cookies that were valid for a year or so).

how do I apply this to photopost?
when switching from UBBT to the gallery, users arenīt logged in.
When logging in through photopost, it creates cookies with the standard w3t_, which doesnīt work anymore with UBBT.

thanks for your help!

regards
flint

Chuck S January 3rd, 2005 02:52 PM

UBBThreads cookies indeed work with w3t_ as I use a custom prefix and am running the latest version

In fact in Threads if you use a custom cookie prefix it still uses the w3t_ it just places the custom prefix on the front of it

In your Photopost just specify what your cookie prefix is. Our code is valid for this

setcookie( "{$Globals['cookieprefix']}w3t_myid"

SEE WHERE THE CUSTOM PREFIX GETS ENTERED WHEN WE SET IT.

flint January 3rd, 2005 05:00 PM

Quote:

Originally Posted by omegatron
UBBThreads cookies indeed work with w3t_ as I use a custom prefix and am running the latest version

In fact in Threads if you use a custom cookie prefix it still uses the w3t_ it just places the custom prefix on the front of it

In your Photopost just specify what your cookie prefix is. Our code is valid for this

setcookie( "{$Globals['cookieprefix']}w3t_myid"

SEE WHERE THE CUSTOM PREFIX GETS ENTERED WHEN WE SET IT.

Iīm sorry I must have been blind for a couple of minutes, not seeing this in the config:
Forum Cookie Prefix (if used, otherwise leave blank)

I think I somehow assumed that PP pulls this from the UBBT config, and then I was wondering why it still didnīt put that little extension in front of it. :D

thanks!


All times are GMT -5. The time now is 01:43 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97