The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Quote:
|
#12
|
||||
|
||||
try this
HTML Code:
<if condition="is_member_of($vbulletin->userinfo, 6)"></if> |
#13
|
|||
|
|||
Quote:
Code:
Warning: fopen(/tmp/phpWDuytz) [function.fopen]: failed to open stream: No such file or directory in /includes/class_image.php on line 328 Code:
<if condition="is_member_of($vbulletin->userinfo, 6, 28, 5)">$attachinput</if> |
#14
|
||||
|
||||
$bbuserinfo should work. That variable is already being used in that template.
But, what exactly are you trying to do? You can increase the number of uploads allowed in vboptions > message attachment options > attachments per post and attachment upload inputs. If you want to increase that just for one usergroup, just create a plugin to increase that setting ( $vbulletin ->options['attachboxcount'] and $vbulletin ->options['attachlimit'] ??) for that usergroup. |
#15
|
|||
|
|||
Quote:
If I create a plugin and put in there the code you put above, what do I put where you put ?? Is that where I put the usergroup or the # of uploads allowed? |
#16
|
||||
|
||||
I'm not sure which variables you want to change or for what usergroup, but you could do something like:
PHP Code:
|
#17
|
||||
|
||||
PHP Code:
|
#18
|
||||
|
||||
Ack! I knew that.... sometimes... um.... uh..... OK, I fixed my condition in my post above so someone else doesn't use my strange condition.
|
#19
|
|||
|
|||
I really don't have a clue about making a plugin. Anyone what to give me a short lesson in it or explain how to do this?
|
#20
|
||||
|
||||
Here are a couple of threads regarding Plugins/Products:
https://vborg.vbsupport.ru/showthread.php?t=82625 https://vborg.vbsupport.ru/showthread.php?t=82923 And, of course, there is info in the manual - Plugin System |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|