Cookie Related
SamGaidon 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Cookie Related
fwebz 0
From: -
From: -
Cookie Related
Originally posted by Philipp:
no prob, thank you
Originally posted by Philipp:
I am afarid this is not possible
no prob, thank you
1 Re: Cookie Related
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Cookie Related
I am afarid this is not possible
I am afarid this is not possible
1 Re: Cookie Related
fwebz 0
From: -
From: -
Cookie Related
Originally posted by Philipp:
no
i change .site.com with my domain and set cookie domain in phpBB to
.site.com
but not work,,when i login form ST i see The cookie in my PC...
cookie domin: site.com
cookie name: phpbb2mysql_data
but the forum not use this cookie i must login in forum agine...after login no new cookie...i think the forum use it now but after login
i ask the host if there any thing not normal in the site....
forum.site.com in other server use "DNS ZONE"
so site.com in server 1 forum.site.com in server tow...i think this is the prob....
so if we can "migrate cookies across domains" it's will be great
Thank you
Originally posted by Philipp:
You can try the following:
Open bbwrapper.php in an editor and find:
setcookie($bb_cookie."_data",urlencode(serialize($thiscookie)));
then replace this line with:
setcookie($bb_cookie."_data",urlencode(serialize($thiscookie)),time()+60*60*24*360,"/",".site.com");
Let me know if this work for you.
no
i change .site.com with my domain and set cookie domain in phpBB to
.site.com
but not work,,when i login form ST i see The cookie in my PC...
cookie domin: site.com
cookie name: phpbb2mysql_data
but the forum not use this cookie i must login in forum agine...after login no new cookie...i think the forum use it now but after login
i ask the host if there any thing not normal in the site....
forum.site.com in other server use "DNS ZONE"
so site.com in server 1 forum.site.com in server tow...i think this is the prob....
so if we can "migrate cookies across domains" it's will be great
Thank you
1 Re: Cookie Related
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Cookie Related
You can try the following:
Open bbwrapper.php in an editor and find:
then replace this line with:
Let me know if this work for you.
You can try the following:
Open bbwrapper.php in an editor and find:
setcookie($bb_cookie."_data",urlencode(serialize($thiscookie)));
then replace this line with:
setcookie($bb_cookie."_data",urlencode(serialize($thiscookie)),time()+60*60*24*360,"/",".site.com");
Let me know if this work for you.
1 Re: Cookie Related
fwebz 0
From: -
From: -
Cookie Related
hello Philipp
i have the same prob same case,,,but am using phpBB so can you plz give me any tips or hacks....
forum url
forum.site.com/bb
st url
site.com/home
user need to login in ST and login in forum,i wish fix that w/o change any dir
no prob if hack phpBB code or ST code.
Thank you and all ST team and members
hello Philipp
i have the same prob same case,,,but am using phpBB so can you plz give me any tips or hacks....
forum url
forum.site.com/bb
st url
site.com/home
user need to login in ST and login in forum,i wish fix that w/o change any dir
no prob if hack phpBB code or ST code.
Thank you and all ST team and members
1 Re: Cookie Related
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Cookie Related
Yes, both application are using two different login systems. The bbwrapper module creates/remove the vB cookie to login/logout, while Storyteller actually use it's own cookie.
The easierst way to get a global login is to link all scripts to Storyteller's login/logout script.
Another alternative is to modify vBulletin's member.php script and add cookie routines (~2 lines) for the Storyteller cookie. Let me know if you need this modification.
Originally posted by SamGaidon
Hmm. Looks like the login is not fully integrated as I had thought. Storyteller logs you in to vB, but vB does not log you in to Storyteller...
Yes, both application are using two different login systems. The bbwrapper module creates/remove the vB cookie to login/logout, while Storyteller actually use it's own cookie.
The easierst way to get a global login is to link all scripts to Storyteller's login/logout script.
Another alternative is to modify vBulletin's member.php script and add cookie routines (~2 lines) for the Storyteller cookie. Let me know if you need this modification.
1 Re: Cookie Related
SamGaidon
OP
0
From: -
From: -
Cookie Related
Hmm. Looks like the login is not fully integrated as I had thought. Storyteller logs you in to vB, but vB does not log you in to Storyteller...
Hmm. Looks like the login is not fully integrated as I had thought. Storyteller logs you in to vB, but vB does not log you in to Storyteller...
1 Re: Cookie Related
SamGaidon
OP
0
From: -
From: -
Cookie Related
Great, the mod worked. Login is now recognized throughout the whole website. Thanks.
But 'logging out' remains independant to Storyteller. So one must loggout again when visiting any other page, such as vB or the Gallery.
Great, the mod worked. Login is now recognized throughout the whole website. Thanks.
But 'logging out' remains independant to Storyteller. So one must loggout again when visiting any other page, such as vB or the Gallery.
1 Re: Cookie Related
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Cookie Related
You need to do the following modifications in bbwrapper.php for that configuration:
Find:
$bb_url = "/vbulletin/";
and replace with:
$bb_url = " http://www.site.com/vbulletin/";
Find:
array_push($bb_data, $configs[6]."/".$bb_url."showthread.php?threadid=$threadid||~||$title||~||Replies: $replies");
and replace with:
array_push($bb_data, $bb_url."showthread.php?threadid=$threadid||~||$title||~||Replies: $replies");
Find:
setcookie("bbuserid",$userdata[userid]);
setcookie("bbpassword",$password);
and replace with:
setcookie("bbuserid",$userdata[userid],time()+60*60*24*360,"/"); setcookie("bbpassword",$password,time()+60*60*24*360,"/");
Find:
setcookie("bbuserid",0);
setcookie("bbpassword",0);
and replace with:
setcookie("bbuserid",0,0,"/");
setcookie("bbpassword",0,0,"/");
setcookie("sessionhash",0,0,"/");
Let me know if this fix the login issue on your installation.
You need to do the following modifications in bbwrapper.php for that configuration:
Find:
$bb_url = "/vbulletin/";
and replace with:
$bb_url = " http://www.site.com/vbulletin/";
Find:
array_push($bb_data, $configs[6]."/".$bb_url."showthread.php?threadid=$threadid||~||$title||~||Replies: $replies");
and replace with:
array_push($bb_data, $bb_url."showthread.php?threadid=$threadid||~||$title||~||Replies: $replies");
Find:
setcookie("bbuserid",$userdata[userid]);
setcookie("bbpassword",$password);
and replace with:
setcookie("bbuserid",$userdata[userid],time()+60*60*24*360,"/"); setcookie("bbpassword",$password,time()+60*60*24*360,"/");
Find:
setcookie("bbuserid",0);
setcookie("bbpassword",0);
and replace with:
setcookie("bbuserid",0,0,"/");
setcookie("bbpassword",0,0,"/");
setcookie("sessionhash",0,0,"/");
Let me know if this fix the login issue on your installation.
1 Re: Cookie Related
SamGaidon
OP
0
From: -
From: -
Cookie Related
Well this should be solved simply by changing the vB cookie save path in Storyteller. Is there a way around this? Afterall, both folders are placed under the same subdomain...
public_html/subdir/forums ( http://subdir.site.com/forums)
public_html/subdir/storyteller ( http://subdir.site.com/storyteller)
I also have a gallery which is using vB's database and I'm not having any cookie issues there. Here's an example of the full url addresses:
www.site.com/forums
www.site.com/storyteller
www.site.com/gallery
The creator of the Gallery script has posted the vB integration files here - http://www.4homepages.de/forum/viewtopic.php?t=1659 You might want to take a look at them.
Well this should be solved simply by changing the vB cookie save path in Storyteller. Is there a way around this? Afterall, both folders are placed under the same subdomain...
public_html/subdir/forums ( http://subdir.site.com/forums)
public_html/subdir/storyteller ( http://subdir.site.com/storyteller)
I also have a gallery which is using vB's database and I'm not having any cookie issues there. Here's an example of the full url addresses:
www.site.com/forums
www.site.com/storyteller
www.site.com/gallery
The creator of the Gallery script has posted the vB integration files here - http://www.4homepages.de/forum/viewtopic.php?t=1659 You might want to take a look at them.
1 Re: Cookie Related
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Cookie Related
The main problem is that Storyteller create the vBulletin cookie at storyteller.yourdomain.com (example), while vBulletin is running under another subdomain. Both scripts need to run under the same (sub)domain.
Yes, you can rename index.php to storyteller.php. Run a search & replace (index.php to storyteller.php) on all templates after the change.
Originally posted by SamGaidon
So basically what this means is that ST won't run properly in a subdirectory.
The main problem is that Storyteller create the vBulletin cookie at storyteller.yourdomain.com (example), while vBulletin is running under another subdomain. Both scripts need to run under the same (sub)domain.
Originally posted by SamGaidon
If I were to change directories, I would have to place ST under the subdomain folder and rename the index.php file to something like storyteller.php. (Because I'm using the current index.php for something else) I'd go through the process of editing all the php files if this is possible.
Yes, you can rename index.php to storyteller.php. Run a search & replace (index.php to storyteller.php) on all templates after the change.
1 Re: Cookie Related
SamGaidon
OP
0
From: -
From: -
Cookie Related
Thanks for the info, hopefully the login/out issues will get sorted so I can tackle the template modifications.
When I ran another test only the News Category section was effected by this. And yes, clearing the cache worked.
So basically what this means is that ST won't run properly in a subdirectory. But the only issue that I'm having at the moment is with the cookies/vB.. Everything else works (In spite of a minor bug or two which I'll post about later)
Storyteller is being used at a domain (an addon) which directs to a subdirectory on my main website. Example, www.addondomain.com takes you to /public_html/subdomain/ ( http://subdomain.mysite.com) If I were to change directories, I would have to place ST under the subdomain folder and rename the index.php file to something like storyteller.php. (Because I'm using the current index.php for something else) I'd go through the process of editing all the php files if this is possible.
Thanks for the info, hopefully the login/out issues will get sorted so I can tackle the template modifications.
Originally posted by Philipp
Seems like a cache issue. Does clear cache help?
When I ran another test only the News Category section was effected by this. And yes, clearing the cache worked.
Originally posted by Philipp
Storyteller needs to run on the root directory
So basically what this means is that ST won't run properly in a subdirectory. But the only issue that I'm having at the moment is with the cookies/vB.. Everything else works (In spite of a minor bug or two which I'll post about later)
Storyteller is being used at a domain (an addon) which directs to a subdirectory on my main website. Example, www.addondomain.com takes you to /public_html/subdomain/ ( http://subdomain.mysite.com) If I were to change directories, I would have to place ST under the subdomain folder and rename the index.php file to something like storyteller.php. (Because I'm using the current index.php for something else) I'd go through the process of editing all the php files if this is possible.
1 Re: Cookie Related
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Cookie Related
Storyteller needs to run on the root directory
Seems like a cache issue. Does clear cache help?
You need to add the BB code and smiles in the submit_news template. The category dropdown list needs a small modification at the submitstory.php script.
This could be done with a small modification in the submit_news and submit_links templates.
Please post on the templates forum if you need help with both modifications.
The admin control panel (admin users) is independent from the vB integration. Only the front end is integrated with vBulletin. This is because the permission management of both products are different.
Originally posted by SamGaidon
Seperate directories and side by side: public_html/subdomain/forums and public_html/subdomain/storyteller.
Storyteller needs to run on the root directory
Originally posted by SamGaidon
1) Refresh problems. It takes a while for News items to show up under 'News Category' or News Archive, sometimes hours. Can this be fixed?
Seems like a cache issue. Does clear cache help?
Originally posted by SamGaidon
2) Is it possible to enable the posting options that are available to the admin for the user? Like BB/image code, smilies and the category dropdown list (especially the dropdown list).
You need to add the BB code and smiles in the submit_news template. The category dropdown list needs a small modification at the submitstory.php script.
Originally posted by SamGaidon
3) When users are logged in they need to enter their username and email address to post news. Same rule applies for adding links. I'd prefer this option to be availble only to anonymous users..
This could be done with a small modification in the submit_news and submit_links templates.
Please post on the templates forum if you need help with both modifications.
Originally posted by SamGaidon
4) Now this one's related to the cookie problem I think - In storyteller Admin CP, the Administrator is the only user who is listed under 'Permissions' and 'Edit/Remove'. Shouldn't all the vB message board users be listed aswell? This feature is important so that I can set permissions for previously registered members...
The admin control panel (admin users) is independent from the vB integration. Only the front end is integrated with vBulletin. This is because the permission management of both products are different.
1 Re: Cookie Related
SamGaidon
OP
0
From: -
From: -
Cookie Related
Seperate directories and side by side: public_html/subdomain/forums and public_html/subdomain/storyteller.
I've just done a complete reinstall and it's doing the same thing. Also came up with the following, hope it's not too much to start with..
1) Refresh problems. It takes a while for News items to show up under 'News Category' or News Archive, sometimes hours. Can this be fixed?
2) Is it possible to enable the posting options that are available to the admin for the user? Like BB/image code, smilies and the category dropdown list (especially the dropdown list).
3) When users are logged in they need to enter their username and email address to post news. Same rule applies for adding links. I'd prefer this option to be availble only to anonymous users..
4) Now this one's related to the cookie problem I think - In storyteller Admin CP, the Administrator is the only user who is listed under 'Permissions' and 'Edit/Remove'. Shouldn't all the vB message board users be listed aswell? This feature is important so that I can set permissions for previously registered members...
Seperate directories and side by side: public_html/subdomain/forums and public_html/subdomain/storyteller.
I've just done a complete reinstall and it's doing the same thing. Also came up with the following, hope it's not too much to start with..
1) Refresh problems. It takes a while for News items to show up under 'News Category' or News Archive, sometimes hours. Can this be fixed?
2) Is it possible to enable the posting options that are available to the admin for the user? Like BB/image code, smilies and the category dropdown list (especially the dropdown list).
3) When users are logged in they need to enter their username and email address to post news. Same rule applies for adding links. I'd prefer this option to be availble only to anonymous users..
4) Now this one's related to the cookie problem I think - In storyteller Admin CP, the Administrator is the only user who is listed under 'Permissions' and 'Edit/Remove'. Shouldn't all the vB message board users be listed aswell? This feature is important so that I can set permissions for previously registered members...
1 Re: Cookie Related
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Cookie Related
Yes, 2.2.9 is fine.
In which directories are Storyteller and vBulletin installed?
Yes, 2.2.9 is fine.
In which directories are Storyteller and vBulletin installed?
1 Re: Cookie Related
SamGaidon
OP
0
From: -
From: -
Cookie Related
Version 2.2.9 (this version should be ok?), and the cookie path is set to just: /
There's another important question that I wish to ask, but I'll save it for another thread or until this ones been resolved.
Version 2.2.9 (this version should be ok?), and the cookie path is set to just: /
There's another important question that I wish to ask, but I'll save it for another thread or until this ones been resolved.
1 Re: Cookie Related
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Cookie Related
Which version of vBulletin are your using?
Also, what is your cookie path in the vB control panel (Path to Save Cookies).
Which version of vBulletin are your using?
Also, what is your cookie path in the vB control panel (Path to Save Cookies).
Hi. My whole website is currently integrated with VB. Users can login from any page and each page will greet them with a welcome message, until they choose to log out.
Now to my dissapointment, I've just discovered that once I've logged in via Storyteller and then after clicking on the Profile link, I'm re-directed to my vb Control Panel as a 'guest'. All other pages on my site except for Storyteller show that I'm logged 'out'. So this obviously a cookie problem, or intentional?
If this is normal, then I'd have to look into using VBportal even though I'd prefer to use Storyteller (Stroyteller feels more suited for my site)... Any suggestians? I'd look into this myself, but I really can't afford the time...