boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Comments Fields Not Remembering Information

 
Post new topic   Reply to topic    boardom Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
sven



Joined: 08 May 2002
Posts: 30
Location: Central Valley Cali

PostPosted: Sat Aug 31, 2002 5:44 am    Post subject: Comments Fields Not Remembering Information Reply with quote

My blog is not remembering the information in the comments field on the main blog page; however, it DOES in the Admin interface. So, I'm leaving out a cookie option some where. What am I missing?
_________________
<><sven><>
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
macshack



Joined: 17 Jul 2002
Posts: 1204
Location: Phoenix, Az

PostPosted: Sat Aug 31, 2002 4:31 pm    Post subject: Reply with quote

Hi sven,

Do you suspose we could have a link or two so that maybe we could figure out what your page is forgetting?

Michael e
Back to top
View user's profile Send private message Send e-mail
lousypoet



Joined: 09 Aug 2002
Posts: 72
Location: Atlanta, GA

PostPosted: Sat Aug 31, 2002 5:10 pm    Post subject: Reply with quote

if your b2 is in a different directory than your blog, you'll need to change the setcookie() function in b2comments.post.php near the end. set the fourth parameter to the path, like "/" if it's the main directory of your domain.
Back to top
View user's profile Send private message Visit poster's website
sven



Joined: 08 May 2002
Posts: 30
Location: Central Valley Cali

PostPosted: Sat Aug 31, 2002 6:06 pm    Post subject: Reply with quote

That did it! Thanks. I had to +add+ that fourth param:

Code:

, "/"


That's what I added so it looks like this (for others who need to know):

Code:
setcookie("comment_author",$author, time()+30000000,"/");
setcookie("comment_author_email",$email, time()+30000000,"/");
setcookie("comment_author_url",$url, time()+30000000, "/");

_________________
<><sven><>
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Cyberian75



Joined: 26 Sep 2002
Posts: 986
Location: Washington

PostPosted: Fri Dec 27, 2002 12:23 am    Post subject: Reply with quote

sven,

Do you know how I can get it to work on my subdomain? I have implemented so that my main site pulls my blog from a subdomain, so I need cookies to work on both of them. I tried to put it dot in front of the domain within setcookie function, but it appears not to be working.
_________________
Michael P.
Back to top
View user's profile Send private message Visit poster's website AIM Address
sven



Joined: 08 May 2002
Posts: 30
Location: Central Valley Cali

PostPosted: Fri Dec 27, 2002 8:35 am    Post subject: Reply with quote

I'd say instead of the slash, do the domain? ".domain.com" or "domain.com". I'm only guessing.
_________________
<><sven><>
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
lilphil480



Joined: 30 Nov 2002
Posts: 19

PostPosted: Wed Oct 29, 2003 1:34 am    Post subject: Reply with quote

I use a subdomain for one of the blogs and the slash worked fine!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Bugs All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group