![]() |
|
|
Article Options |
|
#31
|
||||
|
||||
|
very nice,
thank you! ![]() No members have liked this post.
|
|
#32
|
|||
|
|||
|
KirbyDE .... Great How-To!!
One thing I would like to point out to everyone which I think is extremely relevant to this thread is the install="X" field will not be recognized during a product installation script ... at least not without extra code which I haven't figured out how to write yet. Simply rebuilding the bitfields (while it will allow the new permissions to begin functioning) will result in all zero's as default for all groups. http://www.vbulletin.com/forum/bugs3...iew&bugid=1054 This is the vBulletin response.
Originally Posted by John
I played with this all day today and basically got nowhere.
Maybe someone else will have better luck than me. No members have liked this post.
|
|
#33
|
||||
|
||||
|
Untested, but
No members have liked this post.
Last edited by KirbyDE : 23 Aug 2005 at 18:57. |
||||
|
#34
|
||||
|
||||
|
You were close Kirby
You only forgot the WHERE usergroupid=$usergroupid in the query. Works like a charm!!! Thank you, Sir!!
No members have liked this post.
|
||||
|
#35
|
||||
|
||||
|
I knew there was a reason why I specified a Variable for the Key in foreach()
![]() No members have liked this post.
|
|
#36
|
||||
|
||||
|
lol... Kirby, might I ask why I'm in your signature?
__________________
Please feel free to re-use any of the code in any of my projects submitted to vB.org, so long as original attribution is retained.
No members have liked this post.
|
|
#37
|
||||
|
||||
|
Yes. I've read this Post you made and found it very amusing
![]() No members have liked this post.
|
|
#38
|
|||
|
|||
|
Can anyone verify or deny for certain if two of the same "canfoo" bitfield names can exist as long as they are each under a different groupname?
For example, something like "canview" under groupname "bluntswhodlpermissions". I could see almost every hack using a "canview", LOL, but the groupname is very unique. I ask because I do see a lot of vbulletin code which checks for clashes, but the code gets a little too deep for me to fully understand so far. I ask in this thread to help reinforce this how-to. I mean if we must all diversify this variable as well, then maybe the how-to should reflect that we should put part of our myhack name in this too somehow .... or maybe we are all good with real simple short vars here if duplicate canfoo's are ok as long as the groupname is unique. I suspect the latter, but I leave it as a question. Just trying to help avert potential problems down the road while we are all learning the vb350 ways. No members have liked this post.
|
|
#39
|
||||
|
||||
|
You can have "canfoo" in myperms1, myperms2, mypers3, doesntmatterperms and so on - doesn't cause Problems, as they are different Bitfields and those Names are just Shortcuts for the Bits
![]() No members have liked this post.
|
|
#40
|
|||
|
|||
|
3 thumbs up for Kirby!!
Appreciate the time!! No members have liked this post.
|
|
#41
|
||||
|
||||
|
Originally Posted by KirbyDE
Ha ha... well I'm glad I can find ways to amuse you. I was just curious... not like you see v3 Arcade in the Navbar or anything, eh?
__________________
Please feel free to re-use any of the code in any of my projects submitted to vB.org, so long as original attribution is retained.
No members have liked this post.
|
|
#42
|
||||
|
||||
|
Can you make a specific user be allowed to use html?
If so, how? EDIT: hey, I have an idea, could I make a secondary usergroup that has it enabled, put the desired user as secondary usergroup for it, but have him display as his primary one? Will that work? If not.....what will? sorry guys...wrong thread. rofl... No members have liked this post.
Last edited by jesus likes pie : 07 Oct 2005 at 01:52. Reason: Automerged Doublepost |
|
#43
|
||||
|
||||
|
Yes it will work, if the primary usergroup does allow membergroups.
No members have liked this post.
|
|
#44
|
|||
|
|||
|
i am pretty sure there is a plugin for that which may make things a little neater....
No members have liked this post.
|
|
#45
|
||||||||
|
||||||||
|
I got the same error someone else got about the escape strings
In the product I have I put that "Rebuild Bitfields" script Andreas wrote
I don't know if I plugins can be used without a hook so maybe that's my problem. Here's my bitfield
No members have liked this post.
|
||||||||
![]() |
«
Previous Article
|
Next Article
»
Similar Article
|
||||
| Article | Author | Type | Replies | Last Post |
| Custom Usergroup/Forum Permissions | joefitz | vBulletin 3.5 Add-ons | 8 | 14 Feb 2011 18:23 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Article Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 02:24.





