phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

FAQFAQ - PIERWSZA POMOC!!  regulaminREGULAMIN  SzukajSZUKAJ  UżytkownicyUżytkownicy  GrupyGrupy  StatystykiStatystyki
RejestracjaRejestracja  ZalogujZaloguj  DownloadDownload  katalog Forów DyskusyjnychKatalog Forów   FAQ Video tutoriale

Poprzedni temat «» Następny temat
"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
Wysłany: 06-06-2004, 19:12   

This error only occurs if you have a user ignored AND the reporting function is activated.
_________________
http://www.ebooks-download.com
http://www.in-my-opinion.org
 
     
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
Wysłany: 07-06-2004, 12:31   

I mean you have to "view unread topics" and then click on a topic with a ignored user. That's when I get the error.
_________________
http://www.ebooks-download.com
http://www.in-my-opinion.org
 
     
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
Wysłany: 21-08-2004, 02:38   

Believe me, the premodded forum is full of bugs. It's actually not the fault of Przemo, it's the fault of the mod writers and the amount of mods, who clash.

I have fixed many of them.
_________________
http://www.ebooks-download.com
http://www.in-my-opinion.org
 
     
Wyświetl posty z ostatnich:   
Odpowiedz do tematu
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

Skocz do:  

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
Strona wygenerowana w 0,1 sekundy. Zapytań do SQL: 11
Polecane serwisy

Najlepsze oprogramowanie do prowadzenia sklepu internetowegoNajlepszy program do sklepu firmowany przez Przem'a

Sklep z gadżetami

serwis laptopów

phpbb

Polisy Ubezpieczeniowe TU Europa

Design Cart - Tworzenie sklepu internetowego

dnirozwoju.pl

Ranking Hostingów HostingOnline.pl

• Zamów reklamę