Welcome Guest, Not a member yet? Register   Sign In
one problem with a queue system...
#2

[eluser]gRoberts[/eluser]
When you Queue an article, what happens once it's queued and then "processed"?

Really, once something is queued, you will then process it and once processed, either remove it, or mark it as processed. This way, you can filter the "processed" items out of the query, leaving only queued items.

Also, if it's "user" dependant, you will need to alter your query so it only returns queued items for that user, rather than just everything. If you want to prevent people from queuing something when someone already has, then your code as is (with exception to the above comments) is fine, as this prevents you from queuing it again.

HTH


Messages In This Thread
one problem with a queue system... - by El Forum - 05-13-2012, 12:28 AM
one problem with a queue system... - by El Forum - 05-14-2012, 03:10 AM
one problem with a queue system... - by El Forum - 05-23-2012, 11:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB