Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> quick reply enable ?, w paczce z php.pl
szeryf_ipb
post
Post #1





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 22.07.2005

Ostrzeżenie: (0%)
-----


Witam ponownie.W wersji IPB zassanej z php.pl w sources/topics znalazłem coś takiego:

Kod
// Enable quick reply box?
 
 if (   ( $this->topic['quick_reply'] == 1 )
    and ( $std->check_perms( $this->topic['reply_perms']) == TRUE )
    and ( $this->topic['state'] != 'closed' ) )
 {
     $show = "none";
     
     $sqr = $std->my_getcookie("open_qr");
     
     if ( $sqr == 1 )
     {
   $show = "show";
     }
     $this->output = str_replace( "<!--IBF.QUICK_REPLY_CLOSED-->", $this->html->quick_reply_box_closed(), $this->output );
     $this->output = str_replace( "<!--IBF.QUICK_REPLY_OPEN-->"  , $this->html->quick_reply_box_open($this->topic['forum_id'], $this->topic['tid'], $show, $this->md5_check), $this->output );
 }
 
 $this->output = str_replace( "<!--IBF.TOPIC_OPTIONS_CLOSED-->", $this->html->topic_opts_closed(), $this->output );
 $this->output = str_replace( "<!--IBF.TOPIC_OPTIONS_OPEN-->"  , $this->html->topic_opts_open($this->topic['forum_id'], $this->topic['tid']), $this->output );
 
 $this->topic['id'] = $this->topic['forum_id'];
 
 $this->output = str_replace( "<!--IBF.FORUM_RULES-->", $std->print_forum_rules($this->topic), $this->output );


I ja bym sobie z chęcią enable te q.reply tylko nie za bardzo wiem jak.
Pomoże ktoś snitch.gif



JUŻ znalazłem biggrin.gif trzeba zmienić pewne coś:
Kod
(   ( $this->topic['quick_reply'] == 1 )
na
Kod
(   ( $this->topic['quick_reply'] == 0 )

następnym razem rusze makówką zanim założe topic aarambo.gif

Ten post edytował szeryf_ipb 23.07.2005, 18:16:26
Go to the top of the page
+Quote Post

Posty w temacie
- szeryf_ipb   quick reply enable ?   23.07.2005, 17:43:22


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 07:25