The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
PHP Code:
Am I missing something here? P.S. I've already added a die(print_r($userfields)); in there and the array exists, so for some reason the set_userfields isn't working as it should
|
|
#2
|
|||
|
|||
|
And on your life board, the forumid is also '2'?
Are you sure it enters the if-construct? |
|
#3
|
||||
|
||||
|
100% positive it enters if the if-construct, because i've put a die('message'); in there. I've also tried setting fields manually like: $userdata->set('posts', 11); and it does that, it just seems to be the set_userfields method that doesn't work
|
|
#4
|
|||
|
|||
|
Quote:
Certain configurations of userfields will not allow you to write a userfield. However! I reported it as a bug and Mike fixed it ! ![]() PHP Code:
http://www.vbulletin.com/forum/bugs3...view&bugid=289 Check out the function definition. You can use admin normal or another one I forget. |
|
#5
|
||||
|
||||
|
Gah that fixed it
You're a star merk! That method needs to be documented a lot better!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|