Ist mir jetzt aber fast schon egal. Könnte man sicher auch noch in der Datenbank "vermurksen"....Check permission and make sure the last post was not already bumped

Vielen Dank Euch allen!
Ist mir jetzt aber fast schon egal. Könnte man sicher auch noch in der Datenbank "vermurksen"....Check permission and make sure the last post was not already bumped
Ja, in derschnagga hat geschrieben: Könnte man sicher auch noch in der Datenbank "vermurksen"....
topics
-Tabelle die Spalten topic_bumped
und topic_bumper
auf 0
(null) setzen Aus welcher Datei stammt diese Funktion ?Dr.Death hat geschrieben: 12.09.2017 16:49Code: Alles auswählen
/** * Bump Topic Check - used by posting and viewtopic */ function bump_topic_allowed($forum_id, $topic_bumped, $last_post_time, $topic_poster, $last_topic_poster) { global $config, $auth, $user; // Check permission and make sure the last post was not already bumped if (!$auth->acl_get('f_bump', $forum_id) || $topic_bumped) { return false; } // Check bump time range, is the user really allowed to bump the topic at this time? $bump_time = ($config['bump_type'] == 'm') ? $config['bump_interval'] * 60 : (($config['bump_type'] == 'h') ? $config['bump_interval'] * 3600 : $config['bump_interval'] * 86400); // Check bump time if ($last_post_time + $bump_time > time()) { return false; } // Check bumper, only topic poster and last poster are allowed to bump if ($topic_poster != $user->data['user_id'] && $last_topic_poster != $user->data['user_id']) { return false; } // A bump time of 0 will completely disable the bump feature... not intended but might be useful. return $bump_time; }
./includes/functions_content.php
ab Zeile 290 vorhanden.