Limit number of topics read per day (or session)

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
diveguy
Registered User
Posts: 58
Joined: Wed Sep 01, 2010 4:38 am

Limit number of topics read per day (or session)

Post by diveguy » Sun May 27, 2012 1:37 pm

I'm looking for a way to prevent certain groups from reading more than a couple of topics per day (or possibly per login).

I know how to select the groups in the code but I don't know how to count how many topics they've clicked on during a day (or session).

Is this possible?

Thanks

Jeffrey C McMahan
Registered User
Posts: 25
Joined: Sat May 26, 2012 9:01 pm
Location: usa
Contact:

Re: Limit number of topics read per day (or session)

Post by Jeffrey C McMahan » Sun May 27, 2012 1:53 pm

My first question would be why. Why did you not use the support request template? Why would you want to limit your users access to your forum? If you don't want to exceed your bandwidth that's not an issue that can be readily resolved here. A couple of topics a day? Do you get the idea of what a forum is?

Luck with it.

diveguy
Registered User
Posts: 58
Joined: Wed Sep 01, 2010 4:38 am

Re: Limit number of topics read per day (or session)

Post by diveguy » Sun May 27, 2012 2:01 pm

Just certain groups. I have people who read all the topics and then post replies just to get themselves higher on the post count. Really only need useful information posted in the topics.

Didn't want to use the enhancement request because even with the search I did on the forum there may have been something close to this that I didn't find.

I cannot find where they keep track of unread posts in the tables. Or does the software use cookies for this?

Jeffrey C McMahan
Registered User
Posts: 25
Joined: Sat May 26, 2012 9:01 pm
Location: usa
Contact:

Re: Limit number of topics read per day (or session)

Post by Jeffrey C McMahan » Sun May 27, 2012 2:16 pm

From what you said, it seems you have to create user policies, and, or, configure your forum installation to limit these users you do not want posting spam. It's not really an enhancement request, it's a support request template. It contains some useful information, which, if used, could help members of this forum, ie. phpbb give you advice on what you may be able to accomplish.

When you talk about "tables" are you referring to your database tables (if you had used the S-ReQ form we would know what DB you were using) or, are you referring to your ACP menus and such. If you want to modify your php files this forum may not be the place to seek advice about that.

Luck with it.

User avatar
Big Mac
Registered User
Posts: 69
Joined: Sun May 27, 2012 11:31 am
Location: London, UK
Name: David Shepheard
Contact:

Re: Limit number of topics read per day (or session)

Post by Big Mac » Sun May 27, 2012 3:03 pm

diveguy wrote:Just certain groups. I have people who read all the topics and then post replies just to get themselves higher on the post count.
I know of someone that runs a non-phpBB forum that turned off the post counts to stop people getting competitive about "getting a higher score". Maybe phpBB has a way to do that.

Mind you, there is that special group for newbies (Newly Registered Users) that I think you can setup to only be able to post a fixed number of posts. So I think that the same thing could be done for a user defined group.
diveguy wrote:Really only need useful information posted in the topics.
Why not just make a rule sticky for your forum that states that certain replies (like "I agree.") are unhelpful and that you consider them "spam posts". Then you can ask your moderator team to delete posts and/or warn users that post stuff like that. If these guys bump up their post count by 30 and you delete 29 of their posts, they are going to not get the reward they were expecting.

It would seem to be a lot easier to tell your users to modify their behaviour and maybe to give them a one day ban if they refuse to comply (and then move onto a one week or longer ban if they keep doing it) than to mess about with creating a group that hobbles those users. Tell them to behave, then you have a cause to block them.

BTW: If these nuisance users post a large number of meaningless posts, and nothing but meaningless posts, they might actually be "signature spammers". I do spam patrol on the forums where I work as a backup admin and a new user posted a generic "that is really a good idea" kind-of reply that set off an alarm bell. He had a link in his signature that seemed totally off the topic of our board, but it wasn't a porn link, and there was a possibility that his reply was the result of bad English, rather than him being a bot. So I did a search for him on Google and found that he had thousands (or even tens of thousands) of accounts on different forums and was doing the same thing on all of them. I disabled his account and removed his signature, but I bet he promotes himself as some sort of "forum signature marketing expert" and thinks that every "I agree" post on every forum he spams is giving extra page rank to the lighting website he was promoting. If that sounds like it could be your users, do a bit of digging to work out if they are signature spammers and you could be rid of them forever, instead of looking for a way to slow them down.
David "Big Mac" Shepheard

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50924
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Limit number of topics read per day (or session)

Post by stevemaury » Sun May 27, 2012 3:04 pm

Why not just set permissions for whichever forums and groups you want to limit so that the post count is not incremented by postings by that group in that forum?

ACP, Permissions tab, Groups' forum permissions, the group, the forum(s), Advanced permissions, Misc tab, Increment post counter, Never.

Then tell the affected group their posts in that forum will no longer increase their post count.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

diveguy
Registered User
Posts: 58
Joined: Wed Sep 01, 2010 4:38 am

Re: Limit number of topics read per day (or session)

Post by diveguy » Sat Jul 07, 2012 10:15 pm

I have ACP > Load Settings >Server Side Topic Marking set to Yes. Where in the database is this information kept?

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Limit number of topics read per day (or session)

Post by Oyabun1 » Sun Jul 08, 2012 9:37 am

In the forums_track and topics_track tables.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

diveguy
Registered User
Posts: 58
Joined: Wed Sep 01, 2010 4:38 am

Re: Limit number of topics read per day (or session)

Post by diveguy » Sun Jul 08, 2012 1:28 pm

I guess I had incorrect information. I thought this ACP setting kept track of unread posts in the database vs. in a cookie.
Enable server-side topic marking:
Stores read/unread status information in the database rather than a cookie.
I want to delete all my unread posts number. I deleted the items in Topic_Watch and it just increased my unread posts. There were almost 1000 rows for me in this table but when I deleted them all it only increased my unread post count by 300.

I deleted my cookies too but the number is still there.

Is there a way to delete this number or mark all those as READ?

Thanks

diveguy
Registered User
Posts: 58
Joined: Wed Sep 01, 2010 4:38 am

Re: Limit number of topics read per day (or session)

Post by diveguy » Sun Jul 08, 2012 1:47 pm

I found the Mark Forums Read link and that did it but I still do not know where this information is kept.

User avatar
T0ny
Registered User
Posts: 1383
Joined: Sun Jan 29, 2006 8:42 pm
Location: Lancashire
Name: Tony

Re: Limit number of topics read per day (or session)

Post by T0ny » Sun Jul 08, 2012 6:35 pm

Mark forums read also sets the user_lastmark column to the current timestamp (in the phpbb_users table)

diveguy
Registered User
Posts: 58
Joined: Wed Sep 01, 2010 4:38 am

Re: Limit number of topics read per day (or session)

Post by diveguy » Sun Jul 08, 2012 7:24 pm

There must be some table or something that keeps track of each post a person reads or doesn't read.

The main reason I want to know is I have a user who cannot get rid of one post that he has read several times and it still shows up in his unread posts list.

Thanks

Locked

Return to “[3.0.x] Support Forum”