Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Jun 2012, 18:17
Typhon Typhon is offline
 
Join Date: Oct 2001
Data Manager & "Edit Forum Permissions"

I'm trying to control Edit Forum Permissions For Usergroup: [USERGROUP] in Forum [FORUM] permissions through a nightly cron process, and was wondering which data manager (if there is one), that will allow me to change those settings. Specifically, I'm trying to toggle "Can View Others' Threads" based on specific count. Is this possible?

Thanks!
Reply With Quote
  #2  
Old 19 Jun 2012, 20:47
kh99's Avatar
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Sorry, I'm not sure exactly what permission you want to change - do you want to change the permission of each user based on post count? You could probably do that with a promotion to a usergroup with that permission.
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread.
Reply With Quote
  #3  
Old 19 Jun 2012, 20:55
Typhon Typhon is offline
 
Join Date: Oct 2001
Originally Posted by kh99 View Post
Sorry, I'm not sure exactly what permission you want to change - do you want to change the permission of each user based on post count? You could probably do that with a promotion to a usergroup with that permission.
It's based on a count outside of the vBulletin system, but I want to be able to manage permissions in the system based on it. It's really more of a generic request to see if there is a way to use the data manager to modify the forum permissions or not. Under normal circumstances it I could just update a field; but the the bitfields won't let me do that. Thanks for the help!
Reply With Quote
  #4  
Old 19 Jun 2012, 22:08
kh99's Avatar
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
OK, I guess then the answer is no, there doesn't appear to be a data manager for that. If you look in admincp/forumpermission.php in the 'doupdate' section, you can see how the admincp does it.

Edit: Maybe you already know this and were just wondering about a datamanager, but basically it looks like if a usergroup has custom permissions in a forum, then there's a row in the forumpermission table for the usergroupid and forumid, with a forumpermissions column for the permission bits.
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread.

Last edited by kh99 : 19 Jun 2012 at 22:22.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 13:35.

Layout Options | Width: Wide Color: