Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account
Author Message
syntax53
New Member
New Member



Joined: Nov 29, 2005
Posts: 2
Location: Philadelphia

PostPosted: Tue Nov 29, 2005 8:56 am Reply with quote

I just installed the PHP-Nuke Platinum 7.6.0 package and got everything working for the most part. I am having trouble with the cookies. Login works fine but when I logout it doesn't actually log out of the forums. It will log out of the "site" but the forum authentication sticks until I reload the browser. If I view the cookies (using firefox) the cookies are still there.

Along the same lines, I am also wondering if there is a way to log into the site (as opposed to just the forums) when logging in via the forum's login boxes. As it stands if you log in via the login box at the bottom of the forums it will only log you into the forums and not the rest of the site.

One thing I notice is when I am viewing the cookies in firefox, the cookies for the site will have "host: my.domain.com" and the ones for the forums will have "domain: .my.domain.com" ... not sure if that is related.

Thanks,
syn
 
View user's profile Send private message Visit poster's website AIM Address ICQ Number
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Tue Nov 29, 2005 9:03 am Reply with quote

Look in the index.php of the module in the function logout I believe you'll find a line that is commented out that should not be referencing the forum sessions. Just remove the comment in front of the line and it should work for you.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
syntax53







PostPosted: Tue Nov 29, 2005 9:24 am Reply with quote

sweet that fixed it, thanks!

onto that second question though... is there any way to either get rid of the login boxes on the forum index or make it so they log you into the entire site and not just the forums?
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Nov 29, 2005 6:00 pm Reply with quote

Remove the login box from index_body.tpl of your forums template

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©