|
|
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo
|
|
"Ignore User" bug |
Autor |
Wiadomość |
knnknn
Posty: 56
|
Wysłany: 03-06-2004, 11:31 "Ignore User" bug
|
|
|
If I have a user on the ignore list and I view a list of posts he has made (e.g. view unread topics) then sometimes I receive this error:
Fatal error: Call to a member function on a non-object in viewtopic.php on line 1929
The line is this
Kod: | if ( empty($postrow[$i]['reporter_id']) && ( !$userdata['session_logged_in'] || $postrow[$i]['poster_id'] != $userdata['user_id'] ) && !$rp->report_disabled2($postrow[$i]['poster_id']) && $rp->report_auth($userdata['user_id']) ) |
Any ideas?
Shouldn't the ignored user's posts be not listed in the first place? |
_________________ http://www.ebooks-download.com
http://www.in-my-opinion.org |
|
|
|
|
Gadatliwa Kasia
|
|
|
|
bitboy0
Posty: 17
|
Wysłany: 06-06-2004, 18:03
|
|
|
The same with me!
If User"A" is on the ignore-List of User"B" then User"B" gets this error if there is a theme started by User"A" ...
In my opinion tis theme should not have been listed ... If I want to ignore someone it is not important to me to see what themes he has started.
regards Sven |
|
|
|
|
Przemo
Pomógł: 210 razy Posty: 3148
|
Wysłany: 06-06-2004, 18:14
|
|
|
I cannot fix it because I haven't got this error. |
|
|
|
|
knnknn
Posty: 56
|
|
|
|
|
Przemo
Pomógł: 210 razy Posty: 3148
|
Wysłany: 06-06-2004, 19:55
|
|
|
With enable Report Post I haven't this error too... I have on my list ignored user 'ooo' I can not see his posts, if 'ooo' start new topic I can view it but I can't see his post. If I search all posts by 'ooo' I can see list. Without any errors
Structure viewtopic.php is ok for me. It's some like this: Kod: | if ($ignore_this_post)
{
display_empty_post()
}
else // if post not ignored
{
display_post_data();
display_report_function();
} | So if poster is ignored functions report_post shouldn't work... and shouldn't cause any errors. |
|
|
|
|
knnknn
Posty: 56
|
|
|
|
|
bitboy0
Posty: 17
|
Wysłany: 16-06-2004, 16:57
|
|
|
This bug is not a fake! It really occures! Any Ideas? |
|
|
|
|
Gadatliwa Kasia
|
|
|
|
knnknn
Posty: 56
|
|
|
|
|
|
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach Możesz załączać pliki na tym forum Możesz ściągać załączniki na tym forum
|
Dodaj temat do Ulubionych Wersja do druku
|
Kopiowanie wszelkich treści zawartych na forum, modyfikacji oraz instrukcji bez zgody administracji i autorów tematów/postów zabronione!
Powered by phpBB modified by Przemo © 2003 phpBB
|