The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Forum access by member registration date?
Is there a hack out there that will, after a user has been registered on the forum allow them to see a specific forum?
What I'm wanting is, say, 3 months after they have been registered, they have access to a specific forum. This was requested by a clan on our server as a way to 'reward' long term users. They also requested that they could bypass the registration date for people they want to give immediate access to the forum. |
#2
|
||||
|
||||
It is not easy to change the forum behaviour because it is not only forumlisting page that you can access a forum. It appears in searching page, user cp etc. so it would normally require a lot of hacking.
However you can apply this clever trick: Create 2 new usergroups other than "registered" (usergroup 2). Set permission so that first new usergroup can not access to this forum and the second new usergroup can access this forum. Then add this line to your forum/global.php: (say at the end before ?>) PHP Code:
This hack will make sure registered users usergroup will automatically change to X when they are 3 months old. If you don't want this for specific users, put them in your other new usergroup. If you want to grant immediate access for certain users, change their usergroup to X in your admin CP. Hack is not tested, use at your own risk. Enjoy. |
#3
|
||||
|
||||
so this hack changes the usersgroups ?
hmmm .. i guess that wont work on my site, cause some functions on my site (not forum) are using the registerd usergroup id |
#4
|
|||
|
|||
Yeah, it won't work for mine either. I was hoping for something that could be set that woudln't adjust the members group, just something that would allow access or deny access by date.
|
#5
|
||||
|
||||
Your call. But if you ask a good advice I say stick with this one. It is very simple, clean and effective and does exactly what you want in the end.
Your request (if coded) will be very awkard, buggy and hard to implement. As I mentioned before, it is not forum listing page you will be hacking only. Permission system applies to many sections in your board and if you plan to change its structure, you have to hack all these sections and in the end you may wind up with a buggy structure. My 2 cents. :glasses: |
#6
|
|||
|
|||
We decided to go a different route, and just used access flags. Currently I have one of my supermods doing it on a weekly basis.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|