Questions tagged [read-unread]

29 questions
16
votes
5 answers

Handling unread posts in PHP / MySQL

For a personal project, I need to build a forum using PHP and MySQL. It is not possible for me to use an already-built forum package (such as phpBB). I'm currently working through the logic needed to build such an application, but it's been a long…
BenM
  • 52,573
  • 26
  • 113
  • 168
3
votes
1 answer

Gmail API : unable to request unread message

I post here because I'm learning to use Gmail API and I recently encountered a problem. When I try to list unread message with the following code var request = gapi.client.gmail.users.messages.list({ 'userId': 'me', 'labelIds': 'INBOX', …
2
votes
1 answer

Views For Unread Gem For Public activity

I'm trying to implement a facebook like notification system in Rails using public activity and gem unread. I have installed the gem and created a public_activity.rb file in config/initializers. Code PublicActivity::Activity.class_eval do …
Sawo Cliff
  • 2,888
  • 1
  • 17
  • 21
2
votes
2 answers

To manage more than 100 hits with one step

I'm learning Google-App-Script. An I have written a very simply script to manage my emails: var threads = GmailApp.search('label:Project1 is:unread'); GmailApp.markThreadsRead(threads); This script works nearly perfect. But when I have more then…
J. Doe
  • 151
  • 12
2
votes
3 answers

What's the most efficient way to remember read/unread status across multiple items?

For example, let's take the format of a forum, where we have multiple users and multiple threads. Say this forum wants to track which users have read which threads and, say, use that information to mark which threads are unread when viewing the…
vapid
  • 23
  • 3
2
votes
1 answer

Android - Keep global track of unseen notifications, best practices

In Android, i have a socket keeping real-time communication with the server. This app socket is being controlled by a service, that starts on boot and / or whenever a request is being emitted by the app. Because I cannot depend on Google…
DutchKevv
  • 1,659
  • 2
  • 22
  • 39
2
votes
2 answers

Javamail search unread mails with a keyword (multiple searchterms)

I know how to search messages with keyword, I also know how to search unread messages. But I don't know how to combine those two things. Here is my code: Properties props = System.getProperties(); …
Lăng Bùi
  • 167
  • 1
  • 2
  • 11
2
votes
1 answer

java.mail mark message as unread

I am building an automatic mail processor application and I am parsing the emails one by one. If parsing one of the messages fails I would like to mark that message as unread? How do I mark a message as unread please? Thank you
elector
  • 1,327
  • 4
  • 26
  • 43
2
votes
2 answers

how to remove unreadable characters in a context using PHP?

Hi am feeding context to zend_lucene_search and it can search for the word up to special characters and after that it is not searchable. for example: very well to the other job boards � one of the main things that has impressed is the variety of…
1
vote
1 answer

List View Read and Unread messages

I have a list view in which i show the list of messages. I am using SimpleAdapter to show the listview. I have a flag(true/false) set in the hash map(that shows whether message is read or not).Its working properly. I could update flag once it is…
Seshu Vinay
  • 13,560
  • 9
  • 60
  • 109
1
vote
0 answers

How to implement efficiently unread-read message count in Java based application

I am working on the some Java based web application. where we need to maintain unread count for specific set of user( which is grouped by some resource say Documents) when someone else posting a comment in an application. For maintaining a comment…
Deven Soni
  • 11
  • 3
1
vote
1 answer

Brisk cassandra TimeUUIDType

I used brisk. The cassandra column family automatically maps to Hive tables. However, if data type is timeuuid in column family, it is unreadable in Hive tables. For example, I used following command to create an external table in hive to map column…
chnet
  • 1,993
  • 9
  • 36
  • 51
1
vote
1 answer

Handling Read/Unread Posts for users like mail in mysql

I need to handle read/ unread status of a post per user. Write now i am using a denormalized column to store comma separated user_ids. Since it is a text column the performance of the select query is degraded. Now i would like to assign a constant…
John
  • 2,682
  • 5
  • 23
  • 24
1
vote
1 answer

Mark as unread flag is not working in IMAP + ruby

Unread to Read it's working imap = Net::IMAP.new(account.imap_url, 993, usessl = true, certs = nil, verify = false) imap.login(account.client_email, account.client_secret) imap.select("Inbox") imap.search(['All']) imap.store(7665, "+FLAGS",…
1
vote
2 answers

Is it possible to use the gem Unread with the gem Public Activity?

I am currently using the gem 'Public Activity', and in the view I have a users activity filtered to only show that user the activities that apply to them, such as 'John Smith commented on your post'. However, I would like to add notifications to…
1
2