Home arrow Forums
Main Menu
Home
Calendar
FAQ
Forums
Cskate Shop
Gallery
Downloads
Web Links
Directory
Private Messaging
Cskate Association
Arcade
Weather Forecast
Site Help
Affiliates
Submit Stuff
Donate To Cskate
Link To This Site
WAP Interface
Contact Us
Members Online
Login
Reminder... The Tuesday night Winter Sessions have re-started at the Sandhurst Leisure Centre.
 

Camberley Skaters Forum

 
<< Start < Prev 1 2 3 Next > End >>
Timo
User
Posts: 1204
graphgraph
 
Click here to send a Private Message to this userClick here to see the profile of this user
Re:Forum code updated (again) - 10:58 01 Aug 05 dogsbody wrote:
Timo, do you use the "remember me" button? and is it just the first time you visit the site after a while and then all the "Last Forum Post" links work fine again??

If so then I know about that bug and am trying to fix it


Yup thats the one; if you know about it thats great. Looking forward to a fix then
:: In the time of chimpanzees I was a monkey
:: Butane in my veins and I’m out to cut the junkie

monkey_pushover_tree
  The administrator has disabled public write access.
dogsbody
Moderator
Posts: 5828
graph
 
Click here to send a Private Message to this userClick here to see the profile of this user
Re:Forum code updated (again) - 11:40 01 Aug 05 Unfortunately this is a big bit of code but I am working on it!

<geeky bit>
The forum has to hold a lot of session data (which posts you have/haven't seen, the dates you were last here, subscribed threads, etc. etc.) and so the session info for the forums is held seperately to the session info for the site. The site has a "remember me" functionality but the forum code doesn't so the first time you visit it the site knows who you are but the forum doesn't, refresh and it sets you up propery and can see the page again. I need to get it to renew forun sessions on the fly or somehow put remember me functionality in the forum code.
</geeky bit>
Is it the weekend yet?? - Twitter Status
  The administrator has disabled public write access.
Merry
User
Posts: 2864
graphgraph
 
Click here to send a Private Message to this userClick here to see the profile of this user
Re:Forum code updated (again) - 11:44 01 Aug 05 O well its all clear now!!

O well its not stopping anyone posting so now real harm done...

Good Luck
I\'ll NEVER post on the forums
  The administrator has disabled public write access.
Drakey
User
Posts: 2326
graphgraph
 
Click here to send a Private Message to this userClick here to see the profile of this user
Re:Forum code updated (again) - 12:45 01 Aug 05 I understand it all honestly i do, was that the phrygian modal scale you were discussing or a thesis on the works of Homer?

Me? i just skate a bit, probably just as well!

Post edited by: Drakey, at: 2005/08/01 20:17
  The administrator has disabled public write access.
Timo
User
Posts: 1204
graphgraph
 
Click here to send a Private Message to this userClick here to see the profile of this user
Re:Forum code updated (again) - 13:35 01 Aug 05 dogsbody wrote:
...refresh and it sets you up propery and can see the page again. I need to get it to renew forun sessions on the fly or somehow put remember me functionality in the forum code.


Stupid question, but what is the code doing different at the refresh compared to the initial login/establishing a connection has occured?
:: In the time of chimpanzees I was a monkey
:: Butane in my veins and I’m out to cut the junkie

monkey_pushover_tree
  The administrator has disabled public write access.
dogsbody
Moderator
Posts: 5828
graph
 
Click here to send a Private Message to this userClick here to see the profile of this user
Re:Forum code updated (again) - 13:57 01 Aug 05 Actually as far as i can tell it re-activates your forum session the first time you hit the page, it just stops there and doesn't then show you a page, when you reload you then have a session setup and it happily shows you the page. Is it the weekend yet?? - Twitter Status
  The administrator has disabled public write access.
Timo
User
Posts: 1204
graphgraph
 
Click here to send a Private Message to this userClick here to see the profile of this user
Re:Forum code updated (again) - 14:01 01 Aug 05 Hmm... odd... As the Last Forum Posts only show the last ten posts; and you can view the posts without login'ing in, you shouldn't need a session ID to view them. Again, stupid question #2, the code for not being logged in and viewing the last forum posts and the code for being loged in and viewing them are the same yes? :: In the time of chimpanzees I was a monkey
:: Butane in my veins and I’m out to cut the junkie

monkey_pushover_tree
  The administrator has disabled public write access.
dogsbody
Moderator
Posts: 5828
graph
 
Click here to send a Private Message to this userClick here to see the profile of this user
Re:Forum code updated (again) - 14:08 01 Aug 05 Hmm... odd... As the Last Forum Posts only show the last ten posts; and you can view the posts without login'ing in, you shouldn't need a session ID to view them. Correct however when you try and pull up a forum page it does see that your logged into the site (remember me) and so looks for (and creates) the forum session.

Again, stupid question #2, the code for not being logged in and viewing the last forum posts and the code for being loged in and viewing them are the same yes?Yes and no, your going through several layers of code, most of which is shared but with sections that aren't. I see a completely different screen to you as I have all the moderator tools threaded through all the forum pages.
Is it the weekend yet?? - Twitter Status
  The administrator has disabled public write access.
Timo
User
Posts: 1204
graphgraph
 
Click here to send a Private Message to this userClick here to see the profile of this user
Re:Forum code updated (again) - 14:17 01 Aug 05 dogsbody wrote:
Correct however when you try and pull up a forum page it does see that your logged into the site (remember me) and so looks for (and creates) the forum session.


Argh yes, of course doh! I has to do this so it can work out to give you access to the edit functions etc Sorry didn't think that one through properly...without this you are not going to be able to do this and it would ask you to log in to do anything... <mumbles to himself and doesn't belive how stupid the question was>


Yes and no, your going through several layers of code, most of which is shared but with sections that aren't. I see a completely different screen to you as I have all the moderator tools threaded through all the forum pages.

Figured as much; I'm more than happy to take a look at some of the code and give you a hand if you'd like. Its PHP based yes?
:: In the time of chimpanzees I was a monkey
:: Butane in my veins and I’m out to cut the junkie

monkey_pushover_tree
  The administrator has disabled public write access.
dogsbody
Moderator
Posts: 5828
graph
 
Click here to send a Private Message to this userClick here to see the profile of this user
Re:Forum code updated (again) - 15:50 01 Aug 05 Figured as much; I'm more than happy to take a look at some of the code and give you a hand if you'd like. Its PHP based yes?I may well take you up on that although I am having great fun learning PHP It a mix of PHP for server side, Javascript for the client side, MySQL for the data & CSS for the layout.... can I get any other keywords in there?? I suppose there is some HTML, XML and soon to be some Ajax too... watch this space

Actually, are you any good with Javascript?? I could really do with some Ajax help. The code pretty much works but it is VERY VERY messy and not being very good at JavaScript I'm thinking that when I clean it up it's gonna break!

Post edited by: dogsbody, at: 2005/08/01 17:02
Is it the weekend yet?? - Twitter Status
  The administrator has disabled public write access.
<< Start < Prev 1 2 3 Next > End >>
Search Site
Bookmark This Site
 
 
Top posters of the week
dogsbody (15 posts)
Peter (5 posts)
Red (4 posts)
mansfield (3 posts)
rog (2 posts)
Retry (1 posts)
Merry (1 posts)
Kingol (1 posts)
Advertisment
Advertise on this site
 
 
Advertisement

Copyright © 2004-2008 Camberley Skaters - Created by Dogsbody - Hosting by Dogsbody Hosting