The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi,
I'm trying to run this: PHP Code:
However, neither of the userid variables are correctly passed to the function- they are null. Any idea on what's going wrong here? |
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
||||
|
||||
![]()
Tried, and failed. I've been digging through the actual PHP files, both should work- heck, I even did a print_r on the post table which shows the userid as set in $this->post and $post.
Basically, the function to render the postbit (In which the hook exists) gets passed $post, and it assigns it to $this->post too. So either should work; yet neither do. |
#4
|
||||
|
||||
![]() PHP Code:
|
#5
|
||||
|
||||
![]()
Nope, that's not doing it either.
The really odd thing is that I've tried including this in the raw PHP file, where I can see that the thing is set. Might be a bug in my function- I'll start digging around in there. |
#6
|
||||
|
||||
![]()
Could you post up your function?
|
#7
|
||||
|
||||
![]()
Never mind- I think I have it. Had some odd things happening with some validation stuff.
|
#8
|
|||
|
|||
![]()
Hi
I'm having the same problem here. What did you do to solve it please? Correction! It was me being thick! |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|