holev
11 Jan 2002, 11:05
This hack checks every hour (-using a cronjob) the user db and checks every user to see if the user is regged for over a week (can be changed), if over a week - given a certain usergroupid, if not, also a certain usergroupid.
this helps me gives new users on the board limited access to forums.
Here is the code for the main and only file behind this hack:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This hack can work with no connection to vbb and will work nomatter where u put it on your server.
Now just create the cronjob and make it call the php and execute it as a CGI every couple of minds u decide of.
Requirements: Crontab
(you must have axx to crontab on your server)
this helps me gives new users on the board limited access to forums.
Here is the code for the main and only file behind this hack:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This hack can work with no connection to vbb and will work nomatter where u put it on your server.
Now just create the cronjob and make it call the php and execute it as a CGI every couple of minds u decide of.
Requirements: Crontab
(you must have axx to crontab on your server)