The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
[Edited to simplify request]
I've searched but not found anything similar. Maybe I just wasn't creative enough in my search terms. I would like to restrict entry to a given forum to those that have a particular value entered in a custom field in their profiles. I've created the field in the profile and also added a new vBphrase in which I can store the required value. Would appreciate any guidance on how to accomplish this. I see two possibilities:
Method "a" would be preferable because there may be some other permissions that could be added later and easily managed by this usergroup, but if method "b" is all anyone can help with, I'll gratefully take that too. Any suggestions on how to do this? |
#2
|
||||
|
||||
![]()
Since I've received no responses in 4 days, I've revised my post to make it clearer and more concise. Anybody got any ideas?
|
#3
|
|||
|
|||
![]()
Is there any reason this must be based on a field in the profile, instead of just using Public Joinable Usergroup?
|
#4
|
||||
|
||||
![]() Quote:
The bbs is an adjunct to an organization's existing website. People who have paid to join the organization receive a username and password that gets them into the members-only portions of the site. The password is changed periodically for security reasons. I already do a comparison with the custom profile field value against a reference phrase set to the current org pwd and display their member status in postbits. When the organization password is updated, I just change the reference phrase value and folks aren't shown as members again until they update their profiles with the updated org. pwd. The forum in question is to be reserved for organization members only. I've initially set this forum up to require a password, which I've set to the organization password. When the organization password is updated, we just update the forum password. This works, but I'd like to automate it so that organization members wouldn't have to enter the password every time they enter this forum. Further, I'd like for the members to have to update the organization password in their profiles each time it's updated by the organization to weed out people that have not renewed their organization membership. The organization is large enough that I don't want bbs staff to have to manually approve entry into a user group, For one thing the bbs staff does not have access to the organization's membership records, plus I don't want the members to have to wait for somebody to react to their request every time the org pwd is updated. Maybe there's some other way to go about this that I haven't thought of (I'm very new to vB except as a user). I've not yet looked into promotions. Could promotions somehow be used for this? i.e. automatically promote users from Registered to Org_Member when they have the required value in fieldx? if so, does this ratchet them permanently, or would they be demoted out of Org_Member when they no longer have the correct value in fieldx? |
#5
|
|||
|
|||
![]()
If you have access from php to organisation records in some way, so you can validate board members (mail address or some other value) then this could be automated yes.
A bit hte same as we are doing here to make a difference between licensed and unlicensed members. |
#6
|
||||
|
||||
![]() Quote:
|
#7
|
|||
|
|||
![]()
Well if you can not do some matching against the organization database, then a password stored in the userprofile would be one of the less bad options. But i would try to investigate if there really is no way of integration.
|
#8
|
||||
|
||||
![]() Quote:
So now that we've decided a field in the profile is at least a half-way reasonable approach for now (all the thought processes I've gone thru before posting in the first place) does anybody have any ideas how to pull it off? |
#9
|
|||
|
|||
![]()
Would not be to difficult:
- Create user profile field - Hack all places where a forum password is checked to match against the field stored in profile - 1 query to reset all passes when changed (not even needed) But how often does the organisations membership info change? Could you do with a text file that is once a day downloaded to your server? |
#10
|
||||
|
||||
![]()
Why not just add to the profile field, an option for the user to choose this?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|