Been There!
ExpressionEngine 1.x, ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Wouter Vervloet
Different way to track viewed entries
Feature Request
gaarmaster
|
Posted: 28 September 2010 06:17 PM |
|
|
|
I love this plugin! It was able to do exactly what I needed for a project; create an inbox-like functionality on a site. My only issue, as the add-on description notes, is that it is based on cookies. So if a) cookies are disabled or b) someone clears their cookies (or uses another computer, for that matter), it looses the effect.
It would be awesome if the plugin used something else to keep track of viewed entries. Just throwing it out there.
|
|
|
Wouter Vervloet
|
Posted: 29 September 2010 01:53 AM |
# 1
|
|
Developer
|
I’ll look into it.
Maybe when a visitor is logged in, I could use a database an their member_id to track the views. I’ll keep you posted!
Greetz,
Wouter
[edit]
Even better, I might be able to jump on this during the EECI devday. With a whole day of coding, I should be able to get something done.
|
|
|
gaarmaster
|
Posted: 29 September 2010 01:56 PM |
# 2
|
|
|
Wow! Thank you for the speedy response, Wouter! That would be amazing.
|
|
|
gaarmaster
|
Posted: 14 October 2010 03:39 PM |
# 3
|
|
|
Hey Wouter,
I was wondering where you were with this. I’m going to need this functionality for a site soon, and was wondering about the best way to approach it. I might create a custom solution, but wanted to check with you first.
Thanks!
|
|
|
Wouter Vervloet
|
Posted: 15 October 2010 05:05 PM |
# 4
|
|
Developer
|
Did you need it for EE2 or 1.6.x?
|
|
|
gaarmaster
|
Posted: 15 October 2010 05:58 PM |
# 5
|
|
|
I’d use it for EE2
|
|
|
Wouter Vervloet
|
Posted: 15 October 2010 09:52 PM |
# 6
|
|
Developer
|
Hi gaarmaster,
I’ve pushed out a new version to my GitHub repository (http://github.com/AboutWout/been_there.ee2_addon) which should do the trick. Keep in mind, I just made it and it’s late over here so there could be some bugs. It won’t mess with your existing data, but it could NOT work.
So if you run into any bugs or errors, please let me know.
Greetz,
Wouter
|
|
|
Wouter Vervloet
|
Posted: 15 October 2010 09:57 PM |
# 7
|
|
Developer
|
Oh… as a little note: You’ll have to enable the extension I added to handle the modification of the exp_member_data table to store the entries and to create a global variable ({viewed_entries}) which holds the viewed entries for the logged in member, both those in the cookie as wel as in the database (for backwards compatibility).
// to show unviewed entries {exp:channel:entries channel='news' entry_id='not {viewed_entries}'} // your shizzle here {/exp:channel:entries}
|
|
|
gaarmaster
|
Posted: 18 October 2010 12:10 PM |
# 8
|
|
|
Wouter, you are officially my EE hero! I will test this out ASAP and let you know if I run in to any issues.
Thank you so much!!
|
|
|
Wouter Vervloet
|
Posted: 26 October 2010 06:22 PM |
# 9
|
|
Developer
|
Hi Gaarmaster,
I was wondering if everything worked as you hoped it would. Would put my heart at ease…
Greetz,
Wouter
|
|
|
gaarmaster
|
Posted: 27 October 2010 12:42 PM |
# 10
|
|
|
Hey Wouter!
I’m so sorry, I meant to respond to this sooner. The changes you made have been working perfectly!! :) Haven’t run in to any issues. I seriously cannot thank you enough for taking the time to update this add-on. You are seriously a life-safer!
|
|
|
Wouter Vervloet
|
Posted: 27 October 2010 09:03 PM |
# 11
|
|
Developer
|
Glad to hear. I’ll update the documentation and the readme on the repository to include the new changes.
Thanks for requesting the feature btw… it made it more awesome than it already was. *pats himself on the back* (I really shouldn’t try that anymore… hurts my shoulders)
Greetz,
Wouter
|
|
|