session_start(); issue

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   re: session_start(); issue
chusrubi2
CZ Newbie
 Codezwiz Site Donator
chusrubi2 has been a member for over 6 year's 6 Year Member
Status: Offline
Joined: Feb 02, 2011
0.01 posts per day
Posts: 13
Points: 545
   
Ok, this fixed it. Its not gonna use session check from now, isnt it? i dont see anymore in the links sid=32420342304923 etc



Back to top Reply with quote
#2   
chusrubi2
CZ Newbie
 Codezwiz Site Donator
chusrubi2 has been a member for over 6 year's 6 Year Member
Status: Offline
Joined: Feb 02, 2011
0.01 posts per day
Posts: 13
Points: 545
   
Ok mate, last question :P
I dont know why but in my nuke, there is some bug that comments in newspost are not sorted well.
Its configured to show oldest first but sometimes show it correctly and sometimes not. For example, here: [ Register or login to view links on this board. ]
There, newest coment is first, and as you can see in url, order=0 icon_sad.gif
Sometimes it works well but then u write a comment and it intruduces it before the last one :S

What could it be? Thanks!.



Back to top Reply with quote
#3   re: session_start(); issue
chusrubi2
CZ Newbie
 Codezwiz Site Donator
chusrubi2 has been a member for over 6 year's 6 Year Member
Status: Offline
Joined: Feb 02, 2011
0.01 posts per day
Posts: 13
Points: 545
   
Fixed!!

changed:

   if ($order==0) $q .= " ORDER BY date ASC";
   if ($order==1) $q .= " ORDER BY date DESC";
   if ($order==2) $q .= " ORDER BY score DESC";

From modules/news/index.php


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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
You cannot attach files in this forum
You cannot download files in this forum