The Daily Click ::. Forums ::. Daily Click ::. Lightbulbs / whatever your skin uses
 

Post Reply  Post Oekaki 
 

Posted By Message

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
12th March, 2007 at 16:57:28 -

For a while now, I have noticed that the 'new posts' icons are saved as a cookie (or something) rather than in the user's profile. There is, however, one problem with this, and that's the fact that the status of new posts are different on every PC I am on. This is pretty impractical, as I use up to four different PCs.

Any chance of this being stored in another way? Or would this take up too much database space (though it could be a simple matter of saving an array of unread post IDs)?

 
Old member (~2004-2007).

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
12th March, 2007 at 17:01:35 -

I never pay attention to the new posts icons. I only use the Latest Posts list.

 
a/n

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
12th March, 2007 at 17:12:12 -

Yeah, but the amount of new posts is sometimes bigger than the amount of new posts in the list. Besides, I use the lightbulbs pretty intensively.

 
Old member (~2004-2007).

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
12th March, 2007 at 17:12:30 -

I didn't realise anybody paid attention to them... I only look at the last posts, and the latest posts.

 
My signature is never too big!!!

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
12th March, 2007 at 17:14:45 -

You ruined my edit!

which reminds me of the "lightbulb is on while you checked everything and replied on some posts, until you opened that forum again" bug.

Anyway, I use it, and others probably do/would too if it worked a bit better.

 
Old member (~2004-2007).

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
12th March, 2007 at 17:16:43 -

The last posts is sufficient for me, seeing as there's hardly that many new posts to look at.



 
My signature is never too big!!!

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
12th March, 2007 at 17:17:14 -

Same as Joe and Sheepie. Yer a fool, Vincent.

And they're actually hearts now, for me (using NastyMan's "maybe" skin )

Image Edited by the Author.

 
n/a

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
12th March, 2007 at 17:39:41 -

I've noticed that as well Vince... I tend to use my PC at home even when I'm out now, so it's less of a problem for me

 
http://www.SilverNova.co.uk


Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
12th March, 2007 at 17:43:20 -

I'm with DaVince! Especially on the "lightbulb is on while you checked everything and replied on some posts, until you opened that forum again" bug.

E_e

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
12th March, 2007 at 23:14:38 -

Well there is no point having a new feature if it doesn't work properly. Regardless of whether most people use it or not.

I believe this should be added to Clubsoft's/Flava's list of 'things to do'.
It's probably a very large list though.

 
.

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
20th March, 2007 at 18:56:49 -

Clubby read this please

I'm annoyed by it right now, because I'm on another computer.

 
Old member (~2004-2007).

Clubsoft

Administrator
Weeeeeeee

Registered
  02/12/2001
Points
  254

Acoders MemberHas Donated, Thank You!May contain nutsVIP Member360 OwnerI'm an alien!Code Monkey
21st March, 2007 at 20:05:27 -

Ive taken this into concideration in the past, but it'd be quite a strain on the database, I'll have to think of a way to do it without having to have a seperate feild for each forum

 
.: ImageApocalyptic Coders - www.acoders.com :.

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
21st March, 2007 at 20:44:47 -

Can you store such values in cookies? :\

 
http://www.SilverNova.co.uk


Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
21st March, 2007 at 21:51:37 -

Clubsoft:
Date/time of last login compared against time of the last post in a thread, with everything newer being bulb'd. Wouldn't work exactly the same as it does now, but that's how other forums do it.

 
n/a

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
22nd March, 2007 at 06:33:46 -

one way of doing it could be this:

- store a text file on the server using every user's id number from the database, as the file name.

- In that text file, store seperate lines of 2 integers. Each line could consist of firstly the id number of the forum thread, then followed by a comma and the number of replies a thread has (for example: "25823, 4").

- Then have a simple function that looks up the forum thread in the aforementioned text file for the user who is viewing the forum. If the amount of replies a thread has is -different- from the amount stored in the text file, it must mean that there are new replies.

This approach would make it universal. One thing i'm not aware of is read time. I assume it is faster for the server to read from a text file than it is to read from a database.

Image Edited by the Author.

 
n/a

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
22nd March, 2007 at 07:57:13 -

Not a bad way of doing it, though if I were Clubby I'd see about Radix' way.. after trying a similar idea using the cookies.

Edit: you could do a hint of both - but only test the first 15 topics? So retrieve the ID from the first 15, and in the cookie (ok, or text file) have the post ID and a logical indicator along with it. 1 being read and 0 unread. That could work pretty well..

Image Edited by the Author.

 
http://www.SilverNova.co.uk


Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
22nd March, 2007 at 08:06:04 -

