Icy Phoenix

     
 

BUG - UPI2DB System

BUG - UPI2DB System

Article
Reply with quote    Download Post  
Post UPI2DB System 
 
hmm this doesn't really seem to work yet
I like it though
or at least I liked what the FAQ said about it

I've enabled the "UPI2DB System"
and I've set this "Colorize topic title if there are new posts:" to yes
but now on forum every category is stuff marked in orange  
when I click it there are no new posts in the category though



 
Nizzle - View user's profile Send private message  
Nizzle [ Thu 10 Aug, 2006 18:12 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


BUG - UPI2DB System

Comments
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
What template are you using? I've adapted and tested it with Aphrodite only.
I'm not sure MG implemented it in his templates already. But this is up to him.



 
Tom - View user's profile Send private message  
Tom [ Thu 10 Aug, 2006 19:26 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
using MG winter

but it's like this on all templates
already tried that



 
Nizzle - View user's profile Send private message  
Nizzle [ Thu 10 Aug, 2006 21:49 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
I'll check the whole UPI2DB soon.

Thanks for reporting.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Thu 10 Aug, 2006 23:52 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
pleasure mate



 
Nizzle - View user's profile Send private message  
Nizzle [ Fri 11 Aug, 2006 00:49 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
It does work with Aphrodite.



 
Tom - View user's profile Send private message  
Tom [ Fri 11 Aug, 2006 15:16 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
Here you can see how it should be:
packing



 
Tom - View user's profile Send private message  
Tom [ Fri 11 Aug, 2006 15:22 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
but with aphrodite I had the same thing
the unread color always stays

dunno about the thing you posted



 
Nizzle - View user's profile Send private message  
Nizzle [ Fri 11 Aug, 2006 22:23 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
Nizzle wrote: [View Post]
the unread color always stays
That is a bug with Announcements and Sticky topics. They aren't marked as read correctly.



 
Tom - View user's profile Send private message  
Tom [ Sun 13 Aug, 2006 23:09 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
I've found another problem with UPI2DB - If you have a secret forum for say admins and mods, any posts made there will still get counted for normal users as new/unread posts, even though they can't actually view or read them!



 
moreteavicar - View user's profile Send private message  
moreteavicar [ Tue 26 Sep, 2006 00:39 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
moreteavicar wrote: [View Post]
I've found another problem with UPI2DB - If you have a secret forum for say admins and mods, any posts made there will still get counted for normal users as new/unread posts, even though they can't actually view or read them!


yes i can verify this.

i saw this some days ago here on xs.eu but dont find an solution yet  

maybe Mighty has one



 
KugeLSichA - View user's profile Send private message  
KugeLSichA [ Tue 26 Sep, 2006 10:48 ]
Reply with quote    Download Post  
Post Re: BUG -UPI2DB System 
 
I downloaded UPI2DB 3.0.6, and scanned through the code (both in included fles and in instructions) there doesn't appear to be anything to check for view authorisation! I was also trying to search through the UPI2DB website, it is all in German! But despite my limited understanding, it didn't look like there was a post on this (I think...), so maybe you could raise it on there, auf Deutsch, KugeLSichA?



 
moreteavicar - View user's profile Send private message  
moreteavicar [ Tue 26 Sep, 2006 15:35 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
im looking sometimes into that forum but the only this i read was with the recycle bin. but the problem have been fixed, i checked the code today.

maybe there is one other MOD how causes that problem.



 
KugeLSichA - View user's profile Send private message  
KugeLSichA [ Tue 26 Sep, 2006 16:58 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
I think the problem is still that there is nothing in the code that checks for view permissions... also, going by the install notes, the only mod that can effect UPI2DB is Categories Heirarchy mod, but this only effects the topic listing (and thus any highlighting) - it has nothing to do with the tagging of new and unread posts (which is purely done by itself...)



 
moreteavicar - View user's profile Send private message  
moreteavicar [ Wed 27 Sep, 2006 15:01 ]
Reply with quote    Download Post  
Post Re: UPI2DB System 
 
My suspicion to make this work properly is in the main function files, e.g. includes/upi2db/ upi2db_orig_lite.php

e.g. function set_unread()

in particular this statement:
Code: [Download] [Hide]
  1. if(isset($unread['mark_posts']) && in_array($p, $unread['mark_posts']))  
  2.         {  
  3.             $sql = "UPDATE " . UPI2DB_UNREAD_POSTS_TABLE . " SET status = '" . $mark_id . "' WHERE post_id = " . $p;  
  4.         }  
  5.         else  
  6.         {  
  7.             $sql = "INSERT INTO " . UPI2DB_UNREAD_POSTS_TABLE . "  
  8.                     (post_id, topic_id, forum_id, user_id, status, last_update, topic_type)  
  9.                         VALUES ('$p', '$t', '$f', '$user_id', '$mark_id', '$time', '$tt')";  
  10.         } 
This requires a case structure checking view permissions



 
moreteavicar - View user's profile Send private message  
moreteavicar [ Wed 27 Sep, 2006 15:27 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next
 




 

 

cron