Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
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  :roll:
when I click it there are no new posts in the category though
 




____________
check out my site sometime :)
www.Dutch-HQ.net
 
NizzlePMWebsite  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
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.
 




____________
No support via PM or E-Mail!
FAP 3, yeah baby, yeah! :mrblue:
 
TomPMWebsite  
Back to topPage bottom
Quote Download Post 
Post Re: UPI2DB System 
 
using MG winter

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




____________
check out my site sometime :)
www.Dutch-HQ.net
 
NizzlePMWebsite  
Back to topPage bottom
Quote Download Post 
Post Re: UPI2DB System 
 
I'll check the whole UPI2DB soon.

Thanks for reporting.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonPME-mailWebsite  
Back to topPage bottom
Quote Download Post 
Post Re: UPI2DB System 
 
pleasure mate ;)
 




____________
check out my site sometime :)
www.Dutch-HQ.net
 
NizzlePMWebsite  
Back to topPage bottom
Quote Download Post 
Post Re: UPI2DB System 
 
It does work with Aphrodite.
 




____________
No support via PM or E-Mail!
FAP 3, yeah baby, yeah! :mrblue:
 
TomPMWebsite  
Back to topPage bottom
Quote Download Post 
Post Re: UPI2DB System 
 
Here you can see how it should be:
packing
 




____________
No support via PM or E-Mail!
FAP 3, yeah baby, yeah! :mrblue:
 
TomPMWebsite  
Back to topPage bottom
Quote Download Post 
Post Re: UPI2DB System 
 
but with aphrodite I had the same thing :mrg:
the unread color always stays ;)

dunno about the thing you posted
 




____________
check out my site sometime :)
www.Dutch-HQ.net
 
NizzlePMWebsite  
Back to topPage bottom
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. :oops:
 




____________
No support via PM or E-Mail!
FAP 3, yeah baby, yeah! :mrblue:
 
TomPMWebsite  
Back to topPage bottom
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!
 



 
moreteavicarPM  
Back to topPage bottom
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
 




____________
:love_firefox:
Play Games at GamesCampus!
 
KugeLSichAPMWebsite  
Back to topPage bottom
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? :mrgreen:
 



 
moreteavicarPM  
Back to topPage bottom
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.
 




____________
:love_firefox:
Play Games at GamesCampus!
 
KugeLSichAPMWebsite  
Back to topPage bottom
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...)
 



 
moreteavicarPM  
Back to topPage bottom
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
 



 
moreteavicarPM  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron