www.talkcyprus.org Forum Index www.talkcyprus.org
"The pioneers of peace are the people who refuse to take up arms" - Albert Einstein
The bicommunal Cyprus chat and discussion forum
 

Bug fixes to the 'view new pictures since last visit'
Click here to go to the original topic

 
       www.talkcyprus.org Forum Index -> Announcements
View previous topic :: View next topic  
Author Message
erolz



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

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

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



Joined: 13 Aug 2005
Posts: 4697
Location: Birmingham

Posted: Thu Jan 26, 2006 9:51 pm    Post subject:  

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



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

Posted: Thu Jan 26, 2006 10:11 pm    Post subject:  

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



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

Posted: Thu Jan 26, 2006 10:46 pm    Post subject:  

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



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

Posted: Fri Jan 27, 2006 6:26 pm    Post subject:  

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



Joined: 13 Aug 2005
Posts: 4697
Location: Birmingham

Posted: Sat Jan 28, 2006 12:31 am    Post subject:  

it works now erol, thanks :D
Back to top  
Crash Test Dummy



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

Posted: Sat Jan 28, 2006 1:17 am    Post subject:  

genius 8) 8)
Back to top  
erolz



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

Posted: Sat Jan 28, 2006 1:25 am    Post subject:  

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 :)
Back to top  
 
       www.talkcyprus.org Forum Index -> Announcements
Page 1 of 1


phpBB Search Engine Indexer © phpRebel
Powered by phpBB 2.0.22 © 2001, 2002 phpBB Group