|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
Just shooting ideas around, is there a way to limit the number of posts for a new user lets say 100, at that point they would have to purchase a membership? Not sure how you could keep people from just creating another username though? Ideas?
|
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
That would be fairly easy to do I think..... Sort of add a check in whatever scripts that you don't want them to have access to, if their post count is > 100 and they aren't a member of the "subscribed" group.... then block them.  JustDave's double identities mod uses a cookie to check for multiple usernames using the same computer... that would help you catch duplicates. They could sneak by you if they delete their cookies though. So it's not perfect.
|
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
[]They could sneak by you if they delete their cookies though.[/] My users would do that for sure. 
|
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
|
Addict
Joined: May 1999
Posts: 1,715 |
You could add IP to the check as well, you would at least get those who are at the same IP.
I've written a mod that automatically upgrades users to new groups at different post intervals, which could probably be used for this as well. Possibly, they would have to be removed from the old group, which my mod doesn't do, although it did in an earlier unreleased version, so it should be quite easy to hack.
|
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
Hmm, I wonder if it could be as easy as after 100 posts they get moved into a group that simply has no access. 
|
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
|
Addict
Joined: May 1999
Posts: 1,715 |
Not quite, since they would still be in the normal user group which has access, so they would have to be removed from that as well. You can find the Auto Group Change 1.1 beta mod here. Just install that hack, and after that, find these lines in addpost.php: <br /> if ( ($Totalposts == $posts) && !strstr($CurrGroups, $thegroup) ) {<br /> $NewGroups .= "$thegroup-";<br /> break;<br /> }<br />And change them into this: <br /> if ( ($Totalposts == $posts) && !strstr($CurrGroups, $thegroup) ) {<br /> $NewGroups = str_replace("-3-", "-$thegroup-", $NewGroups);<br /> break;<br /> }<br />This should change users from the normal users group (with id 3) to the group you have set. It will only work with one level though, if you want them to be able to upgrade after that you will have to change it some more. Haven't tried the code so it might not work, make backups of everything and some more after that before you try this. =]
|
|
|
|
|
Joined: Nov 2002
Posts: 554
Code Monkey
|
|
Code Monkey
Joined: Nov 2002
Posts: 554 |
what about adding in some sort of unlock code they would have to enter after reaching 100 posts?
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,834
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 2125
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 27
|
|
|
|