diff --git a/event/listener.php b/event/listener.php index f15aa27..ef13edb 100644 --- a/event/listener.php +++ b/event/listener.php @@ -91,7 +91,7 @@ public function load_language_on_setup($event) public function get_topic_data($event) { - if ($this->user->data['is_registered'] && $this->config['allow_bookmarks']) + if ($this->user->data['is_registered']&& !$this->user->data['is_bot']) { $topic_data = $event['topic_data']; $posts_bookmark = array(); @@ -118,7 +118,7 @@ public function get_topic_data($event) public function modify_post_row($event) { - if ($this->user->data['is_registered'] && $this->config['allow_bookmarks']) + if ($this->user->data['is_registered'] && !$this->user->data['is_bot']) { $row = $event['row']; $post_row = $event['post_row']; diff --git a/styles/prosilver/template/ucp_postbookmark_body.html b/styles/prosilver/template/ucp_postbookmark_body.html index 6234ae2..9ddc421 100644 --- a/styles/prosilver/template/ucp_postbookmark_body.html +++ b/styles/prosilver/template/ucp_postbookmark_body.html @@ -12,18 +12,17 @@

{L_UCP_POSTBOOKMARK}

{L_BOOKMARKS_DISABLED}

- -