Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #16  
Old 20 Jun 2005, 06:42
merk merk is offline
 
Join Date: Nov 2001
Real name: Tim
Have you tried phrase="download_permissions" instead of name=?
Reply With Quote
  #17  
Old 20 Jun 2005, 16:27
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Kirby - Any way to make this work with Forum Options?

Rather than editing forum.php

Satan
Reply With Quote
  #18  
Old 21 Jun 2005, 17:40
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Real name: Lucius Hunk
there're optional ways to use the permission:

along with

$permissions['myhackpermissions'] & $vbulletin->bf_ugp['myhackpermissions']['canfoo']

you can use

$permissions['myhackpermissions'] & $vbulletin->bf_ugp_myhackpermissions['canfoo']

or

$permissions['myhackpermissions'] & 1

the last one is the shortest one but then you won't understand what it does, 1 is the value of <bitfield> tag, just similar as the old permission settings.

I found that the 'canfoo' is case sensitive, this took me almost a day to figure out lol

Last edited by deathemperor; 22 Jun 2005 at 14:19. Reason: Automerged Doublepost
Reply With Quote
  #19  
Old 25 Jun 2005, 11:05
HakkieDEV HakkieDEV is offline
 
Join Date: Jun 2004
I still don't understand how I could add forumpermissions?

I've tried to play with it, I've added an xml file with the content of kirbyDE, but it didn't work.
Reply With Quote
  #20  
Old 25 Jun 2005, 12:25
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Take a look at my recent Get New Posts Hack and you'll see
Reply With Quote
  #21  
Old 25 Jun 2005, 13:33
HakkieDEV HakkieDEV is offline
 
Join Date: Jun 2004
I've had a look and I see that it also adds a field in the usergroup permissions area.

However, I'd like to know how I could add some extra permission fields in the forum area (admincp/forum.php).
Reply With Quote
  #22  
Old 25 Jun 2005, 21:39
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Not possible without editing the File.
Reply With Quote
  #23  
Old 26 Jun 2005, 08:13
HakkieDEV HakkieDEV is offline
 
Join Date: Jun 2004
Ah, okay, thanks.

It was driving me crazy.
Reply With Quote
  #24  
Old 12 Jul 2005, 09:11
TitanKing TitanKing is offline
 
Join Date: Mar 2005
Can anyone please explain to me the forumpermissions bits, how will I get the permissions out of there... thank you...
Reply With Quote
  #25  
Old 27 Jul 2005, 19:06
MrNase's Avatar
MrNase MrNase is offline
 
Join Date: May 2003
Real name: Dominik
Here's my bitfield_vbgarage.xml and here's the error I get once my custom permissions are in place:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


If the file is there and active I get this error when I try to save the permissions. The newly added permissions are not saved and they remain 'no'..
Attached Images
File Type: jpg bitfield-error.jpg (45.4 KB, 156 views)

Last edited by MrNase; 27 Jul 2005 at 19:26.
Reply With Quote
  #26  
Old 27 Jul 2005, 19:27
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Make sure you don't have any Plugins enabled and try again.

Edit: install="" might also cause this error
Reply With Quote
  #27  
Old 27 Jul 2005, 19:33
MrNase's Avatar
MrNase MrNase is offline
 
Join Date: May 2003
Real name: Dominik
It's a fresh install without any plugins.. I also removed install="" with no success

I added another group and here's the sql error I get now:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can see that canvbgarage is empty but it shouldn't..

I edited the usergroup #6 via phpmyadmin and changed canvbgarage to 1 and the usergroup manager still says no and my scripts are still not working

Last edited by MrNase; 27 Jul 2005 at 19:41.
Reply With Quote
  #28  
Old 27 Jul 2005, 19:41
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Did you rebuild the Bitfield Cache?

Btw:

I'd use a XML like

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #29  
Old 27 Jul 2005, 19:47
MrNase's Avatar
MrNase MrNase is offline
 
Join Date: May 2003
Real name: Dominik
Verdammt, ich wusste doch das ich was vergessen hatte *vordenkopfschlag*

No I didn't

Next question: If Iam using the XML like you suggested, what does this has to look like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #30  
Old 27 Jul 2005, 19:54
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Well, it's just variable Names so it's not really important, but IMHO it makes Code more readable


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Custom Usergroup/Forum Permissions joefitz vBulletin 3.5 Add-ons 8 14 Feb 2011 19:23



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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:14.

Layout Options | Width: Wide Color: