The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problem with UGP
I recently switched from using vb options to ugp for several of my product's settings in order have more custom set of permissions per usergroup, however have run into a problem with several of my plugins. I have several plugins that set certain mysql fields based of certain fields within the usergroup mysql table. I use to use vb options ($vbulletin->options['banner_impressions_newthread']) to add pre-defined amount of impressions to members when registering, posting, etc. But now that I have moved to ugp I can't seem to find the set variable that will contain the value of impressions that need to be awarded for that usergroup. The plugins I use are as follows:
newpost_complete (award poster impressions defined in ugp) register_addmember_complete/useradmin_update_save (set pre-defined number impressions for new user registrations) showthread_query (award thread starter impressions defined in ugp) global_start (sql to select random banner based off recent activity settings in ugp) All these plugins previously used vboptions before and I can't find a set variable for ugp. Please help |
#2
|
|||
|
|||
Go to vBulletin.com and Submit and Ticket, a Support Agent Will Help.
|
#3
|
|||
|
|||
I don't think they help you with modifications...thats why we have vb.org
|
#4
|
|||
|
|||
Quote:
Yea, I'm asking for help on a product, not vbulletin. |
#5
|
|||
|
|||
Does nobody have any input on this? It's a custom Product that I am writing myself.
|
#6
|
||||
|
||||
Having looked at your post. it's like a wall of text. basically you're saying you want to store integers in the usergroup table correct?
I don't get how it's a usergroup permission however, sounds like a bad design idea to me. actually sounds like you should just be storing most of the above in the user table. |
#7
|
|||
|
|||
Negative, trying to change the global permissions ($vbulletin->options) for my product into usergroup permissions so I can have permissions set differently per usergroup. I have done this but need to call the permissions to set conditions for the product.
|
#8
|
||||
|
||||
then in that case. see the article posted.
it's basically PHP Code:
|
#9
|
|||
|
|||
roger, so will the permissions be available on all the plugins i listed in my first post?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|