RegisterRegister   Log inLog in   AlbumAlbum   Home Portal PageHome  

Bug fixes to the 'view new pictures since last visit'

 
Author Message
erolz

Site Admin
Site Admin


Joined: 11 Aug 2005
Posts: 4195
Location: Kyrenia / Girne

PostPosted: Mon Jan 16, 2006 9:09 am    Post subject: Bug fixes to the 'view new pictures since last visit' Reply with quote

There were a couple of problems with the 'view new pictures since last visit' found at the top of the index page.

The first is easy to explain. If there were more than 12 such new pictures, clicking on the link to see them should have shown the last 12 and then given you an option ot view 'page 2' for the next 12 and so on. This was not working before but should be working now.

The second problem is a bit harder to explain. Originaly the 'forum' decided if a picture was new since you last visit by comparing the date / time of your last visit against the creation date of any approved pictures and those with a creation date (and approved) > your last visit were listed.
The problem with this was a senario where User A logs on an uploads a picture. It is not yet approved by a mod/admin. User B joins the forum. The picture was not listed as a new one since last visit because it was not approved. User B logs out. A mod then approves new picture. User B comes back and the pictiure is still not listed as a new picture since last visit, because actualy is creation date was before user B's latest visit (it just was not approved at that point).

Anyway if you followed the above this too has now been fixed, by adding a new field in the album database that is 'time pic is approved' and this is now used to determine if a picture is new realtive to a given user, rather than pic creation date that was used before.

So the two problems above should now be solved (I hope)

There is however a new little 'bug' that has appeared as a result of these changes. Basicaly the pictures 'rating', if it has one is not shown on the 'new pictures since last visit' page. Not a major problem and I will try and get this sorted in due course as well.
Back to top
Dhavlos
Warnings : 1

Site Admin
Site Admin


Joined: 13 Aug 2005
Posts: 4697
Location: Birmingham

PostPosted: Thu Jan 26, 2006 9:51 pm    Post subject: Reply with quote

i dont know about anyone else...but now, i dont get anything when someopne posts a picture in tehir album....like depurples ics of bagdadis...i only saw them cos of the post in teh bagdadis thread
Back to top
city

Site Admin
Site Admin


Joined: 15 Aug 2005
Posts: 3370
Location: Larnaca area

PostPosted: Thu Jan 26, 2006 10:11 pm    Post subject: Reply with quote

oops, same here. I only get notified of new comments. Sad
Back to top
erolz

Site Admin
Site Admin


Joined: 11 Aug 2005
Posts: 4195
Location: Kyrenia / Girne

PostPosted: Thu Jan 26, 2006 10:46 pm    Post subject: Reply with quote

I'll look into it.
Back to top
Crash Test Dummy
Warnings : 3

Ministerial
Ministerial


Joined: 25 Sep 2005
Posts: 4911
Location: London(ish)

PostPosted: Fri Jan 27, 2006 6:26 pm    Post subject: Reply with quote

i noticed this too if it help there erol
Back to top
Dhavlos
Warnings : 1

Site Admin
Site Admin


Joined: 13 Aug 2005
Posts: 4697
Location: Birmingham

PostPosted: Sat Jan 28, 2006 12:31 am    Post subject: Reply with quote

it works now erol, thanks Very Happy
Back to top
Crash Test Dummy
Warnings : 3

Ministerial
Ministerial


Joined: 25 Sep 2005
Posts: 4911
Location: London(ish)

PostPosted: Sat Jan 28, 2006 1:17 am    Post subject: Reply with quote

genius Cool Cool
Back to top
erolz

Site Admin
Site Admin


Joined: 11 Aug 2005
Posts: 4195
Location: Kyrenia / Girne

PostPosted: Sat Jan 28, 2006 1:25 am    Post subject: Reply with quote

Er actually it wasnt working before (well it was but it was also 'auto approving' any new pics to the public gallaries - an unwanted side affect)

I think I have got it working now without such side affects Smile
Back to top
Display posts from previous:   
All times are GMT + 3 Hours
Page 1 of 1

 


get the latest forum posts directly to your desktop get the latest album posts directly to your desktop

get the latest forum posts directly to your desktop in RSS 2.0 format get the latest album posts directly to your desktop in Atom format

Link Partners

Board Security

3212 Attacks blocked
Talkcyprus.org - the Cyprus bicommunal discussion and chat forum is Powered by phpBB © 2001, 2005 phpBB Group