The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ok, so here's my code:
PHP Code:
|
#2
|
|||
|
|||
![]()
You need to get rid of that echo and turn that into a die(mysql_error(not picked up))
echo will keep showing/repeating instead of actually doing what it should. I could be wrong tho. |
#3
|
|||
|
|||
![]()
it's not an sql error...
and it doesn't change if i remove it or keep it. It's merely an echo. It shouldn't have any impact at all. |
#4
|
|||
|
|||
![]()
i had the same problem the last hack i built, but i managed to solve it finally. here's my code:
PHP Code:
i hope it will also work for you and you won't have a problem. all you have to do now is the "if" part. |
#5
|
|||
|
|||
![]()
which is i have already done
thanks, i just have to change UNIT to STR nope, still not picking it up... hmm, if i take out the if it works.... it seems to be that the else dominates when it shouldn't... |
#6
|
|||
|
|||
![]()
try change
$vbulletin->input->clean_array_gpc('p', array( to: $vbulletin->input->clean_array_gpc('r', array( (notice the 'p' replaced by the 'r' - i gave it to your in the first post but you didn't notice it) |
#7
|
|||
|
|||
![]()
wohoo, thanks for that no it does work
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|