[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 194: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 199: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 267: Trying to access array offset on value of type bool
Marcar tema editado como no leido - phpBBMexico
Ese foro es para snippets, pequeños mods, no suficiente grandes para ser Mods

Moderators: Carlos, Soporte en MODs, Soporte en phpBB

No votes
0%
User avatar
By Carlos
#22
[align=center][infobox]Nombre Tutorial: Marcar tema editado como no leido
Versión: 1.0.1
Autor: Théonaute
Url del Autor http://forums.nosce-te-ipsum.net
Basado en: PROSILVER O SUBSILVER2
Descripción y uso:
Marca un tema editado como no leido.[/infobox]


Tutorial:
Abrimos includes/functions_posting.php
Buscamos:
Code: Select all
// First of all make sure the subject and topic title are having the correct length.  
Añadimos después:
Code: Select all
// Start : Mark edited posts as unread MOD by ruso 
    if($post_mode == 'edit_last_post' || $post_mode == 'edit_topic')
    {
        $sql_update_posts = 'UPDATE ' . POSTS_TABLE . '
                SET post_time = ' . $current_time . '
                WHERE post_id = ' . $data['post_id'] . ' 
                    AND topic_id = ' . $data['topic_id'];
        $db->sql_query($sql_update_posts);
 
        $sql_update_topics = 'UPDATE ' . TOPICS_TABLE . ' 
                SET topic_last_post_time = ' . $current_time . ' 
                WHERE topic_id = ' . $data['topic_id'];
        $db->sql_query($sql_update_topics);            
    
        update_post_information('forum', $data['forum_id']);
        markread('post', $data['forum_id'], $data['topic_id'], $data['post_time']);
    }
// End : Mark edited posts as unread MOD by ruso    
[/align]
Duda sobre BBcode

ya preguntaste ahi? [ Post made via Sony Xperi[…]

[DUDA] Imagen en Foros

Hola, Puse imágenes propias como íc[…]

Hola! queria saber si existe un mod que te muestre[…]

Hola, me gustaria saber si es posible modificar al[…]