The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi well I have a custom profile field which is field5. I am using a plugin manager to check if the field is filled.
I want to know what the $_POST var would be for that variable. And am I also using the plugin manager on the appropriate spot? profile_updateoptions If anyone knows of a hack that might exists that already does this, I would appreciate it, I searched but couldn't really find anything, in the meantime i decided to try and see what I can make. Thx. =) |
#2
|
||||
|
||||
![]()
$vbulletin->userinfo['field5']
|
#3
|
|||
|
|||
![]()
that might not work depending on where she puts it because it might show the old one not the new one.
|
#4
|
||||
|
||||
![]()
Hi there =)
Well this is what I have. All I want the plugin to do is check to see if the size is of those dimensions, if its not it will just remove the link, otherwise it will be left alone. thx for the help. |
#5
|
||||
|
||||
![]()
That looks correct.
|
#6
|
||||
|
||||
![]()
It does, but for some reason it only works when I view my options.
Its because I put it in the hook plugin "profile_editoptions" I triedabout moving it to "profile_updateoptions", however the problem with that is, that I don't think it even reads the $_POST result for that set because it doesn't remove the value. I want it to remove the value of $_POST['field_5'] with the above statement. When the user hits submit, it removes it fine if you want to view it, but I want to do it when they hit that submit button. Thanks for the help =) |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|