|
Page 1 of 2
|
Nizzle 
Joined: August 2006
Posts: 152
Location:  Dordrecht..
|
 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
____________ check out my site sometime
www.Dutch-HQ.net
|
#1 Thu 10 Aug, 2006 18:12 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Tom 
Joined: August 2006
Posts: 230
Location:  Dresden
|
 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!
|
#2 Thu 10 Aug, 2006 19:26 |
|
Nizzle 
Joined: August 2006
Posts: 152
Location:  Dordrecht..
|
 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
|
#3 Thu 10 Aug, 2006 21:49 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 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
|
#4 Thu 10 Aug, 2006 23:52 |
|
Nizzle 
Joined: August 2006
Posts: 152
Location:  Dordrecht..
|
 Re: UPI2DB System
pleasure mate
____________ check out my site sometime
www.Dutch-HQ.net
|
#5 Fri 11 Aug, 2006 00:49 |
|
Tom 
Joined: August 2006
Posts: 230
Location:  Dresden
|
 Re: UPI2DB System
It does work with Aphrodite.
____________ No support via PM or E-Mail!
FAP 3, yeah baby, yeah!
|
#6 Fri 11 Aug, 2006 15:16 |
|
Tom 
Joined: August 2006
Posts: 230
Location:  Dresden
|
 Re: UPI2DB System
Here you can see how it should be:
____________ No support via PM or E-Mail!
FAP 3, yeah baby, yeah!
|
#7 Fri 11 Aug, 2006 15:22 |
|
Nizzle 
Joined: August 2006
Posts: 152
Location:  Dordrecht..
|
 Re: UPI2DB System
but with aphrodite I had the same thing
the unread color always stays
dunno about the thing you posted
____________ check out my site sometime
www.Dutch-HQ.net
|
#8 Fri 11 Aug, 2006 22:23 |
|
Tom 
Joined: August 2006
Posts: 230
Location:  Dresden
|
 Re: UPI2DB System
the unread color always stays 
That is a bug with Announcements and Sticky topics. They aren't marked as read correctly.
____________ No support via PM or E-Mail!
FAP 3, yeah baby, yeah!
|
#9 Sun 13 Aug, 2006 23:09 |
|
moreteavicar
Joined: August 2006
Posts: 608
Location:  Classified
|
 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!
|
#10 Tue 26 Sep, 2006 00:39 |
|
KugeLSichA 
Joined: August 2006
Posts: 803
Location:  Dresden
|
 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!
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
|
#11 Tue 26 Sep, 2006 10:48 |
|
moreteavicar
Joined: August 2006
Posts: 608
Location:  Classified
|
 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?
|
#12 Tue 26 Sep, 2006 15:35 |
|
KugeLSichA 
Joined: August 2006
Posts: 803
Location:  Dresden
|
 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.
|
#13 Tue 26 Sep, 2006 16:58 |
|
moreteavicar
Joined: August 2006
Posts: 608
Location:  Classified
|
 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...)
|
#14 Wed 27 Sep, 2006 15:01 |
|
moreteavicar
Joined: August 2006
Posts: 608
Location:  Classified
|
 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: - if(isset($unread['mark_posts']) && in_array($p, $unread['mark_posts']))
- {
- $sql = "UPDATE " . UPI2DB_UNREAD_POSTS_TABLE . " SET status = '" . $mark_id . "' WHERE post_id = " . $p;
- }
- else
- {
- $sql = "INSERT INTO " . UPI2DB_UNREAD_POSTS_TABLE . "
- (post_id, topic_id, forum_id, user_id, status, last_update, topic_type)
- VALUES ('$p', '$t', '$f', '$user_id', '$mark_id', '$time', '$tt')";
- }
This requires a case structure checking view permissions
|
#15 Wed 27 Sep, 2006 15:27 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
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
|
|
|
|