The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Database Table: Access
If I do some php code to insert into and update the database tabler "access" with a userid, forumid, and accessmask, the table updates flawlessly.
The only problem is, the userid can not view the forumid with an access mask of true. I still have to go into the user manager and go to Access Masks and set the access mask. This is really starting to irritate me as I can not determine WHY that is the ONLY way for an access mask to be set. I want to do it with php and not from the board. Help!? -------------------------------------------------------------- --------------- Added [DATE]1312640551[/DATE] at [TIME]1312640551[/TIME] --------------- Here you may edit forum access on a user-by-user basis. Selecting "Yes" will allow the user access to the forum. Selecting "No" will deny the user access to the forum. Any changes made to one user's account will override the default permission settings in their usergroup. Selecting "Default" will revert the user to the default permissions settings for their usergroup. (Please note that the permission inheritance system still works here.) (Ensure that you have access masks enabled before attempting to use these!) ----------------------------------------------------------------- WHERE are these custom user forum permissions set? |
#2
|
|||
|
|||
It looks like there is a bit that says whether or not a user has an access mask that also needs to be set. If you look in admincp/user.php at the section that starts:
HTML Code:
// ###################### Start Update Access ####################### if ($_POST['do'] == 'updateaccess') { (around line 1166) you can see how the access mask is changed when you do it via the admincp. |
#3
|
|||
|
|||
moon speak.... it looks cached?
and i am in no way familiar with the datamanager, that thing is just retard complex.... |
#4
|
|||
|
|||
I understand what you're saying, but really you don't have it understand it, you can just copy the code. It seems easier than figuring out how to set the bits yourself.
BTW, I'm not sure 100% sure, but I think your problem was not caching but the fact that you need to set that bit in the options field. |
#5
|
|||
|
|||
well that's just retarded to cache it................. i'm now pretty upset xD hehe
|
#6
|
||||
|
||||
Retarded to cache it? Not really. The more caching you can do, the faster your board will run. Maybe not a big deal when the site is small, but when your site grows, it will become a bigger issue.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|