Better yet, use the current system and then my suggestion only if there's no cookie (or if the last login was from another machine).

 
n/a

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
22nd March, 2007 at 08:39:50 -

Tim - the difference in cookies and the text file i suggested is that cookies are stored on clients, so it would be different on each computer you login from. The text file would be stored on the create-games.com server and thus things would be the same no matter where you logged in.

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
22nd March, 2007 at 13:40:23 -

Not sure if text files are such a good idea, after all databases were created for things like this.

If it's too much of a strain on the database, the date thing is an acceptable but not really failsafe method to use.

 
Old member (~2004-2007).

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
23rd March, 2007 at 14:31:49 -

Ah yeah, sorry eviscerator/bodoron I wasn't thinking so laterally there I spose :\

We could use a combination of things above.. though its quite a tough thing to sort without having to add more fields to the database for each user and forum topic :| Though the text file thing would be fairly effective, it seems a bit flimsy to me really... but maybe its just that I don't like using text files to store db info, but doesn't seem too secure or ultimately beneficial to any mighty effect.

Some way to limit and read from the first 15 or so topics would be best.. I guess the cookie from a machine could store info in a users' field... like perhaps a number from 1-15 or 0-F or something, and that indicates that the first however many are unread. Though then the sorting of topics would have to alter and depend on ID's etc :\

ARGH, I dunno

 
http://www.SilverNova.co.uk


Clubsoft

Administrator
Weeeeeeee

Registered
  02/12/2001
Points
  254

Acoders MemberHas Donated, Thank You!May contain nutsVIP Member360 OwnerI'm an alien!Code Monkey
23rd March, 2007 at 15:04:39 -

Problem with text files is that for each user you'd need a file, and NTFS is limited to how many files can be in the same.. doubt i'd hit that (its in the 25,000 range), but I dont like limitations none the less.. I'll code it in to using the database at some point

 
.: ImageApocalyptic Coders - www.acoders.com :.

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
23rd March, 2007 at 15:42:00 -

WOOOOOOOOOOOOOO <3 Clubby

 
http://www.SilverNova.co.uk


axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
24th March, 2007 at 19:51:57 -

"NTFS is limited to how many files can be in the same.. doubt i'd hit that (its in the 25,000 range), but I dont like limitations none the less"

TDC's got far more than 26,000 users last time I checked

 
n/a

Yai7

Peace & Love

Registered
  28/01/2002
Points
  3197

25th March, 2007 at 12:51:36 -

25,000 and only very few guys posting on boards!
By the way axel! I really glad that you like my skin! =
This is not Bubble Girl anyway! =

 
(=

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
26th March, 2007 at 00:04:10 -

Wheh? Didn't you say you were asylumated some time ago? YER BACK!

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
26th March, 2007 at 05:35:36 -

No, he is. Asylum internet.

 
Old member (~2004-2007).

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
27th March, 2007 at 02:33:37 -

another option is to have 1 field for each user that stores all forum info separated by commas. Then you could just read this text, parse it and put each entry into its own spot in an array, and then loop through the array.

 
n/a

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
27th March, 2007 at 03:00:11 -

ALL forum info?! wow.. and then there's every new user to contend with :S Let's keep it to the first 15

 
http://www.SilverNova.co.uk


Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
27th March, 2007 at 03:41:00 -

I'm just throwing out ideas for whoever's going to implement this you don't necessarily need to take things literally..

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
27th March, 2007 at 06:06:36 -

Let's do things how they're done in other forums, as long as there's enough bandwidth/room for it.

 
Old member (~2004-2007).

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
27th March, 2007 at 07:06:13 -

maybe one of those pre-made forums would be worth considering..but then we'd loose Oekaki

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
27th March, 2007 at 08:08:46 -

And everything we love, and we'd gain spambots. Just saying, check the source of other open-source forums and try to base our lampy system on that.

 
Old member (~2004-2007).

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
28th March, 2007 at 02:19:31 -

if you just active that thing where you need to type in a code from an image to sign up, you won't get those.

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
28th March, 2007 at 05:14:13 -

You will, though less. The wonderful thing about a custom forum system is that they sometimes work so well that spambots can't seem to access them.

 
Old member (~2004-2007).

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
29th March, 2007 at 02:31:02 -

well, a friend of mine made a tagwall for his site, and now it's full of ...things that have the word "viagra" in them

how about email confirmation in order to sign up then? i assume spam bots are not intelligent enough to both scan a site for the email field + locate the correct confirmation link in an email? and what if you just send the code in an email but without a link?

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click